• Matthias Clasen's avatar
    gtk-builder-tool: Validate templates · ec053398
    Matthias Clasen authored
    Catch an error that indicates the file looks like a template,
    and then try again, this time with the template parsing API
    of GtkBuilder. This is a little iffy, since we need to create
    a 'fake' type and instance to pass in, but it works ok in
    simple tests.
gtk-builder-tool.c 13.6 KB