From abd4a57031cb0cd6e98839b1d407b84d53ef81ce Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Wed, 26 Apr 2023 21:30:10 +0100 Subject: [PATCH] 3to4: Fix we said we replace doubles with doubles, when what we are replacing are ints! --- docs/reference/gtk/migrating-3to4.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2