summaryrefslogtreecommitdiff
path: root/lisp/thumbs.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-06-12 03:56:20 +0000
committerGlenn Morris <rgm@gnu.org>2008-06-12 03:56:20 +0000
commitaa360da10dc1130e40bb82225ee8988a2465f38a (patch)
tree24fea572da73c841761a9d8d8d59645bfa61d926 /lisp/thumbs.el
parent1ad31f1bbae0aa9de6ff997803dcb4466b24e47d (diff)
downloademacs-aa360da10dc1130e40bb82225ee8988a2465f38a.tar.gz
Add some compiler declarations, for builds without X.
Diffstat (limited to 'lisp/thumbs.el')
-rw-r--r--lisp/thumbs.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/thumbs.el b/lisp/thumbs.el
index cf5ff79c484..bb62d4cf6a4 100644
--- a/lisp/thumbs.el
+++ b/lisp/thumbs.el
@@ -334,6 +334,8 @@ smaller according to whether INCREMENT is 1 or -1."
((string-match ".*\\.png\\'" img) 'png)
((string-match ".*\\.tiff?\\'" img) 'tiff)))
+(declare-function image-size "image.c" (spec &optional pixels frame))
+
(defun thumbs-file-size (img)
(let ((i (image-size
(find-image `((:type ,(thumbs-image-type img) :file ,img))) t)))