Skip to content
Commit 85112855 authored by Georges Basile Stavracas Neto's avatar Georges Basile Stavracas Neto 💬
Browse files

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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment