diff src/gtkutil.h @ 109037:3e9a832a5533

Hide scroll bar when window is too small to avoid Gtk+ warning. * gtkutil.c (xg_update_scrollbar_pos): Show/hide scroll bar as needed if height is less than scroll bar min size. (xg_show_scroll_bar): Remove, show moved to xg_update_scrollbar_pos. * gtkutil.h (xg_show_scroll_bar): : Remove. * xterm.c (x_scroll_bar_create): Remove call to xg_show_scroll_bar.
author Jan D. <jan.h.d@swipnet.se>
date Tue, 22 Jun 2010 14:28:08 +0200
parents 1d1d5d9bd884
children b5f73bf59a4f
line wrap: on
line diff
--- a/src/gtkutil.h	Tue Jun 22 01:10:26 2010 -0700
+++ b/src/gtkutil.h	Tue Jun 22 14:28:08 2010 +0200
@@ -163,7 +163,6 @@
                                       GCallback scroll_callback,
                                       GCallback end_callback,
                                       char *scroll_bar_name));
-extern void xg_show_scroll_bar P_ ((int scrollbar_id));
 extern void xg_remove_scroll_bar P_ ((FRAME_PTR f, int scrollbar_id));
 
 extern void xg_update_scrollbar_pos P_ ((FRAME_PTR f,