# HG changeset patch # User Nathan Walp # Date 1094365791 0 # Node ID d908907d944134202febd20b32ad1cdfd308cf0e # Parent 8fdf9706c45d5094cb24af87405f01ec3dd08dd9 [gaim-migrate @ 10849] grim | patch -p0 && cvs commit committer: Tailor Script diff -r 8fdf9706c45d -r d908907d9441 src/protocols/gg/gg.c --- a/src/protocols/gg/gg.c Sat Sep 04 17:06:10 2004 +0000 +++ b/src/protocols/gg/gg.c Sun Sep 05 06:29:51 2004 +0000 @@ -1,6 +1,6 @@ /* * gaim - Gadu-Gadu Protocol Plugin - * $Id: gg.c 10846 2004-09-04 05:36:32Z marv_sf $ + * $Id: gg.c 10849 2004-09-05 06:29:51Z faceprint $ * * Copyright (C) 2001 Arkadiusz Mi¶kiewicz * @@ -1617,7 +1617,8 @@ return "gadu-gadu"; } -static void agg_list_emblems(GaimBuddy *b, char **se, char **sw, char **nw, char **ne) +static void agg_list_emblems(GaimBuddy *b, const char **se, const char **sw, + const char **nw, const char **ne) { GaimPresence *presence = gaim_buddy_get_presence(b); diff -r 8fdf9706c45d -r d908907d9441 src/protocols/irc/irc.c --- a/src/protocols/irc/irc.c Sat Sep 04 17:06:10 2004 +0000 +++ b/src/protocols/irc/irc.c Sun Sep 05 06:29:51 2004 +0000 @@ -40,7 +40,7 @@ static void irc_buddy_append(char *name, struct irc_buddy *ib, GString *string); static const char *irc_blist_icon(GaimAccount *a, GaimBuddy *b); -static void irc_blist_emblems(GaimBuddy *b, char **se, char **sw, char **nw, char **ne); +static void irc_blist_emblems(GaimBuddy *b, const char **se, const char **sw, const char **nw, const char **ne); static GList *irc_status_types(GaimAccount *account); static GList *irc_actions(GaimPlugin *plugin, gpointer context); /* static GList *irc_chat_info(GaimConnection *gc); */ @@ -139,7 +139,7 @@ return "irc"; } -static void irc_blist_emblems(GaimBuddy *b, char **se, char **sw, char **nw, char **ne) +static void irc_blist_emblems(GaimBuddy *b, const char **se, const char **sw, const char **nw, const char **ne) { if (b->present == GAIM_BUDDY_OFFLINE) *se = "offline"; diff -r 8fdf9706c45d -r d908907d9441 src/protocols/msn/msn.c --- a/src/protocols/msn/msn.c Sat Sep 04 17:06:10 2004 +0000 +++ b/src/protocols/msn/msn.c Sun Sep 05 06:29:51 2004 +0000 @@ -388,11 +388,11 @@ } static void -msn_list_emblems(GaimBuddy *b, char **se, char **sw, - char **nw, char **ne) +msn_list_emblems(GaimBuddy *b, const char **se, const char **sw, + const char **nw, const char **ne) { MsnUser *user; - char *emblems[4] = { NULL, NULL, NULL, NULL }; + const char *emblems[4] = { NULL, NULL, NULL, NULL }; int away_type = MSN_AWAY_TYPE(b->uc); int i = 0; diff -r 8fdf9706c45d -r d908907d9441 src/protocols/napster/napster.c --- a/src/protocols/napster/napster.c Sat Sep 04 17:06:10 2004 +0000 +++ b/src/protocols/napster/napster.c Sun Sep 05 06:29:51 2004 +0000 @@ -283,12 +283,12 @@ case 201: /* MSG_SERVER_SEARCH_RESULT */ res = g_strsplit(buf, " ", 0); - serv_got_update(gc, res[0], TRUE, 0, 0, 0, 0); + serv_got_update(gc, res[0], TRUE, 0); g_strfreev(res); break; case 202: /* MSG_SERVER_SEARCH_END */ - serv_got_update(gc, buf, FALSE, 0, 0, 0, 0); + serv_got_update(gc, buf, FALSE, 0); break; case 205: /* MSG_CLIENT_PRIVMSG */ @@ -302,14 +302,14 @@ case 209: /* MSG_SERVER_USER_SIGNON */ /* USERNAME SPEED */ res = g_strsplit(buf, " ", 2); - serv_got_update(gc, res[0], TRUE, 0, 0, 0, 0); + serv_got_update(gc, res[0], TRUE, 0); g_strfreev(res); break; case 210: /* MSG_SERVER_USER_SIGNOFF */ /* USERNAME SPEED */ res = g_strsplit(buf, " ", 2); - serv_got_update(gc, res[0], FALSE, 0, 0, 0, 0); + serv_got_update(gc, res[0], FALSE, 0); g_strfreev(res); break; @@ -537,7 +537,8 @@ return "napster"; } -static void nap_list_emblems(GaimBuddy *b, char **se, char **sw, char **nw, char **ne) +static void nap_list_emblems(GaimBuddy *b, const char **se, const char **sw, + const char **nw, const char **ne) { if (b->present == GAIM_BUDDY_OFFLINE) *se = "offline";