Commit 33bd8f32 authored by Benjamin Otte's avatar Benjamin Otte

builder: Improve error message

parent bfe42558
Pipeline #135352 passed with stages
in 15 minutes and 58 seconds
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment