gosxappinfo: Fix typo in ifdef

https://bugzilla.gnome.org/show_bug.cgi?id=780300
This commit is contained in:
Patrick Griffis 2017-03-30 19:28:12 -04:00
parent 42c4a72e29
commit f3321da462

View File

@ -300,8 +300,8 @@ get_bundle_for_id (CFStringRef bundle_id)
CFURLRef app_url; CFURLRef app_url;
NSBundle *bundle; NSBundle *bundle;
#ifdef AVAILABLE_MAC_OS_VERSION_10_10_OR_LATER #ifdef AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER
CSArrayRef urls = LSCopyApplicationURLsForBundleIdentifier (bundle_id, NULL); CFArrayRef urls = LSCopyApplicationURLsForBundleIdentifier (bundle_id, NULL);
if (urls) if (urls)
{ {
/* TODO: if there's multiple, we should perhaps prefer one thats in $HOME, /* TODO: if there's multiple, we should perhaps prefer one thats in $HOME,