Mercurial > emacs
comparison src/xfns.c @ 35819:74e2d9de2fc1
(x_set_tool_bar_lines): Do nothing If frame is
minibuffer-only,
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 01 Feb 2001 15:01:11 +0000 |
parents | 4f422aadd415 |
children | c9edddbb8dbf |
comparison
equal
deleted
inserted
replaced
35818:611c19933085 | 35819:74e2d9de2fc1 |
---|---|
2002 struct frame *f; | 2002 struct frame *f; |
2003 Lisp_Object value, oldval; | 2003 Lisp_Object value, oldval; |
2004 { | 2004 { |
2005 int delta, nlines, root_height; | 2005 int delta, nlines, root_height; |
2006 Lisp_Object root_window; | 2006 Lisp_Object root_window; |
2007 | |
2008 /* Treat tool bars like menu bars. */ | |
2009 if (FRAME_MINIBUF_ONLY_P (f)) | |
2010 return; | |
2007 | 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); |
2011 else | 2015 else |