diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2010-02-11 03:14:43 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2010-02-11 03:14:43 +0800 |
commit | 1c1c28d84322625bcd83aae9e705c00bbc2095d6 (patch) | |
tree | d82e7d606d2824f442b2773aadfeef197f88b621 /libempathy-gtk/empathy-contact-list-view.c | |
parent | d6d5fd2192dccbd51b83303dbbcd5cf83db66574 (diff) | |
parent | 41f9f0a717f8519cf8c69cb043198980fe503ebc (diff) | |
download | gsoc2013-empathy-1c1c28d84322625bcd83aae9e705c00bbc2095d6.tar gsoc2013-empathy-1c1c28d84322625bcd83aae9e705c00bbc2095d6.tar.gz gsoc2013-empathy-1c1c28d84322625bcd83aae9e705c00bbc2095d6.tar.bz2 gsoc2013-empathy-1c1c28d84322625bcd83aae9e705c00bbc2095d6.tar.lz gsoc2013-empathy-1c1c28d84322625bcd83aae9e705c00bbc2095d6.tar.xz gsoc2013-empathy-1c1c28d84322625bcd83aae9e705c00bbc2095d6.tar.zst gsoc2013-empathy-1c1c28d84322625bcd83aae9e705c00bbc2095d6.zip |
Merge branch 'menu'
Diffstat (limited to 'libempathy-gtk/empathy-contact-list-view.c')
-rw-r--r-- | libempathy-gtk/empathy-contact-list-view.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-contact-list-view.c b/libempathy-gtk/empathy-contact-list-view.c index 958aaf0fd..0ed24bdf8 100644 --- a/libempathy-gtk/empathy-contact-list-view.c +++ b/libempathy-gtk/empathy-contact-list-view.c @@ -683,6 +683,8 @@ contact_list_view_popup_menu_idle_cb (gpointer user_data) 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); @@ -795,6 +797,8 @@ contact_list_view_call_activated_cb ( gtk_widget_show (menu); gtk_menu_popup (GTK_MENU (menu), NULL, NULL, NULL, NULL, event->button, event->time); + g_object_ref_sink (menu); + g_object_unref (menu); g_object_unref (contact); } |