From c4cbd6ec1b3cec362f2e04c5ea2a0beb082cc47b Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 4 Jun 2021 07:41:25 -0400 Subject: [PATCH] docs: Mention in migration guide Add another hint for what to do with child properties. Fixes: #3950 --- docs/reference/gtk/migrating-3to4.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/reference/gtk/migrating-3to4.md b/docs/reference/gtk/migrating-3to4.md index a97f9ea8bb..ad0f248c18 100644 --- a/docs/reference/gtk/migrating-3to4.md +++ b/docs/reference/gtk/migrating-3to4.md @@ -804,6 +804,11 @@ by a layout manager (if they are layout-related), or handled in some other way. One possibility is to use child meta objects, as seen with [class@Gtk.AssistantPage], [class@Gtk.StackPage] and the like. +If you used to define child properties with `` in ui files, you have +to switch to using `` for the corresponding layout properties. +`gtk4-builder-tool` can help with this conversion, with the `--3to4` option +of the `simplify` command. + The replacements for gtk_container_add() are: | Widget | Replacement |