diff pidgin-audacious.c @ 8:8af1f090ba9a

branch merge
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Sat, 01 Mar 2008 03:18:22 +0900
parents feb13e877029 76f3cd9915c5
children d5702f04b19c
line wrap: on
line diff
--- a/pidgin-audacious.c	Sat Mar 01 03:16:47 2008 +0900
+++ b/pidgin-audacious.c	Sat Mar 01 03:18:22 2008 +0900
@@ -78,14 +78,6 @@
 
     g_clear_error(&error);
     return session;
-#if 0
-    if (audacious_remote_is_running(session)) {
-        return session;
-    }
-    else {
-        return NULL;
-    }
-#endif
 }
 
 static gboolean
@@ -93,7 +85,6 @@
 {
 	gint playpos = 0;
 	gchar *song = NULL, *tmp = NULL;
-//    DBusGProxy *session = get_dbus_proxy();
 
 	gboolean rv = TRUE;
 	size_t dummy;
@@ -292,7 +283,6 @@
 	key = g_strdup_printf("%s %s", account->username, account->protocol_id);
 
 	/* retrieve current alias */
-//	current = purple_url_decode(purple_account_get_alias(account));
 	current = purple_account_get_alias(account);
 	if(current == NULL || strlen(current) == 0) {
 		aud_error("couldn't get current alias\n");
@@ -307,7 +297,6 @@
     /* if current alias differs from pushed_alias or contains token, replace seed with current. */
     if( (pushed && g_ascii_strcasecmp(current, pushed)) || strstr(current, SONG_TOKEN) ) {
 		g_hash_table_replace(seed_alias, g_strdup(key), g_strdup(current));
-//		g_hash_table_replace(pushed_alias, g_strdup(key), g_strdup(current)); //XXX should do?
     }
 
 	/* construct new status message */
@@ -491,7 +480,7 @@
 	PURPLE_PRIORITY_DEFAULT,	/**< priority	*/
 	PIDGINAUD_PLUGIN_ID,		/**< id		*/
 	"Pidgin-Audacious",			/**< name	*/
-	"2.0.0d4",					/**< version	*/
+	"2.0.0",					/**< version	*/
 	"Automatically updates your Pidgin status info	with the currently "
 			"playing music in Audacious.", /**  summary	*/
 	"Automatically updates your Pidgin status info with the currently "