]> git.eshelyaron.com Git - emacs.git/commit
Hide scroll bar when window is too small to avoid Gtk+ warning.
authorJan Djärv <jan.h.d@swipnet.se>
Tue, 22 Jun 2010 12:28:08 +0000 (14:28 +0200)
committerJan Djärv <jan.h.d@swipnet.se>
Tue, 22 Jun 2010 12:28:08 +0000 (14:28 +0200)
commitbc869eca8c91810c66ead464b57630ccebabaf29
treec345294f2385789af92fed61909430dfecd1aeef
parent6555773f3fa4f997c58c85dc1160afee875ad31d
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.
src/ChangeLog
src/gtkutil.c
src/gtkutil.h
src/xterm.c