/soc/2015/koosha/main: d848d5003e4b: Fix a regression bug in sig...

Koosha Khajehmoogahi koosha at posteo.de
Fri Jun 26 19:58:17 EDT 2015


Changeset: d848d5003e4b2f6d2f60e5ddb999511237090351
Author:	 Koosha Khajehmoogahi <koosha at posteo.de>
Date:	 2015-06-23 04:16 +0200
Branch:	 default
URL: https://hg.pidgin.im/soc/2015/koosha/main/rev/d848d5003e4b

Description:

Fix a regression bug in signals-test.c

diffstat:

 libpurple/plugins/signals-test.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (19 lines):

diff --git a/libpurple/plugins/signals-test.c b/libpurple/plugins/signals-test.c
--- a/libpurple/plugins/signals-test.c
+++ b/libpurple/plugins/signals-test.c
@@ -282,11 +282,11 @@ connection_error_cb(PurpleConnection *gc
  * Conversation subsystem signal callbacks
  **************************************************************************/
 static gboolean
-writing_im_msg_cb(PurpleAccount *account, const char *who, char **buffer,
-				PurpleConversation *conv, PurpleMessageFlags flags, void *data)
+writing_im_msg_cb(PurpleConversation *conv, PurpleMessage *pmsg)
 {
-	purple_debug_misc("signals test", "writing-im-msg (%s, %s, %s)\n",
-					purple_account_get_username(account), purple_conversation_get_name(conv), *buffer);
+	purple_debug_misc("signals test", "writing-im-msg (%s, %s)\n",
+		purple_conversation_get_name(conv),
+		purple_message_get_contents(pmsg));
 
 	return FALSE;
 



More information about the Commits mailing list