Commit 7daa2a1e authored by Carlos Garnacho's avatar Carlos Garnacho

event-controller: Chain up on dispose

parent 711fea11
......@@ -128,6 +128,8 @@ gtk_event_controller_dispose (GObject *object)
priv = gtk_event_controller_get_instance_private (controller);
if (priv->widget)
_gtk_widget_remove_controller (priv->widget, controller);
G_OBJECT_CLASS (gtk_event_controller_parent_class)->dispose (object);
}
static void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment