summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorMartin Rudalics <rudalics@gmx.at>2015-06-16 15:09:24 +0200
committerMartin Rudalics <rudalics@gmx.at>2015-06-16 15:09:24 +0200
commit93ae9f46e7947aeb2180e3b8a98b551fa143ba51 (patch)
tree39aebf3eddb597848c0e7375598fa7eb58e55fea /lisp/emacs-lisp
parent32a488344057f210b51f4618feb3a85799eef0c5 (diff)
downloademacs-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')
0 files changed, 0 insertions, 0 deletions