Mercurial > audlegacy
changeset 2682:c3cd6e47faf6 trunk
[svn] - make the evil 'reload plugins' button behave a bit better
author | giacomo |
---|---|
date | Mon, 16 Apr 2007 04:19:03 -0700 |
parents | 08d04a5722e4 |
children | d2ffabee3ced |
files | ChangeLog src/audacious/build_stamp.c src/audacious/main.c src/audacious/main.h src/audacious/pluginenum.c src/audacious/ui_preferences.c |
diffstat | 6 files changed, 28 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sun Apr 15 20:00:32 2007 -0700 +++ b/ChangeLog Mon Apr 16 04:19:03 2007 -0700 @@ -1,3 +1,11 @@ +2007-04-16 03:00:32 +0000 + revision [4388] + * Update Japanese translation. + + trunk/po/ja.po | 54 ++++++++++++++++++++++++++++++++++++++++-------------- + 1 file changed, 40 insertions(+), 14 deletions(-) + + 2007-04-14 20:25:06 +0000 William Pitcock <nenolod@sacredspiral.co.uk> revision [4386] - disable debugging notices
--- a/src/audacious/build_stamp.c Sun Apr 15 20:00:32 2007 -0700 +++ b/src/audacious/build_stamp.c Mon Apr 16 04:19:03 2007 -0700 @@ -1,2 +1,2 @@ #include <glib.h> -const gchar *svn_stamp = "20070414-4386"; +const gchar *svn_stamp = "20070416-4388";
--- a/src/audacious/main.c Sun Apr 15 20:00:32 2007 -0700 +++ b/src/audacious/main.c Mon Apr 16 04:19:03 2007 -0700 @@ -539,6 +539,19 @@ } void +bmp_config_free(void) +{ + gint i; + for (i = 0; i < ncfgsent; ++i) { + if ( *(bmp_strents[i].se_vloc) != NULL ) + { + g_free( *(bmp_strents[i].se_vloc) ); + *(bmp_strents[i].se_vloc) = NULL; + } + } +} + +void bmp_config_load(void) { ConfigDb *db;
--- a/src/audacious/main.h Sun Apr 15 20:00:32 2007 -0700 +++ b/src/audacious/main.h Mon Apr 16 04:19:03 2007 -0700 @@ -168,6 +168,7 @@ void bmp_config_save(void); void bmp_config_load(void); +void bmp_config_free(void); void make_directory(const gchar * path, mode_t mode); void report_error(const gchar *error_text);
--- a/src/audacious/pluginenum.c Sun Apr 15 20:00:32 2007 -0700 +++ b/src/audacious/pluginenum.c Mon Apr 16 04:19:03 2007 -0700 @@ -506,4 +506,6 @@ g_list_free(vfs_transports); vfs_transports = NULL; } + + g_hash_table_destroy( plugin_matrix ); }
--- a/src/audacious/ui_preferences.c Sun Apr 15 20:00:32 2007 -0700 +++ b/src/audacious/ui_preferences.c Mon Apr 16 04:19:03 2007 -0700 @@ -2336,7 +2336,10 @@ * symbol sizes change. - nenolod */ + bmp_config_save(); plugin_system_cleanup(); + bmp_config_free(); + bmp_config_load(); plugin_system_init(); }