From bc1f518e40b3735c7646b65dc27565e90ae17557 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corentin=20No=C3=ABl?= Date: Thu, 29 Mar 2018 22:48:38 +0100 Subject: SoupURI: make soup_uri_new_with_base a constructor It is currently described as a method as it takes a SoupURI as first parameter when typically functions foo_bar_new* are constructors. --- libsoup/soup-uri.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsoup/soup-uri.c b/libsoup/soup-uri.c index be778d6c..caac74ea 100644 --- a/libsoup/soup-uri.c +++ b/libsoup/soup-uri.c @@ -224,13 +224,13 @@ soup_scheme_default_port (const char *scheme) } /** - * soup_uri_new_with_base: + * soup_uri_new_with_base: (constructor) * @base: a base URI * @uri_string: the URI * * Parses @uri_string relative to @base. * - * Return value: a parsed #SoupURI. + * Returns: a parsed #SoupURI. **/ SoupURI * soup_uri_new_with_base (SoupURI *base, const char *uri_string) -- cgit v1.2.1