mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
Export _glib_get_locale_dir() as it is now used in gio, too
This commit is contained in:
parent
73af5ab4cf
commit
1158f9c171
@ -1653,6 +1653,7 @@ main (gint argc, gchar *argv[])
|
||||
textdomain (GETTEXT_PACKAGE);
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
extern gchar *_glib_get_locale_dir (void);
|
||||
gchar *tmp = _glib_get_locale_dir ();
|
||||
bindtextdomain (GETTEXT_PACKAGE, tmp);
|
||||
g_free (tmp);
|
||||
|
@ -1907,7 +1907,8 @@ main (int argc, char **argv)
|
||||
|
||||
setlocale (LC_ALL, "");
|
||||
textdomain (GETTEXT_PACKAGE);
|
||||
#ifdef G_OS_WIN32
|
||||
#ifdef G_OS_WIN32
|
||||
extern gchar *_glib_get_locale_dir (void);
|
||||
gchar *tmp = _glib_get_locale_dir ();
|
||||
bindtextdomain (GETTEXT_PACKAGE, tmp);
|
||||
g_free (tmp);
|
||||
|
@ -1608,6 +1608,9 @@ g_unichar_validate
|
||||
#if IN_HEADER(__GLIBINTL_H__)
|
||||
#if IN_FILE(__G_UTILS_C__)
|
||||
glib_gettext G_GNUC_FORMAT(1)
|
||||
#ifdef G_OS_WIN32
|
||||
_glib_get_locale_dir
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -3572,7 +3572,7 @@ _g_utils_thread_init (void)
|
||||
* have to use system codepage as bindtextdomain() doesn't have a
|
||||
* UTF-8 interface.
|
||||
*/
|
||||
static gchar *
|
||||
gchar *
|
||||
_glib_get_locale_dir (void)
|
||||
{
|
||||
gchar *install_dir = NULL, *locale_dir;
|
||||
|
Loading…
Reference in New Issue
Block a user