mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-19 21:40:22 +00:00
notebook: Drop an unused variable
This commit is contained in:
parent
051b463c9a
commit
cc682a96d9
@ -4902,7 +4902,6 @@ gtk_notebook_calculate_shown_tabs (GtkNotebook *notebook,
|
||||
else /* !show_arrows */
|
||||
{
|
||||
GtkOrientation tab_expand_orientation;
|
||||
int c = 0;
|
||||
*n = 0;
|
||||
|
||||
if (notebook->tab_pos == GTK_POS_TOP || notebook->tab_pos == GTK_POS_BOTTOM)
|
||||
@ -4927,8 +4926,6 @@ gtk_notebook_calculate_shown_tabs (GtkNotebook *notebook,
|
||||
!gtk_widget_get_visible (page->child))
|
||||
continue;
|
||||
|
||||
c++;
|
||||
|
||||
if (page->expand ||
|
||||
(gtk_widget_compute_expand (page->tab_label, tab_expand_orientation)))
|
||||
(*n)++;
|
||||
|
Loading…
Reference in New Issue
Block a user