summaryrefslogtreecommitdiff
path: root/docs/reference/gtk/migrating-3to4.md
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-09-15 18:37:56 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-09-15 18:39:09 -0400
commitcc9fe4b354a6ae14f7f85d62d7807955d7a54799 (patch)
tree89f726cdfd85f4bc1ea722b16e58972fe963009b /docs/reference/gtk/migrating-3to4.md
parente4d29ba9fdfb78625dd792d9956783352b6b6208 (diff)
downloadgtk+-stack-add-child.tar.gz
stack: Add gtk_stack_add_childstack-add-child
The name of children is not essential, so add a way to add children without providing one. Fixes: #3165
Diffstat (limited to 'docs/reference/gtk/migrating-3to4.md')
-rw-r--r--docs/reference/gtk/migrating-3to4.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/reference/gtk/migrating-3to4.md b/docs/reference/gtk/migrating-3to4.md
index 8f99501358..59800003b5 100644
--- a/docs/reference/gtk/migrating-3to4.md
+++ b/docs/reference/gtk/migrating-3to4.md
@@ -606,7 +606,7 @@ The replacements for gtk_container_add() are:
| GtkListBox | gtk_list_box_insert() |
| GtkNotebook | gtk_notebook_append_page() |
| GtkPaned | gtk_paned_set_start_child(), gtk_paned_set_end_child() |
-| GtkStack | gtk_stack_add_named() |
+| GtkStack | gtk_stack_add_child() |
| GtkTextView | gtk_text_view_add_child_at_anchor(), gtk_text_view_add_overlay() |
| GtkTreeView | - |