From d182b133a9fd9ddff2aa31c81a6f53bc58683bea Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Thu, 15 Aug 2024 14:18:31 +0100 Subject: [PATCH] docs: Fix a typo in a code example on the accessibility page Signed-off-by: Philip Withnall --- docs/reference/gtk/section-accessibility.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/gtk/section-accessibility.md b/docs/reference/gtk/section-accessibility.md index 83268ebdd2..471a71e44d 100644 --- a/docs/reference/gtk/section-accessibility.md +++ b/docs/reference/gtk/section-accessibility.md @@ -300,7 +300,7 @@ The attributes can also enhance the UI: ```c gtk_button_set_label (GTK_BUTTON (button), "Download"); -gtk_box_append (GTK_BOX (button), button); +gtk_box_append (GTK_BOX (box), button); gtk_label_set_text (GTK_LABEL (label), "Final report.pdf"); gtk_box_append (GTK_BOX (box), label);