[libwnck/wip/muktupavels/modernize: 1/14] selector: avoid deprecated gdk_screen_get_number



commit c5de2a0d04a48552ff9d7401479e45a026ae26fa
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sat Nov 12 16:19:09 2016 +0200

    selector: avoid deprecated gdk_screen_get_number

 libwnck/selector.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libwnck/selector.c b/libwnck/selector.c
index 066d3e8..22adf5a 100644
--- a/libwnck/selector.c
+++ b/libwnck/selector.c
@@ -125,7 +125,7 @@ wnck_selector_get_screen (WnckSelector *selector)
 
   screen = gtk_widget_get_screen (GTK_WIDGET (selector));
 
-  return wnck_screen_get (gdk_screen_get_number (screen));
+  return wnck_screen_get (gdk_x11_screen_get_screen_number (screen));
 }
 
 static GdkPixbuf *


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