From 543be8982ad70910fc0cedabfcdc19447bb6b976 Mon Sep 17 00:00:00 2001 From: "blizzard@redhat.com" Date: Fri, 28 May 1999 04:13:29 +0000 Subject: [PATCH] move global xlib symbols, fix hard coded toolkit name in makefile --- widget/src/xlib/nsAppShell.cpp | 25 ------------------------- widget/tests/widget/Makefile.in | 2 +- 2 files changed, 1 insertion(+), 26 deletions(-) diff --git a/widget/src/xlib/nsAppShell.cpp b/widget/src/xlib/nsAppShell.cpp index 157e5e77bafa..47c8952093f4 100644 --- a/widget/src/xlib/nsAppShell.cpp +++ b/widget/src/xlib/nsAppShell.cpp @@ -25,31 +25,6 @@ #include "nsIServiceManager.h" #include "nsITimer.h" -Display *gDisplay; -Screen *gScreen; -int gScreenNum; -int gDepth; -Visual *gVisual; -XVisualInfo *gVisualInfo; - -PRUint32 gRedZeroMask; //red color mask in zero position -PRUint32 gGreenZeroMask; //green color mask in zero position -PRUint32 gBlueZeroMask; //blue color mask in zero position -PRUint32 gAlphaZeroMask; //alpha data mask in zero position -PRUint32 gRedMask; //red color mask -PRUint32 gGreenMask; //green color mask -PRUint32 gBlueMask; //blue color mask -PRUint32 gAlphaMask; //alpha data mask -PRUint8 gRedCount; //number of red color bits -PRUint8 gGreenCount; //number of green color bits -PRUint8 gBlueCount; //number of blue color bits -PRUint8 gAlphaCount; //number of alpha data bits -PRUint8 gRedShift; //number to shift value into red position -PRUint8 gGreenShift; //number to shift value into green position -PRUint8 gBlueShift; //number to shift value into blue position -PRUint8 gAlphaShift; //number to shift value into alpha position - - static PRUint8 convertMaskToCount(unsigned long val); static PRUint8 getShiftForMask(unsigned long val); diff --git a/widget/tests/widget/Makefile.in b/widget/tests/widget/Makefile.in index 337d3d738f99..292f2967e88f 100644 --- a/widget/tests/widget/Makefile.in +++ b/widget/tests/widget/Makefile.in @@ -65,7 +65,7 @@ LIBS := \ -lreg \ -l$(MOZ_LIB_JS_PREFIX)js \ -lwidget$(MOZ_TOOLKIT) \ - -lgfxgtk \ + -lgfx$(MOZ_TOOLKIT) \ -lraptorgfx \ -lgfxps \ -lxp \