changeset 4412:180996fcf12a

bmp_config_* -> aud_config_*
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 31 Mar 2008 06:36:41 +0300
parents 628926f505f8
children de33c83aa06f
files src/audacious/audconfig.c src/audacious/audconfig.h src/audacious/main.c src/audacious/playlist.c src/audacious/signals.c src/audacious/ui_main.c src/audacious/ui_preferences.c
diffstat 7 files changed, 14 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/audconfig.c	Mon Mar 31 06:25:09 2008 +0300
+++ b/src/audacious/audconfig.c	Mon Mar 31 06:36:41 2008 +0300
@@ -472,7 +472,7 @@
 
 
 void
-bmp_config_free(void)
+aud_config_free(void)
 {
   gint i;
   for (i = 0; i < ncfgsent; ++i) {
@@ -485,7 +485,7 @@
 }
 
 void
-bmp_config_load(void)
+aud_config_load(void)
 {
     ConfigDb *db;
     gint i, length;
@@ -605,7 +605,7 @@
 }
 
 void
-bmp_config_save(void)
+aud_config_save(void)
 {
     GList *node;
     gchar *str;
--- a/src/audacious/audconfig.h	Mon Mar 31 06:25:09 2008 +0300
+++ b/src/audacious/audconfig.h	Mon Mar 31 06:36:41 2008 +0300
@@ -140,8 +140,8 @@
 extern AudConfig cfg;
 extern AudConfig aud_default_config;
 
-void bmp_config_free(void);
-void bmp_config_load(void);
-void bmp_config_save(void);
+void aud_config_free(void);
+void aud_config_load(void);
+void aud_config_save(void);
 
 #endif
--- a/src/audacious/main.c	Mon Mar 31 06:25:09 2008 +0300
+++ b/src/audacious/main.c	Mon Mar 31 06:36:41 2008 +0300
@@ -736,7 +736,7 @@
     g_random_set_seed(time(NULL));
     SAD_dither_init_rand((gint32)time(NULL));
 
-    bmp_config_load();
+    aud_config_load();
 
     signal_handlers_init();
     mowgli_init();
--- a/src/audacious/playlist.c	Mon Mar 31 06:25:09 2008 +0300
+++ b/src/audacious/playlist.c	Mon Mar 31 06:36:41 2008 +0300
@@ -2649,7 +2649,7 @@
         }
 
         else /* not on_demand and not on_load...
-                NOTE: this shouldn't happen anymore, sanity check in bmp_config_load now */
+                NOTE: this shouldn't happen anymore, sanity check in aud_config_load now */
         {
             g_mutex_lock(mutex_scan);
             playlist_get_info_scan_active = FALSE;
--- a/src/audacious/signals.c	Mon Mar 31 06:25:09 2008 +0300
+++ b/src/audacious/signals.c	Mon Mar 31 06:36:41 2008 +0300
@@ -77,7 +77,7 @@
 
     g_critical("Received SIGSEGV -- Audacious has crashed.");
 
-    bmp_config_save();
+    aud_config_save();
     abort();
 }
 
@@ -260,7 +260,7 @@
 signal_session_save_cb(EggSMClient *client, const char *state_dir, gpointer user_data)
 {
     g_print("Session save requested. Saving state.\n");    
-    bmp_config_save();
+    aud_config_save();
 }
 
 void 
--- a/src/audacious/ui_main.c	Mon Mar 31 06:25:09 2008 +0300
+++ b/src/audacious/ui_main.c	Mon Mar 31 06:36:41 2008 +0300
@@ -379,7 +379,7 @@
     if (mainwin_timeout_id)
         g_source_remove(mainwin_timeout_id);
 
-    bmp_config_save();
+    aud_config_save();
     gtk_accel_map_save(bmp_paths[BMP_PATH_ACCEL_FILE]);
 
     plugin_system_cleanup();
--- a/src/audacious/ui_preferences.c	Mon Mar 31 06:25:09 2008 +0300
+++ b/src/audacious/ui_preferences.c	Mon Mar 31 06:36:41 2008 +0300
@@ -1319,10 +1319,10 @@
      * symbol sizes change.                       - nenolod
      */
 
-    bmp_config_save();
+    aud_config_save();
     plugin_system_cleanup();
-    bmp_config_free();
-    bmp_config_load();
+    aud_config_free();
+    aud_config_load();
     plugin_system_init();
 }