[evolution-data-server] ECalBackendFactory extends EDataCalFactory.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] ECalBackendFactory extends EDataCalFactory.
- Date: Sun, 15 Apr 2012 18:14:59 +0000 (UTC)
commit 5b925dfd93f2ef18de2ffe61591bc674e746dbd0
Author: Matthew Barnes <mbarnes redhat com>
Date: Sun Apr 15 12:33:51 2012 -0400
ECalBackendFactory extends EDataCalFactory.
calendar/libedata-cal/e-cal-backend-factory.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/calendar/libedata-cal/e-cal-backend-factory.c b/calendar/libedata-cal/e-cal-backend-factory.c
index 45238b3..74c95e2 100644
--- a/calendar/libedata-cal/e-cal-backend-factory.c
+++ b/calendar/libedata-cal/e-cal-backend-factory.c
@@ -12,6 +12,7 @@
#include "e-cal-backend.h"
#include "e-cal-backend-factory.h"
+#include "e-data-cal-factory.h"
G_DEFINE_ABSTRACT_TYPE (
ECalBackendFactory,
@@ -72,8 +73,12 @@ cal_backend_factory_new_backend (EBackendFactory *factory,
static void
e_cal_backend_factory_class_init (ECalBackendFactoryClass *class)
{
+ EExtensionClass *extension_class;
EBackendFactoryClass *factory_class;
+ extension_class = E_EXTENSION_CLASS (class);
+ extension_class->extensible_type = E_TYPE_DATA_CAL_FACTORY;
+
factory_class = E_BACKEND_FACTORY_CLASS (class);
factory_class->get_hash_key = cal_backend_factory_get_hash_key;
factory_class->new_backend = cal_backend_factory_new_backend;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]