[rygel] ui: Don't use the default singleton
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Subject: [rygel] ui: Don't use the default singleton
- Date: Sat, 4 Jul 2009 15:14:57 +0000 (UTC)
commit 72c124cbeb3ca313be151614781eb93c38a08c32
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed Jun 24 23:48:58 2009 +0300
ui: Don't use the default singleton
src/ui/rygel-preferences-dialog.vala | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/ui/rygel-preferences-dialog.vala b/src/ui/rygel-preferences-dialog.vala
index 792eecf..22019c1 100644
--- a/src/ui/rygel-preferences-dialog.vala
+++ b/src/ui/rygel-preferences-dialog.vala
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]