diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2015-06-01 10:26:41 -0700 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2015-07-29 13:38:13 +0100 |
commit | 16537df546cc21b23a9abd57603b26136bf4d86d (patch) | |
tree | 681e7ece222d64f282a4862da771ed8990e3252b /src/dummy | |
parent | 75760c047cc9e64e1aaa02bd0379013f86fd0f1b (diff) | |
download | upower-16537df546cc21b23a9abd57603b26136bf4d86d.tar.gz |
daemon: remove custom marshal setup
Just use the default marshaller.
Diffstat (limited to 'src/dummy')
-rw-r--r-- | src/dummy/up-backend.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dummy/up-backend.c b/src/dummy/up-backend.c index ad81b0b..8b8013b 100644 --- a/src/dummy/up-backend.c +++ b/src/dummy/up-backend.c @@ -29,7 +29,6 @@ #include "up-backend.h" #include "up-daemon.h" -#include "up-marshal.h" #include "up-device.h" static void up_backend_class_init (UpBackendClass *klass); @@ -187,13 +186,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)); |