diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-07-14 17:19:11 +0100 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-07-14 17:19:11 +0100 |
commit | f4cab4f88b251b4abdf8add234c4ba04d9cce03a (patch) | |
tree | ecb618a1e0e54c40dfa6c3fdbaba70d82917594e /src | |
parent | f2d458b0addfe408835366939b49f4a38c0a14cb (diff) | |
download | ayatana-indicator-session-f4cab4f88b251b4abdf8add234c4ba04d9cce03a.tar.gz ayatana-indicator-session-f4cab4f88b251b4abdf8add234c4ba04d9cce03a.tar.bz2 ayatana-indicator-session-f4cab4f88b251b4abdf8add234c4ba04d9cce03a.zip |
ref sink instead of ref on the images and menus
Diffstat (limited to 'src')
-rw-r--r-- | src/indicator-session.c | 8 |
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))); |