Importing some headers and aligning prototypes fixed what was ailing with gnustep-preferences. This was failing on multiple platforms.
22 lines
633 B
Text
22 lines
633 B
Text
$NetBSD: patch-ag,v 1.1 2011/11/27 11:17:19 marino Exp $
|
|
|
|
--- PrefsController.m.orig 2002-06-08 09:26:13.000000000 +0000
|
|
+++ PrefsController.m
|
|
@@ -102,7 +102,7 @@ static id <PrefsModule> currentModule =
|
|
{
|
|
}
|
|
|
|
-- (BOOL) registerPrefsModule: (id <PrefsModule>) aPrefsModule;
|
|
+- (BOOL) registerPrefsModule: (id) aPrefsModule;
|
|
{
|
|
NSButtonCell *button = [[NSButtonCell alloc] init];
|
|
|
|
@@ -129,7 +129,7 @@ static id <PrefsModule> currentModule =
|
|
return YES;
|
|
}
|
|
|
|
-- (BOOL) setCurrentModule: (id <PrefsModule>) aPrefsModule;
|
|
+- (BOOL) setCurrentModule: (id) aPrefsModule;
|
|
{
|
|
if (!aPrefsModule || ![aPrefsModule view])
|
|
return NO;
|