[gtk/wip/otte/listview: 1/152] builder: Improve error message



commit af0ebce94834cc02bddd31101514507ded15520f
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]