mirror of
https://github.com/13hannes11/toolbx-tuner.git
synced 2024-09-03 23:21:00 +02:00
change setting global css to remove deprication warning
This commit is contained in:
@@ -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>(());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user