[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 714970f596: Fix GNUstep build
From: |
Po Lu |
Subject: |
master 714970f596: Fix GNUstep build |
Date: |
Sat, 21 May 2022 23:18:47 -0400 (EDT) |
branch: master
commit 714970f5967f2153bb95e35823dbd917e0e5b60b
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Fix GNUstep build
* src/nsfns.m (ns_implicitly_set_icon_type): Don't use UTType if
GNUstep.
---
src/nsfns.m | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/nsfns.m b/src/nsfns.m
index a2f9c26b55..818ba6f40f 100644
--- a/src/nsfns.m
+++ b/src/nsfns.m
@@ -847,6 +847,7 @@ ns_implicitly_set_icon_type (struct frame *f)
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 @@ ns_implicitly_set_icon_type (struct frame *f)
else
#endif
#endif
+#endif
#if MAC_OS_X_VERSION_MIN_REQUIRED < 120000
image = [[workspace iconForFileType: @"text"] retain];
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 714970f596: Fix GNUstep build,
Po Lu <=