get rid of legacy libXaw usage
This commit is contained in:
@@ -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"
|
||||
|
@@ -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
|
||||
|
@@ -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"
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user