diff options
author | Daniel Boles <dboles.src@gmail.com> | 2023-04-26 21:30:10 +0100 |
---|---|---|
committer | Daniel Boles <dboles.src@gmail.com> | 2023-04-26 21:30:10 +0100 |
commit | abd4a57031cb0cd6e98839b1d407b84d53ef81ce (patch) | |
tree | c29f6abcd339a0e11bd7f47a25f8793d59b5f85f /docs | |
parent | 9364da673f56b61be3c76de8d79f6f9a9408409f (diff) | |
download | gtk+-abd4a57031cb0cd6e98839b1d407b84d53ef81ce.tar.gz |
3to4: Fix we said we replace doubles with doubles,
when what we are replacing are ints!
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/gtk/migrating-3to4.md | 4 |
1 files 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 |