mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-08 02:16:17 +01:00
guri: Minor code formatting fixes
Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
1f1efbbb05
commit
de0ebf8a5f
@ -234,7 +234,8 @@ g_uri_ref (GUri *uri)
|
|||||||
return g_atomic_rc_box_acquire (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->scheme);
|
||||||
g_free (uri->userinfo);
|
g_free (uri->userinfo);
|
||||||
@ -308,7 +309,7 @@ uri_decoder (gchar **out,
|
|||||||
if (flags & G_URI_FLAGS_PARSE_STRICT)
|
if (flags & G_URI_FLAGS_PARSE_STRICT)
|
||||||
{
|
{
|
||||||
g_set_error_literal (error, G_URI_ERROR, parse_error,
|
g_set_error_literal (error, G_URI_ERROR, parse_error,
|
||||||
/* xgettext: no-c-format */
|
/* xgettext: no-c-format */
|
||||||
_("Invalid %-encoding in URI"));
|
_("Invalid %-encoding in URI"));
|
||||||
g_free (decoded);
|
g_free (decoded);
|
||||||
return -1;
|
return -1;
|
||||||
|
@ -280,6 +280,7 @@ gboolean g_uri_params_iter_next (GUriParamsIter *iter,
|
|||||||
gchar **attribute,
|
gchar **attribute,
|
||||||
gchar **value,
|
gchar **value,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* G_URI_ERROR:
|
* G_URI_ERROR:
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user