diff src/gtkft.c @ 11073:634fec5ed0f2

[gaim-migrate @ 13082] sf patch #1235304, from Lalo Martins Allow for custom IRC quit messages. I hope Ethan doesn't kill me. Also, I couldn't get quit messages to work for me before OR after this patch. I tried using "/quit" and Buddies->Quit in the buddy list. What was I doing wrong? committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 09 Jul 2005 19:19:53 +0000
parents 50224ac8184d
children a511b77a368b
line wrap: on
line diff
--- a/src/gtkft.c	Sat Jul 09 18:54:43 2005 +0000
+++ b/src/gtkft.c	Sat Jul 09 19:19:53 2005 +0000
@@ -1142,7 +1142,8 @@
 void
 gaim_gtk_xfers_uninit(void)
 {
-	gaim_gtkxfer_dialog_destroy(xfer_dialog);
+	if (xfer_dialog != NULL)
+		gaim_gtkxfer_dialog_destroy(xfer_dialog);
 }
 
 void