about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRicky Kresslein <ricky@unobserved.io>2023-10-15 11:24:09 +0200
committerRicky Kresslein <ricky@unobserved.io>2023-10-15 11:24:09 +0200
commit253ac65ef431b594e11b7f16c80bc53b8601d263 (patch)
tree40f053d2ef0ca15cf4b4c3fdf3f87fc5bf3180b4 /src
parenta0c26830cceb198fae24fd94c06f719fba01269b (diff)
downloadFurtherance-253ac65ef431b594e11b7f16c80bc53b8601d263.tar.zst
Update deprecated style context code
Diffstat (limited to 'src')
-rw-r--r--src/application.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application.rs b/src/application.rs
index f24258b..834f5f4 100644
--- a/src/application.rs
+++ b/src/application.rs
@@ -80,7 +80,7 @@ mod imp {
                 &css_file,
                 "/com/lakoliu/Furtherance/gtk/style.css",
             );
-            gtk::StyleContext::add_provider_for_display(
+            gtk::style_context_add_provider_for_display(
                 &gdk::Display::default().unwrap(),
                 &css_file,
                 500,