[libwnck/wip/muktupavels/modernize: 3/5] 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: 3/5] tasklist: avoid deprecated gdk_screen_get_number
- Date: Sat, 12 Nov 2016 14:28:05 +0000 (UTC)
commit fcda408dac9211ea6dbafa80b4a22599bbca3cee
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 ce1dfa9..5ebec06 100644
--- a/libwnck/tasklist.c
+++ b/libwnck/tasklist.c
@@ -1662,7 +1662,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]