rygel r636 - trunk/src/rygel



Author: zeeshanak
Date: Sat Feb 21 12:03:08 2009
New Revision: 636
URL: http://svn.gnome.org/viewvc/rygel?rev=636&view=rev

Log:
Create the cancellable before anything else.

Modified:
   trunk/src/rygel/rygel-content-directory.vala

Modified: trunk/src/rygel/rygel-content-directory.vala
==============================================================================
--- trunk/src/rygel/rygel-content-directory.vala	(original)
+++ trunk/src/rygel/rygel-content-directory.vala	Sat Feb 21 12:03:08 2009
@@ -67,11 +67,12 @@
     }
 
     public override void constructed () {
+        this.cancellable = new Cancellable ();
+
         this.root_container = this.create_root_container ();
         this.http_server = new HTTPServer (this, this.get_type ().name ());
 
         this.browses = new ArrayList<Browse> ();
-        this.cancellable = new Cancellable ();
         this.updated_containers =  new ArrayList<MediaContainer> ();
 
         this.root_container.container_updated += on_container_updated;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]