rygel r602 - trunk/src/rygel



Author: zeeshanak
Date: Sun Feb 15 19:59:32 2009
New Revision: 602
URL: http://svn.gnome.org/viewvc/rygel?rev=602&view=rev

Log:
Don't assume a requested count if not provided.

Modified:
   trunk/src/rygel/rygel-browse.vala

Modified: trunk/src/rygel/rygel-browse.vala
==============================================================================
--- trunk/src/rygel/rygel-browse.vala	(original)
+++ trunk/src/rygel/rygel-browse.vala	Sun Feb 15 19:59:32 2009
@@ -32,8 +32,6 @@
  * handling of Browse action possible.
  */
 public class Rygel.Browse: GLib.Object {
-    public const int MAX_REQUESTED_COUNT = 128;
-
     // In arguments
     public string object_id;
     public string browse_flag;
@@ -146,9 +144,6 @@
             return;
         }
 
-        if (this.requested_count == 0)
-            this.requested_count = MAX_REQUESTED_COUNT;
-
         var container = (MediaContainer) this.media_object;
         this.total_matches = container.child_count;
         this.update_id = container.update_id;



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