From 5aafc228b66981c385583b88b7f70f19ac3b3915 Mon Sep 17 00:00:00 2001 From: Joshua Peisach Date: Fri, 20 Oct 2023 14:33:45 -0400 Subject: [PATCH] Use style_context_add_provider_for_display fix deprecation --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index a9b068c..68cb6df 100644 --- a/src/main.rs +++ b/src/main.rs @@ -162,7 +162,7 @@ fn build_ui(app: &Application, default_symbol: Option) { ", ); - StyleContext::add_provider_for_display( + style_context_add_provider_for_display( &Display::default().unwrap(), &css_provider, STYLE_PROVIDER_PRIORITY_APPLICATION,