calendar-monitor: Turn "completed" signal into a boolean property

And make GcalTimeline decrease the completed calendars counter when
any GcalCalendarMonitor goes from complete to incomplete.

Fixes https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/625
This commit is contained in:
Yuri Edward
2020-08-17 15:59:33 -03:00
committed by Georges Basile Stavracas Neto
parent 41a3e0a853
commit 78cb11c64d
3 changed files with 59 additions and 26 deletions
+2
View File
@@ -41,4 +41,6 @@ GcalEvent* gcal_calendar_monitor_get_cached_event (GcalCalendarMo
void gcal_calendar_monitor_set_filter (GcalCalendarMonitor *self,
const gchar *filter);
gboolean gcal_calendar_monitor_is_complete (GcalCalendarMonitor *self);
G_END_DECLS