[gaim-migrate @ 4820]

Thu, 06 Feb 2003 10:12:33 +0000

author
Christian Hammond <chipx86@chipx86.com>
date
Thu, 06 Feb 2003 10:12:33 +0000
changeset 4541
f062a58e6798
parent 4540
bfc053e6f177
child 4542
05a476dec582

[gaim-migrate @ 4820]
Fixed the problem of a canceled transfer crashing gaim before the file
transfer dialog appeared.

src/gtkft.c file | annotate | diff | comparison | revisions
--- 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,

mercurial