[glib: 3/9] gobject-query: Remove extraneous blank line between each output line




commit 98e6ac788e08501e7c8d50b01c2a71ac9e0d25fc
Author: Philip Withnall <pwithnall endlessos org>
Date:   Thu Jun 9 13:06:03 2022 +0100

    gobject-query: Remove extraneous blank line between each output line
    
    I don’t think it improves the output format.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 gobject/gobject-query.c | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/gobject/gobject-query.c b/gobject/gobject-query.c
index 653955e68b..300f992b3c 100644
--- a/gobject/gobject-query.c
+++ b/gobject/gobject-query.c
@@ -52,10 +52,6 @@ show_nodes (GType        type,
   
   children = g_type_children (type, NULL);
   
-  if (type != root)
-    for (i = 0; i < spacing; i++)
-      g_fprintf (f_out, "%s%s\n", indent, O_VLINE);
-  
   g_fprintf (f_out, "%s%s%s%s",
           indent,
           sibling ? O_BRANCH : (type != root ? O_LLEAF : O_SPACE),


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