• Benjamin Otte's avatar
    notebook: Compute tab width in a simpler way · edd2f24b
    Benjamin Otte authored
    This code should be more obvious: The check only needs to check for
    scrollable widgets, and only needs to compare to tab_width.
    As a side note, for vis_pages == 1, tab_width will be smaller than
    tab_max + stuff, so this code will not behave differently.
gtknotebook.c 257 KB