summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2023-04-27 13:41:16 +0200
committerMatthias Clasen <mclasen@redhat.com>2023-04-27 13:42:03 +0200
commitcc682a96d96f15b21ab09065b6abe4144fc378a6 (patch)
treea0271d6b1fd89c7278d4b4be4e237f0035776ccd /gtk
parent051b463c9a4d3724cb93b7aa1e84b48a1d40e399 (diff)
downloadgtk+-cc682a96d96f15b21ab09065b6abe4144fc378a6.tar.gz
notebook: Drop an unused variable
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtknotebook.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index e546f541ac..f0c84d8ed1 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -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)++;