Commit graph

2 commits

Author SHA1 Message Date
James Westman
6c67e1fc5a
xml: Fix flags and enums
GtkBuilder XML uses enum nicknames, full names, or integer values, but
we accept GIR names, so passing those through doesn't work if the name
has an underscore (which traditionally turns into a dash in the
nickname). Avoid the problem by always writing the integer value of the
enum member.
2022-12-19 15:15:25 -06:00
James Westman
c4beb6841c
Fix enums with "-"/"_" in the name 2021-11-24 14:57:34 -06:00