[gnome-initial-setup/wjt/more-timezone-fixes: 2/5] goa: Append newline to log messages




commit 92005f6968ac1e755053639221ed508936f23c4f
Author: Will Thompson <wjt endlessos org>
Date:   Tue Aug 16 09:24:45 2022 +0100

    goa: Append newline to log messages
    
    g_printerr() does not add a newline by itself. Without this all debug
    output from the goa helper is smushed onto one line.

 gnome-initial-setup/pages/goa/gnome-initial-setup-goa-helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnome-initial-setup/pages/goa/gnome-initial-setup-goa-helper.c 
b/gnome-initial-setup/pages/goa/gnome-initial-setup-goa-helper.c
index 1b40c84c..5af33db6 100644
--- a/gnome-initial-setup/pages/goa/gnome-initial-setup-goa-helper.c
+++ b/gnome-initial-setup/pages/goa/gnome-initial-setup-goa-helper.c
@@ -477,7 +477,7 @@ log_handler (const gchar    *domain,
              const gchar    *message,
              gpointer        user_data)
 {
-  g_printerr ("%s: %s", domain, message);
+  g_printerr ("%s: %s\n", domain, message);
 }
 
 int


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