summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/a11y-keyboard/msd-a11y-keyboard-manager.c4
-rw-r--r--plugins/mouse/msd-mouse-manager.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c b/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
index 200c4b6..b2ce413 100644
--- a/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
+++ b/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
@@ -97,7 +97,7 @@ devicepresence_filter (GdkXEvent *xevent,
gpointer data)
{
XEvent *xev = (XEvent *) xevent;
- XEventClass class_presence;
+ G_GNUC_UNUSED XEventClass class_presence;
int xi_presence;
DevicePresence (gdk_x11_get_default_xdisplay (), xi_presence, class_presence);
@@ -129,7 +129,7 @@ set_devicepresence_handler (MsdA11yKeyboardManager *manager)
{
Display *display;
XEventClass class_presence;
- int xi_presence;
+ G_GNUC_UNUSED int xi_presence;
if (!supports_xinput_devices ())
return;
diff --git a/plugins/mouse/msd-mouse-manager.c b/plugins/mouse/msd-mouse-manager.c
index 101dd47..cf6a87b 100644
--- a/plugins/mouse/msd-mouse-manager.c
+++ b/plugins/mouse/msd-mouse-manager.c
@@ -475,7 +475,7 @@ devicepresence_filter (GdkXEvent *xevent,
gpointer data)
{
XEvent *xev = (XEvent *) xevent;
- XEventClass class_presence;
+ G_GNUC_UNUSED XEventClass class_presence;
int xi_presence;
DevicePresence (gdk_x11_get_default_xdisplay (), xi_presence, class_presence);
@@ -495,7 +495,7 @@ set_devicepresence_handler (MsdMouseManager *manager)
{
Display *display;
XEventClass class_presence;
- int xi_presence;
+ G_GNUC_UNUSED int xi_presence;
display = gdk_x11_get_default_xdisplay ();