[gtk/matthiasc/for-master] builder-tool: Avoid duplicate path prefixes
- From: Matthias Clasen <matthiasc src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gtk/matthiasc/for-master] builder-tool: Avoid duplicate path prefixes
 
- Date: Sun,  1 Nov 2020 19:55:06 +0000 (UTC)
 
commit 5b07e803dc4e338896cc32f2a2062fb934a15add
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Nov 1 14:47:42 2020 -0500
    builder-tool: Avoid duplicate path prefixes
    
    It is enough to print the file in which the error
    occurred once; GtkBuilder already makes that part
    of its error message.
 gtk/tools/gtk-builder-tool-validate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/tools/gtk-builder-tool-validate.c b/gtk/tools/gtk-builder-tool-validate.c
index 63910f9fb6..8551231730 100644
--- a/gtk/tools/gtk-builder-tool-validate.c
+++ b/gtk/tools/gtk-builder-tool-validate.c
@@ -139,7 +139,7 @@ validate_file (const char *filename)
         }
       else
         {
-          g_printerr ("%s: %s\n", filename, error->message);
+          g_printerr ("%s\n", error->message);
           return FALSE;
         }
     }
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]