I have a GSchema key of type “string”
<key name="auto-file-format" type="s">
<choices>
<choice value=".lrc" />
<choice value=".txt" />
</choices>
<default>".lrc"</default>
</key>
And I want to bind it to Adw.ComboRow
with StringList
model. “selected” property of Adw.ComboRow
only returns int
and incompatible with “s” type in GSchema. So then, how to bind that combo row to gschema?
g_settings_bind: property 'selected' on class 'AdwComboRow' has type 'guint' which is not compatible with type 's' of key 'auto-file-format' on schema 'io.github.dzheremi2.lrcmake-gtk'