rygel r586 - trunk/src/plugins/tracker



Author: zeeshanak
Date: Sat Feb 14 15:30:14 2009
New Revision: 586
URL: http://svn.gnome.org/viewvc/rygel?rev=586&view=rev

Log:
No need to delay the completion of search result.

Modified:
   trunk/src/plugins/tracker/rygel-tracker-container.vala

Modified: trunk/src/plugins/tracker/rygel-tracker-container.vala
==============================================================================
--- trunk/src/plugins/tracker/rygel-tracker-container.vala	(original)
+++ trunk/src/plugins/tracker/rygel-tracker-container.vala	Sat Feb 14 15:30:14 2009
@@ -241,7 +241,7 @@
         if (error != null) {
             this.error = error;
 
-            this.complete_in_idle ();
+            this.complete ();
         }
 
         TrackerContainer container = (TrackerContainer) this.source_object;
@@ -255,7 +255,7 @@
             this.data.add (item);
         }
 
-        this.complete_in_idle ();
+        this.complete ();
     }
 
     /**
@@ -303,14 +303,4 @@
     public void complete () {
         this.callback (this.source_object, this);
     }
-
-    public void complete_in_idle () {
-        Idle.add_full (Priority.DEFAULT, idle_func);
-    }
-
-    private bool idle_func () {
-        this.complete ();
-
-        return false;
-    }
 }



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