[rygel] lms: Fix child_count calculation



commit adf5e348126935620b0e5059e57a66c6c1730b11
Author: Jens Georg <mail jensge org>
Date:   Mon Feb 8 20:36:22 2016 +0100

    lms: Fix child_count calculation
    
    Lost assignment during refactor in previous commit.
    
    Signed-off-by: Jens Georg <mail jensge org>

 src/plugins/lms/rygel-lms-category-container.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/lms/rygel-lms-category-container.vala 
b/src/plugins/lms/rygel-lms-category-container.vala
index ff9a24b..a9b343b 100644
--- a/src/plugins/lms/rygel-lms-category-container.vala
+++ b/src/plugins/lms/rygel-lms-category-container.vala
@@ -352,7 +352,7 @@ public abstract class Rygel.LMS.CategoryContainer : Rygel.MediaContainer,
 
     private void on_db_updated(uint64 old_id, uint64 new_id) {
         try {
-            this.lms_db.query_value (this.sql_count);
+            this.child_count = this.lms_db.query_value (this.sql_count);
 
             GLib.Value[] args = { new_id < old_id ? 0 : old_id,
                                   new_id };


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