[vlc-commits] macosx: fix 10.6 runtime support
Felix Paul Kühne
git at videolan.org
Sat Jul 13 21:38:31 CEST 2013
vlc/vlc-2.1 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Jul 13 21:15:48 2013 +0200| [4732c28fc455500807ac15629e5e51e142f00f83] | committer: Felix Paul Kühne
macosx: fix 10.6 runtime support
(cherry picked from commit 6922be488d99d742ec74b236beae1bf03354bc92)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=4732c28fc455500807ac15629e5e51e142f00f83
---
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");
More information about the vlc-commits
mailing list