comparison libpurple/dbus-useful.c @ 32819:2c6510167895 default tip

propagate from branch 'im.pidgin.pidgin.2.x.y' (head 3315c5dfbd0ad16511bdcf865e5b07c02d07df24) to branch 'im.pidgin.pidgin' (head cbd1eda6bcbf0565ae7766396bb8f6f419cb6a9a)
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 02 Jun 2012 02:30:49 +0000
parents f75041cb3fec
children
comparison
equal deleted inserted replaced
32818:01ff09d4a463 32819:2c6510167895
23 PurpleAccount *account = (PurpleAccount *)l->data; 23 PurpleAccount *account = (PurpleAccount *)l->data;
24 24
25 if (who && strcmp(purple_normalize(NULL, purple_account_get_username(account)), who)) 25 if (who && strcmp(purple_normalize(NULL, purple_account_get_username(account)), who))
26 continue; 26 continue;
27 27
28 if (protocol_id && strcmp(account->protocol_id, protocol_id)) 28 if (protocol_id && strcmp(purple_account_get_protocol_id(account), protocol_id))
29 continue; 29 continue;
30 30
31 if (account_test && !account_test(account)) 31 if (account_test && !account_test(account))
32 continue; 32 continue;
33 33