From 3a2bf9d8788e0bb44c27dfb7b9f7628973aab3c1 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 27 Oct 2014 06:49:46 -0400 Subject: [PATCH] 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 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c index 0bb8ecf2d3..c793705feb 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);