mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-04 09:40:19 +00:00
GtkWindow: Add ignore deprecation statements
We still need access to floating devices at places
This commit is contained in:
parent
4a7589ea12
commit
4f9f3f04c0
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user