Replace `gtk_widget_translate_coordinates()` with `gtk_widget_compute_point()`
Currently, the compiler gives the following warnings when building the latest code from the main
branch using an up-to-date org.gnome.Sdk
runtime.
warning: ‘gtk_widget_translate_coordinates’ is deprecated: Use 'gtk_widget_compute_point' instead [-Wdeprecated-declarations]
In order to resolve this, all usage of gtk_widget_translate_coordinates()
in nautilus code should be replaced with gtk_widget_compute_point()
. This needs small adjustments to the code to use the graphene_point_t
struct.
See the documentation for more details: