[gtk/wip/otte/listview: 142/145] builder: Improve error message
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/listview: 142/145] builder: Improve error message
- Date: Mon, 2 Dec 2019 03:26:03 +0000 (UTC)
commit 8a4d0722dca0c4757d12807211c0209a7e7fbc02
Author: Benjamin Otte <otte redhat com>
Date: Sun Dec 1 13:52:35 2019 +0100
builder: Improve error message
gtk/gtkbuilderparser.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkbuilderparser.c b/gtk/gtkbuilderparser.c
index 786c802819..dd1588d2d9 100644
--- a/gtk/gtkbuilderparser.c
+++ b/gtk/gtkbuilderparser.c
@@ -723,7 +723,7 @@ parse_template (GtkBuildableParseContext *context,
g_set_error (error,
GTK_BUILDER_ERROR,
GTK_BUILDER_ERROR_UNHANDLED_TAG,
- "Not expecting to handle a template (class '%s', parent '%s')",
+ "Template declaration (class '%s', parent '%s') where templates aren't supported",
object_class, parent_class ? parent_class : "GtkWidget");
_gtk_builder_prefix_error (data->builder, context, error);
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]