[To Do Bar] False runtime warning with 'Show Tasks without Due date' set
When I have more than one tasks lists opened in the ToDo bar, the warning above is emitted by Evolution. As far as I can see there are run-paths in src/calendar/gui/e-to-do-pane.c:etdp_get_component_root_paths which can return NULL.
- when
return NULL;
is called - when
if (start_date_mark == 0 && e_cal_component_get_vtype (comp) == E_CAL_COMPONENT_TODO)
is false,if (root_path && gtk_tree_model_get_iter (model, &root_iter, root_path))
is true,roots = g_slist_prepend (roots, gtk_tree_path_copy (root_path));
is never called, andif (!roots && first_root_path && start_date_mark < prev_date_mark)
is false and there roots is NULL.
In etdp_add_component(), When etdp_get_component_root_paths() returns NULL, new_root_paths=NULL, and this NULL in is passed to etdp_merge_with_root_paths, the assertion g_return_val_if_fail (new_root_paths != NULL, NULL);
fails. and text is printed by Evolution.
What is the purpose to emit text by Evolution on the console in this case?