calendars-page: Use the passed calendar for deletion

This commit is contained in:
Georges Basile Stavracas Neto
2019-06-24 21:33:00 -03:00
parent 78680d9b5b
commit e53a7532f2
@@ -185,7 +185,7 @@ delete_calendar (GcalCalendarsPage *self,
g_assert (calendar != NULL); g_assert (calendar != NULL);
removed_source = gcal_calendar_get_source (self->removed_calendar); removed_source = gcal_calendar_get_source (calendar);
/* We don't really want to remove non-removable sources */ /* We don't really want to remove non-removable sources */
if (!e_source_get_removable (removed_source)) if (!e_source_get_removable (removed_source))