gizmo: Chain up in css_changed

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 39f72b3834.
This commit is contained in:
Matthias Clasen 2021-02-15 14:26:52 -05:00
parent 2ac5c3282f
commit bb0a1b0cfe

View File

@ -88,6 +88,8 @@ gtk_gizmo_css_changed (GtkWidget *widget,
{ {
GtkGizmo *self = GTK_GIZMO (widget); GtkGizmo *self = GTK_GIZMO (widget);
GTK_WIDGET_CLASS (gtk_gizmo_parent_class)->css_changed (widget, change);
if (self->css_changed_func) if (self->css_changed_func)
self->css_changed_func (self, change); self->css_changed_func (self, change);
} }