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:
committed by
Georges Basile Stavracas Neto
parent
9ac45e840d
commit
e9e403ce7a
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user