forked from AuroraMiddleware/gtk
GtkTreeView: Add ignore deprecation statements
We still need access to floating devices at places.
This commit is contained in:
parent
4f9f3f04c0
commit
32c9db8600
@ -11041,10 +11041,12 @@ send_focus_change (GtkWidget *widget,
|
||||
GdkDeviceManager *device_manager;
|
||||
GList *devices, *d;
|
||||
|
||||
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