diff options
author | Corentin Noël <corentin@elementary.io> | 2018-03-29 22:48:38 +0100 |
---|---|---|
committer | Corentin Noël <corentin@elementary.io> | 2018-03-29 22:49:02 +0100 |
commit | 684b6de5e5bea5a995fe6bd004cece4432bd30d5 (patch) | |
tree | ccc168083a4bfa722eb5627832c4a0471120d4cc | |
parent | d28962ff4d5020a9b906f5492acad69b533be2d1 (diff) | |
download | libsoup-wip/tintou/uri-constructor.tar.gz |
SoupURI: make soup_uri_new_with_base a constructorwip/tintou/uri-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) |