gtk/placessidebar: Use list box for coordinates translation

This commit is contained in:
Khalid Abu Shawarib 2023-09-24 21:09:01 +00:00 committed by António Fernandes
parent 5cf288a93e
commit 46568edd7d

View file

@ -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);