From 106d867634fa8f45fe7387f78b74d54c1023133d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Mon, 10 Jul 2023 19:33:13 +0200 Subject: [PATCH] modem/introspect: Change default service for the dbus traits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- src/modem/introspect.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modem/introspect.rs b/src/modem/introspect.rs index b2dec81..4cf900a 100644 --- a/src/modem/introspect.rs +++ b/src/modem/introspect.rs @@ -12,6 +12,7 @@ use zbus::dbus_proxy; #[dbus_proxy( interface = "org.freedesktop.ModemManager1.Modem.Messaging", + default_service = "org.freedesktop.ModemManager1", assume_defaults = true )] trait Messaging { @@ -50,6 +51,7 @@ trait Messaging { #[dbus_proxy( interface = "org.freedesktop.ModemManager1.Modem", + default_service = "org.freedesktop.ModemManager1", assume_defaults = true )] trait Modem { @@ -245,6 +247,7 @@ trait Modem { #[dbus_proxy( interface = "org.freedesktop.ModemManager1.Modem.Simple", + default_service = "org.freedesktop.ModemManager1", assume_defaults = true )] trait Simple { @@ -265,6 +268,7 @@ trait Simple { #[dbus_proxy( interface = "org.freedesktop.ModemManager1.Modem.Voice", + default_service = "org.freedesktop.ModemManager1", assume_defaults = true )] trait Voice {