# HG changeset patch # User Matti Hamalainen # Date 1206934601 -10800 # Node ID 180996fcf12af38ed60233bb0eba1d415b98d4f7 # Parent 628926f505f8bed009fd6e29dee11a33541388fa bmp_config_* -> aud_config_* diff -r 628926f505f8 -r 180996fcf12a src/audacious/audconfig.c --- 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; diff -r 628926f505f8 -r 180996fcf12a src/audacious/audconfig.h --- 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 diff -r 628926f505f8 -r 180996fcf12a src/audacious/main.c --- 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(); diff -r 628926f505f8 -r 180996fcf12a src/audacious/playlist.c --- 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; diff -r 628926f505f8 -r 180996fcf12a src/audacious/signals.c --- 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 diff -r 628926f505f8 -r 180996fcf12a src/audacious/ui_main.c --- 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(); diff -r 628926f505f8 -r 180996fcf12a src/audacious/ui_preferences.c --- 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(); }