aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/indicator-session.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/indicator-session.c b/src/indicator-session.c
index 5a5e26c..ded9218 100644
--- a/src/indicator-session.c
+++ b/src/indicator-session.c
@@ -176,10 +176,10 @@ indicator_session_init (IndicatorSession *self)
gtk_widget_show (GTK_WIDGET(self->users.image));
gtk_widget_show (GTK_WIDGET(self->users.menu));
- g_object_ref (self->users.menu);
- g_object_ref (self->users.image);
- g_object_ref (self->devices.menu);
- g_object_ref (self->devices.image);
+ g_object_ref_sink (self->users.menu);
+ g_object_ref_sink (self->users.image);
+ g_object_ref_sink (self->devices.menu);
+ g_object_ref_sink (self->devices.image);
// Setup the handlers for users
DbusmenuClient * users_client = DBUSMENU_CLIENT(dbusmenu_gtkmenu_get_client(DBUSMENU_GTKMENU(self->users.menu)));