Mercurial > pidgin
diff src/log.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 | b4c2f92d4d24 |
children | 17b90334f3cc |
line wrap: on
line diff
--- a/src/log.c Mon Dec 29 08:59:22 2003 +0000 +++ b/src/log.c Mon Dec 29 09:03:47 2003 +0000 @@ -249,8 +249,9 @@ const char *filename; char *me = g_strdup(gaim_normalize(account, gaim_account_get_username(account))); + /* does this seem like a bad way to get this component of the path to anyone else? --Nathan */ const char *prpl = GAIM_PLUGIN_PROTOCOL_INFO - (gaim_find_prpl(gaim_account_get_protocol(account)))->list_icon(account, NULL); + (gaim_find_prpl(gaim_account_get_protocol_id(account)))->list_icon(account, NULL); char *path = g_build_filename(gaim_user_dir(), "logs", prpl, me, gaim_normalize(account, screenname), NULL); g_free(me); @@ -430,7 +431,7 @@ char *guy = g_strdup(gaim_normalize(log->account, gaim_account_get_username(log->account))); char *chat; const char *prpl = GAIM_PLUGIN_PROTOCOL_INFO - (gaim_find_prpl(gaim_account_get_protocol(log->account)))->list_icon(log->account, NULL); + (gaim_find_prpl(gaim_account_get_protocol_id(log->account)))->list_icon(log->account, NULL); char *dir; char *filename; @@ -577,7 +578,7 @@ char *guy = g_strdup(gaim_normalize(log->account, gaim_account_get_username(log->account))); char *chat; const char *prpl = GAIM_PLUGIN_PROTOCOL_INFO - (gaim_find_prpl(gaim_account_get_protocol(log->account)))->list_icon(log->account, NULL); + (gaim_find_prpl(gaim_account_get_protocol_id(log->account)))->list_icon(log->account, NULL); char *dir; if (log->type == GAIM_LOG_CHAT) {