docs: Clarify a sentence in the migration guide
authorMatthias Clasen <mclasen@redhat.com>
Wed, 1 Dec 2021 00:51:22 +0000 (19:51 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 1 Dec 2021 00:51:22 +0000 (19:51 -0500)
Make it clear that we are giving examples of
no-longer existing APIs here.

Fixes: #4479
docs/reference/gtk/migrating-3to4.md

index fcb3af5d766d5743708ed6dc0435341796c8ed98..068b97212a1d3e69bfa437ee32817d75a5da0169 100644 (file)
@@ -410,8 +410,8 @@ have been removed. Update your code accordingly.
 Any APIs that deal with global (or root) coordinates have been
 removed in GTK 4, since not all backends support them. You should
 replace your use of such APIs with surface-relative equivalents.
-Examples of this are `gdk_surface_get_origin()`, `gdk_surface_move()`
-or `gdk_event_get_root_coords()`.
+Examples of such removed APIs are `gdk_window_get_origin()`,
+`gdk_window_move()` or `gdk_event_get_root_coords()`.
 
 ### Adapt to `GdkKeymap` API changes