[vlc-devel] commit: config: Do not use config_SaveConfigFile( , NULL) or config_SaveConfigFile(, "main" ). (Derk-Jan Hartman )
git version control
git at videolan.org
Mon Aug 25 16:32:52 CEST 2008
vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Mon Aug 25 16:34:13 2008 +0200| [9752da9d6f306571e90f882cde96fde6de08801d] | committer: Derk-Jan Hartman
config: Do not use config_SaveConfigFile( , NULL) or config_SaveConfigFile(, "main" ).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9752da9d6f306571e90f882cde96fde6de08801d
---
modules/gui/beos/InterfaceWindow.cpp | 1 -
modules/gui/macosx/equalizer.m | 3 ---
2 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/modules/gui/beos/InterfaceWindow.cpp b/modules/gui/beos/InterfaceWindow.cpp
index 03b3046..108af79 100644
--- a/modules/gui/beos/InterfaceWindow.cpp
+++ b/modules/gui/beos/InterfaceWindow.cpp
@@ -1112,7 +1112,6 @@ InterfaceWindow::_StoreSettings()
{
/* Save the volume */
config_PutInt( p_intf, "volume", p_mediaControl->GetVolume() );
- config_SaveConfigFile( p_intf, "main" );
/* Save the windows positions */
if ( fSettings->ReplaceRect( "main frame", Frame() ) != B_OK )
diff --git a/modules/gui/macosx/equalizer.m b/modules/gui/macosx/equalizer.m
index 78adadd..73f9e06 100644
--- a/modules/gui/macosx/equalizer.m
+++ b/modules/gui/macosx/equalizer.m
@@ -112,9 +112,6 @@ static void ChangeFiltersString( intf_thread_t *p_intf,
{
/* save changed to config */
config_PutPsz( p_object, "audio-filter", psz_string );
-
- /* save to vlcrc */
- config_SaveConfigFile( p_object, "main" );
}
free( psz_string );
More information about the vlc-devel
mailing list