diff options
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | src/libappindicator/app-indicator.c | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index b6a0673..b7a8fb3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +indicator-application (0.2.0~dev-0ubuntu1~ppa2~childleak1) lucid; urgency=low + + * Upstream Merge + * Unref the child that was created + + -- Ted Gould <ted@ubuntu.com> Wed, 19 May 2010 14:22:05 -0500 + indicator-application (0.2.0~dev-0ubuntu1~ppa1) lucid; urgency=low * Upstream Merge 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 |