libpurple/protocols/qq/buddy_info.c

changeset 25117
ae5ff04ed0ae
parent 25105
fe13c190ca13
parent 25114
b3244decdb40
child 25119
d78a152554c4
child 25140
7c494d2bc5e4
child 25305
124a662a62a9
--- a/libpurple/protocols/qq/buddy_info.c	Thu Dec 11 08:19:09 2008 +0000
+++ b/libpurple/protocols/qq/buddy_info.c	Thu Dec 11 08:41:04 2008 +0000
@@ -504,8 +504,6 @@
 {
 	PurpleAccount *account = purple_connection_get_account(gc);
 	const gchar *icon_path = purple_account_get_buddy_icon_path(account);
-	gchar **segments;
-	gint index;
 
 	g_return_if_fail(icon_path != NULL);
 
@@ -514,12 +512,6 @@
 	 *  purple_imgstore_get_filename is always new file
 	 *  QQ buddy may set custom icon if level is over 16 */
 	purple_debug_info("QQ", "Change my icon to %s\n", icon_path);
-	segments = g_strsplit_set(icon_path, G_DIR_SEPARATOR_S, 0);
-	for (index = 0; segments[index] != NULL; index++) {
-		purple_debug_info("QQ", "Split to %s\n", segments[index]);
-	}
-
-	g_strfreev(segments);
 }
 
 gchar *qq_get_icon_name(gint face)

mercurial