[shotwell] Fix accidential compile error in previous commit



commit f9c29c2fdc9ab145ade05e0f65d9fd1f9d90f4ba
Author: Jens Georg <mail jensge org>
Date:   Sun Jun 25 18:27:27 2017 +0200

    Fix accidential compile error in previous commit

 src/LibraryFiles.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/LibraryFiles.vala b/src/LibraryFiles.vala
index 5e4f271..5c2c303 100644
--- a/src/LibraryFiles.vala
+++ b/src/LibraryFiles.vala
@@ -12,7 +12,7 @@ public void select_copy_function() {
     var import_dir = AppDirs.get_import_dir();
 
     try {
-        var import_dir = dir.query_filesystem_info("filesystem::type", null);
+        var info = import_dir.query_filesystem_info("filesystem::type", null);
         use_fallback_copy_func = info.get_attribute_as_string("filesystem::type") == "nfs";
     } catch (Error error) {
         critical ("Failed to query fs type: %s", error.message);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]