[tracker/tracker-0.10] tracker-needle: Fix the result store to return the correct n_children for the root.
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] tracker-needle: Fix the result store to return the correct n_children for the root.
- Date: Wed, 30 Mar 2011 16:03:22 +0000 (UTC)
commit 302de9cd461d1378d7c8e9257942ac137f9b1f03
Author: Carlos Garnacho <carlosg gnome org>
Date: Thu Mar 17 18:44:53 2011 +0100
tracker-needle: Fix the result store to return the correct n_children for the root.
src/tracker-needle/tracker-result-store.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-needle/tracker-result-store.vala b/src/tracker-needle/tracker-result-store.vala
index 0566781..cfd7d71 100644
--- a/src/tracker-needle/tracker-result-store.vala
+++ b/src/tracker-needle/tracker-result-store.vala
@@ -471,7 +471,7 @@ public class Tracker.ResultStore : Gtk.TreeModel, GLib.Object {
public int iter_n_children (Gtk.TreeIter? iter) {
if (iter == null) {
- return filled_categories_count ();
+ return categories.length;
}
if (iter.user_data2 != null) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]