[rygel/config] More use of consts defined for gconf keys



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]