Commit c0478884 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx dialog provider: fix compilation warnings

parent a54e18ab
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
@end @end
@interface VLCDialogList : NSTableView @interface VLCDialogList : NSTableView <NSTableViewDataSource>
{ {
extension_widget_t *widget; extension_widget_t *widget;
NSMutableArray *contentArray; NSMutableArray *contentArray;
......
...@@ -306,6 +306,8 @@ bool checkProgressPanel (void *priv) ...@@ -306,6 +306,8 @@ bool checkProgressPanel (void *priv)
return ret; return ret;
} }
@interface VLCDialogDisplayer() <NSWindowDelegate>
@end
@implementation VLCDialogDisplayer @implementation VLCDialogDisplayer
- (void)dealloc - (void)dealloc
...@@ -371,7 +373,7 @@ bool checkProgressPanel (void *priv) ...@@ -371,7 +373,7 @@ bool checkProgressPanel (void *priv)
defaultButton:[dialog objectForKey:@"yes"] defaultButton:[dialog objectForKey:@"yes"]
alternateButton:[dialog objectForKey:@"no"] alternateButton:[dialog objectForKey:@"no"]
otherButton:[dialog objectForKey:@"cancel"] otherButton:[dialog objectForKey:@"cancel"]
informativeTextWithFormat:[dialog objectForKey:@"message"]]; informativeTextWithFormat:@"%@", [dialog objectForKey:@"message"]];
[alert setAlertStyle:NSInformationalAlertStyle]; [alert setAlertStyle:NSInformationalAlertStyle];
alertRet = [alert runModal]; alertRet = [alert runModal];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment