diff options
author | Corentin Noël <corentin@elementary.io> | 2018-03-29 22:48:38 +0100 |
---|---|---|
committer | Corentin Noël <corentin@elementary.io> | 2018-06-13 18:43:53 +0100 |
commit | bc1f518e40b3735c7646b65dc27565e90ae17557 (patch) | |
tree | 568b29acf178ce830c049ebe9d9e6110dfa21987 | |
parent | 284b71f4775e051e483709fc1b297d0b7700a1ca (diff) | |
download | libsoup-bc1f518e40b3735c7646b65dc27565e90ae17557.tar.gz |
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.
-rw-r--r-- | libsoup/soup-uri.c | 4 |
1 files 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) |