[vlc-commits] macosx: remove dead code from extension manager

David Fuhrmann git at videolan.org
Mon Apr 28 11:47:39 CEST 2014


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Mon Apr 28 11:01:09 2014 +0200| [064b40c287214c76aed531ad9a6c8fe91621bad7] | committer: David Fuhrmann

macosx: remove dead code from extension manager

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

 modules/gui/macosx/ExtensionsManager.h |    1 -
 modules/gui/macosx/ExtensionsManager.m |   10 ----------
 2 files changed, 11 deletions(-)

diff --git a/modules/gui/macosx/ExtensionsManager.h b/modules/gui/macosx/ExtensionsManager.h
index a6c97a7..890d16f 100644
--- a/modules/gui/macosx/ExtensionsManager.h
+++ b/modules/gui/macosx/ExtensionsManager.h
@@ -56,7 +56,6 @@
 
 - (id)initWithIntf:(intf_thread_t *)_p_intf;
 - (void)buildMenu:(NSMenu *)extMenu;
-- (extensions_manager_t *)getManager;
 
 - (BOOL)loadExtensions;
 - (void)unloadExtensions;
diff --git a/modules/gui/macosx/ExtensionsManager.m b/modules/gui/macosx/ExtensionsManager.m
index 4350912..6286757 100644
--- a/modules/gui/macosx/ExtensionsManager.m
+++ b/modules/gui/macosx/ExtensionsManager.m
@@ -64,16 +64,6 @@ static ExtensionsManager* instance = nil;
     return self;
 }
 
-/** Get the extensions_manager_t if it is loaded and hold the object */
-- (extensions_manager_t *)getManager
-{
-    if (!p_extensions_manager)
-        return NULL;
-
-    vlc_object_hold(p_extensions_manager);
-    return p_extensions_manager;
-}
-
 - (void)buildMenu:(NSMenu *)extMenu
 {
     assert(extMenu != nil);



More information about the vlc-commits mailing list