[gnome-flashback] workarounds: avoid deprecated gdk_screen_get_number
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback] workarounds: avoid deprecated gdk_screen_get_number
- Date: Fri, 4 Nov 2016 22:37:37 +0000 (UTC)
commit 2bb44bdf623c411e28c6a6bbafb6f1a33b05f8e0
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sat Nov 5 00:34:52 2016 +0200
workarounds: avoid deprecated gdk_screen_get_number
gnome-flashback/libworkarounds/gf-workarounds.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-flashback/libworkarounds/gf-workarounds.c b/gnome-flashback/libworkarounds/gf-workarounds.c
index 75797e9..084ac18 100644
--- a/gnome-flashback/libworkarounds/gf-workarounds.c
+++ b/gnome-flashback/libworkarounds/gf-workarounds.c
@@ -659,7 +659,7 @@ x11_init (GfWorkarounds *workarounds)
display = gdk_display_get_default ();
xdisplay = gdk_x11_display_get_xdisplay (display);
screen = gdk_display_get_default_screen (display);
- number = gdk_screen_get_number (screen);
+ number = gdk_x11_screen_get_screen_number (screen);
atom = g_strdup_printf ("_XSETTINGS_S%d", number);
workarounds->xdisplay = xdisplay;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]