Fix minor problems found by static checking.
* dispextern.h, xdisp.c (x_draw_bottom_divider): Now static. * frame.c (set_frame_param) [!HAVE_NTGUI]: Remove. * xdisp.c (Ftool_bar_height) [USE_GTK || HAVE_NS]: Now const function.
This commit is contained in:
parent
1f6e1bb000
commit
75b09539a4
4 changed files with 12 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2013-12-01 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
Fix minor problems found by static checking.
|
||||
* dispextern.h, xdisp.c (x_draw_bottom_divider): Now static.
|
||||
* frame.c (set_frame_param) [!HAVE_NTGUI]: Remove.
|
||||
* xdisp.c (Ftool_bar_height) [USE_GTK || HAVE_NS]: Now const function.
|
||||
|
||||
2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
|
||||
|
||||
* image.c (imagemagick_compute_animated_image): Don't crash if we
|
||||
|
|
|
@ -3255,7 +3255,6 @@ extern void x_update_cursor (struct frame *, bool);
|
|||
extern void x_clear_cursor (struct window *);
|
||||
extern void x_draw_vertical_border (struct window *w);
|
||||
extern void x_draw_right_divider (struct window *w);
|
||||
extern void x_draw_bottom_divider (struct window *w);
|
||||
|
||||
extern int get_glyph_string_clip_rects (struct glyph_string *,
|
||||
NativeRectangle *, int);
|
||||
|
|
|
@ -2027,6 +2027,7 @@ set_term_frame_name (struct frame *f, Lisp_Object name)
|
|||
update_mode_lines = 16;
|
||||
}
|
||||
|
||||
#ifdef HAVE_NTGUI
|
||||
void
|
||||
set_frame_param (struct frame *f, Lisp_Object prop, Lisp_Object val)
|
||||
{
|
||||
|
@ -2038,6 +2039,7 @@ set_frame_param (struct frame *f, Lisp_Object prop, Lisp_Object val)
|
|||
else
|
||||
Fsetcdr (old_alist_elt, val);
|
||||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
store_frame_param (struct frame *f, Lisp_Object prop, Lisp_Object val)
|
||||
|
|
|
@ -970,6 +970,7 @@ static int in_ellipses_for_invisible_text_p (struct display_pos *,
|
|||
static void x_consider_frame_title (Lisp_Object);
|
||||
static void update_tool_bar (struct frame *, int);
|
||||
static int redisplay_tool_bar (struct frame *);
|
||||
static void x_draw_bottom_divider (struct window *w);
|
||||
static void notice_overwritten_cursor (struct window *,
|
||||
enum glyph_row_area,
|
||||
int, int, int, int);
|
||||
|
@ -12097,6 +12098,7 @@ tool_bar_height (struct frame *f, int *n_rows, bool pixelwise)
|
|||
#endif /* !USE_GTK && !HAVE_NS */
|
||||
|
||||
#if defined USE_GTK || defined HAVE_NS
|
||||
EXFUN (Ftool_bar_height, 2) ATTRIBUTE_CONST;
|
||||
EXFUN (Ftool_bar_lines_needed, 1) ATTRIBUTE_CONST;
|
||||
#endif
|
||||
|
||||
|
@ -29118,7 +29120,7 @@ x_draw_right_divider (struct window *w)
|
|||
}
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
x_draw_bottom_divider (struct window *w)
|
||||
{
|
||||
struct frame *f = XFRAME (WINDOW_FRAME (w));
|
||||
|
|
Loading…
Add table
Reference in a new issue