Undo use of Emacs_Pixmap over Pixmap for x_kill_gs_process

* src/dispextern.h (x_kill_gs_process):
* src/image.c (x_kill_gs_process): Undo use of Emacs_Pixmap over Pixmap.
* src/dispextern.h (x_kill_gs_process): Move extern inside HAVE_X_WINDOWS.
This commit is contained in:
YAMAMOTO Mitsuharu 2019-05-24 09:52:56 +09:00
parent 84a3da15e9
commit 5b6401b001
2 changed files with 2 additions and 2 deletions

View file

@ -3396,10 +3396,10 @@ extern void image_destroy_bitmap (struct frame *, ptrdiff_t);
extern void image_destroy_all_bitmaps (Display_Info *);
#ifdef HAVE_X_WINDOWS
extern void x_create_bitmap_mask (struct frame *, ptrdiff_t);
extern void x_kill_gs_process (Pixmap, struct frame *);
#endif
extern Lisp_Object image_find_image_file (Lisp_Object);
void x_kill_gs_process (Emacs_Pixmap, struct frame *);
struct image_cache *make_image_cache (void);
void free_image_cache (struct frame *);
void clear_image_caches (Lisp_Object);

View file

@ -9550,7 +9550,7 @@ gs_load (struct frame *f, struct image *img)
telling Emacs that Ghostscript has finished drawing. */
void
x_kill_gs_process (Emacs_Pixmap pixmap, struct frame *f)
x_kill_gs_process (Pixmap pixmap, struct frame *f)
{
struct image_cache *c = FRAME_IMAGE_CACHE (f);
ptrdiff_t i;