[libwnck/wip/muktupavels/modernize: 4/5] pager: avoid deprecated gdk_screen_get_number
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libwnck/wip/muktupavels/modernize: 4/5] pager: avoid deprecated gdk_screen_get_number
- Date: Sat, 12 Nov 2016 14:28:10 +0000 (UTC)
commit fb34812443fe8d05ef305c67a6ff2293ea31fa0e
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sat Nov 12 16:21:15 2016 +0200
pager: avoid deprecated gdk_screen_get_number
libwnck/pager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libwnck/pager.c b/libwnck/pager.c
index 5214a09..e2dd1c8 100644
--- a/libwnck/pager.c
+++ b/libwnck/pager.c
@@ -298,7 +298,7 @@ _wnck_pager_set_screen (WnckPager *pager)
return;
gdkscreen = gtk_widget_get_screen (GTK_WIDGET (pager));
- pager->priv->screen = wnck_screen_get (gdk_screen_get_number (gdkscreen));
+ pager->priv->screen = wnck_screen_get (gdk_x11_screen_get_screen_number (gdkscreen));
if (!wnck_pager_set_layout_hint (pager))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]