view: pass the correct property value

It should be a pointer to a GcalWeatherService, not a pointer
to a pointer to a GcalWeatherService.
This commit is contained in:
Georges Basile Stavracas Neto
2017-12-12 11:06:07 -02:00
parent 92f054fc12
commit d2dea218ae
+1 -1
View File
@@ -170,7 +170,7 @@ gcal_view_set_weather_service (GcalView *self,
g_return_if_fail (GCAL_IS_VIEW (self));
g_return_if_fail (service == NULL || GCAL_IS_WEATHER_SERVICE (service));
g_object_set (self, "weather-service", &service, NULL);
g_object_set (self, "weather-service", service, NULL);
}
/**