[gnome-calendar/gnome-3-36] timeline: Remove subscriber from range tree as well
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/gnome-3-36] timeline: Remove subscriber from range tree as well
- Date: Thu, 16 Apr 2020 19:57:22 +0000 (UTC)
commit 597967d115bff3711c06d45185825e395cad2a8c
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Apr 15 18:48:56 2020 -0300
timeline: Remove subscriber from range tree as well
update_range() does not remove any subscriber. They must be
removed manually.
src/core/gcal-timeline.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/core/gcal-timeline.c b/src/core/gcal-timeline.c
index b5d683fb..bd098958 100644
--- a/src/core/gcal-timeline.c
+++ b/src/core/gcal-timeline.c
@@ -939,6 +939,7 @@ gcal_timeline_remove_subscriber (GcalTimeline *self,
reset_completed_calendars (self);
}
+ gcal_range_tree_remove_data (self->subscriber_ranges, subscriber);
update_range (self);
GCAL_EXIT;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]