aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-07-03 04:39:19 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-07-06 04:40:50 +0800
commit033d5013d365fb6bb00aeec6fd8442b38ac80e04 (patch)
treec1553092d9f3224f152503591f79fc02d6c626e7 /modules
parent57a3b819e1b849db7b2e76bcbad84bd551cdd55e (diff)
downloadgsoc2013-evolution-033d5013d365fb6bb00aeec6fd8442b38ac80e04.tar
gsoc2013-evolution-033d5013d365fb6bb00aeec6fd8442b38ac80e04.tar.gz
gsoc2013-evolution-033d5013d365fb6bb00aeec6fd8442b38ac80e04.tar.bz2
gsoc2013-evolution-033d5013d365fb6bb00aeec6fd8442b38ac80e04.tar.lz
gsoc2013-evolution-033d5013d365fb6bb00aeec6fd8442b38ac80e04.tar.xz
gsoc2013-evolution-033d5013d365fb6bb00aeec6fd8442b38ac80e04.tar.zst
gsoc2013-evolution-033d5013d365fb6bb00aeec6fd8442b38ac80e04.zip
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.
Diffstat (limited to 'modules')
-rw-r--r--modules/calendar/e-cal-shell-view-private.c8
1 files changed, 4 insertions, 4 deletions
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);