aboutsummaryrefslogtreecommitdiff
path: root/src/gtk-dialog
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtk-dialog')
-rw-r--r--src/gtk-dialog/gtk-logout-helper.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gtk-dialog/gtk-logout-helper.c b/src/gtk-dialog/gtk-logout-helper.c
index f268be4..f6598bc 100644
--- a/src/gtk-dialog/gtk-logout-helper.c
+++ b/src/gtk-dialog/gtk-logout-helper.c
@@ -1,8 +1,14 @@
+#include <gtk/gtk.h>
+#include "logout-dialog.h"
+
int
main (int argc, char * argv[])
{
+ gtk_init(&argc, &argv);
+ GtkWidget * dialog = logout_dialog_new(LOGOUT_DIALOG_LOGOUT);
+ gtk_dialog_run(GTK_DIALOG(dialog));
return 0;
}