shell-search-provider: Receive a GcalContext

And use the system timezone from the context, instead
of the manager.
This commit is contained in:
Georges Basile Stavracas Neto
2019-04-26 13:19:29 -03:00
parent 501ed25270
commit b280001487
3 changed files with 38 additions and 27 deletions
+1 -1
View File
@@ -484,7 +484,7 @@ gcal_application_init (GcalApplication *self)
g_signal_connect_swapped (manager, "source-added", G_CALLBACK (process_sources), self);
g_signal_connect_swapped (manager, "source-changed", G_CALLBACK (process_sources), self);
self->search_provider = gcal_shell_search_provider_new (manager);
self->search_provider = gcal_shell_search_provider_new (self->context);
}
static void