mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 12:31:25 +00:00
Fix image.c compilation when HAVE_GIF is not defined
* src/image.c (gif_clear_image): Make it available for other image types. (Bug#80266)
This commit is contained in:
parent
120a451c04
commit
3dbddb4497
1 changed files with 4 additions and 0 deletions
|
|
@ -9653,6 +9653,8 @@ static const struct image_keyword gif_format[GIF_LAST] =
|
|||
{":background", IMAGE_STRING_OR_NIL_VALUE, 0}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
/* Free X resources of GIF image IMG which is used on frame F.
|
||||
Also used by other image types. */
|
||||
|
||||
|
|
@ -9663,6 +9665,8 @@ gif_clear_image (struct frame *f, struct image *img)
|
|||
image_clear_image (f, img);
|
||||
}
|
||||
|
||||
#if defined (HAVE_GIF)
|
||||
|
||||
/* Return true if OBJECT is a valid GIF image specification. */
|
||||
|
||||
static bool
|
||||
|
|
|
|||
Loading…
Reference in a new issue