diff src/gtk/gftp-gtk.c @ 640:cad45ebbc520

2004-12-12 Brian Masney <masneyb@gftp.org> * src/gtk/gftp-gtk.c (toolbar_hostedit) - use gftp_disconnect() instead of gftpui_disconnect(). The gftpui_disconnect() function will clear out the directory in the request structure
author masneyb
date Sun, 12 Dec 2004 11:26:15 +0000
parents 461ae1bba8b6
children 8990a8a26ccf
line wrap: on
line diff
--- a/src/gtk/gftp-gtk.c	Thu Dec 09 13:39:31 2004 +0000
+++ b/src/gtk/gftp-gtk.c	Sun Dec 12 11:26:15 2004 +0000
@@ -1066,7 +1066,7 @@
     }
 
   if (GFTP_IS_CONNECTED (current_wdata->request))
-    gftpui_disconnect (current_wdata);
+    gftp_disconnect (current_wdata->request);
 
   tempwid = gtk_menu_get_active (GTK_MENU (protocol_menu));
   num = GPOINTER_TO_INT (gtk_object_get_user_data (GTK_OBJECT (tempwid)));