year-view: Show weather reports.
This view is not ref-counted correctly. I use the same workaround to avoid runtime errors as for month views.
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
67f3a2057e
commit
d13473d3bc
@@ -21,6 +21,7 @@
|
||||
|
||||
#include "gcal-manager.h"
|
||||
#include "gcal-event-widget.h"
|
||||
#include "gcal-weather-service.h"
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
@@ -37,6 +38,12 @@ void gcal_year_view_set_use_24h_format (GcalYearView *year_view,
|
||||
void gcal_year_view_set_current_date (GcalYearView *year_view,
|
||||
icaltimetype *current_date);
|
||||
|
||||
void gcal_year_view_set_weather_service (GcalYearView *self,
|
||||
GcalWeatherService *service);
|
||||
|
||||
GcalWeatherService* gcal_year_view_get_weather_service (GcalYearView *self);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* GCAL_YEAR_VIEW_H */
|
||||
|
||||
Reference in New Issue
Block a user