docs: Tell which function to use to avoid errors.

This commit is contained in:
Benjamin Otte 2011-07-25 13:08:59 +02:00
parent 0e283dcb94
commit 14677e16d8

View File

@ -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
**/