# HG changeset patch # User Yoshiki Yazawa # Date 1221617082 -32400 # Node ID d5702f04b19c5a8ce0d8d698b8cf1b9f74d14c62 # Parent 8af1f090ba9a250df3099bc33298882a89ca85e7 Fixed a bug that disabling this plugin while watch dog function has been hooked causes crash. diff -r 8af1f090ba9a -r d5702f04b19c README --- a/README Sat Mar 01 03:18:22 2008 +0900 +++ b/README Wed Sep 17 11:04:42 2008 +0900 @@ -1,4 +1,5 @@ -pidgin-audacious-2.0.0 +pidgin-audacious-2.0.1 + 1. What's this? @@ -14,6 +15,7 @@ audacious (which capable of DBus connection expected to be released as 1.4.0.). + 2. How to build Building pidgin-audacious plugin is very simple. Please do @@ -23,7 +25,8 @@ make install If you would like to test new alias substitution feature, please apply -included patch against the pidgin source. +included patch against the pidgin source. + 3. Usage @@ -37,7 +40,16 @@ alias respectively. The preferences dialog is available from plugins window in pidgin. -4. Acknowledgment + +4. History + +2.0.1 + +Fixed a bug that disabling this plugin while watch dog function has +been hooked causes crash. + + +5. Acknowledgment This plugin has been built based on Jon Oberheide's gaim-rhythmbox-2.0beta2. I greatly appreciate his work. diff -r 8af1f090ba9a -r d5702f04b19c pidgin-audacious.c --- a/pidgin-audacious.c Sat Mar 01 03:18:22 2008 +0900 +++ b/pidgin-audacious.c Wed Sep 17 11:04:42 2008 +0900 @@ -392,7 +392,7 @@ val = g_hash_table_lookup(seed_alias, key); g_return_val_if_fail(val != NULL, FALSE); - aud_debug("write back alias %s\n", val); + aud_debug("write back alias %s\n", (char *)val); purple_account_set_alias(account, val); //oct16 g_free(key); @@ -427,6 +427,8 @@ { aud_debug("pidgin-audacious unload called\n"); + g_source_remove(timeout_tag); + g_hash_table_destroy(seed_status); g_hash_table_destroy(seed_alias); g_hash_table_destroy(seed_userinfo); @@ -447,11 +449,11 @@ /* create gtk elements for the plugin preferences */ pref = purple_plugin_pref_new_with_label("Pidgin-Audacious Configuration"); purple_plugin_pref_frame_add(frame, pref); - + pref = purple_plugin_pref_new_with_name_and_label(OPT_PROCESS_STATUS, "Expand " SONG_TOKEN " to song info in the status message"); purple_plugin_pref_frame_add(frame, pref); - + pref = purple_plugin_pref_new_with_name_and_label(OPT_PROCESS_USERINFO, "Expand " SONG_TOKEN " to song info in the user info"); purple_plugin_pref_frame_add(frame, pref);