comparison 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
comparison
equal deleted inserted replaced
678:f7cad3bdd390 679:f41c33110f8e
281 if (ddata->checkbox != NULL) 281 if (ddata->checkbox != NULL)
282 cdata->toggled = GTK_TOGGLE_BUTTON (ddata->checkbox)->active; 282 cdata->toggled = GTK_TOGGLE_BUTTON (ddata->checkbox)->active;
283 else 283 else
284 cdata->toggled = 0; 284 cdata->toggled = 0;
285 285
286 gtk_widget_destroy (ddata->dialog);
287 ddata->dialog = NULL;
288
286 gftpui_common_run_callback_function (cdata); 289 gftpui_common_run_callback_function (cdata);
287 } 290 }
288 291
289 292
290 void 293 void