Mercurial > pidgin
diff src/account.c @ 7107:9220c7490cd1
[gaim-migrate @ 7672]
This is a big one: normalize() -> gaim_normalize, linkify_text() ->
gaim_markup_linkify(), gaim_get_size_string() -> gaim_str_size_to_units(),
and moved clean_pid() to main.c.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Wed, 01 Oct 2003 06:17:28 +0000 |
parents | 71e0da45abe6 |
children | bf630f7dfdcd |
line wrap: on
line diff
--- a/src/account.c Wed Oct 01 05:56:58 2003 +0000 +++ b/src/account.c Wed Oct 01 06:17:28 2003 +0000 @@ -1526,12 +1526,12 @@ g_return_val_if_fail(name != NULL, NULL); - who = g_strdup(normalize(name)); + who = g_strdup(gaim_normalize(name)); for (l = gaim_accounts_get_all(); l != NULL; l = l->next) { account = (GaimAccount *)l->data; - if (!strcmp(normalize(gaim_account_get_username(account)), who)) { + if (!strcmp(gaim_normalize(gaim_account_get_username(account)), who)) { if (protocol != -1) { if (gaim_account_get_protocol(account) == protocol) break; @@ -1557,12 +1557,12 @@ g_return_val_if_fail(name != NULL, NULL); - who = g_strdup(normalize(name)); + who = g_strdup(gaim_normalize(name)); for (l = gaim_accounts_get_all(); l != NULL; l = l->next) { account = (GaimAccount *)l->data; - if (!strcmp(normalize(gaim_account_get_username(account)), who) && + if (!strcmp(gaim_normalize(gaim_account_get_username(account)), who) && !strcmp(account->protocol_id, protocol_id)) { break;