im.pidgin.pidgin: f58e560be58adb833d16bf34274e26bcf5ded1cd

datallah at pidgin.im datallah at pidgin.im
Fri Oct 5 10:45:44 EDT 2007


revision:            f58e560be58adb833d16bf34274e26bcf5ded1cd
date:                2007-10-05T14:13:59
author:              datallah at pidgin.im
branch:              im.pidgin.pidgin
changelog:
Fix from "xjoe" to prevent a crash in the win32 transparency plugin when the conversation isn't (yet?) in a window. Fixes #3452.

manifest:
format_version "1"

new_manifest [1159e94b4593c7a190b38fa23633d3cf8f198a9f]

old_revision [1bdf4754abed6b49eec400ecf415a9d557bc9834]

patch "pidgin/plugins/win32/transparency/win2ktrans.c"
 from [1dc7f0732a31648b1da695f250d2161044ac7fbc]
   to [9601ee40bdec944b0d0a863416b2d6ccf54f3614]
-------------- next part --------------
============================================================
--- pidgin/plugins/win32/transparency/win2ktrans.c	1dc7f0732a31648b1da695f250d2161044ac7fbc
+++ pidgin/plugins/win32/transparency/win2ktrans.c	9601ee40bdec944b0d0a863416b2d6ccf54f3614
@@ -229,7 +229,7 @@ conversation_delete_cb(PurpleConversatio
 conversation_delete_cb(PurpleConversation *conv) {
 	PidginWindow *win = pidgin_conv_get_window(PIDGIN_CONVERSATION(conv));
 	/* If it is the last conversation in the window, cleanup */
-	if (pidgin_conv_window_get_gtkconv_count(win) == 1)
+	if (win != NULL && pidgin_conv_window_get_gtkconv_count(win) == 1)
 		cleanup_conv_window(win);
 }
 


More information about the Commits mailing list