[rygel] ruih: Fix critical on first start
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] ruih: Fix critical on first start
- Date: Sat, 8 Nov 2014 12:26:14 +0000 (UTC)
commit cb35a67fa77531d25b81115c8ada7fab07dfc97e
Author: Jens Georg <mail jensge org>
Date: Sat Oct 25 10:42:42 2014 +0200
ruih: Fix critical on first start
Signed-off-by: Jens Georg <mail jensge org>
src/librygel-ruih/rygel-ruih-servicemanager.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/librygel-ruih/rygel-ruih-servicemanager.vala
b/src/librygel-ruih/rygel-ruih-servicemanager.vala
index dd4e3ef..b51e324 100644
--- a/src/librygel-ruih/rygel-ruih-servicemanager.vala
+++ b/src/librygel-ruih/rygel-ruih-servicemanager.vala
@@ -70,6 +70,8 @@ public class Rygel.RuihServiceManager : Object
public override void constructed () {
base.constructed ();
+ this.ui_list = new ArrayList<UIElem> ();
+
unowned string config_dir = Environment.get_user_config_dir ();
this.cancellable = new Cancellable ();
var ui_listing_directory = Path.build_filename (config_dir, "Rygel");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]