Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
109036:439784267ae2 | 109037:3e9a832a5533 |
---|---|
161 extern void xg_create_scroll_bar P_ ((FRAME_PTR f, | 161 extern void xg_create_scroll_bar P_ ((FRAME_PTR f, |
162 struct scroll_bar *bar, | 162 struct scroll_bar *bar, |
163 GCallback scroll_callback, | 163 GCallback scroll_callback, |
164 GCallback end_callback, | 164 GCallback end_callback, |
165 char *scroll_bar_name)); | 165 char *scroll_bar_name)); |
166 extern void xg_show_scroll_bar P_ ((int scrollbar_id)); | |
167 extern void xg_remove_scroll_bar P_ ((FRAME_PTR f, int scrollbar_id)); | 166 extern void xg_remove_scroll_bar P_ ((FRAME_PTR f, int scrollbar_id)); |
168 | 167 |
169 extern void xg_update_scrollbar_pos P_ ((FRAME_PTR f, | 168 extern void xg_update_scrollbar_pos P_ ((FRAME_PTR f, |
170 int scrollbar_id, | 169 int scrollbar_id, |
171 int top, | 170 int top, |