Widget: Also mention get_height in get_alloc depʼn

The deprecation notice seems to have been copied from
get_allocated_width(), but for get_allocation() height is also relevant.
This commit is contained in:
Daniel Boles 2023-06-19 20:28:01 +01:00
parent 72e5697804
commit 584a807ed6

View File

@ -10102,7 +10102,8 @@ gtk_widget_get_has_tooltip (GtkWidget *widget)
* the assigned bounds, but not that they have exactly the bounds the
* container assigned.
*
* Deprecated: 4.12: Use [method@Gtk.Widget.compute_bounds] or [method@Gtk.Widget.get_width] instead
* Deprecated: 4.12: Use [method@Gtk.Widget.compute_bounds],
* [method@Gtk.Widget.get_width] or [method@Gtk.Widget.get_height] instead.
*/
void
gtk_widget_get_allocation (GtkWidget *widget,