Mercurial > hg > xemacs-beta
diff lwlib/xlwtabs.c @ 4769:5460287a3327
Remove support for pre-X11R5 systems, including systems without Xmu. See
<870180fe0912091102j6fde7336hdc187608be0ef97@mail.gmail.com> in xemacs-patches.
author | Jerry James <james@xemacs.org> |
---|---|
date | Thu, 10 Dec 2009 12:42:09 -0700 |
parents | 726060ee587c |
children | a6c778975d7d |
line wrap: on
line diff
--- a/lwlib/xlwtabs.c Wed Dec 09 09:50:36 2009 -0700 +++ b/lwlib/xlwtabs.c Thu Dec 10 12:42:09 2009 -0700 @@ -71,12 +71,13 @@ #include <X11/Xlib.h> #include <X11/IntrinsicP.h> #include <X11/StringDefs.h> +#include <X11/Xmu/Drawing.h> +#include <X11/Xmu/Misc.h> /* #### This may be risky, lwlib-internal.h redefines abort() */ #include "lwlib-fonts.h" #include "lwlib-colors.h" #include "lwlib-internal.h" -#include "../src/xmu.h" #include "xlwtabsP.h" #include "xlwgcs.h" @@ -1570,9 +1571,7 @@ XtReleaseGC(w, tw->tabs.backgroundGC) ; XtReleaseGC(w, tw->tabs.topGC) ; XtReleaseGC(w, tw->tabs.botGC) ; -#ifdef HAVE_XMU XmuReleaseStippledPixmap(XtScreen(w), tw->tabs.grey50) ; -#endif } @@ -2481,7 +2480,6 @@ #else tw->tabs.font->fid; #endif -#ifdef HAVE_XMU if (tw->tabs.be_nice_to_cmap || w->core.depth == 1) { values.fill_style = FillStippled; @@ -2502,7 +2500,6 @@ GCDashList|GCArcMode); } else -#endif { tw->tabs.greyGC = XtAllocateGC(w, w->core.depth,