Skip to content

Implement get_locale for GTK#798

Merged
cmyr merged 1 commit intolinebender:masterfrom
luleyleo:gtk-get_locale
Apr 3, 2020
Merged

Implement get_locale for GTK#798
cmyr merged 1 commit intolinebender:masterfrom
luleyleo:gtk-get_locale

Conversation

@luleyleo
Copy link
Collaborator

@luleyleo luleyleo commented Apr 3, 2020

Closes #217

Copy link
Collaborator

@ForLoveOfCats ForLoveOfCats left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable! I check and the GLib docs do specify that this function returns the locales in order of most desirable to least desirable. They also specify that it will always return at least the default locale "C" so this should never crash to an out of bounds index.

@cmyr cmyr merged commit 92df460 into linebender:master Apr 3, 2020
@cmyr
Copy link
Member

cmyr commented Apr 3, 2020

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

druid-shell/gtk: Implement get_locale

3 participants