[gtk-osx] Wrong direction on the availability macro conditional.
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-osx] Wrong direction on the availability macro conditional.
- Date: Sun, 18 Dec 2016 22:33:21 +0000 (UTC)
commit 94a08cc7ab5f432e2ab4195ded5196397b274c4b
Author: John Ralls <jralls ceridwen us>
Date: Sun Dec 18 14:32:57 2016 -0800
Wrong direction on the availability macro conditional.
...Build-cocoanotification-only-if-supported.patch | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/patches/0001-Bug747146-Build-cocoanotification-only-if-supported.patch
b/patches/0001-Bug747146-Build-cocoanotification-only-if-supported.patch
index 0a93c87..6c92359 100644
--- a/patches/0001-Bug747146-Build-cocoanotification-only-if-supported.patch
+++ b/patches/0001-Bug747146-Build-cocoanotification-only-if-supported.patch
@@ -80,7 +80,7 @@ index da7c167..fec84ba 100644
#endif
-#ifdef HAVE_COCOA
-+#if MAC_OS_X_VERSION_MIN_REQUIRED < 1090
++#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
extern GType g_cocoa_notification_backend_get_type (void);
#endif
@@ -89,7 +89,7 @@ index da7c167..fec84ba 100644
g_type_ensure (g_gtk_notification_backend_get_type ());
#endif
-#ifdef HAVE_COCOA
-+#if MAC_OS_X_VERSION_MIN_REQUIRED < 1090
++#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
g_type_ensure (g_cocoa_notification_backend_get_type ());
#endif
#ifdef G_OS_WIN32
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]