diff options
| author | Gerd Moellmann | 2001-02-01 15:01:11 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-02-01 15:01:11 +0000 |
| commit | e870b7bad67991399582acba18416b45d40d0d26 (patch) | |
| tree | 84be4bcea35bab903b6c4ea7ec133c7d3548a8ee /src | |
| parent | e86b51338dcf074a6d48e20a9415fef48ac1818d (diff) | |
| download | emacs-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.c | 4 |
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); |