[glib] gvalue: Fix description of g_value_type_transformable()



commit 05e5da9a83f788372e9888902dd01781faef1841
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date:   Thu Apr 28 12:05:50 2016 +0200

    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

 gobject/gvalue.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gobject/gvalue.c b/gobject/gvalue.c
index 7276cc1..b39bacd 100644
--- a/gobject/gvalue.c
+++ b/gobject/gvalue.c
@@ -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.
  */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]