summaryrefslogtreecommitdiff
path: root/plugins/mouse
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-12-20 21:27:33 +0100
committerraveit65 <[email protected]>2021-01-07 18:14:36 +0100
commit25403b779f27d4e84640bb592c6b231ad3869ae3 (patch)
treeacd6df23c16fbc76631d128e266cddbcaac749fb /plugins/mouse
parent9e9508b5a32b1353dd095eccc376512893e81b7e (diff)
downloadmate-settings-daemon-25403b779f27d4e84640bb592c6b231ad3869ae3.tar.bz2
mate-settings-daemon-25403b779f27d4e84640bb592c6b231ad3869ae3.tar.xz
Remove warning -Wshadow
Diffstat (limited to 'plugins/mouse')
-rw-r--r--plugins/mouse/msd-locate-pointer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/mouse/msd-locate-pointer.c b/plugins/mouse/msd-locate-pointer.c
index 6009404..060e675 100644
--- a/plugins/mouse/msd-locate-pointer.c
+++ b/plugins/mouse/msd-locate-pointer.c
@@ -48,8 +48,6 @@ struct MsdLocatePointerData
gdouble progress;
};
-static MsdLocatePointerData *data = NULL;
-
static void
locate_pointer_paint (MsdLocatePointerData *data,
cairo_t *cr,
@@ -414,6 +412,7 @@ void
msd_locate_pointer (GdkDisplay *display)
{
GdkScreen *screen = gdk_display_get_default_screen (display);
+ static MsdLocatePointerData *data = NULL;
if (data == NULL)
{