diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-02-03 17:53:43 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-02-03 18:28:29 +0800 |
commit | f7b205167a4b7e11f1eed687852cb253b1ce1a23 (patch) | |
tree | bdfb1fca6d2801dd6d8491fa7621d68c0f46b08d /libempathy-gtk | |
parent | 46be255840a0adb42dd0efa5378ceeecf8411edf (diff) | |
download | gsoc2013-empathy-f7b205167a4b7e11f1eed687852cb253b1ce1a23.tar gsoc2013-empathy-f7b205167a4b7e11f1eed687852cb253b1ce1a23.tar.gz gsoc2013-empathy-f7b205167a4b7e11f1eed687852cb253b1ce1a23.tar.bz2 gsoc2013-empathy-f7b205167a4b7e11f1eed687852cb253b1ce1a23.tar.lz gsoc2013-empathy-f7b205167a4b7e11f1eed687852cb253b1ce1a23.tar.xz gsoc2013-empathy-f7b205167a4b7e11f1eed687852cb253b1ce1a23.tar.zst gsoc2013-empathy-f7b205167a4b7e11f1eed687852cb253b1ce1a23.zip |
individual_view_popup_menu_idle_cb: remove useless sink/unref
gtk_menu_attach_to_widget() takes the floating ref so this code is useless.
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-individual-view.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c index 06b444ee4..d5ed8b63a 100644 --- a/libempathy-gtk/empathy-individual-view.c +++ b/libempathy-gtk/empathy-individual-view.c @@ -906,8 +906,6 @@ individual_view_popup_menu_idle_cb (gpointer user_data) gtk_widget_show (menu); gtk_menu_popup (GTK_MENU (menu), NULL, NULL, NULL, NULL, data->button, data->time); - g_object_ref_sink (menu); - g_object_unref (menu); } g_slice_free (MenuPopupData, data); |