[evolution-data-server] EBookBackendFactory extends EDataBookFactory.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] EBookBackendFactory extends EDataBookFactory.
- Date: Sun, 15 Apr 2012 18:14:54 +0000 (UTC)
commit 214eef9f3f0b7de2f34f3d062bb2c7773c5c1010
Author: Matthew Barnes <mbarnes redhat com>
Date: Sun Apr 15 12:27:19 2012 -0400
EBookBackendFactory extends EDataBookFactory.
addressbook/libedata-book/e-book-backend-factory.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/addressbook/libedata-book/e-book-backend-factory.c b/addressbook/libedata-book/e-book-backend-factory.c
index a2e1341..155e9cf 100644
--- a/addressbook/libedata-book/e-book-backend-factory.c
+++ b/addressbook/libedata-book/e-book-backend-factory.c
@@ -11,6 +11,7 @@
#include "e-book-backend.h"
#include "e-book-backend-factory.h"
+#include "e-data-book-factory.h"
G_DEFINE_ABSTRACT_TYPE (
EBookBackendFactory,
@@ -48,8 +49,12 @@ book_backend_factory_new_backend (EBackendFactory *factory,
static void
e_book_backend_factory_class_init (EBookBackendFactoryClass *class)
{
+ EExtensionClass *extension_class;
EBackendFactoryClass *factory_class;
+ extension_class = E_EXTENSION_CLASS (class);
+ extension_class->extensible_type = E_TYPE_DATA_BOOK_FACTORY;
+
factory_class = E_BACKEND_FACTORY_CLASS (class);
factory_class->get_hash_key = book_backend_factory_get_hash_key;
factory_class->new_backend = book_backend_factory_new_backend;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]