From 21830fd02fd0e7f787f8f862066c54e42d272d95 Mon Sep 17 00:00:00 2001 From: Tait Hoyem Date: Thu, 27 Jun 2024 09:30:26 -0600 Subject: [PATCH] Use Action struct in proxy --- atspi-proxies/src/action.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/atspi-proxies/src/action.rs b/atspi-proxies/src/action.rs index a22a0160..c7241173 100644 --- a/atspi-proxies/src/action.rs +++ b/atspi-proxies/src/action.rs @@ -17,6 +17,8 @@ //! [TextProxy]: crate::text::TextProxy //! [ValueProxy]: crate::value::ValueProxy +use atspi_common::Action; + /// A handle for a remote object implementing the `org.a11y.atspi.Action` /// interface. /// @@ -60,7 +62,7 @@ trait Action { /// [`get_key_binding`]: ActionProxy#method.get_key_binding /// [`get_localized_name`]: ActionProxy#method.get_localized_name /// [`get_description`]: ActionProxy#method.get_description - fn get_actions(&self) -> zbus::Result>; + fn get_actions(&self) -> zbus::Result>; /// Returns the localized description for the action at the specified /// index, starting at zero.