summaryrefslogtreecommitdiff
path: root/plugins/mouse
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-08-10 14:34:23 +0200
committerZenWalker <[email protected]>2020-08-15 14:10:03 +0200
commit7e8357d5cc6e04ae96734e2c8e1f87b9a154a52c (patch)
tree7fdf5c59c8cea2f9067146344434a3d17f69ae71 /plugins/mouse
parent27adfb941829c99638219e3e76371c86e42e3dcb (diff)
downloadmate-settings-daemon-7e8357d5cc6e04ae96734e2c8e1f87b9a154a52c.tar.bz2
mate-settings-daemon-7e8357d5cc6e04ae96734e2c8e1f87b9a154a52c.tar.xz
add G_GNUC_UNUSED in some unused parameters
Diffstat (limited to 'plugins/mouse')
-rw-r--r--plugins/mouse/msd-locate-pointer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/mouse/msd-locate-pointer.c b/plugins/mouse/msd-locate-pointer.c
index 5c7d3a2..6009404 100644
--- a/plugins/mouse/msd-locate-pointer.c
+++ b/plugins/mouse/msd-locate-pointer.c
@@ -166,7 +166,7 @@ update_shape (MsdLocatePointerData *data)
}
static void
-timeline_frame_cb (MsdTimeline *timeline,
+timeline_frame_cb (MsdTimeline *timeline G_GNUC_UNUSED,
gdouble progress,
gpointer user_data)
{
@@ -250,7 +250,7 @@ composited_changed (GdkScreen *screen,
}
static void
-timeline_finished_cb (MsdTimeline *timeline,
+timeline_finished_cb (MsdTimeline *timeline G_GNUC_UNUSED,
gpointer user_data)
{
MsdLocatePointerData *data = (MsdLocatePointerData *) user_data;
@@ -266,7 +266,7 @@ timeline_finished_cb (MsdTimeline *timeline,
}
static void
-locate_pointer_unrealize_cb (GtkWidget *widget,
+locate_pointer_unrealize_cb (GtkWidget *widget G_GNUC_UNUSED,
MsdLocatePointerData *data)
{
if (data->window != NULL)
@@ -279,7 +279,7 @@ locate_pointer_unrealize_cb (GtkWidget *widget,
}
static void
-locate_pointer_realize_cb (GtkWidget *widget,
+locate_pointer_realize_cb (GtkWidget *widget G_GNUC_UNUSED,
MsdLocatePointerData *data)
{
GdkDisplay *display;
@@ -321,7 +321,7 @@ locate_pointer_realize_cb (GtkWidget *widget,
}
static gboolean
-locate_pointer_draw_cb (GtkWidget *widget,
+locate_pointer_draw_cb (GtkWidget *widget G_GNUC_UNUSED,
cairo_t *cr,
gpointer user_data)
{