projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ac5c32
)
gizmo: Chain up in css_changed
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 15 Feb 2021 19:26:52 +0000
(14:26 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 15 Feb 2021 19:26:52 +0000
(14:26 -0500)
css_changed is a vfunc that *must* chain up.
Failure to do so broke the resizing of overlay scrollbars,
amongst other things.
This bug was introduced in
39f72b38341d2ff2d67
.
gtk/gtkgizmo.c
patch
|
blob
|
history
diff --git
a/gtk/gtkgizmo.c
b/gtk/gtkgizmo.c
index 45b23b20ebe36932fcf4a818e76a201634a681c6..d1af37aa65364e50e46e7084a701091fe08442a5 100644
(file)
--- a/
gtk/gtkgizmo.c
+++ b/
gtk/gtkgizmo.c
@@
-88,6
+88,8
@@
gtk_gizmo_css_changed (GtkWidget *widget,
{
GtkGizmo *self = GTK_GIZMO (widget);
+ GTK_WIDGET_CLASS (gtk_gizmo_parent_class)->css_changed (widget, change);
+
if (self->css_changed_func)
self->css_changed_func (self, change);
}