summaryrefslogtreecommitdiff
path: root/libebackend/e-source-registry-server.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-03-02 23:38:42 -0500
committerMatthew Barnes <mbarnes@redhat.com>2013-03-17 09:35:47 -0400
commit26b3dd2e8921796839391d99eab98f195765b0fe (patch)
tree2e6966a48b0534d4154eae8d38a493a40e659b94 /libebackend/e-source-registry-server.c
parent777b459eacccce225ea7df89296a50c1e596d06d (diff)
downloadevolution-data-server-26b3dd2e8921796839391d99eab98f195765b0fe.tar.gz
libedataserver: Use g_cclosure_marshal_generic() for all signals.
g_signal_new() defaults to the generic marshaller when NULL is given for the 'c_marshaller' parameter. The generic marshaller uses libffi to figure out the argument types for itself. Also remove e-marshal.list and e-gdbus-marshallers.list, as they are no longer needed.
Diffstat (limited to 'libebackend/e-source-registry-server.c')
-rw-r--r--libebackend/e-source-registry-server.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/libebackend/e-source-registry-server.c b/libebackend/e-source-registry-server.c
index 0caa0cc8b..955a541d6 100644
--- a/libebackend/e-source-registry-server.c
+++ b/libebackend/e-source-registry-server.c
@@ -43,8 +43,6 @@
#include <e-dbus-source.h>
#include <e-dbus-source-manager.h>
-#include <libedataserver/e-marshal.h>
-
#include <libebackend/e-authentication-mediator.h>
#include <libebackend/e-authentication-session.h>
#include <libebackend/e-server-side-source.h>
@@ -1294,8 +1292,7 @@ e_source_registry_server_class_init (ESourceRegistryServerClass *class)
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (ESourceRegistryServerClass, load_error),
- NULL, NULL,
- e_marshal_VOID__OBJECT_BOXED,
+ NULL, NULL, NULL,
G_TYPE_NONE, 2,
G_TYPE_FILE,
G_TYPE_ERROR | G_SIGNAL_TYPE_STATIC_SCOPE);
@@ -1313,8 +1310,7 @@ e_source_registry_server_class_init (ESourceRegistryServerClass *class)
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (ESourceRegistryServerClass, files_loaded),
- NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL, NULL, NULL,
G_TYPE_NONE, 0);
/**
@@ -1329,8 +1325,7 @@ e_source_registry_server_class_init (ESourceRegistryServerClass *class)
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (ESourceRegistryServerClass, source_added),
- NULL, NULL,
- g_cclosure_marshal_VOID__OBJECT,
+ NULL, NULL, NULL,
G_TYPE_NONE, 1,
E_TYPE_SERVER_SIDE_SOURCE);
@@ -1346,8 +1341,7 @@ e_source_registry_server_class_init (ESourceRegistryServerClass *class)
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (ESourceRegistryServerClass, source_removed),
- NULL, NULL,
- g_cclosure_marshal_VOID__OBJECT,
+ NULL, NULL, NULL,
G_TYPE_NONE, 1,
E_TYPE_SERVER_SIDE_SOURCE);