Mercurial > pidgin.yaz
diff libpurple/account.c @ 32295:dc120ca9f523
propagate from branch 'im.pidgin.pidgin' (head bfb757dfe6b2549ab37a9b19f78f5f1f2f9df0cd)
to branch 'im.pidgin.pidgin.next.major' (head fc195a83f896d038c367b1e92cc1bebd7e8246ab)
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 21 Mar 2011 05:45:22 +0000 |
parents | 1bd617f2c46a 36011b558d3e |
children | 0d4702446530 |
line wrap: on
line diff
--- a/libpurple/account.c Mon Mar 21 00:11:19 2011 +0000 +++ b/libpurple/account.c Mon Mar 21 05:45:22 2011 +0000 @@ -871,7 +871,7 @@ return NULL; } - ret = purple_account_new(name, _purple_oscar_convert(name, protocol_id)); /* XXX: */ + ret = purple_account_new(name, protocol_id); g_free(name); g_free(protocol_id); @@ -921,15 +921,6 @@ { purple_buddy_icons_set_account_icon(ret, (guchar *)contents, len); } - else - { - /* Try to see if the icon got left behind in the old cache. */ - g_free(filename); - filename = g_build_filename(g_get_home_dir(), ".gaim", "icons", data, NULL); - if (g_file_get_contents(filename, &contents, &len, NULL)) { - purple_buddy_icons_set_account_icon(ret, (guchar*)contents, len); - } - } g_free(filename); g_free(data);