[libwnck/wip/muktupavels/modernize: 17/21] tasklist: 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: 17/21] tasklist: avoid deprecated gdk_screen_get_number
- Date: Wed, 26 Apr 2017 11:20:15 +0000 (UTC)
commit 366326e8366d45a7ed976192facaf263724af33b
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sat Nov 12 16:20:43 2016 +0200
tasklist: avoid deprecated gdk_screen_get_number
libwnck/tasklist.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libwnck/tasklist.c b/libwnck/tasklist.c
index 0504ac8..179bce2 100644
--- a/libwnck/tasklist.c
+++ b/libwnck/tasklist.c
@@ -1700,7 +1700,7 @@ wnck_tasklist_realize (GtkWidget *widget)
tasklist = WNCK_TASKLIST (widget);
gdkscreen = gtk_widget_get_screen (widget);
- tasklist->priv->screen = wnck_screen_get (gdk_screen_get_number (gdkscreen));
+ tasklist->priv->screen = wnck_screen_get (gdk_x11_screen_get_screen_number (gdkscreen));
g_assert (tasklist->priv->screen != NULL);
#ifdef HAVE_STARTUP_NOTIFICATION
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]