projects
/
gtk+3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
494d8f3
)
notebook: redraw arrows after closing a tab
author
Michael Catanzaro
<mcatanzaro@gnome.org>
Sat, 21 Jan 2017 02:19:56 +0000
(20:19 -0600)
committer
Michael Catanzaro
<mcatanzaro@gnome.org>
Sat, 4 Feb 2017 18:54:12 +0000
(12:54 -0600)
Thanks to Daniel Boles for helping with a crash in an earlier version of
this patch.
https://bugzilla.gnome.org/show_bug.cgi?id=777547
gtk/gtknotebook.c
patch
|
blob
|
history
diff --git
a/gtk/gtknotebook.c
b/gtk/gtknotebook.c
index cc0cae0ae07f09a25dd2fceebe758a34281b999b..2208a7ff9850bb566a3e757370950049a64f3dd0 100644
(file)
--- a/
gtk/gtknotebook.c
+++ b/
gtk/gtknotebook.c
@@
-5097,6
+5097,8
@@
gtk_notebook_real_remove (GtkNotebook *notebook,
gtk_notebook_update_labels (notebook);
if (need_resize)
gtk_widget_queue_resize (GTK_WIDGET (notebook));
+ if (!destroying && priv->scrollable)
+ gtk_notebook_redraw_arrows (notebook);
}
static void