rygel r647 - trunk/src/plugins/tracker



Author: zeeshanak
Date: Mon Mar  9 13:37:02 2009
New Revision: 647
URL: http://svn.gnome.org/viewvc/rygel?rev=647&view=rev

Log:
Tell why Search.Query is used instead of Search.GetHitCount.

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

Modified: trunk/src/plugins/tracker/rygel-tracker-category.vala
==============================================================================
--- trunk/src/plugins/tracker/rygel-tracker-category.vala	(original)
+++ trunk/src/plugins/tracker/rygel-tracker-category.vala	Mon Mar  9 13:37:02 2009
@@ -77,6 +77,9 @@
 
     private void get_children_count () {
         try {
+            // We are performing actual search (though an optimized one) to get
+            // the hitcount rather than GetHitCount because GetHitCount only
+            // allows us to get hit count for Text searches.
             this.search.Query (0,
                                this.category,
                                new string[0],



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