diff options
author | Federico Mena Quintero <federico@gnome.org> | 2022-11-11 10:23:33 -0600 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2022-11-11 10:23:33 -0600 |
commit | ff2d81a97415b33a4c0014b208860687d350dae9 (patch) | |
tree | 883b2e9116ea47380dd4df5cfdcf655b1c64d012 /registryd/deviceeventcontroller.h | |
parent | 90ed7a1bca5b49ea549b1ce2cd21d96a1dc9305b (diff) | |
download | at-spi2-core-ff2d81a97415b33a4c0014b208860687d350dae9.tar.gz |
spi_device_event_controller_start_poll_mouse() - take an SpiDEController, not a registry
This function was just extracting the registry->dec, but it's cleaner
if it doesn't peek at the registry's internals. Instead, the registry
can call this function with the DEC it already knows about.
Diffstat (limited to 'registryd/deviceeventcontroller.h')
-rw-r--r-- | registryd/deviceeventcontroller.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/registryd/deviceeventcontroller.h b/registryd/deviceeventcontroller.h index 09f7cc2b..8c35b6df 100644 --- a/registryd/deviceeventcontroller.h +++ b/registryd/deviceeventcontroller.h @@ -141,7 +141,7 @@ GType spi_device_event_controller_get_type (void); SpiDEController *spi_device_event_controller_new (SpiRegistry *registry, DBusConnection *bus); -void spi_device_event_controller_start_poll_mouse (SpiRegistry *registry); +void spi_device_event_controller_start_poll_mouse (SpiDEController *dec); void spi_device_event_controller_stop_poll_mouse (void); void spi_remove_device_listeners (SpiDEController *controller, const char *bus_name); |