comparison src/util.c @ 7956:1b8261f374ea

[gaim-migrate @ 8631] This is the death of protocol numbers. There are probably now a few functions that should now go away, but i'll let our crack team of crazy patch writers figure out which ones they are. out-of-tree and unofficial prpl-writers, rejoice! committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 29 Dec 2003 09:03:47 +0000
parents 7e1bb4deca24
children 3bdfb4308d10
comparison
equal deleted inserted replaced
7955:119a22025818 7956:1b8261f374ea
1584 GaimPlugin *prpl = NULL; 1584 GaimPlugin *prpl = NULL;
1585 GaimPluginProtocolInfo *prpl_info = NULL; 1585 GaimPluginProtocolInfo *prpl_info = NULL;
1586 const char *ret = NULL; 1586 const char *ret = NULL;
1587 1587
1588 if(account) 1588 if(account)
1589 prpl = gaim_find_prpl(gaim_account_get_protocol(account)); 1589 prpl = gaim_find_prpl(gaim_account_get_protocol_id(account));
1590 1590
1591 if(prpl) 1591 if(prpl)
1592 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(prpl); 1592 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(prpl);
1593 1593
1594 if(prpl_info && prpl_info->normalize) 1594 if(prpl_info && prpl_info->normalize)