diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-07-06 00:34:19 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-07-06 04:40:50 +0800 |
commit | 7bb795b299758e6a81536b81c19693f353106105 (patch) | |
tree | 35937e1022645939bf0f3635848b7f86e03fb19b /e-util/gal-view-collection.h | |
parent | d629e6850a64b826fad60857a6b6945149ca8214 (diff) | |
download | gsoc2013-evolution-7bb795b299758e6a81536b81c19693f353106105.tar gsoc2013-evolution-7bb795b299758e6a81536b81c19693f353106105.tar.gz gsoc2013-evolution-7bb795b299758e6a81536b81c19693f353106105.tar.bz2 gsoc2013-evolution-7bb795b299758e6a81536b81c19693f353106105.tar.lz gsoc2013-evolution-7bb795b299758e6a81536b81c19693f353106105.tar.xz gsoc2013-evolution-7bb795b299758e6a81536b81c19693f353106105.tar.zst gsoc2013-evolution-7bb795b299758e6a81536b81c19693f353106105.zip |
Remove gal_view_collection_add_factory().
No longer needed. Instead, use g_type_ensure() to ensure the necessary
GalView subclasses are registered in the GType system before loading a
GalViewCollection. Best place to ensure types is from GClassInitFunc.
Diffstat (limited to 'e-util/gal-view-collection.h')
-rw-r--r-- | e-util/gal-view-collection.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/e-util/gal-view-collection.h b/e-util/gal-view-collection.h index 5cc355410e..700262e6ce 100644 --- a/e-util/gal-view-collection.h +++ b/e-util/gal-view-collection.h @@ -23,7 +23,7 @@ #ifndef GAL_VIEW_COLLECTION_H #define GAL_VIEW_COLLECTION_H -#include <e-util/gal-view-factory.h> +#include <e-util/gal-view.h> /* Standard GObject macros */ #define GAL_TYPE_VIEW_COLLECTION \ @@ -91,8 +91,6 @@ void gal_view_collection_set_storage_directories (GalViewCollection *collection, const gchar *system_dir, const gchar *local_dir); -void gal_view_collection_add_factory (GalViewCollection *collection, - GalViewFactory *factory); /* Query the view collection. */ gint gal_view_collection_get_count (GalViewCollection *collection); |