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 /e-util | |
parent | 7193739a13cacee281c66aeed48d36da90ddafcc (diff) | |
download | gsoc2013-evolution-c361af739614d5a4bdc90741128bb25c0907e015.tar.gz 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 'e-util')
-rw-r--r-- | e-util/gal-view-factory-etable.c | 7 | ||||
-rw-r--r-- | e-util/gal-view-factory.c | 19 | ||||
-rw-r--r-- | e-util/gal-view-factory.h | 2 |
3 files changed, 0 insertions, 28 deletions
diff --git a/e-util/gal-view-factory-etable.c b/e-util/gal-view-factory-etable.c index cfa7bc2fb5..06082881cb 100644 --- a/e-util/gal-view-factory-etable.c +++ b/e-util/gal-view-factory-etable.c @@ -109,12 +109,6 @@ view_factory_etable_dispose (GObject *object) } static const gchar * -view_factory_etable_get_title (GalViewFactory *factory) -{ - return _("Table"); -} - -static const gchar * view_factory_etable_get_type_code (GalViewFactory *factory) { return "etable"; @@ -145,7 +139,6 @@ gal_view_factory_etable_class_init (GalViewFactoryEtableClass *class) object_class->dispose = view_factory_etable_dispose; view_factory_class = GAL_VIEW_FACTORY_CLASS (class); - view_factory_class->get_title = view_factory_etable_get_title; view_factory_class->get_type_code = view_factory_etable_get_type_code; view_factory_class->new_view = view_factory_etable_new_view; diff --git a/e-util/gal-view-factory.c b/e-util/gal-view-factory.c index 0e0dde05cb..c6de38a110 100644 --- a/e-util/gal-view-factory.c +++ b/e-util/gal-view-factory.c @@ -41,25 +41,6 @@ gal_view_factory_init (GalViewFactory *factory) } /** - * gal_view_factory_get_title: - * @factory: a #GalViewFactory - * - * Returns: The title of the factory. - */ -const gchar * -gal_view_factory_get_title (GalViewFactory *factory) -{ - GalViewFactoryClass *class; - - g_return_val_if_fail (GAL_IS_VIEW_FACTORY (factory), NULL); - - class = GAL_VIEW_FACTORY_GET_CLASS (factory); - g_return_val_if_fail (class->get_title != NULL, NULL); - - return class->get_title (factory); -} - -/** * gal_view_factory_get_type_code: * @factory: a #GalViewFactory * diff --git a/e-util/gal-view-factory.h b/e-util/gal-view-factory.h index abdcacd6ac..2a67dbe263 100644 --- a/e-util/gal-view-factory.h +++ b/e-util/gal-view-factory.h @@ -62,14 +62,12 @@ struct _GalViewFactoryClass { GObjectClass parent_class; /* Methods */ - const gchar * (*get_title) (GalViewFactory *factory); const gchar * (*get_type_code) (GalViewFactory *factory); GalView * (*new_view) (GalViewFactory *factory, const gchar *name); }; GType gal_view_factory_get_type (void); -const gchar * gal_view_factory_get_title (GalViewFactory *factory); /* Returns the code for use in identifying this type of object in the * view list. This identifier should identify this as being the |