[gtk: 2/3] gtkplacessidebar.c: fix coding style




commit 65575fe0d00e5f63a062c475a75844510da0fd42
Author: Geyslan G. Bem <geyslan gmail com>
Date:   Wed Apr 28 08:42:59 2021 -0300

    gtkplacessidebar.c: fix coding style
    
    Signed-off-by: Geyslan G. Bem <geyslan gmail com>

 gtk/gtkplacessidebar.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index c57031be07..ff29383f22 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -796,9 +796,8 @@ on_bookmark_query_info_complete (GObject      *source,
       /* Don't add non-UTF-8 bookmarks */
       bookmark_name = g_file_get_basename (root);
       if (bookmark_name == NULL)
-        {
-          goto out;
-        }
+        goto out;
+
       if (!g_utf8_validate (bookmark_name, -1, NULL))
         {
           g_free (bookmark_name);


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