mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 01:58:54 +01:00 
			
		
		
		
	gosxappinfo: Fix typo in ifdef
https://bugzilla.gnome.org/show_bug.cgi?id=780300
This commit is contained in:
		@@ -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,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user