aboutsummaryrefslogtreecommitdiff
path: root/src/libappindicator
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-05-20 21:34:54 -0500
committerTed Gould <ted@gould.cx>2010-05-20 21:34:54 -0500
commit9b028d987ece794583a67a332da437fc18cb0ce2 (patch)
tree49d51e937b4c87861a26476813cf515efef2e38b /src/libappindicator
parentd005a22755a0dd3b9f752d66a0479272a09663ae (diff)
parentcd4c6e073fde9cdaa17e58bc1a54eca708d57ac7 (diff)
downloadlibayatana-appindicator-9b028d987ece794583a67a332da437fc18cb0ce2.tar.gz
libayatana-appindicator-9b028d987ece794583a67a332da437fc18cb0ce2.tar.bz2
libayatana-appindicator-9b028d987ece794583a67a332da437fc18cb0ce2.zip
Import upstream version 0.0.20
Diffstat (limited to 'src/libappindicator')
-rw-r--r--src/libappindicator/app-indicator.c6
1 files changed, 6 insertions, 0 deletions
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