GNOME Bugzilla – Bug 693774
Misc fixes/cleanups to gnome-languages.c
Last modified: 2013-02-19 11:23:31 UTC
.
Created attachment 236016 [details] [review] gnome-languages: Fix a potential crash We can't continue if we aren't able to parse the string because the return arguments will be undefined.
Created attachment 236017 [details] [review] gnome-languages: Big renaming to make the API clearer Several of these functions use the word 'name' or 'language' but the argument they take is actually a locale string. We also rename s/territory/country/ in the public API since country is the term that ISO 3166 actually talks about.
Created attachment 236018 [details] [review] gnome-languages: Add gtk-doc comments to all public functions
Created attachment 236019 [details] [review] gnome-languages: Create a singleton GRegex Instead of creating and destroying one each time.
Created attachment 236020 [details] [review] test-languages: Fix to actually set the locale
Attachment 236016 [details] pushed as fa119fb - gnome-languages: Fix a potential crash Attachment 236017 [details] pushed as 0409959 - gnome-languages: Big renaming to make the API clearer Attachment 236018 [details] pushed as 63024cd - gnome-languages: Add gtk-doc comments to all public functions Attachment 236019 [details] pushed as a659478 - gnome-languages: Create a singleton GRegex Attachment 236020 [details] pushed as f54a8c2 - test-languages: Fix to actually set the locale