[gnome-boxes/wip/rishi/rhel: 2/18] util: Simplify code



commit d6906bff589f91a9a5b2f2f8741fed4232a8f420
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Aug 24 19:31:46 2017 +0200

    util: Simplify code

 src/util.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/util.vala b/src/util.vala
index f6d8f38..14aa741 100644
--- a/src/util.vala
+++ b/src/util.vala
@@ -117,7 +117,7 @@ namespace Boxes {
     }
 
     public string get_cache (string cache_name, string? file_name = null) {
-        var dir = Path.build_filename (get_user_pkgcache (), cache_name);
+        var dir = get_user_pkgcache (cache_name);
 
         ensure_directory (dir);
 


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