tracker: Chain-up of async methods now possible
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Wed, 17 Feb 2010 10:19:39 +0000 (12:19 +0200)
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Wed, 17 Feb 2010 13:23:18 +0000 (15:23 +0200)
search method can now chain-up since bug#601558 is fixed.

src/plugins/tracker/rygel-tracker-search-container.vala

index 8767f72..9b7c876 100644 (file)
@@ -140,13 +140,11 @@ public class Rygel.TrackerSearchContainer : Rygel.MediaContainer {
                                        (int) offset,
                                        (int) max_count);
         if (query == null) {
-            /* FIXME: chain-up when bug#601558 is fixed
             return yield base.search (expression,
-                                  offset,
-                                  max_count,
-                                  total_matches,
-                                  cancellable);*/
-            return results;
+                                      offset,
+                                      max_count,
+                                      out total_matches,
+                                      cancellable);
         }
 
         yield query.execute (this.resources);