mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-03 08:30:09 +00:00
; Fix warnings in --without-x build
* lisp/image/image-crop.el (image-scaling-factor) (image-property, image-size, imagep): * test/src/image-tests.el (image-size, image-mask-p) (image-metadata): Declare.
This commit is contained in:
parent
b306bc5e6d
commit
8557ecca53
@ -31,6 +31,11 @@
|
||||
(require 'text-property-search)
|
||||
(eval-when-compile (require 'subr-x))
|
||||
|
||||
(defvar image-scaling-factor)
|
||||
(declare-function image-property "image.el" (image property))
|
||||
(declare-function image-size "image.c" (spec &optional pixels frame))
|
||||
(declare-function imagep "image.c" (spec))
|
||||
|
||||
(defgroup image-crop ()
|
||||
"Image cropping."
|
||||
:group 'image)
|
||||
|
@ -23,6 +23,10 @@
|
||||
|
||||
(require 'ert)
|
||||
|
||||
(declare-function image-size "image.c" (spec &optional pixels frame))
|
||||
(declare-function image-mask-p "image.c" (spec &optional frame))
|
||||
(declare-function image-metadata "image.c" (spec &optional frame))
|
||||
|
||||
(defconst image-tests--images
|
||||
`((gif . ,(expand-file-name "test/data/image/black.gif"
|
||||
source-directory))
|
||||
|
Loading…
Reference in New Issue
Block a user