diff options
Diffstat (limited to 'libempathy-gtk/empathy-contact-menu.c')
-rw-r--r-- | libempathy-gtk/empathy-contact-menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-contact-menu.c b/libempathy-gtk/empathy-contact-menu.c index ed46d9a53..7e5a86c80 100644 --- a/libempathy-gtk/empathy-contact-menu.c +++ b/libempathy-gtk/empathy-contact-menu.c @@ -395,8 +395,8 @@ empathy_contact_invite_menu_item_new (EmpathyContact *contact) gtk_menu_item_set_submenu (GTK_MENU_ITEM (item), submenu); } else { gtk_widget_set_sensitive (item, FALSE); - g_object_ref_sink (submenu); - gtk_widget_destroy (submenu); + g_object_ref_sink (submenu); + gtk_widget_destroy (submenu); g_object_unref (submenu); } |