mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 23:10:22 +00:00
eventcontroller: Chain up on constructed
https://bugzilla.gnome.org/show_bug.cgi?id=745225
This commit is contained in:
parent
7c4bf742e8
commit
0910eaf6fe
@ -115,6 +115,8 @@ gtk_event_controller_constructed (GObject *object)
|
||||
GtkEventController *controller = GTK_EVENT_CONTROLLER (object);
|
||||
GtkEventControllerPrivate *priv;
|
||||
|
||||
G_OBJECT_CLASS (gtk_event_controller_parent_class)->constructed (object);
|
||||
|
||||
priv = gtk_event_controller_get_instance_private (controller);
|
||||
if (priv->widget)
|
||||
_gtk_widget_add_controller (priv->widget, controller);
|
||||
|
Loading…
Reference in New Issue
Block a user