diff --git a/src/main.rs b/src/main.rs index 04bea8a..fc18bb1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -182,7 +182,11 @@ impl SimpleComponent for AppModel { fn load_css() { let provider = gtk::CssProvider::new(); provider.load_from_data(include_str!("../css/style.css")); - gtk::style_context_add_provider_for_display(&Display::default().expect("Could not connect to a display."), &provider, gtk::STYLE_PROVIDER_PRIORITY_APPLICATION); + gtk::style_context_add_provider_for_display( + &Display::default().expect("Could not connect to a display."), + &provider, + gtk::STYLE_PROVIDER_PRIORITY_APPLICATION, + ); } fn main() {