rtsp-server: sprinkle some allow-none annotations for g-i
authorTim-Philipp Müller <tim@centricular.com>
Mon, 18 Nov 2013 10:47:04 +0000 (10:47 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 18 Nov 2013 10:47:04 +0000 (10:47 +0000)
gst/rtsp-server/rtsp-client.c
gst/rtsp-server/rtsp-server.c
gst/rtsp-server/rtsp-session-pool.c
gst/rtsp-server/rtsp-session.c
gst/rtsp-server/rtsp-stream.c

index f0731dc..ed1b663 100644 (file)
@@ -2884,7 +2884,7 @@ gst_rtsp_client_attach (GstRTSPClient * client, GMainContext * context)
 /**
  * gst_rtsp_client_session_filter:
  * @client: a #GstRTSPClient
- * @func: (scope call): a callback
+ * @func: (scope call) (allow-none): a callback
  * @user_data: user data passed to @func
  *
  * Call @func for each session managed by @client. The result value of @func
index ed7ba3e..364d5dc 100644 (file)
@@ -1330,7 +1330,7 @@ no_source:
 /**
  * gst_rtsp_server_client_filter:
  * @server: a #GstRTSPServer
- * @func: (scope call): a callback
+ * @func: (scope call) (allow-none): a callback
  * @user_data: user data passed to @func
  *
  * Call @func for each client managed by @server. The result value of @func
index 1f2b3f9..ca4da57 100644 (file)
@@ -506,7 +506,7 @@ filter_func (gchar * sessionid, GstRTSPSession * sess, FilterData * data)
 /**
  * gst_rtsp_session_pool_filter:
  * @pool: a #GstRTSPSessionPool
- * @func: (scope call): a callback
+ * @func: (scope call) (allow-none): a callback
  * @user_data: user data passed to @func
  *
  * Call @func for each session in @pool. The result value of @func determines
index c20cf3c..204ccf7 100644 (file)
@@ -311,7 +311,7 @@ gst_rtsp_session_get_media (GstRTSPSession * sess, const gchar * path,
 /**
  * gst_rtsp_session_filter:
  * @sess: a #GstRTSPSession
- * @func: (scope call): a callback
+ * @func: (scope call) (allow-none): a callback
  * @user_data: user data passed to @func
  *
  * Call @func for each media in @sess. The result value of @func determines
index 6e9218d..7df201b 100644 (file)
@@ -2068,7 +2068,7 @@ gst_rtsp_stream_get_rtcp_socket (GstRTSPStream * stream, GSocketFamily family)
 /**
  * gst_rtsp_stream_transport_filter:
  * @stream: a #GstRTSPStream
- * @func: (scope call): a callback
+ * @func: (scope call) (allow-none): a callback
  * @user_data: user data passed to @func
  *
  * Call @func for each transport managed by @stream. The result value of @func