changeset 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 d83c5b925a05
children 86b0a0243be8
files src/gtkft.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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,