summaryrefslogtreecommitdiff
path: root/plugins/mouse/msd-locate-pointer.c
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-12-15 02:28:07 +0200
committerJasmine Hassan <[email protected]>2012-12-15 02:28:07 +0200
commit221c4df4581638c818b37dc4f8ca20fd48122d3f (patch)
treee68ff7f378aed6b0a21a44b8860fc66748cf6847 /plugins/mouse/msd-locate-pointer.c
parent7d37bfdb82681fc8dc27ec80e1df388fe31c0e04 (diff)
downloadmate-settings-daemon-221c4df4581638c818b37dc4f8ca20fd48122d3f.tar.bz2
mate-settings-daemon-221c4df4581638c818b37dc4f8ca20fd48122d3f.tar.xz
[plugins] Fix some deprecations (GTK2/GTK3)
a11y-keyboard: gtk_dialog_set_has_separator(), deprecated in GTK+ 2.22 common|mouse: prefix GDK key constants with _KEY (GTK3)
Diffstat (limited to 'plugins/mouse/msd-locate-pointer.c')
-rw-r--r--plugins/mouse/msd-locate-pointer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mouse/msd-locate-pointer.c b/plugins/mouse/msd-locate-pointer.c
index e304862..f13f7a0 100644
--- a/plugins/mouse/msd-locate-pointer.c
+++ b/plugins/mouse/msd-locate-pointer.c
@@ -380,7 +380,7 @@ filter (GdkXEvent *xevent,
group,
&keyval,
NULL, NULL, NULL);
- if (keyval == GDK_Control_L || keyval == GDK_Control_R)
+ if (keyval == GDK_KEY_Control_L || keyval == GDK_KEY_Control_R)
{
if (xev->type == KeyPress)
{
@@ -417,7 +417,7 @@ set_locate_pointer (void)
int n_screens;
int n_keys;
gboolean has_entries;
- static const guint keyvals[] = { GDK_Control_L, GDK_Control_R };
+ static const guint keyvals[] = { GDK_KEY_Control_L, GDK_KEY_Control_R };
unsigned j;
display = gdk_display_get_default ();