changeset 20321:589b517bfe1b

applied changes from 1bdf4754abed6b49eec400ecf415a9d557bc9834 through f58e560be58adb833d16bf34274e26bcf5ded1cd
author Luke Schierer <lschiere@pidgin.im>
date Fri, 19 Oct 2007 17:42:59 +0000
parents 6a128c9bd170
children aad0f10eb4dc
files pidgin/plugins/win32/transparency/win2ktrans.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/plugins/win32/transparency/win2ktrans.c	Fri Oct 19 17:42:21 2007 +0000
+++ b/pidgin/plugins/win32/transparency/win2ktrans.c	Fri Oct 19 17:42:59 2007 +0000
@@ -229,7 +229,7 @@
 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);
 }