aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2012-02-13 19:38:10 +0100
committerLars Uebernickel <lars.uebernickel@canonical.com>2012-02-13 19:38:10 +0100
commitb2ca0dbe7704098144b6ccd103dd760ad7dd3636 (patch)
treed37bb254ba29ca7b59c016b353e7b04ce4b17b62
parent73c0659d30445a2202faf1d0b87c2464f02b51e3 (diff)
downloadlibayatana-indicator-b2ca0dbe7704098144b6ccd103dd760ad7dd3636.tar.gz
libayatana-indicator-b2ca0dbe7704098144b6ccd103dd760ad7dd3636.tar.bz2
libayatana-indicator-b2ca0dbe7704098144b6ccd103dd760ad7dd3636.zip
indicator_object_dispose: remove unneeded list of entries
-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);
}