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
+4
View File
@@ -20,6 +20,7 @@
#define GCAL_MONTH_CELL_H
#include "gcal-manager.h"
#include "gcal-weather-info.h"
#include <gtk/gtk.h>
@@ -36,6 +37,9 @@ GDateTime* gcal_month_cell_get_date (GcalMonthCell
void gcal_month_cell_set_date (GcalMonthCell *self,
GDateTime *date);
void gcal_month_cell_set_weather (GcalMonthCell *self,
GcalWeatherInfo *info);
gboolean gcal_month_cell_get_different_month (GcalMonthCell *self);
void gcal_month_cell_set_different_month (GcalMonthCell *self,