aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/child-leakage.patch
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-05-20 21:32:24 -0500
committerTed Gould <ted@gould.cx>2010-05-20 21:32:24 -0500
commitbdec50530d6f2aeb3422fc2b6b155181e1712245 (patch)
tree33047c7cf70c97444da8c6ec0a0e165db4690925 /debian/patches/child-leakage.patch
parent04a9942b4d950964f74e3bfcc09ca9cefe15d600 (diff)
parent3096e1044187bb042f64f9c37188782c4fe140f9 (diff)
downloadlibayatana-appindicator-bdec50530d6f2aeb3422fc2b6b155181e1712245.tar.gz
libayatana-appindicator-bdec50530d6f2aeb3422fc2b6b155181e1712245.tar.bz2
libayatana-appindicator-bdec50530d6f2aeb3422fc2b6b155181e1712245.zip
Desktop sync
Diffstat (limited to 'debian/patches/child-leakage.patch')
-rw-r--r--debian/patches/child-leakage.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/child-leakage.patch b/debian/patches/child-leakage.patch
new file mode 100644
index 0000000..35176ff
--- /dev/null
+++ b/debian/patches/child-leakage.patch
@@ -0,0 +1,17 @@
+=== modified file 'src/libappindicator/app-indicator.c'
+--- src/libappindicator/app-indicator.c 2010-04-01 20:23:36 +0000
++++ src/libappindicator/app-indicator.c 2010-05-19 18:23:24 +0000
+@@ -1408,6 +1408,12 @@
+ 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
+