projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
051b463
)
notebook: Drop an unused variable
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 27 Apr 2023 11:41:16 +0000
(13:41 +0200)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 27 Apr 2023 11:42:03 +0000
(13:42 +0200)
gtk/gtknotebook.c
patch
|
blob
|
history
diff --git
a/gtk/gtknotebook.c
b/gtk/gtknotebook.c
index e546f541acf4a7070490e8ade8f89e040ef525c5..f0c84d8ed1ccc8c764cfb9074ffb0430c3f3daaa 100644
(file)
--- 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)++;