diff options
author | Martin Rudalics <rudalics@gmx.at> | 2015-06-16 15:09:24 +0200 |
---|---|---|
committer | Martin Rudalics <rudalics@gmx.at> | 2015-06-16 15:09:24 +0200 |
commit | 93ae9f46e7947aeb2180e3b8a98b551fa143ba51 (patch) | |
tree | 39aebf3eddb597848c0e7375598fa7eb58e55fea /lisp/emacs-lisp/package.el | |
parent | 32a488344057f210b51f4618feb3a85799eef0c5 (diff) | |
download | emacs-93ae9f46e7947aeb2180e3b8a98b551fa143ba51.tar.gz emacs-93ae9f46e7947aeb2180e3b8a98b551fa143ba51.tar.bz2 emacs-93ae9f46e7947aeb2180e3b8a98b551fa143ba51.zip |
Fix handling of image cache refcounts. (Bug#20802)
This backports Eli Zaretskii's solution of this problem for W32
to X and NS.
* src/nsfns.m (image_cache_refcount): Define unconditionally.
(unwind_create_frame): If the image cache's reference count
hasn't been updated yet, do that now.
(Fx_create_frame): Set image_cache_refcount unconditionally.
* src/xfns.c (image_cache_refcount): Define unconditionally.
(unwind_create_frame): If the image cache's reference count
hasn't been updated yet, do that now.
(Fx_create_frame, x_create_tip_frame): Set image_cache_refcount
unconditionally.
* src/w32fns.c (image_cache_refcount): Make it a ptrdiff_t as on
X and NS.
Diffstat (limited to 'lisp/emacs-lisp/package.el')
0 files changed, 0 insertions, 0 deletions