event-controller: Chain up on dispose

This commit is contained in:
Carlos Garnacho 2015-01-14 16:03:10 +01:00
parent 711fea11b5
commit 7daa2a1eba

View File

@ -128,6 +128,8 @@ gtk_event_controller_dispose (GObject *object)
priv = gtk_event_controller_get_instance_private (controller); priv = gtk_event_controller_get_instance_private (controller);
if (priv->widget) if (priv->widget)
_gtk_widget_remove_controller (priv->widget, controller); _gtk_widget_remove_controller (priv->widget, controller);
G_OBJECT_CLASS (gtk_event_controller_parent_class)->dispose (object);
} }
static void static void