Mercurial > gftp.yaz
diff src/gtk/gftp-gtk.c @ 924:f37091406523
2007-5-18 Brian Masney <masneyb@gftp.org>
* lib/protocols.c (gftp_request_destroy) - initialize the
request->server_type if the request structure isn't destroyed.
* src/gtk/gftp-gtk.c (gftp_gtk_init_request) - don't create a new
request structure.
* src/gtk/gtkui.c (gftpui_disconnect) - don't free the request
structure.
author | masneyb |
---|---|
date | Sat, 19 May 2007 01:37:07 +0000 |
parents | 1f9c6baa458c |
children | 19b6d55e2646 |
line wrap: on
line diff
--- a/src/gtk/gftp-gtk.c Sat May 19 01:15:05 2007 +0000 +++ b/src/gtk/gftp-gtk.c Sat May 19 01:37:07 2007 +0000 @@ -765,7 +765,6 @@ void gftp_gtk_init_request (gftp_window_data * wdata) { - wdata->request = gftp_request_new (); wdata->request->logging_function = ftp_log; wdata->filespec = g_malloc0 (2); *wdata->filespec = '*'; @@ -792,6 +791,7 @@ titles[5] = _("Date"); titles[6] = _("Attribs"); + wdata->request = gftp_request_new (); gftp_gtk_init_request (wdata); parent = gtk_frame_new (NULL);