mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-04 19:10:37 -08:00
* xfns.c (x_default_scroll_bar_color_parameter):
Use USE_LOCAL_ALLOCA only if USE_TOOLKIT_SCROLL_BARS, to pacify --enable-gcc-warnings in non-scrollbar builds.
This commit is contained in:
parent
c575c0509a
commit
1f9f052c6d
2 changed files with 8 additions and 0 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* xfns.c (x_default_scroll_bar_color_parameter):
|
||||
Use USE_LOCAL_ALLOCA only if USE_TOOLKIT_SCROLL_BARS,
|
||||
to pacify --enable-gcc-warnings in non-scrollbar builds.
|
||||
|
||||
2014-09-26 Ken Brown <kbrown@cornell.edu>
|
||||
|
||||
* w32term.h (ALIGN_STACK): Fix the cpp condition.
|
||||
|
|
|
|||
|
|
@ -1559,7 +1559,9 @@ x_default_scroll_bar_color_parameter (struct frame *f,
|
|||
const char *xprop, const char *xclass,
|
||||
int foreground_p)
|
||||
{
|
||||
#ifdef USE_TOOLKIT_SCROLL_BARS
|
||||
USE_LOCAL_ALLOCA;
|
||||
#endif
|
||||
struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f);
|
||||
Lisp_Object tem;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue