mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-28 13:12:10 +01:00
gosxappinfo: Fix typo in ifdef
https://bugzilla.gnome.org/show_bug.cgi?id=780300
This commit is contained in:
parent
42c4a72e29
commit
f3321da462
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user