summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu@centricular.com>2018-02-06 18:00:33 +0100
committerMathieu Duponchelle <mathieu@centricular.com>2018-02-06 18:06:49 +0100
commitac97ba7f3e187a916f69904a2fa821f466d444a3 (patch)
treefb9289254e79f9e87d85e1cba58c95766ac5db67
parent57b2835a41ed31339e5bd523cacbc07a170e2120 (diff)
gst_rtsp_context_get_current: add (skip) annotation
The return value type is defined with G_DEFINE_POINTER_TYPE, and gi emits the following warning: Invalid non-constant return of bare structure or union; register as boxed type or (skip)
-rw-r--r--gst/rtsp-server/rtsp-context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtsp-server/rtsp-context.c b/gst/rtsp-server/rtsp-context.c
index 919ca2d..def64f2 100644
--- a/gst/rtsp-server/rtsp-context.c
+++ b/gst/rtsp-server/rtsp-context.c
@@ -31,7 +31,7 @@ G_DEFINE_POINTER_TYPE (GstRTSPContext, gst_rtsp_context);
static GPrivate current_context;
/**
- * gst_rtsp_context_get_current:
+ * gst_rtsp_context_get_current: (skip):
*
* Get the current #GstRTSPContext. This object is retrieved from the
* current thread that is handling the request for a client.