[glib/wip/steal-fd] Apply 2 suggestion(s) to 1 file(s)



commit 8bdf94f5f6c963099b7feacbc9d6912a7674bdb8
Author: Simon McVittie <simon mcvittie collabora co uk>
Date:   Sun Mar 21 17:13:56 2021 +0000

    Apply 2 suggestion(s) to 1 file(s)

 glib/gmain.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/gmain.c b/glib/gmain.c
index a4aecef08..4d261be20 100644
--- a/glib/gmain.c
+++ b/glib/gmain.c
@@ -6127,11 +6127,11 @@ g_get_worker_context (void)
  * g_steal_fd:
  * @fd_ptr: (not optional) (inout): A pointer to a file descriptor
  *
- * Sets @fd_ptr to -1, returning the value that was there before.
+ * Sets @fd_ptr to `-1`, returning the value that was there before.
  *
  * Conceptually, this transfers the ownership of the file descriptor
  * from the referenced variable to the caller of the function (i.e.
- * "steals" the reference). This is very similar to g_steal_pointer(),
+ * ‘steals’ the reference). This is very similar to g_steal_pointer(),
  * but for file descriptors.
  *
  * Returns: the value that @fd_ptr previously had


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]