mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 21:21:21 +00:00
win32: Stop using the query_state vfunc
This commit is contained in:
parent
374c776749
commit
1d8ac79296
@ -160,7 +160,6 @@ gdk_device_virtual_class_init (GdkDeviceVirtualClass *klass)
|
||||
GdkDeviceClass *device_class = GDK_DEVICE_CLASS (klass);
|
||||
|
||||
device_class->set_surface_cursor = gdk_device_virtual_set_surface_cursor;
|
||||
device_class->query_state = gdk_device_virtual_query_state;
|
||||
device_class->grab = gdk_device_virtual_grab;
|
||||
device_class->ungrab = gdk_device_virtual_ungrab;
|
||||
device_class->surface_at_position = _gdk_device_win32_surface_at_position;
|
||||
|
@ -226,7 +226,6 @@ gdk_device_win32_class_init (GdkDeviceWin32Class *klass)
|
||||
GdkDeviceClass *device_class = GDK_DEVICE_CLASS (klass);
|
||||
|
||||
device_class->set_surface_cursor = gdk_device_win32_set_surface_cursor;
|
||||
device_class->query_state = gdk_device_win32_query_state;
|
||||
device_class->grab = gdk_device_win32_grab;
|
||||
device_class->ungrab = gdk_device_win32_ungrab;
|
||||
device_class->surface_at_position = _gdk_device_win32_surface_at_position;
|
||||
|
@ -230,7 +230,6 @@ gdk_device_wintab_class_init (GdkDeviceWintabClass *klass)
|
||||
GdkDeviceClass *device_class = GDK_DEVICE_CLASS (klass);
|
||||
|
||||
device_class->set_surface_cursor = gdk_device_wintab_set_surface_cursor;
|
||||
device_class->query_state = gdk_x11_device_xi2_query_state;
|
||||
device_class->grab = gdk_device_wintab_grab;
|
||||
device_class->ungrab = gdk_device_wintab_ungrab;
|
||||
device_class->surface_at_position = gdk_device_wintab_surface_at_position;
|
||||
|
@ -1734,9 +1734,8 @@ gdk_surface_win32_get_device_state (GdkSurface *window,
|
||||
|
||||
g_return_val_if_fail (window == NULL || GDK_IS_SURFACE (window), FALSE);
|
||||
|
||||
GDK_DEVICE_GET_CLASS (device)->query_state (device, window,
|
||||
&child,
|
||||
x, y, mask);
|
||||
_gdk_device_win32_query_state (device, window, &child, x, y, mask);
|
||||
|
||||
return (child != NULL);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user