[rygel] ui: Remove redundant construction method



commit 963b5f5a10c6ed06f2c20a01f1ac48fd88cf7097
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Thu Feb 10 17:18:55 2011 +0200

    ui: Remove redundant construction method

 src/ui/rygel-writable-user-config.vala |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)
---
diff --git a/src/ui/rygel-writable-user-config.vala b/src/ui/rygel-writable-user-config.vala
index d837c20..049e9f6 100644
--- a/src/ui/rygel-writable-user-config.vala
+++ b/src/ui/rygel-writable-user-config.vala
@@ -80,22 +80,6 @@ public class Rygel.WritableUserConfig : Rygel.UserConfig {
         this.set_bool ("general", ALLOW_DELETION_KEY, value);
     }
 
-    public WritableUserConfig () throws Error {
-        this.key_file = new KeyFile ();
-
-        var dirs = new string[2];
-        dirs[0] = Environment.get_user_config_dir ();
-        dirs[1] = BuildConfig.SYS_CONFIG_DIR;
-
-        string path;
-        this.key_file.load_from_dirs (CONFIG_FILE,
-                                      dirs,
-                                      out path,
-                                      KeyFileFlags.KEEP_COMMENTS |
-                                      KeyFileFlags.KEEP_TRANSLATIONS);
-        debug ("Loaded user configuration from file '%s'", path);
-    }
-
     public void save () {
         // Always write to user's config
         string path = Path.build_filename (Environment.get_user_config_dir (),



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