diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-07-03 05:17:40 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-07-06 04:40:50 +0800 |
commit | bb5f5ad90beabd459e27d7aaac44d92c9b106c00 (patch) | |
tree | f1475231191b25673c2539c6955703cf9e7b7982 /addressbook/gui/widgets | |
parent | 880cf290462273744bd3da929d9f10964e618e2a (diff) | |
download | gsoc2013-evolution-bb5f5ad90beabd459e27d7aaac44d92c9b106c00.tar gsoc2013-evolution-bb5f5ad90beabd459e27d7aaac44d92c9b106c00.tar.gz gsoc2013-evolution-bb5f5ad90beabd459e27d7aaac44d92c9b106c00.tar.bz2 gsoc2013-evolution-bb5f5ad90beabd459e27d7aaac44d92c9b106c00.tar.lz gsoc2013-evolution-bb5f5ad90beabd459e27d7aaac44d92c9b106c00.tar.xz gsoc2013-evolution-bb5f5ad90beabd459e27d7aaac44d92c9b106c00.tar.zst gsoc2013-evolution-bb5f5ad90beabd459e27d7aaac44d92c9b106c00.zip |
GalViewFactoryClass: Remove the get_type_code() method.
GalViewFactory can now use its "gal_view_type" class member to peek at
the appropriate GalViewClass and return its static "type_code" string.
Diffstat (limited to 'addressbook/gui/widgets')
-rw-r--r-- | addressbook/gui/widgets/gal-view-factory-minicard.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/addressbook/gui/widgets/gal-view-factory-minicard.c b/addressbook/gui/widgets/gal-view-factory-minicard.c index f9c78f9a31..915bc039d7 100644 --- a/addressbook/gui/widgets/gal-view-factory-minicard.c +++ b/addressbook/gui/widgets/gal-view-factory-minicard.c @@ -32,12 +32,6 @@ G_DEFINE_TYPE ( GalViewFactoryMinicard, gal_view_factory_minicard, GAL_TYPE_VIEW_FACTORY) -static const gchar * -gal_view_factory_minicard_get_type_code (GalViewFactory *factory) -{ - return "minicard"; -} - static GalView * gal_view_factory_minicard_new_view (GalViewFactory *factory, const gchar *name) @@ -52,7 +46,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->get_type_code = gal_view_factory_minicard_get_type_code; view_factory_class->new_view = gal_view_factory_minicard_new_view; } |