Declare glib_top_share_dir and exe_top_share_dir only in G_OS_WIN32.

Thu Apr  7 22:51:15 2005  <yosh@gimp.org>

        * glib/gutils.c (g_get_system_data_dirs): Declare glib_top_share_dir
        and exe_top_share_dir only in G_OS_WIN32.
This commit is contained in:
5 2005-04-08 05:52:20 +00:00 committed by Manish Singh
parent ee8a538538
commit 224e0b76f6
5 changed files with 22 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Thu Apr 7 22:51:15 2005 <yosh@gimp.org>
* glib/gutils.c (g_get_system_data_dirs): Declare glib_top_share_dir
and exe_top_share_dir only in G_OS_WIN32.
2005-04-08 Tor Lillqvist <tml@novell.com>
* glib/gutils.c (g_get_system_data_dirs): After investigating more

View File

@ -1,3 +1,8 @@
Thu Apr 7 22:51:15 2005 <yosh@gimp.org>
* glib/gutils.c (g_get_system_data_dirs): Declare glib_top_share_dir
and exe_top_share_dir only in G_OS_WIN32.
2005-04-08 Tor Lillqvist <tml@novell.com>
* glib/gutils.c (g_get_system_data_dirs): After investigating more

View File

@ -1,3 +1,8 @@
Thu Apr 7 22:51:15 2005 <yosh@gimp.org>
* glib/gutils.c (g_get_system_data_dirs): Declare glib_top_share_dir
and exe_top_share_dir only in G_OS_WIN32.
2005-04-08 Tor Lillqvist <tml@novell.com>
* glib/gutils.c (g_get_system_data_dirs): After investigating more

View File

@ -1,3 +1,8 @@
Thu Apr 7 22:51:15 2005 <yosh@gimp.org>
* glib/gutils.c (g_get_system_data_dirs): Declare glib_top_share_dir
and exe_top_share_dir only in G_OS_WIN32.
2005-04-08 Tor Lillqvist <tml@novell.com>
* glib/gutils.c (g_get_system_data_dirs): After investigating more

View File

@ -2060,13 +2060,14 @@ g_get_user_cache_dir (void)
G_CONST_RETURN gchar * G_CONST_RETURN *
g_get_system_data_dirs (void)
{
gchar *data_dirs, *glib_top_share_dir, *exe_top_share_dir, **data_dir_vector;
gchar *data_dirs, **data_dir_vector;
G_LOCK (g_utils_global);
if (!g_system_data_dirs)
{
#ifdef G_OS_WIN32
gchar *glib_top_share_dir, *exe_top_share_dir;
/* Documents and Settings\All Users\Application Data */
char *appdata = get_special_folder (CSIDL_COMMON_APPDATA);