diff options
author | Ted Gould <ted@canonical.com> | 2009-07-22 12:48:41 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-07-22 12:48:41 -0500 |
commit | 3852caea472d3a95891ae5b58463f417877472a3 (patch) | |
tree | f2e34e75ccf7d9c0f87aebb2a29cbf5ce9294632 /src/gtk-dialog/gtk-logout-helper.c | |
parent | 49a4fd2bd3e8539fb6faf717dd4016ffcfd58c52 (diff) | |
parent | c9cfcc8a9aefd2122e80e3674c0da96ffe849a34 (diff) | |
download | ayatana-indicator-session-3852caea472d3a95891ae5b58463f417877472a3.tar.gz ayatana-indicator-session-3852caea472d3a95891ae5b58463f417877472a3.tar.bz2 ayatana-indicator-session-3852caea472d3a95891ae5b58463f417877472a3.zip |
Adding a helper for the logout window. And setting things
up to call it.
Diffstat (limited to 'src/gtk-dialog/gtk-logout-helper.c')
-rw-r--r-- | src/gtk-dialog/gtk-logout-helper.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gtk-dialog/gtk-logout-helper.c b/src/gtk-dialog/gtk-logout-helper.c new file mode 100644 index 0000000..f6598bc --- /dev/null +++ b/src/gtk-dialog/gtk-logout-helper.c @@ -0,0 +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; +} |