[rygel] media-db: Add missing return in callback.



commit e9205a6a855842403c3925db40cb1d3877a50863
Author: Jens Georg <mail jensge org>
Date:   Sun Mar 7 15:19:37 2010 +0100

    media-db: Add missing return in callback.
    
    This breaks XBox360 music browsing on debian unstable

 src/rygel/rygel-media-db.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/rygel/rygel-media-db.vala b/src/rygel/rygel-media-db.vala
index 830674d..0dd7c18 100644
--- a/src/rygel/rygel-media-db.vala
+++ b/src/rygel/rygel-media-db.vala
@@ -917,6 +917,8 @@ public class Rygel.MediaDB : Object {
         var data = new ArrayList<string> ();
         Rygel.Database.RowCallback cb = (stmt) => {
             data.add (stmt.column_text (0));
+
+            return true;
         };
 
         this.db.exec (("SELECT DISTINCT %s FROM meta_data AS m %s " +



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