forked from AuroraMiddleware/gtk
event-controller: Chain up on dispose
This commit is contained in:
parent
711fea11b5
commit
7daa2a1eba
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user