Mercurial > pidgin
diff src/prpl.c @ 4777:e23a7e166680
[gaim-migrate @ 5097]
- a couple compile cleanups
- status messages and tooltips won't crash gaim when people put up certain
away messages
- yahoo status messages will show the current "custom" message instead of
the previous one
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Fri, 14 Mar 2003 22:49:32 +0000 |
parents | 6fe8008d6560 |
children | 85c6c3a60503 |
line wrap: on
line diff
--- a/src/prpl.c Fri Mar 14 17:41:41 2003 +0000 +++ b/src/prpl.c Fri Mar 14 22:49:32 2003 +0000 @@ -553,7 +553,7 @@ return ((x->gc != y->gc) || g_strcasecmp(x->who, y->who)); } -void set_icon_data(struct gaim_connection *gc, char *who, void *data, int len) +void set_icon_data(struct gaim_connection *gc, const char *who, void *data, int len) { struct gaim_conversation *conv; struct icon_data tmp; @@ -650,7 +650,7 @@ } } -void *get_icon_data(struct gaim_connection *gc, char *who, int *len) +void *get_icon_data(struct gaim_connection *gc, const char *who, int *len) { struct icon_data tmp = { gc, normalize(who), NULL, 0 }; GList *l = g_list_find_custom(icons, &tmp, find_icon_data);