app: move view subscription to GcalWindow

Initialize :manager property first and :active-date later. Allocate
::active_date instance on instance init vfunc.
This commit is contained in:
Erick Pérez Castellanos
2015-01-27 22:37:44 -05:00
parent 6d2dfdf9a1
commit fa2f300362
4 changed files with 93 additions and 91 deletions
-2
View File
@@ -47,8 +47,6 @@ struct _GcalMonthViewClass
GType gcal_month_view_get_type (void);
GtkWidget* gcal_month_view_new (void);
void gcal_month_view_set_manager (GcalMonthView *month_view,
GcalManager *manager);
void gcal_month_view_set_first_weekday (GcalMonthView *view,
gint day_nr);
void gcal_month_view_set_use_24h_format (GcalMonthView *view,