summary refs log tree commit diff stats
path: root/src/fe-gtk
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-gtk')
-rw-r--r--src/fe-gtk/urlgrab.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/fe-gtk/urlgrab.c b/src/fe-gtk/urlgrab.c
index 159b4510..d9b79670 100644
--- a/src/fe-gtk/urlgrab.c
+++ b/src/fe-gtk/urlgrab.c
@@ -144,11 +144,8 @@ url_save_callback (void *arg1, char *file)
 static void
 url_button_save (void)
 {
-	const char *xdir;
-
-	xdir = get_xdir_utf8 ();
 	gtkutil_file_req (_("Select an output filename"),
-							url_save_callback, NULL, xdir, NULL, FRF_WRITE|FRF_FILTERISINITIAL);
+							url_save_callback, NULL, get_xdir_utf8 (), NULL, FRF_WRITE|FRF_FILTERISINITIAL);
 }
 
 void