client: fix send-message signal marshaller
authorAleix Conchillo Flaqué <aleix@oblong.com>
Sat, 10 May 2014 00:25:07 +0000 (17:25 -0700)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 10 May 2014 11:23:16 +0000 (12:23 +0100)
Use generic marshalling for the send-message signal. It has
two POINTER arguments, not just one.

https://bugzilla.gnome.org/show_bug.cgi?id=729900

gst/rtsp-server/rtsp-client.c

index 93d3b3f..d16eee0 100644 (file)
@@ -250,7 +250,7 @@ gst_rtsp_client_class_init (GstRTSPClientClass * klass)
 
   gst_rtsp_client_signals[SIGNAL_SEND_MESSAGE] =
       g_signal_new ("send-message", G_TYPE_FROM_CLASS (klass),
-      G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__POINTER,
+      G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_generic,
       G_TYPE_NONE, 2, G_TYPE_POINTER, G_TYPE_POINTER);
 
   tunnels =