diff --git a/rog-core/src/rog_dbus.rs b/rog-core/src/rog_dbus.rs index 6e88e4c2..b1b2f94b 100644 --- a/rog-core/src/rog_dbus.rs +++ b/rog-core/src/rog_dbus.rs @@ -78,7 +78,7 @@ pub(super) fn dbus_create_ledeffect_method(effect: NestedVecType) -> Method Method, _>("bytearray9") .inarg::, _>("bytearray10") .inarg::, _>("bytearray11") + .annotate("org.freedesktop.DBus.Method.NoReply", "true") } pub(super) fn dbus_create_animatrix_method(effect: NestedVecType) -> Method { @@ -107,7 +108,7 @@ pub(super) fn dbus_create_animatrix_method(effect: NestedVecType) -> Method> = vec![iter.read()?, iter.read()?]; *lock = Some(byte_array); - Ok(vec!(m.msg.method_return())) + Ok(vec![]) } else { Err(MethodErr::failed("Could not lock daemon for access")) } @@ -115,6 +116,7 @@ pub(super) fn dbus_create_animatrix_method(effect: NestedVecType) -> Method, _>("bytearray1") .inarg::, _>("bytearray2") + .annotate("org.freedesktop.DBus.Method.NoReply", "true") } pub(super) fn dbus_create_fan_mode_method(fan_mode: FanModeType) -> Method {