[glib: 1/3] gapplication: Consistently use non-copying variant formats in docs
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/3] gapplication: Consistently use non-copying variant formats in docs
- Date: Mon, 24 Feb 2020 10:50:06 +0000 (UTC)
commit 325f1e3eb54d3969d3be104481fa1097ffa37d7b
Author: Philip Withnall <withnall endlessm com>
Date: Mon Feb 24 08:52:13 2020 +0000
gapplication: Consistently use non-copying variant formats in docs
In particular, this fixes the invalid format string `&as`.
Signed-off-by: Philip Withnall <withnall endlessm com>
Fixes: #2044
gio/gapplication.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gio/gapplication.c b/gio/gapplication.c
index 02ab2b046..695a74f5f 100644
--- a/gio/gapplication.c
+++ b/gio/gapplication.c
@@ -706,9 +706,9 @@ add_packed_option (GApplication *application,
* - for %G_OPTION_ARG_INT, use i
* - for %G_OPTION_ARG_INT64, use x
* - for %G_OPTION_ARG_DOUBLE, use d
- * - for %G_OPTION_ARG_FILENAME, use ^ay
- * - for %G_OPTION_ARG_STRING_ARRAY, use &as
- * - for %G_OPTION_ARG_FILENAME_ARRAY, use ^aay
+ * - for %G_OPTION_ARG_FILENAME, use ^&ay
+ * - for %G_OPTION_ARG_STRING_ARRAY, use ^a&s
+ * - for %G_OPTION_ARG_FILENAME_ARRAY, use ^a&ay
*
* Since: 2.40
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]