Create the HTTPServer before Root container.
authorZeeshan Ali (Khattak) <zeeshanak@src.gnome.org>
Wed, 28 Jan 2009 12:34:05 +0000 (12:34 +0000)
committerZeeshan Ali (Khattak) <zeeshanak@src.gnome.org>
Wed, 28 Jan 2009 12:34:05 +0000 (12:34 +0000)
svn path=/trunk/; revision=507

src/rygel/rygel-content-directory.vala

index 06422e6..3d11f0b 100644 (file)
@@ -101,8 +101,8 @@ public class Rygel.ContentDirectory: Service {
 
     public override void constructed () {
         this.didl_writer = new DIDLLiteWriter ();
-        this.root_container = this.create_root_container ();
         this.http_server = new HTTPServer (context, this.get_type ().name ());
+        this.root_container = this.create_root_container ();
 
         this.http_server.item_requested += this.on_item_requested;