From: Daniel Boles Date: Wed, 26 Apr 2023 20:30:10 +0000 (+0100) Subject: 3to4: Fix we said we replace doubles with doubles, X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~1^2~369 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=abd4a57031cb0cd6e98839b1d407b84d53ef81ce;p=gtk4.git 3to4: Fix we said we replace doubles with doubles, when what we are replacing are ints! --- diff --git a/docs/reference/gtk/migrating-3to4.md b/docs/reference/gtk/migrating-3to4.md index 38649152be..458ec07e28 100644 --- a/docs/reference/gtk/migrating-3to4.md +++ b/docs/reference/gtk/migrating-3to4.md @@ -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