Mercurial > gftp.yaz
comparison src/gtk/gtkui.c @ 912:1f9c6baa458c
2007-4-18 Brian Masney <masneyb@gftp.org>
* src/gtk/gftp-gtk.c src/gtk/gtkui.c src/gtk/gftp-gtk.h - added new
function gftp_gtk_init_request(). It will initialize a gftp_request
structure inside the gftp_window_data structure.
* src/gtk/gtkui.c (gftpui_disconnect) - completely free the gftp_request
structure when the user disconnects from the site.
author | masneyb |
---|---|
date | Wed, 18 Apr 2007 23:38:55 +0000 |
parents | 1808cebed602 |
children | f37091406523 |
comparison
equal
deleted
inserted
replaced
911:e0d98c63614d | 912:1f9c6baa458c |
---|---|
470 | 470 |
471 wdata = uidata; | 471 wdata = uidata; |
472 gftp_delete_cache_entry (wdata->request, NULL, 1); | 472 gftp_delete_cache_entry (wdata->request, NULL, 1); |
473 gftp_disconnect (wdata->request); | 473 gftp_disconnect (wdata->request); |
474 remove_files_window (wdata); | 474 remove_files_window (wdata); |
475 | |
476 /* Free the request structure so that all old settings are purged. */ | |
477 gftp_request_destroy (wdata->request, 1); | |
478 gftp_gtk_init_request (wdata); | |
479 | |
475 update_window_info (); | 480 update_window_info (); |
476 } | 481 } |
477 | 482 |
478 | 483 |
479 char * | 484 char * |