diff options
author | Ted Gould <ted@canonical.com> | 2009-07-22 10:24:38 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-07-22 10:24:38 -0500 |
commit | e43d5e49b26a96f1b3f3d16e1a42b3466862d6b1 (patch) | |
tree | 0dd368cbde32d341a6a46aac673484cd2c70022c /src/gtk-dialog | |
parent | 54b1242df348e8576b4457ea4297d57807f4ce42 (diff) | |
download | ayatana-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.
Diffstat (limited to 'src/gtk-dialog')
-rw-r--r-- | src/gtk-dialog/gtk-logout-helper.c | 6 |
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; } |