From 033d5013d365fb6bb00aeec6fd8442b38ac80e04 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 2 Jul 2013 16:39:19 -0400 Subject: Split CalendarViewFactory into separate classes by view type. I suspect this will enable us to ditch GalViewFactory entirely once I rework a few more things. We'll see though; one step at a time here. --- modules/calendar/e-cal-shell-view-private.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules') diff --git a/modules/calendar/e-cal-shell-view-private.c b/modules/calendar/e-cal-shell-view-private.c index be6e67f102..b4ed297ea0 100644 --- a/modules/calendar/e-cal-shell-view-private.c +++ b/modules/calendar/e-cal-shell-view-private.c @@ -419,19 +419,19 @@ cal_shell_view_load_view_collection (EShellViewClass *shell_view_class) collection = shell_view_class->view_collection; - factory = calendar_view_factory_new (GNOME_CAL_DAY_VIEW); + factory = g_object_new (GAL_TYPE_VIEW_FACTORY_CALENDAR_DAY, NULL); gal_view_collection_add_factory (collection, factory); g_object_unref (factory); - factory = calendar_view_factory_new (GNOME_CAL_WORK_WEEK_VIEW); + factory = g_object_new (GAL_TYPE_VIEW_FACTORY_CALENDAR_WORK_WEEK, NULL); gal_view_collection_add_factory (collection, factory); g_object_unref (factory); - factory = calendar_view_factory_new (GNOME_CAL_WEEK_VIEW); + factory = g_object_new (GAL_TYPE_VIEW_FACTORY_CALENDAR_WEEK, NULL); gal_view_collection_add_factory (collection, factory); g_object_unref (factory); - factory = calendar_view_factory_new (GNOME_CAL_MONTH_VIEW); + factory = g_object_new (GAL_TYPE_VIEW_FACTORY_CALENDAR_MONTH, NULL); gal_view_collection_add_factory (collection, factory); g_object_unref (factory); -- cgit v1.2.3