thanx, this does the trick.
but i still applied the first (fix) patch from Andy Piper, not the
second that is supposed to disable what color fix i don't know.
the result is funny: i get the background of the gutter to black (normal
with my setup) and the foreground to blue for the *scratch* , but then
if i load several files within the same gutter-group, only the first tab
had a fg of blue, all the others are fg white.
funny thing is that when i click on another gutter tab to visit another
buffer, thngs stay the same, then if i loose/gain focus on the XEmacs
frame, the tabs order change, putting the actual buffer as the first
tab, but the fg color still is the first tab.
not possible to have another tab with my foreground.
what face is it supposed to get the color from?
On Mon, Aug 30, 1999 at 06:49:32AM -0400, Olivier Galibert wrote:
On Mon, Aug 30, 1999 at 11:44:22AM +0200, Hrvoje Niksic wrote:
> To make things worse, not even your second patch cures the crash. The
> backtrace seems the same.
You can workaround it with:
Index: lwlib-Xaw.c
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/lwlib/lwlib-Xaw.c,v
retrieving revision 1.9.2.3
diff -u -r1.9.2.3 lwlib-Xaw.c
--- lwlib-Xaw.c 1999/08/29 20:57:18 1.9.2.3
+++ lwlib-Xaw.c 1999/08/30 10:48:06
@@ -149,7 +149,7 @@
else if (XtClass (widget) == labelWidgetClass)
{
Arg al [1];
- XtSetArg (al [0], XtNlabel, val->contents->value);
+ XtSetArg (al [0], XtNlabel, val->contents ? val->contents->value :
"<null>");
XtSetValues (widget, al, 1);
}
#endif /* LWLIB_WIDGETS_ATHENA */
Motif seems to be more NULL-proof.
OG.
--
# Stef Epardaud, # There is no limit to the power of computing ...
# Java Defeater # ... except men maybe ?
# Earth # Lunatech Research,
# Solar System # soon we will quit researching and start finding...