mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-20 11:33:09 -08:00
* xdisp.c (Ftool_bar_lines_needed): Declare as 'const' if ifdeffed out,
avoiding a GCC warning.
This commit is contained in:
parent
16471df352
commit
f5dacaaec0
2 changed files with 9 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2013-09-11 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* xdisp.c (Ftool_bar_lines_needed): Declare as 'const' if ifdeffed out,
|
||||
avoiding a GCC warning.
|
||||
|
||||
2013-09-11 Dmitry Antipov <dmantipov@yandex.ru>
|
||||
|
||||
Ifdef away frame tool bar code when it is not really used.
|
||||
|
|
|
|||
|
|
@ -11903,6 +11903,10 @@ tool_bar_lines_needed (struct frame *f, int *n_rows)
|
|||
|
||||
#endif /* !USE_GTK && !HAVE_NS */
|
||||
|
||||
#if defined USE_GTK || defined HAVE_NS
|
||||
EXFUN (Ftool_bar_lines_needed, 1) ATTRIBUTE_CONST;
|
||||
#endif
|
||||
|
||||
DEFUN ("tool-bar-lines-needed", Ftool_bar_lines_needed, Stool_bar_lines_needed,
|
||||
0, 1, 0,
|
||||
doc: /* Return the number of lines occupied by the tool bar of FRAME.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue