[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compile failure without window system
From: |
Eli Zaretskii |
Subject: |
Re: Compile failure without window system |
Date: |
Sun, 24 Feb 2002 10:12:58 +0200 (IST) |
On Fri, 22 Feb 2002, Stefan Monnier wrote:
>
> > + #ifdef HAVE_WINDOW_SYSTEM
> > if (clear_face_cache_count % 50 == 0
> > && FRAME_WINDOW_P (f))
> > clear_image_cache (f, 0);
> > + #endif /* HAVE_WINDOW_SYSTEM */
> >
> > /* Mark all the scroll bars to be removed; we'll redeem
> > the ones we want when we redisplay their windows. */
>
> IIUC, the error was that clear_image_cache does not exist if
> compiled without a window system. Wouldn't it be better to
> define a dummy clear_image_cache in that case, to keep the xdisp.c
> code a bit cleaner ?
I agree that a dummy version would be cleaner.