[gtk/builder-deprecations: 1/2] buildertool: Fix template handling
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/builder-deprecations: 1/2] buildertool: Fix template handling
- Date: Wed, 19 Oct 2022 06:52:21 +0000 (UTC)
commit 64cf31f3483cb085942d5ce7817230d0e972bd14
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Oct 19 02:40:10 2022 -0400
buildertool: Fix template handling
We were not properly parsing the error message
here, leading to badness.
tools/gtk-builder-tool-validate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tools/gtk-builder-tool-validate.c b/tools/gtk-builder-tool-validate.c
index aa4069fd36..688903d3dd 100644
--- a/tools/gtk-builder-tool-validate.c
+++ b/tools/gtk-builder-tool-validate.c
@@ -116,7 +116,7 @@ parse_template_error (const char *message,
*p = '\0';
}
- return TRUE;
+ return *class_name && *parent_name;
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]