cpw.masca.webkit: 518b6ca6: Fix a crash at closing the conversation ...

masca at cpw.pidgin.im masca at cpw.pidgin.im
Wed Sep 7 02:13:31 EDT 2011


----------------------------------------------------------------------
Revision: 518b6ca6a1f9c8a25ba8bdaa2125d638527469cd
Parent:   d0c4018814beccaa76928f55e9474a9cd1216297
Author:   masca at cpw.pidgin.im
Date:     09/07/11 00:35:38
Branch:   im.pidgin.cpw.masca.webkit
URL: http://d.pidgin.im/viewmtn/revision/info/518b6ca6a1f9c8a25ba8bdaa2125d638527469cd

Changelog: 

Fix a crash at closing the conversation window. Patch suggested by Paul.

Changes against parent d0c4018814beccaa76928f55e9474a9cd1216297

  patched  pidgin/gtkconv.c

-------------- next part --------------
============================================================
--- pidgin/gtkconv.c	3209f2438cfe00d96e721d9935a08b2d4f6b6f6b
+++ pidgin/gtkconv.c	1a8f267cbed78f386493a615ae0589a141e70990
@@ -440,7 +440,8 @@ static void clear_conversation_scrollbac
 static void clear_conversation_scrollback_cb(PurpleConversation *conv,
 		void *data)
 {
-	clear_conversation_scrollback(conv);
+	if (PIDGIN_CONVERSATION(conv))
+		clear_conversation_scrollback(conv);
 }
 static PurpleCmdRet
 clear_command_cb(PurpleConversation *conv,


More information about the Commits mailing list