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



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

    util: Simplify code
    
    https://bugzilla.gnome.org/show_bug.cgi?id=788790

 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]