summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAllison Lortie <desrt@desrt.ca>2013-10-28 17:53:58 -0700
committerPhilip Withnall <withnall@endlessm.com>2018-02-06 15:51:33 +0000
commit1574321e51dc20eb2b0fdd699966428be3cc05eb (patch)
treeabcbf8227dff3cbae687e6c267583c5856e32232 /docs
parent7b3f78fddb41673fdf3a81acfaf0a3aaec945af1 (diff)
downloadglib-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.txt1
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