aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2001-02-01 15:01:11 +0000
committerGerd Moellmann2001-02-01 15:01:11 +0000
commite870b7bad67991399582acba18416b45d40d0d26 (patch)
tree84be4bcea35bab903b6c4ea7ec133c7d3548a8ee /src
parente86b51338dcf074a6d48e20a9415fef48ac1818d (diff)
downloademacs-e870b7bad67991399582acba18416b45d40d0d26.tar.gz
emacs-e870b7bad67991399582acba18416b45d40d0d26.zip
(x_set_tool_bar_lines): Do nothing If frame is
minibuffer-only,
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c
index e8572a33bf3..7e10d67085f 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -2005,6 +2005,10 @@ x_set_tool_bar_lines (f, value, oldval)
2005 int delta, nlines, root_height; 2005 int delta, nlines, root_height;
2006 Lisp_Object root_window; 2006 Lisp_Object root_window;
2007 2007
2008 /* Treat tool bars like menu bars. */
2009 if (FRAME_MINIBUF_ONLY_P (f))
2010 return;
2011
2008 /* Use VALUE only if an integer >= 0. */ 2012 /* Use VALUE only if an integer >= 0. */
2009 if (INTEGERP (value) && XINT (value) >= 0) 2013 if (INTEGERP (value) && XINT (value) >= 0)
2010 nlines = XFASTINT (value); 2014 nlines = XFASTINT (value);