[gnome-boxes/wip/rishi/rhel: 1/17] util: Simplify code



commit 741a2d016e64ed93a1ca6f292e4f3386124f9f15
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]