[glib: 3/15] guri: Minor code formatting fixes




commit de0ebf8a5f54769157da8fa46365211fc7d1eb24
Author: Philip Withnall <withnall endlessm com>
Date:   Thu Aug 6 13:58:33 2020 +0100

    guri: Minor code formatting fixes
    
    Signed-off-by: Philip Withnall <withnall endlessm com>

 glib/guri.c | 5 +++--
 glib/guri.h | 1 +
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/glib/guri.c b/glib/guri.c
index bf2775ff1..fa7d622a1 100644
--- a/glib/guri.c
+++ b/glib/guri.c
@@ -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;
diff --git a/glib/guri.h b/glib/guri.h
index 0fc48a17f..832bf5d3d 100644
--- a/glib/guri.h
+++ b/glib/guri.h
@@ -280,6 +280,7 @@ gboolean    g_uri_params_iter_next   (GUriParamsIter *iter,
                                       gchar         **attribute,
                                       gchar         **value,
                                       GError        **error);
+
 /**
  * G_URI_ERROR:
  *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]