From b2ca0dbe7704098144b6ccd103dd760ad7dd3636 Mon Sep 17 00:00:00 2001 From: Lars Uebernickel Date: Mon, 13 Feb 2012 19:38:10 +0100 Subject: indicator_object_dispose: remove unneeded list of entries --- libindicator/indicator-object.c | 6 +----- 1 file changed, 1 insertion(+), 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); } -- cgit v1.2.3