aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-07-03 05:36:01 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-07-06 04:40:50 +0800
commita2e20af49304296b3c2b10305cb1312031107d55 (patch)
treefef2296790edf090261bd529c6fbfb5ee988c9f3 /addressbook
parentbb5f5ad90beabd459e27d7aaac44d92c9b106c00 (diff)
downloadgsoc2013-evolution-a2e20af49304296b3c2b10305cb1312031107d55.tar
gsoc2013-evolution-a2e20af49304296b3c2b10305cb1312031107d55.tar.gz
gsoc2013-evolution-a2e20af49304296b3c2b10305cb1312031107d55.tar.bz2
gsoc2013-evolution-a2e20af49304296b3c2b10305cb1312031107d55.tar.lz
gsoc2013-evolution-a2e20af49304296b3c2b10305cb1312031107d55.tar.xz
gsoc2013-evolution-a2e20af49304296b3c2b10305cb1312031107d55.tar.zst
gsoc2013-evolution-a2e20af49304296b3c2b10305cb1312031107d55.zip
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.
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/gui/widgets/gal-view-factory-minicard.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/addressbook/gui/widgets/gal-view-factory-minicard.c b/addressbook/gui/widgets/gal-view-factory-minicard.c
index 915bc039d7..9c9a7b4c48 100644
--- a/addressbook/gui/widgets/gal-view-factory-minicard.c
+++ b/addressbook/gui/widgets/gal-view-factory-minicard.c
@@ -32,13 +32,6 @@ G_DEFINE_TYPE (
GalViewFactoryMinicard,
gal_view_factory_minicard, GAL_TYPE_VIEW_FACTORY)
-static GalView *
-gal_view_factory_minicard_new_view (GalViewFactory *factory,
- const gchar *name)
-{
- return gal_view_minicard_new (name);
-}
-
static void
gal_view_factory_minicard_class_init (GalViewFactoryMinicardClass *minicard_class)
{
@@ -46,7 +39,6 @@ gal_view_factory_minicard_class_init (GalViewFactoryMinicardClass *minicard_clas
view_factory_class = GAL_VIEW_FACTORY_CLASS (minicard_class);
view_factory_class->gal_view_type = GAL_TYPE_VIEW_MINICARD;
- view_factory_class->new_view = gal_view_factory_minicard_new_view;
}
static void