mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
Not used on Windows. (unalias_lang): Don't do anything on Windows, there
2005-04-08 Tor Lillqvist <tml@novell.com> * glib/gutils.c (read_aliases): Not used on Windows. (unalias_lang): Don't do anything on Windows, there is no /usr/share/locale/locale.alias file..
This commit is contained in:
parent
53b26858c8
commit
30942cba28
@ -1,3 +1,9 @@
|
|||||||
|
2005-04-08 Tor Lillqvist <tml@novell.com>
|
||||||
|
|
||||||
|
* glib/gutils.c (read_aliases): Not used on Windows.
|
||||||
|
(unalias_lang): Don't do anything on Windows, there is no
|
||||||
|
/usr/share/locale/locale.alias file..
|
||||||
|
|
||||||
Thu Apr 7 22:51:15 2005 <yosh@gimp.org>
|
Thu Apr 7 22:51:15 2005 <yosh@gimp.org>
|
||||||
|
|
||||||
* glib/gutils.c (g_get_system_data_dirs): Declare glib_top_share_dir
|
* glib/gutils.c (g_get_system_data_dirs): Declare glib_top_share_dir
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2005-04-08 Tor Lillqvist <tml@novell.com>
|
||||||
|
|
||||||
|
* glib/gutils.c (read_aliases): Not used on Windows.
|
||||||
|
(unalias_lang): Don't do anything on Windows, there is no
|
||||||
|
/usr/share/locale/locale.alias file..
|
||||||
|
|
||||||
Thu Apr 7 22:51:15 2005 <yosh@gimp.org>
|
Thu Apr 7 22:51:15 2005 <yosh@gimp.org>
|
||||||
|
|
||||||
* glib/gutils.c (g_get_system_data_dirs): Declare glib_top_share_dir
|
* glib/gutils.c (g_get_system_data_dirs): Declare glib_top_share_dir
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2005-04-08 Tor Lillqvist <tml@novell.com>
|
||||||
|
|
||||||
|
* glib/gutils.c (read_aliases): Not used on Windows.
|
||||||
|
(unalias_lang): Don't do anything on Windows, there is no
|
||||||
|
/usr/share/locale/locale.alias file..
|
||||||
|
|
||||||
Thu Apr 7 22:51:15 2005 <yosh@gimp.org>
|
Thu Apr 7 22:51:15 2005 <yosh@gimp.org>
|
||||||
|
|
||||||
* glib/gutils.c (g_get_system_data_dirs): Declare glib_top_share_dir
|
* glib/gutils.c (g_get_system_data_dirs): Declare glib_top_share_dir
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2005-04-08 Tor Lillqvist <tml@novell.com>
|
||||||
|
|
||||||
|
* glib/gutils.c (read_aliases): Not used on Windows.
|
||||||
|
(unalias_lang): Don't do anything on Windows, there is no
|
||||||
|
/usr/share/locale/locale.alias file..
|
||||||
|
|
||||||
Thu Apr 7 22:51:15 2005 <yosh@gimp.org>
|
Thu Apr 7 22:51:15 2005 <yosh@gimp.org>
|
||||||
|
|
||||||
* glib/gutils.c (g_get_system_data_dirs): Declare glib_top_share_dir
|
* glib/gutils.c (g_get_system_data_dirs): Declare glib_top_share_dir
|
||||||
|
@ -2202,6 +2202,8 @@ g_get_system_config_dirs (void)
|
|||||||
return (G_CONST_RETURN gchar * G_CONST_RETURN *) conf_dir_vector;
|
return (G_CONST_RETURN gchar * G_CONST_RETURN *) conf_dir_vector;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef G_OS_WIN32
|
||||||
|
|
||||||
static GHashTable *alias_table = NULL;
|
static GHashTable *alias_table = NULL;
|
||||||
|
|
||||||
/* read an alias file for the locales */
|
/* read an alias file for the locales */
|
||||||
@ -2257,9 +2259,12 @@ read_aliases (gchar *file)
|
|||||||
fclose (fp);
|
fclose (fp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
static char *
|
static char *
|
||||||
unalias_lang (char *lang)
|
unalias_lang (char *lang)
|
||||||
{
|
{
|
||||||
|
#ifndef G_OS_WIN32
|
||||||
char *p;
|
char *p;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
@ -2280,6 +2285,7 @@ unalias_lang (char *lang)
|
|||||||
return lang;
|
return lang;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
return lang;
|
return lang;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user