[rygel/wip/ruih: 8/10] ruih: Fix critical on first start



commit a693cde8c9c7ed3d6cb60f96b9cbf41a9b7b9319
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]