application: Remove gcal_application_get_clock()

That moved to GcalContext, and now that all pieces who
used it have access to the context, we can just use it.
This commit is contained in:
Georges Basile Stavracas Neto
2019-04-25 16:30:55 -03:00
parent 54506973fc
commit 1297ad695b
8 changed files with 41 additions and 90 deletions
-8
View File
@@ -751,11 +751,3 @@ gcal_application_set_initial_date (GcalApplication *self,
g_clear_pointer (&self->initial_date, g_free);
self->initial_date = datetime_to_icaltime (initial_date);
}
GcalClock*
gcal_application_get_clock (GcalApplication *self)
{
g_return_val_if_fail (GCAL_IS_APPLICATION (self), NULL);
return gcal_context_get_clock (self->context);
}