summaryrefslogtreecommitdiff
path: root/plugins/keybindings
diff options
context:
space:
mode:
authorZenWalker <[email protected]>2017-07-17 01:03:08 +0200
committerraveit65 <[email protected]>2017-07-27 15:33:35 +0200
commit39fa8f54b18ee53030344cb7e2a898cb12f93d59 (patch)
treefa2059e28dc04dfdd4b5d3594edab2be88706a53 /plugins/keybindings
parentef85d5b77978fd6f9c927ab2b3638b07301eb657 (diff)
downloadmate-settings-daemon-39fa8f54b18ee53030344cb7e2a898cb12f93d59.tar.bz2
mate-settings-daemon-39fa8f54b18ee53030344cb7e2a898cb12f93d59.tar.xz
avoid deprecated gdk_screen_get_number
Diffstat (limited to 'plugins/keybindings')
-rw-r--r--plugins/keybindings/msd-keybindings-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/keybindings/msd-keybindings-manager.c b/plugins/keybindings/msd-keybindings-manager.c
index c022547..0927927 100644
--- a/plugins/keybindings/msd-keybindings-manager.c
+++ b/plugins/keybindings/msd-keybindings-manager.c
@@ -397,7 +397,7 @@ screen_exec_display_string (GdkScreen *screen)
g_string_truncate (str, p - str->str);
}
- g_string_append_printf (str, ".%d", gdk_screen_get_number (screen));
+ g_string_append_printf (str, ".%d", gdk_x11_screen_get_screen_number (screen));
return g_string_free (str, FALSE);
}