diff options
author | Alan Third <alan@idiocy.org> | 2020-08-23 16:28:17 +0100 |
---|---|---|
committer | Alan Third <alan@idiocy.org> | 2020-08-23 16:28:17 +0100 |
commit | 8f42b94fe43911c6b0c7e519ba439d61459dc744 (patch) | |
tree | 4786e52acf27cf3a5262d8b283f1ed8ac1b073e6 /src/gtkutil.c | |
parent | 4aff89ece6d9ceee882375879518b71ca6a89a70 (diff) | |
download | emacs-8f42b94fe43911c6b0c7e519ba439d61459dc744.tar.gz |
Set basic SVG attributes (bug#40845)
* test/manual/image-transforms-tests.el: Replace hard-coded colors
with defaults.
* src/dispextern.h (struct image):
* src/image.c (search_image_cache):
(xbm_load_image):
(xbm_load):
(pbm_load): Rename from frame to face where relevant.
(svg_load_image): Parse the image to find out the size, then wrap it
in another SVG to set a new size and colors, etc.
(lookup_image): Use the face colors instead of the frame colors.
(search_image_cache): Add ability to ignore the face colors.
(uncache_image): Uncache all copies of the image that share the spec,
even if the face colors don't match.
* etc/NEWS: Describe the changes.
Diffstat (limited to 'src/gtkutil.c')
-rw-r--r-- | src/gtkutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtkutil.c b/src/gtkutil.c index 1fe160acca9..fafd94c0f71 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -5113,7 +5113,7 @@ update_frame_tool_bar (struct frame *f) else idx = -1; - img_id = lookup_image (f, image); + img_id = lookup_image (f, image, -1); img = IMAGE_FROM_ID (f, img_id); prepare_image_for_display (f, img); |