Commit f5eb1d84 authored by YAMAMOTO Mitsuharu's avatar YAMAMOTO Mitsuharu
Browse files

(mac_set_scroll_bar_width, mac_frame_parm_handlers):

Undo 2006-03-06 changes.
parent d9d7b298
......@@ -1909,24 +1909,6 @@ x_set_scroll_bar_default_width (f)
#endif /* not MAC_OSX */
}
void
mac_set_scroll_bar_width (f, arg, oldval)
struct frame *f;
Lisp_Object arg, oldval;
{
#ifdef MAC_OSX
if (INTEGERP (arg) && XINT (arg) > 0)
{
if (XINT (arg) < (MAC_AQUA_SMALL_VERTICAL_SCROLL_BAR_WIDTH
+ MAC_AQUA_VERTICAL_SCROLL_BAR_WIDTH) / 2)
XSETINT (arg, MAC_AQUA_SMALL_VERTICAL_SCROLL_BAR_WIDTH);
else
XSETINT (arg, MAC_AQUA_VERTICAL_SCROLL_BAR_WIDTH);
}
#endif
x_set_scroll_bar_width (f, arg, oldval);
}
static void
mac_set_font (f, arg, oldval)
struct frame *f;
......@@ -4677,7 +4659,7 @@ frame_parm_handler mac_frame_parm_handlers[] =
x_set_menu_bar_lines,
x_set_mouse_color,
x_explicitly_set_name,
mac_set_scroll_bar_width,
x_set_scroll_bar_width,
x_set_title,
x_set_unsplittable,
x_set_vertical_scroll_bars,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment