aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-07-22 10:24:38 -0500
committerTed Gould <ted@canonical.com>2009-07-22 10:24:38 -0500
commite43d5e49b26a96f1b3f3d16e1a42b3466862d6b1 (patch)
tree0dd368cbde32d341a6a46aac673484cd2c70022c
parent54b1242df348e8576b4457ea4297d57807f4ce42 (diff)
downloadayatana-indicator-session-e43d5e49b26a96f1b3f3d16e1a42b3466862d6b1.tar.gz
ayatana-indicator-session-e43d5e49b26a96f1b3f3d16e1a42b3466862d6b1.tar.bz2
ayatana-indicator-session-e43d5e49b26a96f1b3f3d16e1a42b3466862d6b1.zip
Make a dialog pop up. Not really the right one, but one.
-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;
}