Use weather service from GcalContext
All those properties were a waste compared to storing it into the context.
This commit is contained in:
@@ -25,12 +25,7 @@
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define GCAL_TYPE_WEATHER_SETTINGS (gcal_weather_settings_get_type())
|
||||
|
||||
G_DECLARE_FINAL_TYPE (GcalWeatherSettings, gcal_weather_settings, GCAL, WEATHER_SETTINGS, GtkBox)
|
||||
|
||||
GcalWeatherService* gcal_weather_settings_get_weather_service (GcalWeatherSettings *self);
|
||||
|
||||
void gcal_weather_settings_set_weather_service (GcalWeatherSettings *self,
|
||||
GcalWeatherService *service);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user