changeset 9953:d908907d9441

[gaim-migrate @ 10849] grim | patch -p0 && cvs commit committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 05 Sep 2004 06:29:51 +0000
parents 8fdf9706c45d
children a9fb4493ae22
files src/protocols/gg/gg.c src/protocols/irc/irc.c src/protocols/msn/msn.c src/protocols/napster/napster.c
diffstat 4 files changed, 14 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- 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 <misiek@pld.ORG.PL>
  *
@@ -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);
 
--- 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";
--- 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;
 
--- 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";