From b06107579c58ed6ca8c732f7b5bfbfdec6b8b3af Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Tue, 6 Feb 2024 11:05:13 +0000 Subject: [PATCH] gtestutils: Reformat docs for g_test_queue_destroy() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix a typo in them and improve the formatting while I’m there. Signed-off-by: Philip Withnall --- glib/gtestutils.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/glib/gtestutils.c b/glib/gtestutils.c index 3ce05fbcb..5c5f9051f 100644 --- a/glib/gtestutils.c +++ b/glib/gtestutils.c @@ -2885,12 +2885,13 @@ g_test_queue_free (gpointer gfree_pointer) * @destroy_func: Destroy callback for teardown phase. * @destroy_data: Destroy callback data. * - * This function enqueus a callback @destroy_func to be executed - * during the next test case teardown phase. This is most useful - * to auto destruct allocated test resources at the end of a test run. - * Resources are released in reverse queue order, that means enqueueing - * callback A before callback B will cause B() to be called before - * A() during teardown. + * Enqueues a callback @destroy_func to be executed during the next test case + * teardown phase. + * + * This is most useful to auto destroy allocated test resources at the end of a + * test run. Resources are released in reverse queue order, that means + * enqueueing callback `A` before callback `B` will cause `B()` to be called + * before `A()` during teardown. * * Since: 2.16 */