changeset 7516:4749299f199a

[gaim-migrate @ 8129] Update signals-test.c for the changes in received-chat-msg. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 15 Nov 2003 08:28:36 +0000
parents 6cd392e0d6ea
children 767d3db53e17
files plugins/signals-test.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/signals-test.c	Sat Nov 15 07:18:15 2003 +0000
+++ b/plugins/signals-test.c	Sat Nov 15 08:28:36 2003 +0000
@@ -244,11 +244,12 @@
 
 static gboolean
 received_chat_msg_cb(GaimAccount *account, char **sender, char **buffer,
-					 int id, void *data)
+					 GaimConversation *chat, void *data)
 {
 	gaim_debug(GAIM_DEBUG_MISC, "signals test",
-			   "received-chat-msg (%s, %s, %s, %s, %d)\n",
-			   gaim_account_get_username(account), *sender, *buffer, id);
+			   "received-chat-msg (%s, %s, %s, %s, %s)\n",
+			   gaim_account_get_username(account), *sender, *buffer,
+			   gaim_conversation_get_name(chat));
 
 	return FALSE;
 }