GtkListStore with a column of GdkModifierType generates warnings when loaded to GtkBuilder
If I add a GdkModifierType column to a GtkListStore:
Glade doesn't allow me to edit that column (though I don't actually need to)
If there is at least 1 row of data, Glade outputs XML where data for that column has no value:
GtkBuilder prints warnings when loading the XML file produced by Glade:
(com.github.amezin.ddterm:177872): GLib-GObject-CRITICAL **: 13:35:56.739: g_value_type_transformable: assertion 'src_type' failed (com.github.amezin.ddterm:177872): Gtk-WARNING **: 13:35:56.739: ../gtk/gtk/gtkliststore.c:834: Unable to convert from (null) to GdkModifierType
If I replace
<col id="3"/> with
<col id="3">0</col>, the warning goes away, but Glade replaces it again with
<col id="3"/> when it saves the file.
I don't actually care about (1), but I'd like to solve (2) somehow - make Glade output
By the way, Glade shows value
0 in GtkListStore editor UI for cells in that column - another reason to expect
0 in XML too.
Glade v. 3.38.0