[rygel] tracker: Chain-up of async methods now possible
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] tracker: Chain-up of async methods now possible
- Date: Wed, 17 Feb 2010 13:42:20 +0000 (UTC)
commit 2ec3964f2b82c882a65fd932b71fc605a64ad582
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed Feb 17 12:19:39 2010 +0200
tracker: Chain-up of async methods now possible
search method can now chain-up since bug#601558 is fixed.
.../tracker/rygel-tracker-search-container.vala | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/src/plugins/tracker/rygel-tracker-search-container.vala b/src/plugins/tracker/rygel-tracker-search-container.vala
index 8767f72..9b7c876 100644
--- a/src/plugins/tracker/rygel-tracker-search-container.vala
+++ b/src/plugins/tracker/rygel-tracker-search-container.vala
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]