[glib/glib-2-30] Escape percent sign in g_variant_new_parsed documentation
- From: Simon McVittie <smcv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-30] Escape percent sign in g_variant_new_parsed documentation
- Date: Tue, 4 Oct 2011 11:38:08 +0000 (UTC)
commit 45189d555921cddbcb4d64beca19ffb9b812443c
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 ad21a6f..3d8c09a 100644
--- a/glib/gvariant-parser.c
+++ b/glib/gvariant-parser.c
@@ -2486,7 +2486,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]