[glib/glib-2-52] gosxappinfo: Fix typo in ifdef
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-52] gosxappinfo: Fix typo in ifdef
- Date: Fri, 28 Apr 2017 01:54:12 +0000 (UTC)
commit 4246b1ef8c32b19f15a0758d07285e4268710470
Author: Patrick Griffis <tingping tingping se>
Date: Thu Mar 30 19:28:12 2017 -0400
gosxappinfo: Fix typo in ifdef
https://bugzilla.gnome.org/show_bug.cgi?id=780300
gio/gosxappinfo.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gosxappinfo.c b/gio/gosxappinfo.c
index d62dfc0..7ebe717 100644
--- a/gio/gosxappinfo.c
+++ b/gio/gosxappinfo.c
@@ -300,8 +300,8 @@ get_bundle_for_id (CFStringRef bundle_id)
CFURLRef app_url;
NSBundle *bundle;
-#ifdef AVAILABLE_MAC_OS_VERSION_10_10_OR_LATER
- CSArrayRef urls = LSCopyApplicationURLsForBundleIdentifier (bundle_id, NULL);
+#ifdef AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER
+ CFArrayRef urls = LSCopyApplicationURLsForBundleIdentifier (bundle_id, NULL);
if (urls)
{
/* TODO: if there's multiple, we should perhaps prefer one thats in $HOME,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]