Skip to content

Commit

Permalink
Use style_context_add_provider_for_display
Browse files Browse the repository at this point in the history
fix deprecation
  • Loading branch information
ItzSwirlz committed Oct 20, 2023
1 parent aa629f5 commit 5aafc22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ fn build_ui(app: &Application, default_symbol: Option<String>) {
",
);

StyleContext::add_provider_for_display(
style_context_add_provider_for_display(
&Display::default().unwrap(),
&css_provider,
STYLE_PROVIDER_PRIORITY_APPLICATION,
Expand Down

0 comments on commit 5aafc22

Please sign in to comment.