diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-07-05 11:47:28 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-07-06 04:40:49 +0800 |
commit | c361af739614d5a4bdc90741128bb25c0907e015 (patch) | |
tree | fafe5058cafa939808ae9138f4dbb4bc38e0277c /calendar | |
parent | 7193739a13cacee281c66aeed48d36da90ddafcc (diff) | |
download | gsoc2013-evolution-c361af739614d5a4bdc90741128bb25c0907e015.tar gsoc2013-evolution-c361af739614d5a4bdc90741128bb25c0907e015.tar.gz gsoc2013-evolution-c361af739614d5a4bdc90741128bb25c0907e015.tar.bz2 gsoc2013-evolution-c361af739614d5a4bdc90741128bb25c0907e015.tar.lz gsoc2013-evolution-c361af739614d5a4bdc90741128bb25c0907e015.tar.xz gsoc2013-evolution-c361af739614d5a4bdc90741128bb25c0907e015.tar.zst gsoc2013-evolution-c361af739614d5a4bdc90741128bb25c0907e015.zip |
GalViewFactory: Remove get_title() method.
No longer used.
Removed functions:
gal_view_factory_get_title()
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/gui/calendar-view-factory.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/calendar/gui/calendar-view-factory.c b/calendar/gui/calendar-view-factory.c index 0d1908e79b..d84f770141 100644 --- a/calendar/gui/calendar-view-factory.c +++ b/calendar/gui/calendar-view-factory.c @@ -40,8 +40,6 @@ struct _CalendarViewFactoryPrivate { }; static const gchar * - calendar_view_factory_get_title (GalViewFactory *factory); -static const gchar * calendar_view_factory_get_type_code (GalViewFactory *factory); static GalView * @@ -61,7 +59,6 @@ calendar_view_factory_class_init (CalendarViewFactoryClass *class) g_type_class_add_private (class, sizeof (CalendarViewFactoryPrivate)); gal_view_factory_class = GAL_VIEW_FACTORY_CLASS (class); - gal_view_factory_class->get_title = calendar_view_factory_get_title; gal_view_factory_class->get_type_code = calendar_view_factory_get_type_code; gal_view_factory_class->new_view = calendar_view_factory_new_view; } @@ -73,34 +70,6 @@ calendar_view_factory_init (CalendarViewFactory *cal_view_factory) CALENDAR_VIEW_FACTORY_GET_PRIVATE (cal_view_factory); } -/* get_title method for the calendar view factory */ -static const gchar * -calendar_view_factory_get_title (GalViewFactory *factory) -{ - CalendarViewFactory *cal_view_factory; - CalendarViewFactoryPrivate *priv; - - cal_view_factory = CALENDAR_VIEW_FACTORY (factory); - priv = cal_view_factory->priv; - - switch (priv->view_type) { - case GNOME_CAL_DAY_VIEW: - return _("Day View"); - - case GNOME_CAL_WORK_WEEK_VIEW: - return _("Work Week View"); - - case GNOME_CAL_WEEK_VIEW: - return _("Week View"); - - case GNOME_CAL_MONTH_VIEW: - return _("Month View"); - - default: - g_return_val_if_reached (NULL); - } -} - /* get_type_code method for the calendar view factory */ static const gchar * calendar_view_factory_get_type_code (GalViewFactory *factory) |