ui: Don't use the default singleton
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Wed, 24 Jun 2009 20:48:58 +0000 (23:48 +0300)
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Fri, 3 Jul 2009 21:44:58 +0000 (00:44 +0300)
src/ui/rygel-preferences-dialog.vala

index 792eecf..22019c1 100644 (file)
@@ -34,8 +34,7 @@ public class Rygel.PreferencesDialog : GLib.Object {
     ArrayList<PreferencesSection> sections;
 
     public PreferencesDialog () throws Error {
-        this.config = UserConfig.get_default ();
-
+        this.config = new UserConfig ();
         this.builder = new Builder ();
 
         this.builder.add_from_file (UI_FILE);