From 14677e16d8ac6b7bdb22885ef94ae889f67751ee Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 25 Jul 2011 13:08:59 +0200 Subject: [PATCH] docs: Tell which function to use to avoid errors. --- glib/gvarianttype.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/glib/gvarianttype.h b/glib/gvarianttype.h index 99bbdad..fe1ba84 100644 --- a/glib/gvarianttype.h +++ b/glib/gvarianttype.h @@ -282,7 +282,8 @@ typedef struct _GVariantType GVariantType; * to ensure that @string is a valid GVariant type string. * * It is always a programmer error to use this macro with an invalid - * type string. + * type string. If in doubt, use g_variant_type_string_is_valid() to + * check if the string is valid. * * Since 2.24 **/ -- 2.7.4