aboutsummaryrefslogtreecommitdiff
path: root/libindicator/indicator-object.c
diff options
context:
space:
mode:
Diffstat (limited to 'libindicator/indicator-object.c')
-rw-r--r--libindicator/indicator-object.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libindicator/indicator-object.c b/libindicator/indicator-object.c
index 2ce40e2..a348d9a 100644
--- a/libindicator/indicator-object.c
+++ b/libindicator/indicator-object.c
@@ -336,13 +336,9 @@ indicator_object_init (IndicatorObject *self)
static void
indicator_object_dispose (GObject *object)
{
- IndicatorObject * io = INDICATOR_OBJECT(object);
- GList * entries = get_all_entries (io);
-
/* Ensure that hidden entries are re-added so their widgetry will
be cleaned up properly by the client */
- indicator_object_set_visible (io, TRUE);
- g_list_free (entries);
+ indicator_object_set_visible (INDICATOR_OBJECT (object), TRUE);
G_OBJECT_CLASS (indicator_object_parent_class)->dispose (object);
}