winemenubuilder: Move the xdg global variables out of the libpng ifdef block.
This commit is contained in:
parent
cefa1e883f
commit
394e97feea
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue