builder-tool: Validate templates again
authorMatthias Clasen <mclasen@redhat.com>
Mon, 23 Dec 2019 22:59:15 +0000 (17:59 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 23 Dec 2019 23:32:37 +0000 (18:32 -0500)
This wasn't working because it was expecting
some no-longer-existing error message.

gtk/tools/gtk-builder-tool-validate.c

index a64bb2d3e16cfab45590470c6cab2494bfb6ce7d..ab74e507b8cc9d278210b3f1545a157f5bb2f633 100644 (file)
@@ -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)
     {