From 83afcc0a29202f7171e185c93ab0183dbf80cb39 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 4 Oct 2011 10:46:13 +0100 Subject: [PATCH] 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 Reviewed-by: Ryan Lortie --- glib/gvariant-parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/gvariant-parser.c b/glib/gvariant-parser.c index 9f9c34c4d..ccd4c3545 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 *