• Jan Djärv's avatar
    Hide scroll bar when window is too small to avoid Gtk+ warning. · bc869eca
    Jan Djärv authored
    * 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.
    bc869eca
gtkutil.h 7.32 KB