[gtk+/gtk-3-8] GdkDeviceManagerXI2: chain up in constructed



commit b613e3a1e0285ccfea9878f582847479332e5749
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jun 29 19:21:28 2013 -0400

    GdkDeviceManagerXI2: chain up in constructed
    
    Dispose does chain up, and the parent class' dispose expects
    that the object has been fully constructed.

 gdk/x11/gdkdevicemanager-xi2.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdk/x11/gdkdevicemanager-xi2.c b/gdk/x11/gdkdevicemanager-xi2.c
index db2ba28..0bbf523 100644
--- a/gdk/x11/gdkdevicemanager-xi2.c
+++ b/gdk/x11/gdkdevicemanager-xi2.c
@@ -491,6 +491,8 @@ gdk_x11_device_manager_xi2_constructed (GObject *object)
   XIEventMask event_mask;
   unsigned char mask[2] = { 0 };
 
+  G_OBJECT_CLASS (gdk_x11_device_manager_xi2_parent_class)->constructed (object);
+
   device_manager = GDK_X11_DEVICE_MANAGER_XI2 (object);
   display = gdk_device_manager_get_display (GDK_DEVICE_MANAGER (object));
   xdisplay = GDK_DISPLAY_XDISPLAY (display);


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