[gimp/gimp-2-8] app: fix OS X min required conditional in gimpimagewindow.c
- From: Kristian Rietveld <kristian src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-8] app: fix OS X min required conditional in gimpimagewindow.c
- Date: Sun, 17 Jul 2016 14:22:06 +0000 (UTC)
commit 743ef916868887c363c8625c81e520553953154a
Author: Kristian Rietveld <kris loopnest org>
Date: Sun Jul 17 16:17:33 2016 +0200
app: fix OS X min required conditional in gimpimagewindow.c
The _10_7 define is naturally undefined when compiling with older SDKs
such as the 10.6 SDK we use for building the DMG.
app/display/gimpimagewindow.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/display/gimpimagewindow.c b/app/display/gimpimagewindow.c
index a467b9a..21fbd4f 100644
--- a/app/display/gimpimagewindow.c
+++ b/app/display/gimpimagewindow.c
@@ -547,7 +547,7 @@ gimp_image_window_map (GtkWidget *widget)
* as soon as GTK+ has proper support for this, we will migrate to the
* new-style full screen mode.
*/
-#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7
+#if defined (MAC_OS_X_VERSION_10_7) && MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7
ns_window.collectionBehavior |= NSWindowCollectionBehaviorFullScreenAuxiliary;
#else
/* Hard code the define ... */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]