rygel r55 - in trunk: . src



Author: zeeshanak
Date: Tue Oct 28 20:59:15 2008
New Revision: 55
URL: http://svn.gnome.org/viewvc/rygel?rev=55&view=rev

Log:
Enable the commented out code of get_container_children_count().

This code now works against the latest Vala (svn trunk). MediaTracker is fully
functional again, yay!

Modified:
   trunk/ChangeLog
   trunk/src/gupnp-media-tracker.vala

Modified: trunk/src/gupnp-media-tracker.vala
==============================================================================
--- trunk/src/gupnp-media-tracker.vala	(original)
+++ trunk/src/gupnp-media-tracker.vala	Tue Oct 28 20:59:15 2008
@@ -266,7 +266,7 @@
     }
 
     private uint get_container_children_count (Tracker.Container container) {
-        /*string[][] stats;
+        string[][] stats;
 
         try {
                 stats = this.tracker.GetStats ();
@@ -282,8 +282,7 @@
                 count = stats[i][1].to_int ();
         }
 
-        return count;*/
-        return 1;
+        return count;
     }
 
     private Tracker.Container? find_container_by_id (string container_id) {



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