summaryrefslogtreecommitdiff
path: root/gobject
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2008-11-04 04:17:40 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2008-11-04 04:17:40 +0000
commit8b14e3744c2381a8001a47a47e0ce90825164895 (patch)
tree232b56f5dcef3160ab9f78bf03871f04d7f85823 /gobject
parent24fcd3cef80e2f93b655a56e0257d358e60ee7a5 (diff)
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
Diffstat (limited to 'gobject')
-rw-r--r--gobject/ChangeLog7
-rw-r--r--gobject/gobject.c4
2 files changed, 11 insertions, 0 deletions
diff --git a/gobject/ChangeLog b/gobject/ChangeLog
index 21888c007..a6eacae68 100644
--- a/gobject/ChangeLog
+++ b/gobject/ChangeLog
@@ -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 ===
diff --git a/gobject/gobject.c b/gobject/gobject.c
index a9b16dedd..607a0ea57 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,