summaryrefslogtreecommitdiff
path: root/src/image.c
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-03-08 15:19:37 +0800
committerPo Lu <luangruo@yahoo.com>2022-03-08 15:19:37 +0800
commit212aa7748bab6621453136d1d5df1ef76f5c3194 (patch)
tree9a9cddb16e21aeac3835e72d192ef1c5e1679a76 /src/image.c
parent39a2eb04f3f2e2b91192e3553e5366ca4d676370 (diff)
downloademacs-212aa7748bab6621453136d1d5df1ef76f5c3194.tar.gz
emacs-212aa7748bab6621453136d1d5df1ef76f5c3194.tar.bz2
emacs-212aa7748bab6621453136d1d5df1ef76f5c3194.zip
Fix more uses of opaque Visual structure
* src/image.c (x_kill_gs_process): * src/xfaces.c (x_free_colors): (x_free_dpy_colors): * src/xfns.c (Fxw_display_color_p): (Fx_display_grayscale_p): (Fx_display_visual_class): * src/xterm.c (x_copy_color): * src/xterm.h (x_mutable_colormap): Stop using private fields of Visual.
Diffstat (limited to 'src/image.c')
-rw-r--r--src/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image.c b/src/image.c
index e2ba744e0a3..c412dc90296 100644
--- a/src/image.c
+++ b/src/image.c
@@ -11160,7 +11160,7 @@ x_kill_gs_process (Pixmap pixmap, struct frame *f)
/* On displays with a mutable colormap, figure out the colors
allocated for the image by looking at the pixels of an XImage for
img->pixmap. */
- if (x_mutable_colormap (FRAME_X_VISUAL (f)))
+ if (x_mutable_colormap (FRAME_X_VISUAL_INFO (f)))
{
XImage *ximg;