summaryrefslogtreecommitdiff
path: root/registryd/deviceeventcontroller.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2022-12-05 16:32:35 -0600
committerFederico Mena Quintero <federico@gnome.org>2022-12-05 16:32:35 -0600
commite6e91a6eada3024db8eec1e11cdde91f8b41c819 (patch)
tree6e4262484e8c6be9d30f6a46a82877033fff8b44 /registryd/deviceeventcontroller.h
parent29b542ae788aa8c444cd898e36ac5effcc49b6a4 (diff)
downloadat-spi2-core-e6e91a6eada3024db8eec1e11cdde91f8b41c819.tar.gz
spi_controller_notify_mouselisteners(): Remove
This function immediately returns FALSE if there are no controller->mouse_listeners. The only place that ever added to the controller->mouse_listeners list was spi_controller_register_device_listener(), which we removed in the last commit. So, remove the function altogether and make the two callers do as if it just returned FALSE.
Diffstat (limited to 'registryd/deviceeventcontroller.h')
-rw-r--r--registryd/deviceeventcontroller.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/registryd/deviceeventcontroller.h b/registryd/deviceeventcontroller.h
index 53b17da1..100d2e90 100644
--- a/registryd/deviceeventcontroller.h
+++ b/registryd/deviceeventcontroller.h
@@ -149,10 +149,6 @@ void spi_remove_device_listeners (SpiDEController *controller, const char *bus_n
SpiDEController *spi_registry_dec_new (DBusConnection *bus);
gboolean
-spi_controller_notify_mouselisteners (SpiDEController *controller,
- const Accessibility_DeviceEvent *event);
-
-gboolean
spi_controller_notify_keylisteners (SpiDEController *controller,
Accessibility_DeviceEvent *key_event,
dbus_bool_t is_system_global);