Expand the docs of g_object_class_install_property. Proposed by Maciej
authorMatthias Clasen <matthiasc@src.gnome.org>
Tue, 4 Nov 2008 04:17:40 +0000 (04:17 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 4 Nov 2008 04:17:40 +0000 (04:17 +0000)
* gobject.c: Expand the docs of g_object_class_install_property.
Proposed by Maciej Piechotka

svn path=/trunk/; revision=7642

gobject/ChangeLog
gobject/gobject.c

index 21888c0..a6eacae 100644 (file)
@@ -1,3 +1,10 @@
+2008-11-03  Matthias Clasen <mclasen@redhat.com>
+
+       Bug 555935 – Clear the mechanism of overwriting properties
+
+       * gobject.c: Expand the docs of g_object_class_install_property.
+       Proposed by Maciej Piechotka
+
 2008-10-16  Matthias Clasen <mclasen@redhat.com>
 
        * === Released 2.19.0 ===
index a9b16de..607a0ea 100644 (file)
@@ -397,6 +397,10 @@ install_property_internal (GType       g_type,
  * @pspec: the #GParamSpec for the new property
  *
  * Installs a new property. This is usually done in the class initializer.
+ *
+ * Note that it is possible to redefine a property in a derived class,
+ * by installing a property with the same name. This can be useful at times,
+ * e.g. to change the range of allowed values or the default value.
  */
 void
 g_object_class_install_property (GObjectClass *class,