]> www.fi.muni.cz Git - evince.git/commitdiff
Make sure dot_dir exists before creating last_settings file
authorCarlos Garcia Campos <carlosgc@gnome.org>
Thu, 29 Apr 2010 09:53:26 +0000 (11:53 +0200)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Thu, 29 Apr 2010 09:53:26 +0000 (11:53 +0200)
Fixes bug #617154.

shell/ev-window.c

index fb40f7081cab97ab0e49f17e47e8c3b04c239b0e..4c4c460d64ddb4955459a3bc079aee932a1b7405 100644 (file)
@@ -6107,7 +6107,7 @@ ev_window_create_last_settings_metadata (EvWindow *window)
        GFile *file;
        gchar *path;
 
-       path = g_build_filename (ev_application_get_dot_dir (EV_APP, FALSE), "last_settings", NULL);
+       path = g_build_filename (ev_application_get_dot_dir (EV_APP, TRUE), "last_settings", NULL);
        file = g_file_new_for_path (path);
        g_free (path);