# HG changeset patch # User Luke Schierer # Date 1192815779 0 # Node ID 589b517bfe1bdd92e8f7050b37f35dc63af9c08f # Parent 6a128c9bd1705b9934e5cf70ccdcd95e4cd92b8e applied changes from 1bdf4754abed6b49eec400ecf415a9d557bc9834 through f58e560be58adb833d16bf34274e26bcf5ded1cd diff -r 6a128c9bd170 -r 589b517bfe1b pidgin/plugins/win32/transparency/win2ktrans.c --- 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); }