GNOME Bugzilla – Bug 397127
ignore case and '-' vs '_' differences when maching on enum/flag nick/name
Last modified: 2018-05-24 10:56:05 UTC
g_enum/flag_get_value_by_nick/name should ignore case differences and '-' vs '_'. This just makes a lot of sense. Maybe even add a glib function that does this kind of comparison. I need it in pango where I want to do this for markup attribute name matching.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib/issues/74.