summaryrefslogtreecommitdiff
path: root/lisp/tool-bar.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/tool-bar.el')
-rw-r--r--lisp/tool-bar.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/tool-bar.el b/lisp/tool-bar.el
index c47cab0af40..14cbc57f029 100644
--- a/lisp/tool-bar.el
+++ b/lisp/tool-bar.el
@@ -88,6 +88,8 @@ Define this locally to override the global tool bar.")
'(menu-item "tool bar" ignore
:filter tool-bar-make-keymap))
+(declare-function image-mask-p "image.c" (spec &optional frame))
+
(defun tool-bar-make-keymap (&optional ignore)
"Generate an actual keymap from `tool-bar-map'.
Its main job is to figure out which images to use based on the display's