diff options
author | ZenWalker <[email protected]> | 2017-07-17 01:03:08 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-07-27 15:33:35 +0200 |
commit | 39fa8f54b18ee53030344cb7e2a898cb12f93d59 (patch) | |
tree | fa2059e28dc04dfdd4b5d3594edab2be88706a53 /plugins/background/msd-background-manager.c | |
parent | ef85d5b77978fd6f9c927ab2b3638b07301eb657 (diff) | |
download | mate-settings-daemon-39fa8f54b18ee53030344cb7e2a898cb12f93d59.tar.bz2 mate-settings-daemon-39fa8f54b18ee53030344cb7e2a898cb12f93d59.tar.xz |
avoid deprecated gdk_screen_get_number
Diffstat (limited to 'plugins/background/msd-background-manager.c')
-rw-r--r-- | plugins/background/msd-background-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/background/msd-background-manager.c b/plugins/background/msd-background-manager.c index f3e2242..b3cbdc4 100644 --- a/plugins/background/msd-background-manager.c +++ b/plugins/background/msd-background-manager.c @@ -259,7 +259,7 @@ on_screen_size_changed (GdkScreen *screen, if (!p->msd_can_draw || p->draw_in_progress || caja_is_drawing_bg (manager)) return; - gint scr_num = gdk_screen_get_number (screen); + gint scr_num = gdk_x11_screen_get_screen_number (screen); gchar *old_size = g_list_nth_data (manager->priv->scr_sizes, scr_num); gchar *new_size = g_strdup_printf ("%dx%d", gdk_screen_get_width (screen), gdk_screen_get_height (screen)); |