summaryrefslogtreecommitdiff
path: root/src/linux/up-backend.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2015-06-01 10:26:41 -0700
committerRichard Hughes <richard@hughsie.com>2015-07-29 13:38:13 +0100
commit16537df546cc21b23a9abd57603b26136bf4d86d (patch)
tree681e7ece222d64f282a4862da771ed8990e3252b /src/linux/up-backend.c
parent75760c047cc9e64e1aaa02bd0379013f86fd0f1b (diff)
daemon: remove custom marshal setup
Just use the default marshaller.
Diffstat (limited to 'src/linux/up-backend.c')
-rw-r--r--src/linux/up-backend.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/linux/up-backend.c b/src/linux/up-backend.c
index 3d5e627..2ba201a 100644
--- a/src/linux/up-backend.c
+++ b/src/linux/up-backend.c
@@ -31,7 +31,6 @@
#include "up-backend.h"
#include "up-daemon.h"
-#include "up-marshal.h"
#include "up-device.h"
#include "up-device-supply.h"
@@ -474,13 +473,13 @@ up_backend_class_init (UpBackendClass *klass)
g_signal_new ("device-added",
G_TYPE_FROM_CLASS (object_class), G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (UpBackendClass, device_added),
- NULL, NULL, up_marshal_VOID__POINTER_POINTER,
+ NULL, NULL, NULL,
G_TYPE_NONE, 2, G_TYPE_POINTER, G_TYPE_POINTER);
signals [SIGNAL_DEVICE_REMOVED] =
g_signal_new ("device-removed",
G_TYPE_FROM_CLASS (object_class), G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (UpBackendClass, device_removed),
- NULL, NULL, up_marshal_VOID__POINTER_POINTER,
+ NULL, NULL, NULL,
G_TYPE_NONE, 2, G_TYPE_POINTER, G_TYPE_POINTER);
g_type_class_add_private (klass, sizeof (UpBackendPrivate));