mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 23:10:22 +00:00
treeview: Remove call to gtk_widget_get_pointer()
This commit is contained in:
parent
28d0403f17
commit
a1fb2c863b
@ -3946,7 +3946,9 @@ gtk_tree_view_motion_resize_column (GtkWidget *widget,
|
||||
column = gtk_tree_view_get_column (tree_view, tree_view->priv->drag_pos);
|
||||
|
||||
if (event->is_hint || event->window != gtk_widget_get_window (widget))
|
||||
gtk_widget_get_pointer (widget, &x, NULL);
|
||||
gdk_window_get_device_position (gtk_widget_get_window (widget),
|
||||
gdk_event_get_device ((GdkEvent *) event),
|
||||
&x, NULL, NULL);
|
||||
else
|
||||
x = event->x;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user