diff options
author | Ted Gould <ted@gould.cx> | 2010-02-24 17:12:55 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-02-24 17:12:55 -0600 |
commit | 40e989fdb054344be699414ae040585f4f87f657 (patch) | |
tree | 4c7d8e150b1c01c32e282bd10e9e80c15b80d83f /src/gtk-dialog/dialog.h | |
parent | c96dfa4fcf905cdf73b02589b2c64b83849160a6 (diff) | |
download | ayatana-indicator-session-40e989fdb054344be699414ae040585f4f87f657.tar.gz ayatana-indicator-session-40e989fdb054344be699414ae040585f4f87f657.tar.bz2 ayatana-indicator-session-40e989fdb054344be699414ae040585f4f87f657.zip |
Adding some types of dialog and a new function.
Diffstat (limited to 'src/gtk-dialog/dialog.h')
-rw-r--r-- | src/gtk-dialog/dialog.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gtk-dialog/dialog.h b/src/gtk-dialog/dialog.h index eeb93ed..79c8a05 100644 --- a/src/gtk-dialog/dialog.h +++ b/src/gtk-dialog/dialog.h @@ -13,6 +13,13 @@ G_BEGIN_DECLS #define IS_LOGOUT_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LOGOUT_DIALOG_TYPE)) #define LOGOUT_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LOGOUT_DIALOG_TYPE, LogoutDialogClass)) +typedef enum _LogoutDialogType LogoutDialogType; +enum _LogoutDialogType { + LOGOUT_DIALOG_TYPE_LOG_OUT, + LOGOUT_DIALOG_TYPE_RESTART, + LOGOUT_DIALOG_TYPE_SHUTDOWN +}; + typedef struct _LogoutDialog LogoutDialog; typedef struct _LogoutDialogClass LogoutDialogClass; @@ -25,6 +32,7 @@ struct _LogoutDialog { }; GType logout_dialog_get_type (void); +LogoutDialog * logout_dialog_new (LogoutDialogType type); G_END_DECLS |