aboutsummaryrefslogtreecommitdiff
path: root/src/user-widget.h
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-06-13 14:32:17 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-06-13 14:32:17 -0500
commit961c326fd07a11818c10cc827cd79caa83d2402c (patch)
tree6639f4afb506b739dadf179fc037af0eeca6a2ca /src/user-widget.h
parent192be127691af87a88f4ac15d4fe3dd9296499b0 (diff)
downloadayatana-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.h15
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