[gtk/validate-templates] builder-tool: Validate templates again



commit c924b48a6cbdae7275090a00f4fb51cd24b71fe4
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Dec 23 17:59:15 2019 -0500

    builder-tool: Validate templates again
    
    This wasn't working because it was expecting
    some no-longer-existing error message.

 gtk/tools/gtk-builder-tool-validate.c | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/gtk/tools/gtk-builder-tool-validate.c b/gtk/tools/gtk-builder-tool-validate.c
index a64bb2d3e1..ab74e507b8 100644
--- a/gtk/tools/gtk-builder-tool-validate.c
+++ b/gtk/tools/gtk-builder-tool-validate.c
@@ -96,9 +96,6 @@ parse_template_error (const gchar  *message,
 {
   gchar *p;
 
-  if (!strstr (message, "Not expecting to handle a template"))
-    return FALSE;
-
   p = strstr (message, "(class '");
   if (p)
     {


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