diff src/gtk/gtkui.c @ 679:f41c33110f8e

2005-1-25 Brian Masney <masneyb@gftp.org> * src/gtk/gtkui.c (gftpui_run_function_callback) - after the needed information is retrieved from the dialog, destroy the dialog before the callback function is called
author masneyb
date Wed, 26 Jan 2005 03:22:05 +0000
parents 8990a8a26ccf
children 6d19d4a8adee
line wrap: on
line diff
--- a/src/gtk/gtkui.c	Tue Jan 25 02:39:43 2005 +0000
+++ b/src/gtk/gtkui.c	Wed Jan 26 03:22:05 2005 +0000
@@ -283,6 +283,9 @@
   else
     cdata->toggled = 0;
 
+  gtk_widget_destroy (ddata->dialog);
+  ddata->dialog = NULL;
+
   gftpui_common_run_callback_function (cdata);
 }