mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-14 16:26:17 +01:00
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>
This commit is contained in:
parent
91ff469f7e
commit
98e6ac788e
@ -52,10 +52,6 @@ show_nodes (GType type,
|
|||||||
|
|
||||||
children = g_type_children (type, NULL);
|
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",
|
g_fprintf (f_out, "%s%s%s%s",
|
||||||
indent,
|
indent,
|
||||||
sibling ? O_BRANCH : (type != root ? O_LLEAF : O_SPACE),
|
sibling ? O_BRANCH : (type != root ? O_LLEAF : O_SPACE),
|
||||||
|
Loading…
Reference in New Issue
Block a user