From a2e20af49304296b3c2b10305cb1312031107d55 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 2 Jul 2013 17:36:01 -0400 Subject: GalViewFactoryClass: Remove the new_view() method. GalViewFactory can now use its "gal_view_type" class member to instantiate an appropriate GalView without help from subclasses. --- e-util/gal-view-factory-etable.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'e-util/gal-view-factory-etable.c') diff --git a/e-util/gal-view-factory-etable.c b/e-util/gal-view-factory-etable.c index f9a6edd9ae..08eb91aaae 100644 --- a/e-util/gal-view-factory-etable.c +++ b/e-util/gal-view-factory-etable.c @@ -32,13 +32,6 @@ G_DEFINE_TYPE ( gal_view_factory_etable, GAL_TYPE_VIEW_FACTORY) -static GalView * -view_factory_etable_new_view (GalViewFactory *factory, - const gchar *name) -{ - return gal_view_etable_new (name); -} - static void gal_view_factory_etable_class_init (GalViewFactoryEtableClass *class) { @@ -46,7 +39,6 @@ gal_view_factory_etable_class_init (GalViewFactoryEtableClass *class) view_factory_class = GAL_VIEW_FACTORY_CLASS (class); view_factory_class->gal_view_type = GAL_TYPE_VIEW_ETABLE; - view_factory_class->new_view = view_factory_etable_new_view; } static void -- cgit v1.2.3