diff --git a/src/application.rs b/src/application.rs index 41cac65..a74191f 100644 --- a/src/application.rs +++ b/src/application.rs @@ -87,7 +87,7 @@ mod imp { // Load CSS from the STYLE variable. let provider = gtk::CssProvider::new(); provider.load_from_data(STYLE); - gtk::StyleContext::add_provider_for_display( + gtk::style_context_add_provider_for_display( >k::gdk::Display::default().expect("Error initializing gtk css provider."), &provider, gtk::STYLE_PROVIDER_PRIORITY_APPLICATION,