[gtk+] Implement create_window_impl vfunc for quartz



commit 46352afa6f481ce7979d80c86f14584793606b0c
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Dec 17 12:34:40 2010 -0500

    Implement create_window_impl vfunc for quartz

 gdk/quartz/gdkdisplay-quartz.c |    2 +-
 gdk/quartz/gdkprivate-quartz.h |    8 ++++++++
 gdk/quartz/gdkwindow-quartz.c  |   13 +++++++------
 3 files changed, 16 insertions(+), 7 deletions(-)
---
diff --git a/gdk/quartz/gdkdisplay-quartz.c b/gdk/quartz/gdkdisplay-quartz.c
index 7724ec1..e01e2d9 100644
--- a/gdk/quartz/gdkdisplay-quartz.c
+++ b/gdk/quartz/gdkdisplay-quartz.c
@@ -252,5 +252,5 @@ _gdk_display_quartz_class_init (GdkDisplayQuartz *class)
   display_class->notify_startup_complete = _gdk_quartz_display_notify_startup_complete;
   display_class->event_data_copy = _gdk_quartz_display_event_data_copy;
   display_class->event_data_free = _gdk_quartz_display_event_data_free;
-
+  display_class->create_window_impl = _gdk_quartz_display_create_window_impl;
 }
diff --git a/gdk/quartz/gdkprivate-quartz.h b/gdk/quartz/gdkprivate-quartz.h
index ea5b959..92f2dce 100644
--- a/gdk/quartz/gdkprivate-quartz.h
+++ b/gdk/quartz/gdkprivate-quartz.h
@@ -180,6 +180,14 @@ void       _gdk_quartz_display_event_data_copy (GdkDisplay     *display,
                                                 GdkEvent       *dst);
 void       _gdk_quartz_display_event_data_free (GdkDisplay     *display,
                                                 GdkEvent       *event);
+void       _gdk_quartz_display_create_window_impl (GdkDisplay    *display,
+                                                   GdkWindow     *window,
+                                                   GdkWindow     *real_parent,
+                                                   GdkScreen     *screen,
+                                                   GdkEventMask   event_mask,
+                                                   GdkWindowAttr *attributes,
+                                                   gint           attributes_mask);
+
 
 
 GdkDisplay *    _gdk_quartz_display_open (const gchar *name);
diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c
index fc40ef4..9221416 100644
--- a/gdk/quartz/gdkwindow-quartz.c
+++ b/gdk/quartz/gdkwindow-quartz.c
@@ -843,12 +843,13 @@ get_nsscreen_for_point (gint x, gint y)
 }
 
 void
-_gdk_window_impl_new (GdkWindow     *window,
-		      GdkWindow     *real_parent,
-		      GdkScreen     *screen,
-		      GdkEventMask   event_mask,
-		      GdkWindowAttr *attributes,
-		      gint           attributes_mask)
+_gdk_x11_display_create_window_imp (GdkDisplay    *display,
+                                    GdkWindow     *window,
+                                    GdkWindow     *real_parent,
+                                    GdkScreen     *screen,
+                                    GdkEventMask   event_mask,
+                                    GdkWindowAttr *attributes,
+                                    gint           attributes_mask)
 {
   GdkWindowImplQuartz *impl;
   GdkWindowImplQuartz *parent_impl;



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