diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-06-13 14:32:17 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2012-06-13 14:32:17 -0500 |
commit | 961c326fd07a11818c10cc827cd79caa83d2402c (patch) | |
tree | 6639f4afb506b739dadf179fc037af0eeca6a2ca /src/user-widget.h | |
parent | 192be127691af87a88f4ac15d4fe3dd9296499b0 (diff) | |
download | ayatana-indicator-session-961c326fd07a11818c10cc827cd79caa83d2402c.tar.gz ayatana-indicator-session-961c326fd07a11818c10cc827cd79caa83d2402c.tar.bz2 ayatana-indicator-session-961c326fd07a11818c10cc827cd79caa83d2402c.zip |
Have the user widget respond to changes in the LOGGED_IN and ICON properties
Diffstat (limited to 'src/user-widget.h')
-rw-r--r-- | src/user-widget.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/user-widget.h b/src/user-widget.h index 52a5e34..0953e6c 100644 --- a/src/user-widget.h +++ b/src/user-widget.h @@ -31,18 +31,23 @@ G_BEGIN_DECLS #define IS_USER_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), USER_WIDGET_TYPE)) #define USER_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), USER_WIDGET_TYPE, UserWidgetClass)) -typedef struct _UserWidget UserWidget; -typedef struct _UserWidgetClass UserWidgetClass; +typedef struct _UserWidget UserWidget; +typedef struct _UserWidgetClass UserWidgetClass; +typedef struct _UserWidgetPrivate UserWidgetPrivate; -struct _UserWidgetClass { +struct _UserWidgetClass +{ GtkMenuItemClass parent_class; }; -struct _UserWidget { +struct _UserWidget +{ + /*< private >*/ GtkMenuItem parent; + UserWidgetPrivate * priv; }; -GType user_widget_get_type (void); +GType user_widget_get_type (void) G_GNUC_CONST; GtkWidget* user_widget_new(DbusmenuMenuitem *twin_item); G_END_DECLS |