]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/simple_prefs.m
Do not include vlc_modules.h in vlc_common.h
[vlc] / modules / gui / macosx / simple_prefs.m
index eb6c055349c89e5e5beb035945cedd6f799b8f1d..ecd955a2aacd3a41adf1e606940f1b5bb58bb5d9 100644 (file)
@@ -26,6 +26,7 @@
 #import <vlc_keys.h>
 #import <vlc_interface.h>
 #import <vlc_dialog.h>
+#import <vlc_modules.h>
 #import "misc.h"
 #import "intf.h"
 #import "AppleRemote.h"
@@ -596,7 +597,6 @@ static inline char * __config_GetLabel( vlc_object_t *p_this, const char *psz_na
     if( module_exists ("dvdnav") )
         TestCaC( "dvdnav-caching" );
     TestCaC( "tcp-caching" );
-    TestCaC( "fake-caching" );
     TestCaC( "cdda-caching" );
     TestCaC( "screen-caching" );
     TestCaC( "vcd-caching" );
@@ -741,7 +741,6 @@ static inline void save_string_list( intf_thread_t * p_intf, id object, const ch
     if( p_stringobject )
     {
         config_PutPsz( p_intf, name, [p_stringobject UTF8String] );
-        [p_stringobject release];
     }
 }
 
@@ -956,7 +955,7 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
             i = i + config_SaveConfigFile( p_intf, "dvdnav" );
         }
         CaC( "tcp-caching" ); CaC( "vcd-caching" );
-        CaC( "fake-caching" ); CaC( "cdda-caching" ); CaC( "file-caching" );
+        CaC( "cdda-caching" ); CaC( "file-caching" );
         CaC( "screen-caching" );
         CaCi( "rtsp-caching", 4 ); CaCi( "ftp-caching", 2 );
         CaCi( "http-caching", 4 );
@@ -973,7 +972,6 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
         i = i + config_SaveConfigFile( p_intf, "access_http" );
         i = i + config_SaveConfigFile( p_intf, "access_file" );
         i = i + config_SaveConfigFile( p_intf, "access_tcp" );
-        i = i + config_SaveConfigFile( p_intf, "access_fake" );
         i = i + config_SaveConfigFile( p_intf, "cdda" );
         i = i + config_SaveConfigFile( p_intf, "screen" );
         i = i + config_SaveConfigFile( p_intf, "vcd" );