changeset 7503:798e5dbb072f

[gaim-migrate @ 8116] segfaults are bad. thanks Gray Watson (graywatson) committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Thu, 13 Nov 2003 17:18:39 +0000
parents beeb7c7d16b7
children 97e385fe462d
files plugins/signals-test.c
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/signals-test.c	Thu Nov 13 15:41:59 2003 +0000
+++ b/plugins/signals-test.c	Thu Nov 13 17:18:39 2003 +0000
@@ -157,7 +157,8 @@
  * Conversation subsystem signal callbacks
  **************************************************************************/
 static gboolean
-displaying_im_msg_cb(GaimConversation *conv, char **buffer, void *data)
+displaying_im_msg_cb(GaimAccount *account, GaimConversation *conv,
+		     char **buffer, void *data)
 {
 	gaim_debug(GAIM_DEBUG_MISC, "signals test",
 			   "displaying-im-msg (%s, %s)\n",
@@ -174,7 +175,7 @@
 			   gaim_conversation_get_name(conv), buffer);
 }
 
-static gboolean
+static void
 sending_im_msg_cb(GaimAccount *account, char *recipient, char **buffer, void *data)
 {
 	gaim_debug(GAIM_DEBUG_MISC, "signals test",
@@ -182,7 +183,6 @@
 			   gaim_account_get_username(account), recipient,
 			   *buffer);
 
-	return FALSE;
 }
 
 static void
@@ -206,7 +206,8 @@
 }
 
 static gboolean
-displaying_chat_msg_cb(GaimConversation *conv, char **buffer, void *data)
+displaying_chat_msg_cb(GaimAccount *account, GaimConversation *conv,
+		       char **buffer, void *data)
 {
 	gaim_debug(GAIM_DEBUG_MISC, "signals test",
 			   "displaying-chat-msg (%s, %s)\n",