[rygel/config] Allow get_string() params/return to be null.
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Subject: [rygel/config] Allow get_string() params/return to be null.
- Date: Tue, 21 Apr 2009 12:50:08 -0400 (EDT)
commit e23ce89f0d8c9aa33897e1e3c25816455a018717
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Tue Apr 21 17:41:05 2009 +0300
Allow get_string() params/return to be null.
---
src/rygel/rygel-config-reader.vala | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/rygel/rygel-config-reader.vala b/src/rygel/rygel-config-reader.vala
index 3b93ca6..d32dab7 100644
--- a/src/rygel/rygel-config-reader.vala
+++ b/src/rygel/rygel-config-reader.vala
@@ -62,9 +62,9 @@ public class Rygel.ConfigReader {
return this.get_string (section, "UDN", new_udn);
}
- private string get_string (string section,
- string key,
- string default_value) {
+ private string? get_string (string section,
+ string key,
+ string? default_value) {
string val;
var path = ROOT_GCONF_PATH + section + "/" + key;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]