]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/coredialogs.m
macosx: get rid of the infamous 'get' prefixes everywhere and finally respect Cocoa...
[vlc] / modules / gui / macosx / coredialogs.m
index 8ed476de35395288595251b9641f29cf0beffcce..925c9949d2130a336f1801202573874e69ee9a61 100644 (file)
@@ -237,13 +237,13 @@ void updateProgressPanel (void *priv, const char *text, float value)
     NSString *o_txt;
     if( text != NULL )
         o_txt = [NSString stringWithUTF8String: text];
-    [[NSNotificationCenter defaultCenter] postNotificationName: @"VLCCoreDialogProgressBarUpdateNotification" object:[[VLCMain sharedInstance] getCoreDialogProvider] userInfo:[NSDictionary dictionaryWithObjectsAndKeys: o_txt, @"Text", [NSNumber numberWithInt: ((int)(value * 1000.))], @"IntValue", nil]];
+    [[NSNotificationCenter defaultCenter] postNotificationName: @"VLCCoreDialogProgressBarUpdateNotification" object:[[VLCMain sharedInstance] coreDialogProvider] userInfo:[NSDictionary dictionaryWithObjectsAndKeys: o_txt, @"Text", [NSNumber numberWithInt: ((int)(value * 1000.))], @"IntValue", nil]];
 }
 
 void destroyProgressPanel (void *priv)
 {
     NSLog( @"we should destroy" );
-    [[NSNotificationCenter defaultCenter] postNotificationName: @"VLCCoreDialogProgressBarDestroyNotification" object:[[VLCMain sharedInstance] getCoreDialogProvider] userInfo: nil];
+    [[NSNotificationCenter defaultCenter] postNotificationName: @"VLCCoreDialogProgressBarDestroyNotification" object:[[VLCMain sharedInstance] coreDialogProvider] userInfo: nil];
 }
 
 bool checkProgressPanel (void *priv)
@@ -258,7 +258,7 @@ bool checkProgressPanel (void *priv)
     b_progress_cancelled = YES;
 }
 
--(id)getErrorPanel
+-(id)errorPanel
 {
     return o_error_panel;
 }