From: Matthias Clasen Date: Tue, 4 Nov 2008 04:17:40 +0000 (+0000) Subject: Expand the docs of g_object_class_install_property. Proposed by Maciej X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=8b14e3744c2381a8001a47a47e0ce90825164895;p=dana%2Fcg-glib.git Expand the docs of g_object_class_install_property. Proposed by Maciej * gobject.c: Expand the docs of g_object_class_install_property. Proposed by Maciej Piechotka svn path=/trunk/; revision=7642 --- diff --git a/gobject/ChangeLog b/gobject/ChangeLog index 21888c00..a6eacae6 100644 --- a/gobject/ChangeLog +++ b/gobject/ChangeLog @@ -1,3 +1,10 @@ +2008-11-03 Matthias Clasen + + 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 * === Released 2.19.0 === diff --git a/gobject/gobject.c b/gobject/gobject.c index a9b16ded..607a0ea5 100644 --- a/gobject/gobject.c +++ b/gobject/gobject.c @@ -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,