changeset 76370:14f1f51f8e2b

(mac_set_scroll_bar_width, mac_frame_parm_handlers): Undo 2006-03-06 changes.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Wed, 07 Mar 2007 08:13:28 +0000
parents 488516b0de0a
children fc4f77227fc8
files src/macfns.c
diffstat 1 files changed, 1 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/src/macfns.c	Wed Mar 07 02:13:26 2007 +0000
+++ b/src/macfns.c	Wed Mar 07 08:13:28 2007 +0000
@@ -1909,24 +1909,6 @@
 #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 @@
   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,