From 3fa7dc556be3395ae5b3273568426beb4416bd40 Mon Sep 17 00:00:00 2001 From: ZenWalker Date: Wed, 19 Jul 2017 01:17:19 +0200 Subject: avoid deprecated gdk_screen_get_number --- shell/ev-application.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/ev-application.c b/shell/ev-application.c index b27ee512..a7e3a708 100644 --- a/shell/ev-application.c +++ b/shell/ev-application.c @@ -442,7 +442,7 @@ on_register_uri_cb (GObject *source_object, g_variant_new_string (gdk_display_get_name (gdk_screen_get_display (data->screen)))); g_variant_builder_add (&builder, "{sv}", "screen", - g_variant_new_int32 (gdk_screen_get_number (data->screen))); + g_variant_new_int32 (gdk_x11_screen_get_screen_number (data->screen))); if (data->dest) { switch (ev_link_dest_get_dest_type (data->dest)) { case EV_LINK_DEST_TYPE_PAGE_LABEL: -- cgit v1.2.1