[gtk+] quartz: Move the FullscreenSavedGeometry definition earlier



commit 3a2bf9d8788e0bb44c27dfb7b9f7628973aab3c1
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Oct 27 06:49:46 2014 -0400

    quartz: Move the FullscreenSavedGeometry definition earlier
    
    Move the FullscreenSavedGeometry before the first (conditional)
    use, to fix the build on OS X 10.6.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=737561

 gdk/quartz/gdkwindow-quartz.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c
index 0bb8ecf..c793705 100644
--- a/gdk/quartz/gdkwindow-quartz.c
+++ b/gdk/quartz/gdkwindow-quartz.c
@@ -44,12 +44,6 @@ static GSList *main_window_stack;
 
 void _gdk_quartz_window_flush (GdkWindowImplQuartz *window_impl);
 
-#ifndef AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER
-static FullscreenSavedGeometry *get_fullscreen_geometry (GdkWindow *window);
-#endif
-
-#define FULLSCREEN_DATA "fullscreen-data"
-
 typedef struct
 {
   gint            x, y;
@@ -58,6 +52,12 @@ typedef struct
 } FullscreenSavedGeometry;
 
 
+#ifndef AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER
+static FullscreenSavedGeometry *get_fullscreen_geometry (GdkWindow *window);
+#endif
+
+#define FULLSCREEN_DATA "fullscreen-data"
+
 static void update_toplevel_order (void);
 static void clear_toplevel_order  (void);
 


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