From 8708262ebe27f04f66fad4448c95042713ea5d49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 18 Jan 2018 11:32:32 +0000 Subject: [PATCH] rtsp-token: annotate constructors for bindings This maps _new_empty() to _new(), which also makes RTSPToken() work properly now. Since this API wasn't usable from bindings before, this should hopefully be fine. https://bugzilla.gnome.org/show_bug.cgi?id=787073 --- gst/rtsp-server/rtsp-token.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gst/rtsp-server/rtsp-token.c b/gst/rtsp-server/rtsp-token.c index c002e8af84..733546fbdf 100644 --- a/gst/rtsp-server/rtsp-token.c +++ b/gst/rtsp-server/rtsp-token.c @@ -96,7 +96,7 @@ gst_rtsp_token_init (GstRTSPTokenImpl * token, GstStructure * structure) } /** - * gst_rtsp_token_new_empty: + * gst_rtsp_token_new_empty: (rename-to gst_rtsp_token_new) * * Create a new empty Authorization token. * @@ -118,7 +118,7 @@ gst_rtsp_token_new_empty (void) } /** - * gst_rtsp_token_new: + * gst_rtsp_token_new: (skip) * @firstfield: the first fieldname * @...: additional arguments * @@ -141,7 +141,7 @@ gst_rtsp_token_new (const gchar * firstfield, ...) } /** - * gst_rtsp_token_new_valist: + * gst_rtsp_token_new_valist: (skip) * @firstfield: the first fieldname * @var_args: additional arguments *