[rygel/config] Remove the unused convenience methods



commit b7adf47ab7bb34bbbb105ac08b7736e0acf6701e
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Fri Apr 24 14:50:17 2009 +0300

    Remove the unused convenience methods
---
 src/ui/rygel-config-editor.vala |   26 --------------------------
 1 files changed, 0 insertions(+), 26 deletions(-)

diff --git a/src/ui/rygel-config-editor.vala b/src/ui/rygel-config-editor.vala
index 0d870b2..ab94975 100644
--- a/src/ui/rygel-config-editor.vala
+++ b/src/ui/rygel-config-editor.vala
@@ -33,32 +33,6 @@ public class Rygel.ConfigEditor : ConfigReader {
         base ();
     }
 
-    public void set_host_ip (string ip) {
-        this.set_string ("general", IP_KEY, ip);
-    }
-
-    public void set_port (uint16 port) {
-        this.set_int ("general", PORT_KEY, port);
-    }
-
-    public void set_enable_xbox (bool enabled) {
-        this.set_bool ("general", XBOX_KEY, enabled);
-    }
-
-    public void set_title (string section, string title) {
-        this.set_string (section, "title", title);
-    }
-
-    public void set_udn (string section, string? udn) {
-        var value = udn;
-
-        if (value == null) {
-            value = Utils.generate_random_udn ();
-        }
-
-        this.set_string (section, "UDN", value);
-    }
-
     public void set_string (string section,
                             string key,
                             string value) {



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