diff --git a/docs/reference/gtk/migrating-3to4.xml b/docs/reference/gtk/migrating-3to4.xml index 3e9ef096d6..1d19d6bca1 100644 --- a/docs/reference/gtk/migrating-3to4.xml +++ b/docs/reference/gtk/migrating-3to4.xml @@ -340,12 +340,22 @@
- Adapt to GtkHeaderBar API changes + Adapt to GtkHeaderBar and GtkActionBar API changes The gtk_header_bar_set_show_close_button() function has been renamed to the more accurate name gtk_header_bar_set_show_title_buttons(). The corresponding getter and the property itself have also been renamed. + + The ::pack-type child properties of GtkHeaderBar and GtkActionBar have + been removed. If you need to programmatically place children, use the + pack_start() and pack_end() APIs. In ui files, use the type attribute + on the child element. + + + gtk4-builder-tool can help with this conversion, with the --3to4 option + of the simplify command. +