summaryrefslogtreecommitdiff
path: root/plugins/mouse
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/mouse
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/mouse')
-rw-r--r--plugins/mouse/msd-mouse-manager.c4
1 files changed, 2 insertions, 2 deletions
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 ();