diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-07-14 20:07:37 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-07-14 20:07:37 +0200 |
commit | 90f8c8400f88939208ae372287100caa46a5d31c (patch) | |
tree | 2712d383e1455f75c22b12f1db6a6833a9a4c58e /src/alloc.c | |
parent | 0ce216b38fbf10ba94955d7a9789b16c95130a9a (diff) | |
download | emacs-90f8c8400f88939208ae372287100caa46a5d31c.tar.gz |
Fix --without-x build after previous image cache changes
* src/alloc.c (garbage_collect): Fix --without-all --without-x build.
Diffstat (limited to 'src/alloc.c')
-rw-r--r-- | src/alloc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c index 69fee0d6002..6e166d00d5b 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -6266,8 +6266,10 @@ garbage_collect (void) /* GC is complete: now we can run our finalizer callbacks. */ run_finalizers (&doomed_finalizers); +#ifdef HAVE_WINDOW_SYSTEM /* Eject unused image cache entries. */ image_prune_animation_caches (false); +#endif if (!NILP (Vpost_gc_hook)) { |