glib-mkenums: Add default comment template if none is provided
commitfcfbaf8566911a70434f876a9e76912f7db19dcd
authorPhilip Withnall <withnall@endlessm.com>
Thu, 19 Oct 2017 09:15:49 +0000 (19 10:15 +0100)
committerPhilip Withnall <withnall@endlessm.com>
Thu, 19 Oct 2017 10:29:04 +0000 (19 11:29 +0100)
treebbe46972050d86027edbcf7995013065b80967c9
parent37c0610b4d6b43fc9aea7983d1e82be7fdae6660
glib-mkenums: Add default comment template if none is provided

The fallback code for providing a default comment template only worked
if a template file was provided. It didn’t work if individual templates
were provided on the command line (and --comment wasn’t).

Signed-off-by: Philip Withnall <withnall@endlessm.com>
https://bugzilla.gnome.org/show_bug.cgi?id=788990
gobject/glib-mkenums.in