[gtk+] wayland: Stop using gdk_screen_get_setting



commit d9809df8ceed8517c36cfbd72832e35d4e02ae78
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Oct 30 17:01:46 2017 -0400

    wayland: Stop using gdk_screen_get_setting
    
    Use gdk_display_get_setting instead.

 gdk/wayland/gdkdisplay-wayland.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/wayland/gdkdisplay-wayland.c b/gdk/wayland/gdkdisplay-wayland.c
index f8f1a6c..98cf1c2 100644
--- a/gdk/wayland/gdkdisplay-wayland.c
+++ b/gdk/wayland/gdkdisplay-wayland.c
@@ -1137,14 +1137,14 @@ _gdk_wayland_display_load_cursor_theme (GdkWaylandDisplay *display_wayland)
   g_assert (display_wayland->shm);
 
   g_value_init (&v, G_TYPE_INT);
-  if (gdk_screen_get_setting (display_wayland->screen, "gtk-cursor-theme-size", &v))
+  if (gdk_display_get_setting (GDK_DISPLAY (display_wayland), "gtk-cursor-theme-size", &v))
     size = g_value_get_int (&v);
   else
     size = 32;
   g_value_unset (&v);
 
   g_value_init (&v, G_TYPE_STRING);
-  if (gdk_screen_get_setting (display_wayland->screen, "gtk-cursor-theme-name", &v))
+  if (gdk_display_get_setting (GDK_DISPLAY (display_wayland), "gtk-cursor-theme-name", &v))
     name = g_value_get_string (&v);
   else
     name = "default";


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]