From 7bea2685e1f1e07ed4caca0e8b7ee211d7e2d07f Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Fri, 28 Apr 2023 21:11:12 +0100 Subject: [PATCH] migrating-3to4: Don't mention removed Box method & MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit donʼt mention its renamed successor either, as that has its own section later. We could have another sentence paragraph like ‘In the case of GtkBox, the pack methods have been renamed to X and lost the trailing arguments Y’, but that wonʼt help people prepare still on GTK3, which is the point in the affected section… so just remove the misleading relic. --- docs/reference/gtk/migrating-3to4.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/gtk/migrating-3to4.md b/docs/reference/gtk/migrating-3to4.md index 458ec07e28..62f7f083da 100644 --- a/docs/reference/gtk/migrating-3to4.md +++ b/docs/reference/gtk/migrating-3to4.md @@ -258,7 +258,7 @@ Instead of implementing GtkWidget.destroy, you can implement GObject.dispose. GTK 4 removes `gtk_container_add()` and `gtk_container_remove()`. While there is not always a replacement for `gtk_container_remove()` in GTK 3, you can replace many uses of `gtk_container_add()` with equivalent container-specific -APIs such as `gtk_box_pack_start()` or `gtk_grid_attach()`, and thereby reduce +APIs such as `gtk_grid_attach()`, and thereby reduce the amount of work you have to do at the time of the switch. ### Review your use of icon resources