guri: Minor code formatting fixes

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall 2020-08-06 13:58:33 +01:00
parent 1f1efbbb05
commit de0ebf8a5f
2 changed files with 4 additions and 2 deletions

View File

@ -234,7 +234,8 @@ g_uri_ref (GUri *uri)
return g_atomic_rc_box_acquire (uri);
}
static void g_uri_clear(GUri *uri)
static void
g_uri_clear (GUri *uri)
{
g_free (uri->scheme);
g_free (uri->userinfo);
@ -308,7 +309,7 @@ uri_decoder (gchar **out,
if (flags & G_URI_FLAGS_PARSE_STRICT)
{
g_set_error_literal (error, G_URI_ERROR, parse_error,
/* xgettext: no-c-format */
/* xgettext: no-c-format */
_("Invalid %-encoding in URI"));
g_free (decoded);
return -1;

View File

@ -280,6 +280,7 @@ gboolean g_uri_params_iter_next (GUriParamsIter *iter,
gchar **attribute,
gchar **value,
GError **error);
/**
* G_URI_ERROR:
*