summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-07-29 09:10:44 -0400
committerMatthias Clasen <mclasen@redhat.com>2018-07-29 09:11:39 -0400
commit73b45ec77e3dc00d70e59ceee0b264beb6e57bec (patch)
treec045fe5bf121c0a75b8f21c4ebd8879264724f46
parent8f95a5980e739f84392967baed3b8c654a0cbab8 (diff)
downloadgtk+-73b45ec77e3dc00d70e59ceee0b264beb6e57bec.tar.gz
Migration guide: mention size-allocate
Document the new argument here. Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1245
-rw-r--r--docs/reference/gtk/migrating-3to4.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/reference/gtk/migrating-3to4.xml b/docs/reference/gtk/migrating-3to4.xml
index 40c0dde97f..f1d29a52b9 100644
--- a/docs/reference/gtk/migrating-3to4.xml
+++ b/docs/reference/gtk/migrating-3to4.xml
@@ -320,6 +320,15 @@
</section>
<section>
+ <title>Adapt to GtkWidget's size allocation changes</title>
+ <para>
+ The #GtkWidget::size-allocate signal now takes the baseline as an
+ argument, so you no longer need to call gtk_widget_get_allocated_baseline()
+ to get it.
+ </para>
+ </section>
+
+ <section>
<title>Switch to GtkWidget's children APIs</title>
<para>
Instead of the GtkContainer subclass, in GTK+ 4, any widget can