[rygel] core: use fixed string for cache dir
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [rygel] core: use fixed string for cache dir
- Date: Tue, 15 Sep 2009 13:53:07 +0000 (UTC)
commit 97ca761514f3711cbf4d36af02e1ec5322356164
Author: Jens Georg <mail jensge org>
Date: Sat Sep 12 01:32:20 2009 +0200
core: use fixed string for cache dir
src/rygel/rygel-media-db.vala | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/rygel/rygel-media-db.vala b/src/rygel/rygel-media-db.vala
index 1af7ca6..0d1165f 100644
--- a/src/rygel/rygel-media-db.vala
+++ b/src/rygel/rygel-media-db.vala
@@ -221,7 +221,7 @@ public class Rygel.MediaDB : Object {
private void open_db (string name) {
var dirname = Path.build_filename (Environment.get_user_cache_dir (),
- Environment.get_prgname ());
+ "rygel");
DirUtils.create_with_parents (dirname, 0750);
var db_file = Path.build_filename (dirname, "%s.db".printf (name));
debug ("Using database file %s", db_file);
@@ -682,7 +682,6 @@ public class Rygel.MediaDB : Object {
break;
default:
assert_not_reached ();
- break;
}
try {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]