From e31b92f51d690a867212ad820b5f84081937e1bb Mon Sep 17 00:00:00 2001 From: Ryo Nakano Date: Sat, 31 Aug 2024 10:16:24 +0900 Subject: [PATCH] Terminal: Replace deprecated Gtk.Widget.get_style_context --- src/Widgets/Terminal.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Widgets/Terminal.vala b/src/Widgets/Terminal.vala index 7260ec8a7..12ee4547f 100644 --- a/src/Widgets/Terminal.vala +++ b/src/Widgets/Terminal.vala @@ -54,7 +54,7 @@ public class Installer.Terminal : Gtk.Box { hscrollbar_policy = NEVER, min_content_height = 120 }; - scrolled_window.get_style_context ().add_class (Granite.STYLE_CLASS_TERMINAL); + scrolled_window.add_css_class (Granite.STYLE_CLASS_TERMINAL); append (scrolled_window);