From 8566afcd564d10cc11be09bba56e02b78df101e7 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Wed, 19 May 2010 13:23:24 -0500 Subject: Changing it so the object gets unref'd --- src/libappindicator/app-indicator.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c index 132e279..f7e121b 100644 --- a/src/libappindicator/app-indicator.c +++ b/src/libappindicator/app-indicator.c @@ -1408,6 +1408,12 @@ container_iterate (GtkWidget *widget, DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, G_CALLBACK (activate_menuitem), widget); dbusmenu_menuitem_child_append (root, child); + + /* Get rid of initial ref now that the root is + holding the object */ + g_object_unref(child); + + return; } static void -- cgit v1.2.3 From f777fc6e4ccda11e69d4be6d2021475d0a6b2747 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Wed, 19 May 2010 14:24:15 -0500 Subject: releasing version 0.2.0~dev-0ubuntu1~ppa2~childleak1 --- debian/changelog | 2 +- docs/reference/html/ch01.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index b7a8fb3..bcc8ad8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,7 +3,7 @@ indicator-application (0.2.0~dev-0ubuntu1~ppa2~childleak1) lucid; urgency=low * Upstream Merge * Unref the child that was created - -- Ted Gould Wed, 19 May 2010 14:22:05 -0500 + -- Ted Gould Wed, 19 May 2010 14:24:12 -0500 indicator-application (0.2.0~dev-0ubuntu1~ppa1) lucid; urgency=low diff --git a/docs/reference/html/ch01.html b/docs/reference/html/ch01.html index e549aea..d1a4792 100644 --- a/docs/reference/html/ch01.html +++ b/docs/reference/html/ch01.html @@ -21,7 +21,7 @@

-Base Classes for Applications

+Base Classes for Applications
AppIndicator — An object to put application information into the panel. -- cgit v1.2.3