diff options
Diffstat (limited to 'gio/gsocketservice.c')
-rw-r--r-- | gio/gsocketservice.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gio/gsocketservice.c b/gio/gsocketservice.c index 1ac31d505..176c122eb 100644 --- a/gio/gsocketservice.c +++ b/gio/gsocketservice.c @@ -64,6 +64,7 @@ #include "gsocketlistener.h" #include "gsocketconnection.h" #include "glibintl.h" +#include "gmarshal-internal.h" struct _GSocketServicePrivate { @@ -346,8 +347,12 @@ g_socket_service_class_init (GSocketServiceClass *class) g_signal_new (I_("incoming"), G_TYPE_FROM_CLASS (class), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GSocketServiceClass, incoming), g_signal_accumulator_true_handled, NULL, - NULL, G_TYPE_BOOLEAN, + _g_cclosure_marshal_BOOLEAN__OBJECT_OBJECT, + G_TYPE_BOOLEAN, 2, G_TYPE_SOCKET_CONNECTION, G_TYPE_OBJECT); + g_signal_set_va_marshaller (g_socket_service_incoming_signal, + G_TYPE_FROM_CLASS (class), + _g_cclosure_marshal_BOOLEAN__OBJECT_OBJECTv); /** * GSocketService:active: |