[rygel] media-export: Fix a FIXME
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] media-export: Fix a FIXME
- Date: Sat, 14 Aug 2010 23:32:46 +0000 (UTC)
commit bb37a263a308b449a6fb034c20f249ef623aa23a
Author: Jens Georg <mail jensge org>
Date: Sat Aug 14 11:46:53 2010 +0300
media-export: Fix a FIXME
.../rygel-media-export-root-container.vala | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-root-container.vala b/src/plugins/media-export/rygel-media-export-root-container.vala
index adb3f4d..46fb2a7 100644
--- a/src/plugins/media-export/rygel-media-export-root-container.vala
+++ b/src/plugins/media-export/rygel-media-export-root-container.vala
@@ -138,8 +138,7 @@ public class Rygel.MediaExport.RootContainer : Rygel.MediaExport.DBContainer {
list = yield query_container.get_children (offset,
max_count,
cancellable);
- // FIXME: This is wrong
- total_matches = list.size;
+ total_matches = query_container.child_count;
if (upnp_class != null) {
foreach (var object in list) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]