[gnome-boxes] util: Simplify code
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] util: Simplify code
- Date: Wed, 11 Oct 2017 11:38:14 +0000 (UTC)
commit c0c6d5bc8536a91f07c2717b337ceed601983362
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]