Mercurial > pidgin
comparison libpurple/log.c @ 32245:f75041cb3fec
Convert libpurple and protocol prpl's to use the purple_account_* accessor functions.
author | andrew.victor@mxit.com |
---|---|
date | Sat, 01 Oct 2011 18:21:43 +0000 |
parents | de1a7814023f |
children |
comparison
equal
deleted
inserted
replaced
32244:6e27091869eb | 32245:f75041cb3fec |
---|---|
1101 } | 1101 } |
1102 | 1102 |
1103 /* Find the account for username in the list of accounts for protocol. */ | 1103 /* Find the account for username in the list of accounts for protocol. */ |
1104 username_unescaped = purple_unescape_filename(username); | 1104 username_unescaped = purple_unescape_filename(username); |
1105 for (account_iter = g_list_first(accounts) ; account_iter != NULL ; account_iter = account_iter->next) { | 1105 for (account_iter = g_list_first(accounts) ; account_iter != NULL ; account_iter = account_iter->next) { |
1106 if (purple_strequal(((PurpleAccount *)account_iter->data)->username, username_unescaped)) { | 1106 if (purple_strequal(purple_account_get_username((PurpleAccount *)account_iter->data), username_unescaped)) { |
1107 account = account_iter->data; | 1107 account = account_iter->data; |
1108 break; | 1108 break; |
1109 } | 1109 } |
1110 } | 1110 } |
1111 | 1111 |