aboutsummaryrefslogtreecommitdiff
path: root/libindicator/indicator-object.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-01-23 16:52:52 -0600
committerTed Gould <ted@gould.cx>2012-01-23 16:52:52 -0600
commit7935501e7d6d05861dec0a1c603e3fd2308bf423 (patch)
tree8d417a345c744dd46997e2f9011ba38803dd11a6 /libindicator/indicator-object.c
parent1cf6a9761db8beefc8d2a73c2cf9903264424c66 (diff)
parenta1ed503a7513d46ca530dd9e853140f2981e69a3 (diff)
downloadlibayatana-indicator-7935501e7d6d05861dec0a1c603e3fd2308bf423.tar.gz
libayatana-indicator-7935501e7d6d05861dec0a1c603e3fd2308bf423.tar.bz2
libayatana-indicator-7935501e7d6d05861dec0a1c603e3fd2308bf423.zip
Put the parent pointer in the entry struct to make it easier for the implementers of the panel side
Diffstat (limited to 'libindicator/indicator-object.c')
-rw-r--r--libindicator/indicator-object.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libindicator/indicator-object.c b/libindicator/indicator-object.c
index 7a3e393..adaa9ed 100644
--- a/libindicator/indicator-object.c
+++ b/libindicator/indicator-object.c
@@ -257,6 +257,7 @@ indicator_object_init (IndicatorObject *self)
self->priv->module = NULL;
+ self->priv->entry.parent_object = self;
self->priv->entry.menu = NULL;
self->priv->entry.label = NULL;
self->priv->entry.image = NULL;