From 9affd1f62c4813c0b9e055f7ca5062cab7f46437 Mon Sep 17 00:00:00 2001 From: "Marco Trevisan (TreviƱo)" Date: Thu, 13 Feb 2014 17:18:53 +0100 Subject: IndicatorObject: add parent_window parameter to IndicatorEntry --- libindicator/indicator-object.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libindicator/indicator-object.c') diff --git a/libindicator/indicator-object.c b/libindicator/indicator-object.c index 40f114e..0a1a04e 100644 --- a/libindicator/indicator-object.c +++ b/libindicator/indicator-object.c @@ -314,6 +314,7 @@ indicator_object_init (IndicatorObject *self) priv->entry.image = NULL; priv->entry.accessible_desc = NULL; priv->entry.name_hint = NULL; + priv->entry.parent_window = 0; priv->gotten_entries = FALSE; priv->default_visibility = TRUE; @@ -527,6 +528,10 @@ get_entries_default (IndicatorObject * io) priv->entry.name_hint = class->get_name_hint(io); } + if (class->get_parent_window) { + priv->entry.parent_window = class->get_parent_window(io); + } + priv->gotten_entries = TRUE; } -- cgit v1.2.3