summaryrefslogtreecommitdiff
path: root/gdk/x11
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-06-29 19:21:28 -0400
committerMatthias Clasen <mclasen@redhat.com>2013-06-29 19:21:28 -0400
commit459e10196d7d6386ab43c85ee42140d07df4ff07 (patch)
tree40f9ede0a2273c431492126e88c6cd1d5b02d4ca /gdk/x11
parent328f221b5c0523ea7eb6d4b58047f67c849e3588 (diff)
downloadgtk+-459e10196d7d6386ab43c85ee42140d07df4ff07.tar.gz
GdkDeviceManagerXI2: chain up in constructed
Dispose does chain up, and the parent class' dispose expects that the object has been fully constructed.
Diffstat (limited to 'gdk/x11')
-rw-r--r--gdk/x11/gdkdevicemanager-xi2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/x11/gdkdevicemanager-xi2.c b/gdk/x11/gdkdevicemanager-xi2.c
index b9093b9089..7b8ce7617d 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);