Mercurial > pidgin
diff src/account.c @ 10447:6feef0a9098a
[gaim-migrate @ 11712]
A few minor improvements and some documentation updates.
Conscious evolution in the back of your mind...
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 29 Dec 2004 21:53:59 +0000 |
parents | b6ca0e1b19d0 |
children | 6a20307ef8dc |
line wrap: on
line diff
--- a/src/account.c Wed Dec 29 20:01:48 2004 +0000 +++ b/src/account.c Wed Dec 29 21:53:59 2004 +0000 @@ -583,13 +583,13 @@ account->presence = gaim_presence_new_for_account(account); - prpl = gaim_find_prpl(gaim_account_get_protocol_id(account)); + prpl = gaim_find_prpl(protocol_id); if (prpl == NULL) return account; prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(prpl); - if ( prpl_info != NULL && prpl_info->status_types != NULL ) + if (prpl_info != NULL && prpl_info->status_types != NULL ) gaim_account_set_status_types(account, prpl_info->status_types(account)); gaim_presence_set_status_active(account->presence, "offline", TRUE); @@ -1699,12 +1699,12 @@ gaim_value_new(GAIM_TYPE_UINT)); gaim_signal_register(handle, "account-added", - gaim_marshal_VOID__POINTER, NULL, 1, - gaim_value_new(GAIM_TYPE_SUBTYPE, GAIM_SUBTYPE_ACCOUNT)); + gaim_marshal_VOID__POINTER, NULL, 1, + gaim_value_new(GAIM_TYPE_SUBTYPE, GAIM_SUBTYPE_ACCOUNT)); gaim_signal_register(handle, "account-removed", - gaim_marshal_VOID__POINTER, NULL, 1, - gaim_value_new(GAIM_TYPE_SUBTYPE, GAIM_SUBTYPE_ACCOUNT)); + gaim_marshal_VOID__POINTER, NULL, 1, + gaim_value_new(GAIM_TYPE_SUBTYPE, GAIM_SUBTYPE_ACCOUNT)); } void