mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 23:10:22 +00:00
widget: Don't use deprecated symbols
Not even in deprecated functions!
This commit is contained in:
parent
d41732b729
commit
fd93e08a7c
@ -9776,7 +9776,11 @@ gtk_widget_get_pointer (GtkWidget *widget,
|
||||
|
||||
if (gtk_widget_get_realized (widget))
|
||||
{
|
||||
gdk_window_get_pointer (priv->window, x, y, NULL);
|
||||
gdk_window_get_device_position (priv->window,
|
||||
gdk_device_manager_get_client_pointer (
|
||||
gdk_display_get_device_manager (
|
||||
gtk_widget_get_display (widget))),
|
||||
x, y, NULL);
|
||||
|
||||
if (!gtk_widget_get_has_window (widget))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user