From 261374873085f60a6318e3c2698d0acc8c0142b2 Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Tue, 6 Feb 2018 18:00:33 +0100 Subject: [PATCH] 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) --- gst/rtsp-server/rtsp-context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.7.4