aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-combo-button.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-combo-button.c')
-rw-r--r--widgets/misc/e-combo-button.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/widgets/misc/e-combo-button.c b/widgets/misc/e-combo-button.c
index 51ac4590fb..a079729c13 100644
--- a/widgets/misc/e-combo-button.c
+++ b/widgets/misc/e-combo-button.c
@@ -194,8 +194,10 @@ menu_detacher (GtkWidget *widget,
combo_button = E_COMBO_BUTTON (widget);
priv = combo_button->priv;
-
- gtk_signal_disconnect_by_data (GTK_OBJECT (menu), combo_button);
+ g_signal_handlers_disconnect_matched (menu,
+ G_SIGNAL_MATCH_DATA,
+ 0, 0, NULL, NULL,
+ combo_button);
priv->menu = NULL;
}