diff options
author | Daniel Boles <dboles.src@gmail.com> | 2018-04-22 16:25:54 +0100 |
---|---|---|
committer | Daniel Boles <dboles.src@gmail.com> | 2018-04-22 16:33:26 +0100 |
commit | 5f7191b31ac73c70baacad620dbb9eeec9e5ab65 (patch) | |
tree | 8b119c82771405e643355841567897ffdd4b72cd /gtk/gtkmenubutton.c | |
parent | 279344a2e692e71961c3269caa7f72ce3aa0222a (diff) | |
download | gtk+-5f7191b31ac73c70baacad620dbb9eeec9e5ab65.tar.gz |
MenuButton: popover connects to menu_deactivate_cb
This was missed (even before my recent patches).
https://gitlab.gnome.org/GNOME/gtk/issues/199
Diffstat (limited to 'gtk/gtkmenubutton.c')
-rw-r--r-- | gtk/gtkmenubutton.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkmenubutton.c b/gtk/gtkmenubutton.c index 6df1985218..1d1a159cb3 100644 --- a/gtk/gtkmenubutton.c +++ b/gtk/gtkmenubutton.c @@ -1033,6 +1033,9 @@ gtk_menu_button_dispose (GObject *object) if (priv->popover) { g_signal_handlers_disconnect_by_func (priv->popover, + menu_deactivate_cb, + object); + g_signal_handlers_disconnect_by_func (priv->popover, popover_destroy_cb, object); gtk_popover_set_relative_to (GTK_POPOVER (priv->popover), NULL); |