summaryrefslogtreecommitdiff
path: root/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-01-09 19:03:43 +0100
committerPablo Barciela <[email protected]>2018-01-09 19:05:42 +0100
commit168b8ed3089742840d07bcf81a270498de568ceb (patch)
treefcb3a18504be471c410f4853acc5fa2caf59734d /plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
parentc95fc236ddfe9203646f8229c85cecdec2825e0a (diff)
downloadmate-settings-daemon-168b8ed3089742840d07bcf81a270498de568ceb.tar.bz2
mate-settings-daemon-168b8ed3089742840d07bcf81a270498de568ceb.tar.xz
plugins: G_GNUC_UNUSED in unused but needed variables
Fixes build warnings
Diffstat (limited to 'plugins/a11y-keyboard/msd-a11y-keyboard-manager.c')
-rw-r--r--plugins/a11y-keyboard/msd-a11y-keyboard-manager.c4
1 files changed, 2 insertions, 2 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;