chiark / gitweb /
GNUstep compatibility: comment out some API calls that GNUstep
authorSimon Tatham <anakin@pobox.com>
Sun, 6 May 2012 14:01:34 +0000 (14:01 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 6 May 2012 14:01:34 +0000 (14:01 +0000)
apparently doesn't have. Fortunately they were optional anyway.

[originally from svn r9500]

osx.m

diff --git a/osx.m b/osx.m
index afbf6b2c9055cfd75a699fa871344e0575456d88..a0b7059303f292a8743381d28df60f6ef87c36ec 100644 (file)
--- a/osx.m
+++ b/osx.m
@@ -900,10 +900,14 @@ struct frontend {
        [status setFrame:frame];
     }
 
+#ifndef GNUSTEP
     NSDisableScreenUpdates();
+#endif
     [self setContentSize:size];
     [self setupContentView];
+#ifndef GNUSTEP
     NSEnableScreenUpdates();
+#endif
 }
 
 - (void)presetGame:(id)sender