diff --git a/src/app/components/headerbar/widget.rs b/src/app/components/headerbar/widget.rs index d541b085..47a3c0b5 100644 --- a/src/app/components/headerbar/widget.rs +++ b/src/app/components/headerbar/widget.rs @@ -155,13 +155,13 @@ impl HeaderBarWidget { pub fn add_classes(&self, classes: &[&str]) { for &class in classes { - self.add_css_class(class); + self.imp().main_header.add_css_class(class); } } pub fn remove_classes(&self, classes: &[&str]) { for &class in classes { - self.remove_css_class(class); + self.imp().main_header.remove_css_class(class); } }