change setting global css to remove deprication warning

This commit is contained in:
2024-07-23 12:18:35 +02:00
parent 81a0099663
commit 3b9efb6963

View File

@@ -63,6 +63,6 @@ fn main() {
gio::ResourceLookupFlags::NONE,
)
.unwrap();
app.set_global_css(&glib::GString::from_utf8_checked(data.to_vec()).unwrap());
relm4::set_global_css(&glib::GString::from_utf8_checked(data.to_vec()).unwrap());
app.visible_on_activate(false).run::<App>(());
}