aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-ui-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-ui-utils.c')
-rw-r--r--libempathy-gtk/empathy-ui-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c
index 1016c729c..ee9ae763b 100644
--- a/libempathy-gtk/empathy-ui-utils.c
+++ b/libempathy-gtk/empathy-ui-utils.c
@@ -1912,11 +1912,11 @@ static void
menu_deactivate_cb (GtkMenu *menu,
gpointer user_data)
{
- gtk_menu_detach (menu);
-
/* FIXME: we shouldn't have to disconnect the signal (bgo #641327) */
g_signal_handlers_disconnect_by_func (menu,
menu_deactivate_cb, user_data);
+
+ gtk_menu_detach (menu);
}
/* Convenient function to create a GtkMenu attached to @attach_to and detach