month-view: Show weather reports.

This commit triggers two existing issues:
 1. window size calculation
    (this breaks month-cells)
 2. wrong reference counts in views
    (I use :destroy to avoid dangling pointers)
This commit is contained in:
Florian Brosch
2017-12-11 21:54:55 -02:00
committed by Georges Basile Stavracas Neto
parent 9ac45e840d
commit e9e403ce7a
6 changed files with 240 additions and 4 deletions
+6
View File
@@ -21,6 +21,7 @@
#define __GCAL_MONTH_VIEW_H__
#include "gcal-manager.h"
#include "gcal-weather-service.h"
G_BEGIN_DECLS
@@ -34,6 +35,11 @@ void gcal_month_view_set_first_weekday (GcalMonthView
void gcal_month_view_set_use_24h_format (GcalMonthView *self,
gboolean use_24h);
void gcal_month_view_set_weather_service (GcalMonthView *self,
GcalWeatherService *service);
GcalWeatherService* gcal_month_view_get_weather_service (GcalMonthView *self);
G_END_DECLS
#endif /* __GCAL_MONTH_VIEW_H__ */