[glib: 2/3] gapplication: Improve formatting of variant formats in documentation
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 2/3] gapplication: Improve formatting of variant formats in documentation
- Date: Mon, 24 Feb 2020 10:50:11 +0000 (UTC)
commit b604f008f776083f336cb622ab3b25272fc7c164
Author: Philip Withnall <withnall endlessm com>
Date: Mon Feb 24 08:53:10 2020 +0000
gapplication: Improve formatting of variant formats in documentation
This makes the documentation a little easier to read.
Signed-off-by: Philip Withnall <withnall endlessm com>
gio/gapplication.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/gio/gapplication.c b/gio/gapplication.c
index 695a74f5f..c884ade97 100644
--- a/gio/gapplication.c
+++ b/gio/gapplication.c
@@ -701,14 +701,14 @@ add_packed_option (GApplication *application,
*
* It is important to use the proper GVariant format when retrieving
* the options with g_variant_dict_lookup():
- * - for %G_OPTION_ARG_NONE, use b
- * - for %G_OPTION_ARG_STRING, use &s
- * - 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 ^a&s
- * - for %G_OPTION_ARG_FILENAME_ARRAY, use ^a&ay
+ * - for %G_OPTION_ARG_NONE, use `b`
+ * - for %G_OPTION_ARG_STRING, use `&s`
+ * - 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 `^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]