summaryrefslogtreecommitdiff
path: root/shell/ev-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r--shell/ev-window.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 64896b63..78063ba2 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -2996,7 +2996,6 @@ ev_window_cmd_save_as (GtkAction *action, EvWindow *ev_window)
GtkWidget *fc;
gchar *base_name;
GFile *file;
- const gchar *folder;
fc = gtk_file_chooser_dialog_new (
_("Save a Copy"),
@@ -3018,10 +3017,6 @@ ev_window_cmd_save_as (GtkAction *action, EvWindow *ev_window)
base_name = g_file_get_basename (file);
gtk_file_chooser_set_current_name (GTK_FILE_CHOOSER (fc), base_name);
- folder = g_get_user_special_dir (G_USER_DIRECTORY_DOCUMENTS);
- gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (fc),
- folder ? folder : g_get_home_dir ());
-
g_object_unref (file);
g_free (base_name);