3to4: Fix we said we replace doubles with doubles,
authorDaniel Boles <dboles.src@gmail.com>
Wed, 26 Apr 2023 20:30:10 +0000 (21:30 +0100)
committerDaniel Boles <dboles.src@gmail.com>
Wed, 26 Apr 2023 20:30:10 +0000 (21:30 +0100)
when what we are replacing are ints!

docs/reference/gtk/migrating-3to4.md

index 38649152be2bb4ec062a880b2d910a4c422eee31..458ec07e2842bf5a8e3fbdab676a2fb306426b18 100644 (file)
@@ -402,9 +402,9 @@ is open, use the [property@Gtk.Window:modal] property of the dialog.
 
 ### Adapt to coordinate API changes
 
-A number of coordinate APIs in GTK 3 had `double` variants:
+A number of coordinate APIs in GTK 3 had variants taking `int` arguments:
 `gdk_device_get_surface_at_position()`, `gdk_surface_get_device_position()`.
-These have been changed to use doubles, and the `double` variants
+These have been changed to use `double` arguments, and the `int` variants
 have been removed. Update your code accordingly.
 
 Any APIs that deal with global (or root) coordinates have been