vlc | branch: master | Felix Paul Kühne <[email protected]> | Sat Jul 13 21:15:48 2013 +0200| [6922be488d99d742ec74b236beae1bf03354bc92] | committer: Felix Paul Kühne
macosx: fix 10.6 runtime support > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6922be488d99d742ec74b236beae1bf03354bc92 --- modules/gui/macosx/MainWindowTitle.m | 2 +- modules/gui/macosx/open.m | 2 +- modules/gui/macosx/prefs_widgets.m | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/gui/macosx/MainWindowTitle.m b/modules/gui/macosx/MainWindowTitle.m index d276f04..bd2bfcd 100644 --- a/modules/gui/macosx/MainWindowTitle.m +++ b/modules/gui/macosx/MainWindowTitle.m @@ -411,7 +411,7 @@ } - (NSNumber*)extendedAccessibilityIsAttributeSettable: (NSString*)theAttributeName { - return ([theAttributeName isEqualToString: NSAccessibilitySubroleAttribute] ? @NO : nil); // make the Subrole attribute we added non-settable + return ([theAttributeName isEqualToString: NSAccessibilitySubroleAttribute] ? [NSNumber numberWithBool:NO] : nil); // make the Subrole attribute we added non-settable } - (void)accessibilityPerformAction: (NSString*)theActionName { diff --git a/modules/gui/macosx/open.m b/modules/gui/macosx/open.m index 7ee04b5..c55072d 100644 --- a/modules/gui/macosx/open.m +++ b/modules/gui/macosx/open.m @@ -1050,7 +1050,7 @@ static VLCOpen *_o_sharedMainInstance = nil; [o_specialMediaFolders addObject:o_dict]; } - [self performSelectorOnMainThread:@selector(updateMediaSelector:) withObject:@YES waitUntilDone:NO]; + [self performSelectorOnMainThread:@selector(updateMediaSelector:) withObject:[NSNumber numberWithBool:YES] waitUntilDone:NO]; [o_pool release]; } diff --git a/modules/gui/macosx/prefs_widgets.m b/modules/gui/macosx/prefs_widgets.m index 60553b8..12db9a5 100644 --- a/modules/gui/macosx/prefs_widgets.m +++ b/modules/gui/macosx/prefs_widgets.m @@ -2013,9 +2013,9 @@ o_textfield = [[[NSSecureTextField alloc] initWithFrame: s_rc] retain]; \ if (_p_item->value.psz && strstr(_p_item->value.psz, module_get_object(p_parser))) - o_moduleenabled = @YES; + o_moduleenabled = [NSNumber numberWithBool:YES]; else - o_moduleenabled = @NO; + o_moduleenabled = [NSNumber numberWithBool:NO]; [o_modulearray addObject:[NSMutableArray arrayWithObjects: o_modulename, o_modulelongname, @@ -2032,9 +2032,9 @@ o_textfield = [[[NSSecureTextField alloc] initWithFrame: s_rc] retain]; \ #define addLuaIntf(shortname, longname) \ if (_p_item->value.psz && strstr(_p_item->value.psz, shortname))\ - o_moduleenabled = @YES;\ + o_moduleenabled = [NSNumber numberWithBool:YES];\ else\ - o_moduleenabled = @NO;\ + o_moduleenabled = [NSNumber numberWithBool:NO];\ [o_modulearray addObject:[NSMutableArray arrayWithObjects: @shortname, _NS(longname), o_moduleenabled, nil]] addLuaIntf("http", "Web"); _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
