From fd93e08a7c6eead43162c59dcc552d1253ca04ea Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 8 Nov 2011 17:19:11 +0100 Subject: [PATCH] widget: Don't use deprecated symbols Not even in deprecated functions! --- gtk/gtkwidget.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index e3e3f45c77..c624af6af1 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -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)) {