[gnome-todo] task-model: Fix 'items-changed' signal emission



commit e1f1777b60a86cc93d208d645cd246927071cf25
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed Sep 12 13:45:35 2018 -0300

    task-model: Fix 'items-changed' signal emission

 src/contrib/gtd-task-model.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/contrib/gtd-task-model.c b/src/contrib/gtd-task-model.c
index 2f7ba28..b23f560 100644
--- a/src/contrib/gtd-task-model.c
+++ b/src/contrib/gtd-task-model.c
@@ -142,8 +142,8 @@ on_manager_items_changed_cb (GListModel   *model,
 
       g_list_model_items_changed (G_LIST_MODEL (self),
                                   offset,
-                                  0,
-                                  n_removed_tasks);
+                                  n_removed_tasks,
+                                  0);
 
       GTD_TRACE_MSG ("Removed %u items at %u", n_removed_tasks, offset);
     }


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