From 4f9f3f04c0eb426cee87f71fe8307f61af3bdf90 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Wed, 16 Dec 2015 19:27:06 +0100 Subject: [PATCH] GtkWindow: Add ignore deprecation statements We still need access to floating devices at places --- gtk/gtkwindow.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index ce8d57c734..a513e6c1d0 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -8082,10 +8082,12 @@ do_focus_change (GtkWidget *widget, g_object_ref (widget); + G_GNUC_BEGIN_IGNORE_DEPRECATIONS; device_manager = gdk_display_get_device_manager (gtk_widget_get_display (widget)); devices = gdk_device_manager_list_devices (device_manager, GDK_DEVICE_TYPE_MASTER); devices = g_list_concat (devices, gdk_device_manager_list_devices (device_manager, GDK_DEVICE_TYPE_SLAVE)); devices = g_list_concat (devices, gdk_device_manager_list_devices (device_manager, GDK_DEVICE_TYPE_FLOATING)); + G_GNUC_END_IGNORE_DEPRECATIONS; for (d = devices; d; d = d->next) {