[evolution-data-server/account-mgmt: 12/41] Adapt libebackend to the new ESource API.



commit 252ca240858831f351206fd6515cc1ca06131d77
Author: Matthew Barnes <mbarnes redhat com>
Date:   Mon Sep 12 14:12:15 2011 -0400

    Adapt libebackend to the new ESource API.

 libebackend/e-dbus-server.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/libebackend/e-dbus-server.c b/libebackend/e-dbus-server.c
index 056d975..0d72a36 100644
--- a/libebackend/e-dbus-server.c
+++ b/libebackend/e-dbus-server.c
@@ -31,6 +31,7 @@
 #endif
 
 #include <libebackend/e-module.h>
+#include <libebackend/e-extensible.h>
 #include <libebackend/e-backend-enumtypes.h>
 
 #define E_DBUS_SERVER_GET_PRIVATE(obj) \
@@ -65,8 +66,9 @@ static guint signals[LAST_SIGNAL];
 static GHashTable *directories_loaded;
 G_LOCK_DEFINE_STATIC (directories_loaded);
 
-G_DEFINE_ABSTRACT_TYPE (
-	EDBusServer, e_dbus_server, G_TYPE_OBJECT)
+G_DEFINE_ABSTRACT_TYPE_WITH_CODE (
+	EDBusServer, e_dbus_server, G_TYPE_OBJECT,
+	G_IMPLEMENT_INTERFACE (E_TYPE_EXTENSIBLE, NULL))
 
 static void
 dbus_server_bus_acquired_cb (GDBusConnection *connection,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]