diff src/gtkft.c @ 4541:0626ec2f2feb

[gaim-migrate @ 4820] Fixed the problem of a canceled transfer crashing gaim before the file transfer dialog appeared. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 06 Feb 2003 10:12:33 +0000
parents 599d350fce4e
children d03fcb3f4be2
line wrap: on
line diff
--- a/src/gtkft.c	Thu Feb 06 10:11:57 2003 +0000
+++ b/src/gtkft.c	Thu Feb 06 10:12:33 2003 +0000
@@ -572,6 +572,9 @@
 	struct gaim_gtkxfer_ui_data *data;
 	GdkPixbuf *pixbuf;
 
+	if (xfer_dialog == NULL)
+		return;
+
 	data = (struct gaim_gtkxfer_ui_data *)xfer->ui_data;
 
 	pixbuf = gtk_widget_render_icon(xfer_dialog->window,