mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-10-05 23:40:01 +00:00
gtk/placessidebar: Use list box for coordinates translation
This commit is contained in:
parent
5cf288a93e
commit
46568edd7d
|
@ -1730,7 +1730,7 @@ drag_motion_callback (GtkDropTarget *target,
|
|||
* of the row, we need to increase the order-index.
|
||||
*/
|
||||
row_placeholder_index = row_index;
|
||||
gtk_widget_translate_coordinates (GTK_WIDGET (sidebar), GTK_WIDGET (row),
|
||||
gtk_widget_translate_coordinates (sidebar->list_box, GTK_WIDGET (row),
|
||||
x, y,
|
||||
&x, &y);
|
||||
|
||||
|
|
Loading…
Reference in a new issue