year-view: move comparing function from gcal-event-widget.c
The compare_for_single_day() method is reproducing the same functionality from gcal_event_compare(), and the only consumer is the Year View. So, for now, simplify the comparing function and put it in year view file. Also, this commit vastly improves and documents the year view's algorithm to add events to the sidebar list.
parent
070bc681
Please register or sign in to comment