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
.ENDIF
.IF "$(DISABLE_XAW)" != ""
CDEFS+=-DDISABLE_XAW
.ENDIF
.IF "$(WITH_MOZILLA)" != "NO"
.IF "$(GUIBASE)"=="aqua"

View File

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

View File

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

View File

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