changeset 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 f7cad3bdd390
children 385ee919f107
files ChangeLog src/gtk/gtkui.c
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Jan 25 02:39:43 2005 +0000
+++ b/ChangeLog	Wed Jan 26 03:22:05 2005 +0000
@@ -1,3 +1,8 @@
+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
+
 2005-1-24 Brian Masney <masneyb@gftp.org>
 	* configure.in - added AM_TYPE_PTRDIFF_T
 	(from Helmut Jarausch <jarausch@igpm.rwth-aachen.de>)
@@ -3259,7 +3264,7 @@
 
 	* cvsclean - added this script
 
-	* *.[ch] - added $Id: ChangeLog,v 1.400 2005/01/25 02:39:43 masneyb Exp $ tags
+	* *.[ch] - added $Id: ChangeLog,v 1.401 2005/01/26 03:22:05 masneyb Exp $ tags
 
 	* debian/* - updated files from Debian maintainer
 
--- 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);
 }