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:
Benjamin Otte
2016-01-07 12:21:25 +01:00
parent 4c083f8182
commit 2ef3b01442

View File

@ -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