MenuButton: popover connects to menu_deactivate_cb

This was missed (even before my recent patches).

https://gitlab.gnome.org/GNOME/gtk/issues/199
This commit is contained in:
Daniel Boles
2018-04-22 16:25:54 +01:00
parent db85e888c7
commit 1ee80fa4c6

View File

@@ -1049,6 +1049,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);