summaryrefslogtreecommitdiff
path: root/gst/rtsp-server/rtsp-server.c
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2014-06-24 09:43:44 +0200
committerWim Taymans <wtaymans@redhat.com>2014-06-24 09:43:44 +0200
commit661f4d928f32455bc52664fcd05ed4e8ce94e5ba (patch)
tree0be860f2b6a2a416b0cef1e68d263ba91df84334 /gst/rtsp-server/rtsp-server.c
parentaa44c034397e50d9fb201058416beaaa80a30809 (diff)
signals: use generic marshal function
Use the generic C marshal function. Use more explicit type instead of G_TYPE_POINTER
Diffstat (limited to 'gst/rtsp-server/rtsp-server.c')
-rw-r--r--gst/rtsp-server/rtsp-server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/rtsp-server/rtsp-server.c b/gst/rtsp-server/rtsp-server.c
index 019e379..a5ea95a 100644
--- a/gst/rtsp-server/rtsp-server.c
+++ b/gst/rtsp-server/rtsp-server.c
@@ -225,8 +225,8 @@ gst_rtsp_server_class_init (GstRTSPServerClass * klass)
gst_rtsp_server_signals[SIGNAL_CLIENT_CONNECTED] =
g_signal_new ("client-connected", G_TYPE_FROM_CLASS (gobject_class),
G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstRTSPServerClass, client_connected),
- NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1,
- gst_rtsp_client_get_type ());
+ NULL, NULL, g_cclosure_marshal_generic, G_TYPE_NONE, 1,
+ GST_TYPE_RTSP_CLIENT);
klass->create_client = default_create_client;