summaryrefslogtreecommitdiff
path: root/plugins/media-keys/msd-media-keys-manager.c
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/media-keys/msd-media-keys-manager.c
parentef85d5b77978fd6f9c927ab2b3638b07301eb657 (diff)
downloadmate-settings-daemon-39fa8f54b18ee53030344cb7e2a898cb12f93d59.tar.bz2
mate-settings-daemon-39fa8f54b18ee53030344cb7e2a898cb12f93d59.tar.xz
avoid deprecated gdk_screen_get_number
Diffstat (limited to 'plugins/media-keys/msd-media-keys-manager.c')
-rw-r--r--plugins/media-keys/msd-media-keys-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/media-keys/msd-media-keys-manager.c b/plugins/media-keys/msd-media-keys-manager.c
index 32d5d34..1a8d291 100644
--- a/plugins/media-keys/msd-media-keys-manager.c
+++ b/plugins/media-keys/msd-media-keys-manager.c
@@ -1114,7 +1114,7 @@ start_media_keys_idle_cb (MsdMediaKeysManager *manager)
mate_settings_profile_start ("gdk_window_add_filter");
g_debug ("adding key filter for screen: %d",
- gdk_screen_get_number (l->data));
+ gdk_x11_screen_get_screen_number (l->data));
gdk_window_add_filter (gdk_screen_get_root_window (l->data),
(GdkFilterFunc)acme_filter_events,