[gnome-todo] task-list-popover: Use the correct model



commit 50263fe38bc20081dd200b7a2eb9cabc168d567e
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Jun 19 18:01:14 2020 -0300

    task-list-popover: Use the correct model
    
    Fallout from the previous commit

 src/gui/gtd-task-list-popover.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/gui/gtd-task-list-popover.c b/src/gui/gtd-task-list-popover.c
index fbe7441..3f5add0 100644
--- a/src/gui/gtd-task-list-popover.c
+++ b/src/gui/gtd-task-list-popover.c
@@ -244,7 +244,8 @@ gtd_task_list_popover_init (GtdTaskListPopover *self)
   GtdManager *manager = gtd_manager_get_default ();
 
   filter = gtk_custom_filter_new (filter_listbox_cb, self, NULL);
-  self->filter_model = gtk_filter_list_model_new (gtd_manager_get_tasks_model (manager), filter);
+  self->filter_model = gtk_filter_list_model_new (gtd_manager_get_task_lists_model (manager),
+                                                  filter);
 
   gtk_widget_init_template (GTK_WIDGET (self));
 


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