mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +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 */
|
else /* !show_arrows */
|
||||||
{
|
{
|
||||||
GtkOrientation tab_expand_orientation;
|
GtkOrientation tab_expand_orientation;
|
||||||
int c = 0;
|
|
||||||
*n = 0;
|
*n = 0;
|
||||||
|
|
||||||
if (notebook->tab_pos == GTK_POS_TOP || notebook->tab_pos == GTK_POS_BOTTOM)
|
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))
|
!gtk_widget_get_visible (page->child))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
c++;
|
|
||||||
|
|
||||||
if (page->expand ||
|
if (page->expand ||
|
||||||
(gtk_widget_compute_expand (page->tab_label, tab_expand_orientation)))
|
(gtk_widget_compute_expand (page->tab_label, tab_expand_orientation)))
|
||||||
(*n)++;
|
(*n)++;
|
||||||
|
Loading…
Reference in New Issue
Block a user