notebook: No need to recompute remaining space
The value is correct. In particular, subtracting width on notebooks with tabs on left/right is a very bad idea.
This commit is contained in:
@ -5525,7 +5525,6 @@ gtk_notebook_calculate_shown_tabs (GtkNotebook *notebook,
|
||||
*last_child = gtk_notebook_search_page (notebook, priv->focus_tab,
|
||||
STEP_NEXT, TRUE);
|
||||
page = priv->first_tab->data;
|
||||
*remaining_space = tab_space - page->requisition.width;
|
||||
*n = 1;
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user