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)
This commit is contained in:
Mathieu Duponchelle 2018-02-06 18:00:33 +01:00
parent 03a512e4e1
commit 2613748730

View file

@ -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.