diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-02-16 22:25:23 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-02-16 22:25:23 +0800 |
commit | 57c8169491a65eb284984a252859e39c0272db91 (patch) | |
tree | 31b1b3f8195a1ea9a33a64a07acf9725ad8322cd | |
parent | 1a76481fbfc909010ff8fc79bc04ebca7330a40d (diff) | |
download | gsoc2013-empathy-57c8169491a65eb284984a252859e39c0272db91.tar gsoc2013-empathy-57c8169491a65eb284984a252859e39c0272db91.tar.gz gsoc2013-empathy-57c8169491a65eb284984a252859e39c0272db91.tar.bz2 gsoc2013-empathy-57c8169491a65eb284984a252859e39c0272db91.tar.lz gsoc2013-empathy-57c8169491a65eb284984a252859e39c0272db91.tar.xz gsoc2013-empathy-57c8169491a65eb284984a252859e39c0272db91.tar.zst gsoc2013-empathy-57c8169491a65eb284984a252859e39c0272db91.zip |
contact-widget: use empathy_context_menu_new()
-rw-r--r-- | libempathy-gtk/empathy-contact-widget.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c index 12866f291..3e4dc845a 100644 --- a/libempathy-gtk/empathy-contact-widget.c +++ b/libempathy-gtk/empathy-contact-widget.c @@ -1071,7 +1071,7 @@ popup_avatar_menu (EmpathyContactWidget *information, empathy_contact_get_avatar (information->contact) == NULL) return; - menu = gtk_menu_new (); + menu = empathy_context_menu_new (parent); /* Add "Save as..." entry */ item = gtk_image_menu_item_new_from_stock (GTK_STOCK_SAVE_AS, NULL); @@ -1094,8 +1094,6 @@ popup_avatar_menu (EmpathyContactWidget *information, gtk_menu_popup (GTK_MENU (menu), NULL, NULL, NULL, NULL, button, event_time); - g_object_ref_sink (menu); - g_object_unref (menu); } static gboolean |