[gtk/wip/otte/listview: 4/151] builder: Improve error message



commit b1776be8c4b90849ea90b82ed90403c44b242516
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 a853151806..0597fd6ab6 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]