get rid of legacy libXaw usage

This commit is contained in:
Caolán McNamara
2011-04-12 13:14:27 +01:00
parent d72d5e631a
commit 11f649ac2f
4 changed files with 1 additions and 20 deletions

View File

@@ -40,10 +40,6 @@ INCPRE+=-I$(SOLARINCDIR)$/mozilla$/nspr
CDEFS+=-DOJI CDEFS+=-DOJI
.ENDIF .ENDIF
.IF "$(DISABLE_XAW)" != ""
CDEFS+=-DDISABLE_XAW
.ENDIF
.IF "$(WITH_MOZILLA)" != "NO" .IF "$(WITH_MOZILLA)" != "NO"
.IF "$(GUIBASE)"=="aqua" .IF "$(GUIBASE)"=="aqua"

View File

@@ -58,11 +58,7 @@ extern "C" {
#if defined USE_MOTIF #if defined USE_MOTIF
#include <Xm/DrawingA.h> #include <Xm/DrawingA.h>
#else #else
# if defined DISABLE_XAW #include <X11/Composite.h>
# include <X11/Composite.h>
# else
# include <X11/Xaw/Label.h>
# endif
#endif #endif
#include <X11/Xatom.h> #include <X11/Xatom.h>
#ifndef XP_UNIX #ifndef XP_UNIX

View File

@@ -50,10 +50,6 @@ CDEFS+=-DOJI
.IF "$(WITH_MOZILLA)" != "NO" .IF "$(WITH_MOZILLA)" != "NO"
.IF "$(DISABLE_XAW)" == "TRUE"
CDEFS+=-DDISABLE_XAW
.ENDIF
SLOFILES=\ SLOFILES=\
$(SLO)$/nppapi.obj \ $(SLO)$/nppapi.obj \
$(SLO)$/sysplug.obj \ $(SLO)$/sysplug.obj \
@@ -74,9 +70,6 @@ APP1STDLIBS= $(SALLIB)
.IF "$(OS)"=="SOLARIS" || "$(OS)"=="SCO" .IF "$(OS)"=="SOLARIS" || "$(OS)"=="SCO"
APP1STDLIBS+=-lXm -lXt $(X11LINK_DYNAMIC) -ldl APP1STDLIBS+=-lXm -lXt $(X11LINK_DYNAMIC) -ldl
.ELSE .ELSE
.IF "$(DISABLE_XAW)" != "TRUE"
APP1STDLIBS+=-lXaw
.ENDIF
.IF "$(OS)"=="FREEBSD" || "$(OS)"=="NETBSD" || "$(OS)"=="OPENBSD" || "$(OS)"=="DRAGONFLY" .IF "$(OS)"=="FREEBSD" || "$(OS)"=="NETBSD" || "$(OS)"=="OPENBSD" || "$(OS)"=="DRAGONFLY"
APP1STDLIBS+= -lXt -lXext -lX11 APP1STDLIBS+= -lXt -lXext -lX11
.ELIF "$(OS)"=="AIX" .ELIF "$(OS)"=="AIX"

View File

@@ -125,11 +125,7 @@ Widget createSubWidget( char* /*pPluginText*/, Widget shell, XLIB_Window aParent
xmDrawingAreaWidgetClass, xmDrawingAreaWidgetClass,
#else #else
"", "",
# if defined DISABLE_XAW
compositeWidgetClass, compositeWidgetClass,
# else
labelWidgetClass,
# endif
#endif #endif
shell, shell,
XtNwidth, 200, XtNwidth, 200,