[gtk+] quartz: set window_type in display_class



commit 552e7be7e5cd4de1afa69079af97be54fe66368d
Author: Kristian Rietveld <kris gtk org>
Date:   Wed Dec 22 16:56:58 2010 +0100

    quartz: set window_type in display_class

 gdk/quartz/gdkdisplay-quartz.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gdk/quartz/gdkdisplay-quartz.c b/gdk/quartz/gdkdisplay-quartz.c
index fed8c79..ef09c53 100644
--- a/gdk/quartz/gdkdisplay-quartz.c
+++ b/gdk/quartz/gdkdisplay-quartz.c
@@ -23,6 +23,7 @@
 #include "gdk.h"
 #include "gdkprivate-quartz.h"
 #include "gdkscreen-quartz.h"
+#include "gdkwindow-quartz.h"
 #include "gdkdisplay-quartz.h"
 #include "gdkdevicemanager-core.h"
 
@@ -287,6 +288,8 @@ _gdk_quartz_display_class_init (GdkQuartzDisplayClass *class)
 
   object_class->finalize = _gdk_quartz_display_finalize;
 
+  display_class->window_type = GDK_TYPE_QUARTZ_WINDOW;
+
   display_class->get_name = gdk_quartz_display_get_name;
   display_class->get_n_screens = gdk_quartz_display_get_n_screens;
   display_class->get_screen = gdk_quartz_display_get_screen;



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