diff options
author | Allison Lortie <desrt@desrt.ca> | 2013-10-28 17:53:58 -0700 |
---|---|---|
committer | Philip Withnall <withnall@endlessm.com> | 2018-02-06 15:51:33 +0000 |
commit | 1574321e51dc20eb2b0fdd699966428be3cc05eb (patch) | |
tree | abcbf8227dff3cbae687e6c267583c5856e32232 /docs | |
parent | 7b3f78fddb41673fdf3a81acfaf0a3aaec945af1 (diff) | |
download | glib-1574321e51dc20eb2b0fdd699966428be3cc05eb.tar.gz |
GKeyFile: add API for getting locale of a string
g_key_file_get_locale_string() returns a translated string from the
keyfile. In some cases, it may be useful to know the locale that that
string came from.
Add a new API, g_key_file_get_locale_for_key(), that returns the locale
of the string.
Include tests.
(Modified by Philip Withnall to rename the API and fix some minor review
issues. Squash in a separate test case commit.)
https://bugzilla.gnome.org/show_bug.cgi?id=605700
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/glib/glib-sections.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/reference/glib/glib-sections.txt b/docs/reference/glib/glib-sections.txt index dd1d5dea6..2832983ee 100644 --- a/docs/reference/glib/glib-sections.txt +++ b/docs/reference/glib/glib-sections.txt @@ -1987,6 +1987,7 @@ g_key_file_has_key g_key_file_get_value g_key_file_get_string g_key_file_get_locale_string +g_key_file_get_locale_for_key g_key_file_get_boolean g_key_file_get_integer g_key_file_get_int64 |