[vlc-commits] macosx: cosmetics

Felix Paul Kühne git at videolan.org
Wed Jul 22 14:59:15 CEST 2015


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Jul 22 14:58:59 2015 +0200| [3c745c8b2f323cb6bfe75567985ec2b55c22e1e8] | committer: Felix Paul Kühne

macosx: cosmetics

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

 modules/gui/macosx/intf-prefs.h |    2 +-
 modules/gui/macosx/intf-prefs.m |    2 +-
 modules/gui/macosx/intf.h       |    1 -
 modules/gui/macosx/intf.m       |    5 -----
 4 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/modules/gui/macosx/intf-prefs.h b/modules/gui/macosx/intf-prefs.h
index 6b92544..e222048 100644
--- a/modules/gui/macosx/intf-prefs.h
+++ b/modules/gui/macosx/intf-prefs.h
@@ -25,7 +25,7 @@
 
 @interface VLCMain (OldPrefs)
 
-- (void)private_resetAndReinitializeUserDefaults;
+- (void)resetAndReinitializeUserDefaults;
 - (void)removeOldPreferences;
 
 @end
diff --git a/modules/gui/macosx/intf-prefs.m b/modules/gui/macosx/intf-prefs.m
index 9e8641e..f4b2d0e 100644
--- a/modules/gui/macosx/intf-prefs.m
+++ b/modules/gui/macosx/intf-prefs.m
@@ -39,7 +39,7 @@ static const int kCurrentPreferencesVersion = 3;
     [[NSUserDefaults standardUserDefaults] registerDefaults:appDefaults];
 }
 
-- (void)private_resetAndReinitializeUserDefaults
+- (void)resetAndReinitializeUserDefaults
 {
     // note that [NSUserDefaults resetStandardUserDefaults] will NOT correctly reset to the defaults
 
diff --git a/modules/gui/macosx/intf.h b/modules/gui/macosx/intf.h
index 5922004..4b970b0 100644
--- a/modules/gui/macosx/intf.h
+++ b/modules/gui/macosx/intf.h
@@ -91,7 +91,6 @@ static NSString * VLCInputChangedNotification = @"VLCInputChangedNotification";
 - (void)setActiveVideoPlayback:(BOOL)b_value;
 - (BOOL)activeVideoPlayback;
 - (void)applicationWillTerminate:(NSNotification *)notification;
-- (void)resetAndReinitializeUserDefaults;
 
 - (void)showFullscreenController;
 
diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index a028a72..4edf1f2 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -592,11 +592,6 @@ static int ShowController(vlc_object_t *p_this, const char *psz_variable,
     return b_active_videoplayback;
 }
 
-- (void)resetAndReinitializeUserDefaults
-{
-    [self private_resetAndReinitializeUserDefaults];
-}
-
 @end
 
 /*****************************************************************************



More information about the vlc-commits mailing list