winemenubuilder: Move the xdg global variables out of the libpng ifdef block.

This commit is contained in:
Alexandre Julliard 2008-11-03 20:19:30 +01:00
parent cefa1e883f
commit 394e97feea
1 changed files with 2 additions and 3 deletions

View File

@ -144,6 +144,8 @@ typedef struct
int nIndex;
} ENUMRESSTRUCT;
static char *xdg_config_dir;
static char *xdg_data_dir;
/* Icon extraction routines
*
@ -170,9 +172,6 @@ MAKE_FUNCPTR(png_write_info);
MAKE_FUNCPTR(png_write_row);
#undef MAKE_FUNCPTR
static char *xdg_config_dir;
static char *xdg_data_dir;
static void *load_libpng(void)
{
if ((libpng_handle = wine_dlopen(SONAME_LIBPNG, RTLD_NOW, NULL, 0)) != NULL)