shell-search-provider: Rework property initialization

This commit is contained in:
Georges Basile Stavracas Neto
2018-01-28 00:13:15 -02:00
parent 74f353eb33
commit 0bfc6fe291
3 changed files with 93 additions and 30 deletions
+1 -3
View File
@@ -476,9 +476,7 @@ gcal_application_init (GcalApplication *self)
g_signal_connect_swapped (self->manager, "source-changed", G_CALLBACK (process_sources), self);
self->weather_service = gcal_weather_service_new ();
self->search_provider = gcal_shell_search_provider_new ();
gcal_shell_search_provider_connect (self->search_provider, self->manager);
self->search_provider = gcal_shell_search_provider_new (self->manager);
}
static void