diff options
Diffstat (limited to 'widgets/menus/gal-view-collection.c')
-rw-r--r-- | widgets/menus/gal-view-collection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/menus/gal-view-collection.c b/widgets/menus/gal-view-collection.c index 728ed5544c..f286ee445d 100644 --- a/widgets/menus/gal-view-collection.c +++ b/widgets/menus/gal-view-collection.c @@ -395,7 +395,7 @@ load_single_dir (GalViewCollection *collection, xmlNode *child; char *filename = g_build_filename(dir, "galview.xml", NULL); char *default_view; - + if (g_file_test (filename, G_FILE_TEST_IS_REGULAR)) { #ifdef G_OS_WIN32 gchar *locale_filename = g_win32_locale_filename_from_utf8 (filename); @@ -406,7 +406,7 @@ load_single_dir (GalViewCollection *collection, doc = xmlParseFile (filename); #endif } - + if (!doc) { g_free (filename); return; |