aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-03-14 20:51:36 -0500
committerTed Gould <ted@gould.cx>2011-03-14 20:51:36 -0500
commitdae2422fee58b2e069bd514fc48937c1d8dc2e26 (patch)
treed06ff48507b46edb81a617cb2f941b95437c74f5
parent0f9fc0fa4eba3103c0c2a0d2168167997c545a79 (diff)
parentf2f415d46ee0ac9f0d03d92b61fbb650c0d91485 (diff)
downloadlibayatana-appindicator-dae2422fee58b2e069bd514fc48937c1d8dc2e26.tar.gz
libayatana-appindicator-dae2422fee58b2e069bd514fc48937c1d8dc2e26.tar.bz2
libayatana-appindicator-dae2422fee58b2e069bd514fc48937c1d8dc2e26.zip
Doing a ref_sink() like we should have been doing!
-rw-r--r--src/app-indicator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app-indicator.c b/src/app-indicator.c
index fc640da..347e168 100644
--- a/src/app-indicator.c
+++ b/src/app-indicator.c
@@ -1949,7 +1949,7 @@ app_indicator_set_menu (AppIndicator *self, GtkMenu *menu)
}
priv->menu = GTK_WIDGET (menu);
- g_object_ref (priv->menu);
+ g_object_ref_sink (priv->menu);
setup_dbusmenu (self);