[rygel] core: Re-use existing config
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: Re-use existing config
- Date: Mon, 29 Aug 2016 17:49:14 +0000 (UTC)
commit 5ce9de17aeb3b768687b747a162e11227ab209ab
Author: Jens Georg <mail jensge org>
Date: Sat Aug 27 21:14:42 2016 +0200
core: Re-use existing config
Signed-off-by: Jens Georg <mail jensge org>
src/librygel-core/rygel-root-device-factory.vala | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/librygel-core/rygel-root-device-factory.vala
b/src/librygel-core/rygel-root-device-factory.vala
index 0750b17..110255a 100644
--- a/src/librygel-core/rygel-root-device-factory.vala
+++ b/src/librygel-core/rygel-root-device-factory.vala
@@ -139,8 +139,7 @@ public class Rygel.RootDeviceFactory : Object,
if (udn == null || udn == "") {
// Check if we have a fixed UUID for this plugin
try {
- var config = MetaConfig.get_default ();
- udn = config.get_string (plugin.name, "uuid");
+ udn = this.config.get_string (plugin.name, "uuid");
} catch (Error error) {
udn = GUPnP.get_uuid ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]