[glib] gparam: Make the documentation clearer for CONSTRUCT_ONLY properties



commit 91802bbf2bfd336aec640c9412f955b1df8f80ae
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Oct 28 13:45:34 2014 -0700

    gparam: Make the documentation clearer for CONSTRUCT_ONLY properties
    
    It's not that the properly will only be set on construction, it's that
    it *can* only be set upon construction.

 gobject/gparam.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gobject/gparam.h b/gobject/gparam.h
index 24a36da..6e2242d 100644
--- a/gobject/gparam.h
+++ b/gobject/gparam.h
@@ -119,7 +119,7 @@ G_BEGIN_DECLS
  * @G_PARAM_WRITABLE: the parameter is writable
  * @G_PARAM_READWRITE: alias for %G_PARAM_READABLE | %G_PARAM_WRITABLE
  * @G_PARAM_CONSTRUCT: the parameter will be set upon object construction
- * @G_PARAM_CONSTRUCT_ONLY: the parameter will only be set upon object construction
+ * @G_PARAM_CONSTRUCT_ONLY: the parameter can only be set upon object construction
  * @G_PARAM_LAX_VALIDATION: upon parameter conversion (see g_param_value_convert())
  *  strict validation is not required
  * @G_PARAM_STATIC_NAME: the string used as name when constructing the 


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