gvalue: Fix description of g_value_type_transformable()

Types are transformable if they are compatible *or* a transformation function
is registered.

https://bugzilla.gnome.org/show_bug.cgi?id=742898
This commit is contained in:
Kjell Ahlstedt 2016-04-28 12:05:50 +02:00
parent 96c962de22
commit 05e5da9a83

View File

@ -534,8 +534,8 @@ g_value_register_transform_func (GType src_type,
*
* Check whether g_value_transform() is able to transform values
* of type @src_type into values of type @dest_type. Note that for
* the types to be transformable, they must be compatible and a
* transform function must be registered.
* the types to be transformable, they must be compatible or a
* transformation function must be registered.
*
* Returns: %TRUE if the transformation is possible, %FALSE otherwise.
*/