On Wed, 02 Aug 2000 13:56:25 -0700, Steve Olson wrote:

>Similar to the leak in TextOut.
>
>*** lib/Xm/TextF.c.orig Wed Aug  2 11:36:46 2000
>--- lib/Xm/TextF.c      Wed Aug  2 16:38:14 2000
>***************
[...]
>!     if (TextF_DrawGC(w)) {
>! #ifdef USE_SHARED_GC
>        XtReleaseGC((Widget)w, TextF_DrawGC(w));
>+ #else
>+       XFreeGC(XtDisplay(w), TextF_DrawGC(w));
>+ #endif

Hmm, another of those "useless" #defines:
Unconditionally TextF.c features
#undef  USE_SHARED_GC
#undef  USE_AVERAGE_WIDTH

According to CVS these are "ancient", being from version 1.1 ...
Time to get rid of?

---
Alexander Mai
[EMAIL PROTECTED]


Reply via email to