summaryrefslogtreecommitdiff
path: root/registryd/deviceeventcontroller.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2022-11-10 20:03:34 -0600
committerFederico Mena Quintero <federico@gnome.org>2022-11-10 20:03:34 -0600
commitafa02936270ad2f0f4b82f7fbfd0fcf92845b5d2 (patch)
tree6d9d20fa5cbe4df3ebe86026174bf9d89765f77e /registryd/deviceeventcontroller.h
parenta3894575b93bd872f2994ff8b72931948f7b6064 (diff)
downloadat-spi2-core-afa02936270ad2f0f4b82f7fbfd0fcf92845b5d2.tar.gz
Move spi_clear_error_state() to the X11 code
Both deviceeventcontroller.c and deviceeventcontroller-x11.c had static spi_error_code variables, but spi_clear_error_state() was looking at a different variable than the one set by the X error handler. I think this was just an oversight.
Diffstat (limited to 'registryd/deviceeventcontroller.h')
-rw-r--r--registryd/deviceeventcontroller.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/registryd/deviceeventcontroller.h b/registryd/deviceeventcontroller.h
index 46ea1697..691a3afa 100644
--- a/registryd/deviceeventcontroller.h
+++ b/registryd/deviceeventcontroller.h
@@ -141,8 +141,6 @@ GType spi_device_event_controller_get_type (void);
SpiDEController *spi_device_event_controller_new (SpiRegistry *registry,
DBusConnection *bus);
-gboolean spi_clear_error_state (void);
-
void spi_device_event_controller_start_poll_mouse (SpiRegistry *registry);
void spi_device_event_controller_stop_poll_mouse (void);