[glib] Escape percent sign in g_variant_new_parsed documentation
- From: Simon McVittie <smcv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Escape percent sign in g_variant_new_parsed documentation
- Date: Tue, 4 Oct 2011 12:11:04 +0000 (UTC)
commit 83afcc0a29202f7171e185c93ab0183dbf80cb39
Author: Simon McVittie <simon mcvittie collabora co uk>
Date: Tue Oct 4 10:46:13 2011 +0100
Escape percent sign in g_variant_new_parsed documentation
Strings matching /%[a-z]/ are special syntax for gtk-doc.
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=632049
Signed-off-by: Simon McVittie <simon mcvittie collabora co uk>
Reviewed-by: Ryan Lortie <desrt desrt ca>
glib/gvariant-parser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/gvariant-parser.c b/glib/gvariant-parser.c
index 9f9c34c..ccd4c35 100644
--- a/glib/gvariant-parser.c
+++ b/glib/gvariant-parser.c
@@ -2487,7 +2487,7 @@ g_variant_new_parsed_va (const gchar *format,
*
* You may not use this function to return, unmodified, a single
* #GVariant pointer from the argument list. ie: @format may not solely
- * be anything along the lines of "%*", "%?", "%r", or anything starting
+ * be anything along the lines of "%*", "%?", "\%r", or anything starting
* with "%@".
**/
GVariant *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]