Search
lxdream.org :: lxdream/src/cocoaui/cocoa_prefs.m :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/cocoaui/cocoa_prefs.m
changeset 1298:d0eb2307b847
prev1072:d82e04e6d497
author nkeynes
date Wed Feb 04 08:38:23 2015 +1000 (5 years ago)
permissions -rw-r--r--
last change Fix assorted compile warnings reported by Clang
file annotate diff log raw
1.1 --- a/src/cocoaui/cocoa_prefs.m Tue Jul 21 20:33:21 2009 +1000
1.2 +++ b/src/cocoaui/cocoa_prefs.m Wed Feb 04 08:38:23 2015 +1000
1.3 @@ -105,7 +105,7 @@
1.4 return nil;
1.5 } else {
1.6 [self setTitle: NS_("Preferences")];
1.7 - [self setDelegate: self];
1.8 + [self setDelegate: (id)self];
1.9 [self setMinSize: NSMakeSize(400,300)];
1.10 [self initToolbar];
1.11 config_panes[0] = [[LxdreamPrefsPane alloc] initWithFrame: NSMakeRect(0,0,600,400)
1.12 @@ -163,7 +163,7 @@
1.13 NSArray *values = [NSArray arrayWithObjects: paths, ctrls, hotkeys, nil ];
1.14 toolbar_items = [NSDictionary dictionaryWithObjects: values forKeys: toolbar_ids];
1.15
1.16 - [toolbar setDelegate: self];
1.17 + [toolbar setDelegate: (id)self];
1.18 [toolbar setDisplayMode: NSToolbarDisplayModeIconOnly];
1.19 [toolbar setSizeMode: NSToolbarSizeModeSmall];
1.20 [toolbar setSelectedItemIdentifier: @"Paths"];
.