From c361af739614d5a4bdc90741128bb25c0907e015 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 4 Jul 2013 23:47:28 -0400 Subject: GalViewFactory: Remove get_title() method. No longer used. Removed functions: gal_view_factory_get_title() --- e-util/gal-view-factory-etable.c | 7 ------- e-util/gal-view-factory.c | 19 ------------------- e-util/gal-view-factory.h | 2 -- 3 files changed, 28 deletions(-) (limited to 'e-util') 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 @@ -108,12 +108,6 @@ view_factory_etable_dispose (GObject *object) G_OBJECT_CLASS (gal_view_factory_etable_parent_class)->dispose (object); } -static const gchar * -view_factory_etable_get_title (GalViewFactory *factory) -{ - return _("Table"); -} - static const gchar * view_factory_etable_get_type_code (GalViewFactory *factory) { @@ -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 @@ -40,25 +40,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 -- cgit