mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-01-22 09:23:19 +01:00
Fix: avoid using deprecated functions
This commit is contained in:
@@ -170,7 +170,7 @@ pub fn init_tray(_supported_properties: Vec<Properties>, config: Arc<Mutex<Confi
|
||||
|
||||
// TODO: return an error to the UI
|
||||
let mut tray;
|
||||
match tray_init.spawn_without_dbus_name().await {
|
||||
match tray_init.disable_dbus_name(true).spawn().await {
|
||||
Ok(t) => tray = t,
|
||||
Err(e) => {
|
||||
log::error!(
|
||||
|
||||
Reference in New Issue
Block a user