Adapt libebackend to the new ESource API.
authorMatthew Barnes <mbarnes@redhat.com>
Mon, 12 Sep 2011 18:12:15 +0000 (14:12 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Sun, 3 Jun 2012 23:51:07 +0000 (19:51 -0400)
libebackend/e-dbus-server.c

index 056d975..0d72a36 100644 (file)
@@ -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,