diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-02-16 22:49:04 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-02-16 22:49:04 +0800 |
commit | a44c73c2e1a57ce59a7eba6d547da2f76ecda430 (patch) | |
tree | df2330d156cfc3afeb8a65abd38d3af261686c82 /libempathy-gtk/empathy-individual-view.c | |
parent | 89c2a14e5eba2921b4ee6264f2a218eb3d93717f (diff) | |
download | gsoc2013-empathy-a44c73c2e1a57ce59a7eba6d547da2f76ecda430.tar gsoc2013-empathy-a44c73c2e1a57ce59a7eba6d547da2f76ecda430.tar.gz gsoc2013-empathy-a44c73c2e1a57ce59a7eba6d547da2f76ecda430.tar.bz2 gsoc2013-empathy-a44c73c2e1a57ce59a7eba6d547da2f76ecda430.tar.lz gsoc2013-empathy-a44c73c2e1a57ce59a7eba6d547da2f76ecda430.tar.xz gsoc2013-empathy-a44c73c2e1a57ce59a7eba6d547da2f76ecda430.tar.zst gsoc2013-empathy-a44c73c2e1a57ce59a7eba6d547da2f76ecda430.zip |
disconnect the activate cb before detaching the menu
Diffstat (limited to 'libempathy-gtk/empathy-individual-view.c')
-rw-r--r-- | libempathy-gtk/empathy-individual-view.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c index 96ff466d2..7bc05b785 100644 --- a/libempathy-gtk/empathy-individual-view.c +++ b/libempathy-gtk/empathy-individual-view.c @@ -888,11 +888,11 @@ static void menu_deactivate_cb (GtkMenuShell *menushell, gpointer user_data) { - gtk_menu_detach (GTK_MENU (menushell)); - /* FIXME: we shouldn't have to disconnec the signal (bgo #641327) */ g_signal_handlers_disconnect_by_func (menushell, menu_deactivate_cb, user_data); + + gtk_menu_detach (GTK_MENU (menushell)); } static gboolean |