[gtk+] eventcontroller: Chain up on constructed



commit 0910eaf6fe8d22e50d33224dc0ae88b71a5e1205
Author: Debarshi Ray <debarshir gnome org>
Date:   Sun Mar 1 13:35:02 2015 +0100

    eventcontroller: Chain up on constructed
    
    https://bugzilla.gnome.org/show_bug.cgi?id=745225

 gtk/gtkeventcontroller.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkeventcontroller.c b/gtk/gtkeventcontroller.c
index c20c84e..0b932ab 100644
--- a/gtk/gtkeventcontroller.c
+++ b/gtk/gtkeventcontroller.c
@@ -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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]