Fix GNUstep build
* src/nsfns.m (ns_implicitly_set_icon_type): Don't use UTType if GNUstep.
This commit is contained in:
parent
e5e474baae
commit
714970f596
1 changed files with 2 additions and 0 deletions
|
@ -847,6 +847,7 @@ Turn the input menu (an NSMenu) into a lisp list for tracking on lisp side.
|
|||
|
||||
if (image == nil)
|
||||
{
|
||||
#ifndef NS_IMPL_GNUSTEP
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED >= 120000
|
||||
#if MAC_OS_X_VERSION_MIN_REQUIRED < 120000
|
||||
if ([workspace respondsToSelector: @selector (iconForContentType:)])
|
||||
|
@ -857,6 +858,7 @@ Turn the input menu (an NSMenu) into a lisp list for tracking on lisp side.
|
|||
else
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
#if MAC_OS_X_VERSION_MIN_REQUIRED < 120000
|
||||
image = [[workspace iconForFileType: @"text"] retain];
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue