changeset 1246:42ca87108cd1

[gaim-migrate @ 1256] bah committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 13 Dec 2000 00:21:06 +0000
parents 2ac6ccb94229
children f50146ce818e
files src/oscar.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/oscar.c	Tue Dec 12 23:58:58 2000 +0000
+++ b/src/oscar.c	Wed Dec 13 00:21:06 2000 +0000
@@ -831,6 +831,11 @@
 	cancel_getfile(w, g);
 }
 
+static void cancel_getfile_cancel(GtkObject *obj, struct ask_getfile *g) {
+	GtkWidget *w = gtk_object_get_user_data(obj);
+	gtk_widget_destroy(w);
+}
+
 static void interrupt_getfile(GtkObject *obj, struct getfile_transfer *gt) {
 	struct gaim_connection *gc = gt->gc;
 	struct oscar_data *od = (struct oscar_data *)gc->proto_data;
@@ -1083,7 +1088,7 @@
 			   GTK_SIGNAL_FUNC(do_getfile), g);
 	gtk_object_set_user_data(GTK_OBJECT(GTK_FILE_SELECTION(window)->cancel_button), window);
 	gtk_signal_connect(GTK_OBJECT(GTK_FILE_SELECTION(window)->cancel_button), "clicked",
-			   GTK_SIGNAL_FUNC(cancel_getfile_file), g);
+			   GTK_SIGNAL_FUNC(cancel_getfile_cancel), g);
 	gtk_widget_show(window);
 
 	return TRUE;