Widget: Also mention get_height in get_alloc depʼn
authorDaniel Boles <dboles.src@gmail.com>
Mon, 19 Jun 2023 19:28:01 +0000 (20:28 +0100)
committerDaniel Boles <dboles.src@gmail.com>
Mon, 19 Jun 2023 19:29:23 +0000 (20:29 +0100)
The deprecation notice seems to have been copied from
get_allocated_width(), but for get_allocation() height is also relevant.

gtk/gtkwidget.c

index b22ee1bdb0f255ea7ba62b34ff44843737a31c4b..c33c4d4256ef773d2518b3b8343c4e57d627fc58 100644 (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,