view iface: remove manager property

There's no reason at all why manager should be a property inside the
views. It won't benefit of bindings or anything else inherent to GObject
property system.
This commit is contained in:
Erick Pérez Castellanos
2015-01-20 13:11:58 -05:00
parent 24b8c553dc
commit d15c4a5c1b
6 changed files with 45 additions and 59 deletions
+7 -8
View File
@@ -45,15 +45,14 @@ struct _GcalMonthViewClass
GcalSubscriberViewClass parent_class;
};
GType gcal_month_view_get_type (void);
GtkWidget* gcal_month_view_new (GcalManager *manager);
void gcal_month_view_set_first_weekday (GcalMonthView *view,
gint day_nr);
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,
gboolean use_24h);
gboolean use_24h);
G_END_DECLS