[vlc-commits] macosx: fix compilation warning

Felix Paul Kühne git at videolan.org
Tue Jun 14 01:20:00 CEST 2016


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Jun 14 01:18:04 2016 +0200| [2ae487319dea2d1b8ee32e81db2971dafc747634] | committer: Felix Paul Kühne

macosx: fix compilation warning

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2ae487319dea2d1b8ee32e81db2971dafc747634
---

 modules/gui/macosx/prefs_widgets.m |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/prefs_widgets.m b/modules/gui/macosx/prefs_widgets.m
index 8a3e9a9..c94b721 100644
--- a/modules/gui/macosx/prefs_widgets.m
+++ b/modules/gui/macosx/prefs_widgets.m
@@ -2081,7 +2081,7 @@ o_moduleenabled = [NSNumber numberWithBool:NO];\
     /* FIXME: support for multiple selection... */
     //    [o_tableview setAllowsMultipleSelection:YES];
 
-    NSCell *o_headerCell = [[NSCell alloc] initTextCell:@"Enabled"];
+    NSTableHeaderCell *o_headerCell = [[NSTableHeaderCell alloc] initTextCell:@"Enabled"];
     NSCell *o_dataCell = [[NSButtonCell alloc] init];
     [(NSButtonCell*)o_dataCell setButtonType:NSSwitchButton];
     [o_dataCell setTitle:@""];
@@ -2093,7 +2093,7 @@ o_moduleenabled = [NSNumber numberWithBool:NO];\
     [o_tableColumn setWidth:17];
     [o_tableview addTableColumn: o_tableColumn];
 
-    o_headerCell = [[NSCell alloc] initTextCell:@"Module Name"];
+    o_headerCell = [[NSTableHeaderCell alloc] initTextCell:@"Module Name"];
     o_dataCell = [[NSTextFieldCell alloc] init];
     [o_dataCell setFont:[NSFont systemFontOfSize:12]];
     o_tableColumn = [[NSTableColumn alloc]



More information about the vlc-commits mailing list