diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-10-23 06:16:42 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-10-23 06:16:42 +0000 |
commit | bfa8a37a9e143d78fc3c064960053c8dd452114a (patch) | |
tree | 19a82bc8da63b902a5dab530aa918f46b1c3518f /glib/gutils.c | |
parent | 8df27c8dd5cf7ca192d64373fb15b5c63dc510b6 (diff) | |
download | glib-bfa8a37a9e143d78fc3c064960053c8dd452114a.tar.gz |
Add a parser for desktop entries and similar files with a .ini-like
2004-10-23 Matthias Clasen <mclasen@redhat.com>
* glib/gkeyfile.h:
* glib/gkeyfile.c: Add a parser for desktop entries and
similar files with a .ini-like syntax. (#139974, Ray Strode)
* glib/glib.h: Include gkeyfile.h
* glib/Makefile.am (libglib_2_0_la_SOURCES): Add gkeyfile.c
(glibsubinclude_HEADERS): Add gkeyfile.h
* glib/gutils.c (_g_compute_locale_variants): Make this
non-static and use it in gkeyfile.c
Diffstat (limited to 'glib/gutils.c')
-rw-r--r-- | glib/gutils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/glib/gutils.c b/glib/gutils.c index 6a1fea6ac..4d4d30684 100644 --- a/glib/gutils.c +++ b/glib/gutils.c @@ -1660,8 +1660,8 @@ explode_locale (const gchar *locale, * but it is big, ugly, and complicated, so I'm reluctant * to do so when this should handle 99% of the time... */ -static GSList * -compute_locale_variants (const gchar *locale) +GSList * +_g_compute_locale_variants (const gchar *locale) { GSList *retval = NULL; @@ -1793,7 +1793,7 @@ g_get_language_names () for (a = alist; *a; a++) { gchar *b = unalias_lang (*a); - list = g_slist_concat (list, compute_locale_variants (b)); + list = g_slist_concat (list, _g_compute_locale_variants (b)); } g_strfreev (alist); list = g_slist_append (list, "C"); |