summaryrefslogtreecommitdiff
path: root/lisp/faces.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2008-10-12 13:45:58 +0000
committerChong Yidong <cyd@stupidchicken.com>2008-10-12 13:45:58 +0000
commitc1461986d175cced4c180752aaaa56d1b466da3e (patch)
tree4b14333104e2b09db705aeef1c770e570e0682bf /lisp/faces.el
parente4779829b09ff2cfda7fc7fd49c3044f19f6701c (diff)
downloademacs-c1461986d175cced4c180752aaaa56d1b466da3e.tar.gz
(x-create-frame-with-faces): Don't call tool-bar-setup.
Diffstat (limited to 'lisp/faces.el')
-rw-r--r--lisp/faces.el5
1 files changed, 0 insertions, 5 deletions
diff --git a/lisp/faces.el b/lisp/faces.el
index 269a90972c0..4e4b926f4fd 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -1977,7 +1977,6 @@ Value is the new parameter list."
(declare-function x-create-frame "xfns.c" (parms))
(declare-function x-setup-function-keys "term/x-win" (frame))
-(declare-function tool-bar-setup "tool-bar" (&optional frame))
(defun x-create-frame-with-faces (&optional parameters)
"Create a frame from optional frame parameters PARAMETERS.
@@ -2004,10 +2003,6 @@ Value is the new frame created."
(x-handle-reverse-video frame parameters)
(frame-set-background-mode frame)
(face-set-after-frame-default frame parameters)
- ;; Make sure the tool-bar is ready to be enabled. The
- ;; `tool-bar-lines' frame parameter will not take effect
- ;; without this call.
- (tool-bar-setup frame)
(if (null visibility-spec)
(make-frame-visible frame)
(modify-frame-parameters frame (list visibility-spec)))