aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-01-19 11:44:37 -0600
committerTed Gould <ted@gould.cx>2012-01-19 11:44:37 -0600
commit8a739e176e44cfff995711606c224caa9a1920b8 (patch)
tree93ac7214962ae32cf6fd6ad3c4c9678e3ef7b5e4
parent1cf6a9761db8beefc8d2a73c2cf9903264424c66 (diff)
downloadlibayatana-indicator-8a739e176e44cfff995711606c224caa9a1920b8.tar.gz
libayatana-indicator-8a739e176e44cfff995711606c224caa9a1920b8.tar.bz2
libayatana-indicator-8a739e176e44cfff995711606c224caa9a1920b8.zip
Adding a parent object pointer to the entry
-rw-r--r--libindicator/indicator-object.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libindicator/indicator-object.h b/libindicator/indicator-object.h
index bbc215a..b8b9a8b 100644
--- a/libindicator/indicator-object.h
+++ b/libindicator/indicator-object.h
@@ -152,6 +152,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
@@ -166,6 +167,7 @@ struct _IndicatorObject {
@reserved4: Reserved for future use
*/
struct _IndicatorObjectEntry {
+ IndicatorObject * parent_object;
GtkLabel * label;
GtkImage * image;
GtkMenu * menu;