diff options
Diffstat (limited to 'libindicator')
-rw-r--r-- | libindicator/indicator-object.c | 1 | ||||
-rw-r--r-- | libindicator/indicator-object.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/libindicator/indicator-object.c b/libindicator/indicator-object.c index a35a2fa..849fb9f 100644 --- a/libindicator/indicator-object.c +++ b/libindicator/indicator-object.c @@ -308,6 +308,7 @@ indicator_object_init (IndicatorObject *self) priv->module = NULL; + priv->entry.parent_object = self; priv->entry.menu = NULL; priv->entry.label = NULL; priv->entry.image = NULL; diff --git a/libindicator/indicator-object.h b/libindicator/indicator-object.h index ca78437..2d69b1b 100644 --- a/libindicator/indicator-object.h +++ b/libindicator/indicator-object.h @@ -164,6 +164,7 @@ struct _IndicatorObject { /** IndicatorObjectEntry: + @parent_object: The #IndicatorObject that created this entry @label: The label to be shown on the panel @image: The image to be shown on the panel @menu: The menu to be added to the menubar @@ -178,6 +179,7 @@ struct _IndicatorObject { @reserved4: Reserved for future use */ struct _IndicatorObjectEntry { + IndicatorObject * parent_object; GtkLabel * label; GtkImage * image; GtkMenu * menu; |