1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-09 23:34:14 +01:00

Fixed WPrefs.app to find its icons when not installed under GNUstep paths

This commit is contained in:
dan
2005-07-17 19:16:46 +00:00
parent f3a960d9d8
commit d26f18505a
5 changed files with 19 additions and 5 deletions

View File

@@ -108,12 +108,12 @@ libWUtil_a_SOURCES = \
wutil.c
AM_CPPFLAGS = -DLOCALEDIR=\"$(NLSDIR)\"
AM_CPPFLAGS = -DLOCALEDIR=\"$(NLSDIR)\" -DRESOURCE_PATH=\"$(datadir)/WINGs\" -DDEBUG
AM_CFLAGS = @NOSTRICTALIASING@
INCLUDES = -I$(top_srcdir)/WINGs/WINGs -I$(top_srcdir)/wrlib -I$(top_srcdir)/src \
-DRESOURCE_PATH=\"$(datadir)/WINGs\" @XFTFLAGS@ @HEADER_SEARCH_PATH@ -DDEBUG
@XFTFLAGS@ @HEADER_SEARCH_PATH@
wcolorpanel.o: wcolorpanel.c

View File

@@ -181,7 +181,6 @@ WMPathForResourceOfType(char *resource, char *ext)
return path;
}
if (getenv("GNUSTEP_SYSTEM_ROOT")) {
path = checkFile(getenv("GNUSTEP_SYSTEM_ROOT"), appdir, ext, resource);
if (path) {