[rygel/config] More use of consts defined for gconf keys
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Subject: [rygel/config] More use of consts defined for gconf keys
- Date: Thu, 23 Apr 2009 13:10:23 -0400 (EDT)
commit adc453a820c119fedf4818c63ab48cc2a5ccd84c
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Thu Apr 23 18:05:40 2009 +0300
More use of consts defined for gconf keys
---
src/rygel/rygel-config-reader.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/rygel/rygel-config-reader.vala b/src/rygel/rygel-config-reader.vala
index 302c56c..81edd2b 100644
--- a/src/rygel/rygel-config-reader.vala
+++ b/src/rygel/rygel-config-reader.vala
@@ -55,13 +55,13 @@ public class Rygel.ConfigReader {
}
public string get_title (string section) {
- return this.get_string (section, "title", section);
+ return this.get_string (section, TITLE_KEY, section);
}
public string get_udn (string section) {
var new_udn = Utils.generate_random_udn ();
- return this.get_string (section, "UDN", new_udn);
+ return this.get_string (section, UDN_KEY, new_udn);
}
public string? get_string (string section,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]