diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-07-03 05:36:01 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-07-06 04:40:50 +0800 |
commit | a2e20af49304296b3c2b10305cb1312031107d55 (patch) | |
tree | fef2296790edf090261bd529c6fbfb5ee988c9f3 /e-util/gal-view-factory.h | |
parent | bb5f5ad90beabd459e27d7aaac44d92c9b106c00 (diff) | |
download | gsoc2013-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 'e-util/gal-view-factory.h')
-rw-r--r-- | e-util/gal-view-factory.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/e-util/gal-view-factory.h b/e-util/gal-view-factory.h index 73cc02251e..0eb4d00786 100644 --- a/e-util/gal-view-factory.h +++ b/e-util/gal-view-factory.h @@ -62,10 +62,6 @@ struct _GalViewFactoryClass { GObjectClass parent_class; GType gal_view_type; - - /* Methods */ - GalView * (*new_view) (GalViewFactory *factory, - const gchar *name); }; GType gal_view_factory_get_type (void); @@ -77,7 +73,7 @@ GType gal_view_factory_get_type (void); const gchar * gal_view_factory_get_type_code (GalViewFactory *factory); GalView * gal_view_factory_new_view (GalViewFactory *factory, - const gchar *name); + const gchar *title); G_END_DECLS |