Improve the docs for g_object_get_property(). (#153424, Stefan Kost)
authorMatthias Clasen <mclasen@redhat.com>
Tue, 5 Oct 2004 19:44:33 +0000 (19:44 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 5 Oct 2004 19:44:33 +0000 (19:44 +0000)
2004-10-05  Matthias Clasen  <mclasen@redhat.com>

* gobject/tmpl/objects.sgml: Improve the docs for
g_object_get_property().  (#153424, Stefan Kost)

docs/reference/ChangeLog
docs/reference/gobject/tmpl/objects.sgml

index 67e574a..9528fdb 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-05  Matthias Clasen  <mclasen@redhat.com>
+
+       * gobject/tmpl/objects.sgml: Improve the docs for
+       g_object_get_property().  (#153424, Stefan Kost)
+
 2004-10-03  Matthias Clasen  <mclasen@redhat.com>
 
        * gobject/tmpl/signals.sgml: Improve docs for 
index 2d16e5d..0f3f4cc 100644 (file)
@@ -768,11 +768,11 @@ Gets a property of an object.
 </para>
 <para>
 In general, a copy is made of the property contents and the caller is
-responsible for freeing the memory in the appropriate manner for the type, 
-for instance by calling g_free() or g_object_unref(). 
+responsible for freeing the memory by calling g_value_unset().
 </para>
 <para>
-See g_object_get().
+Note that g_object_get_property() is really intended for language
+bindings, g_object_get() is much more convenient for C programming.
 </para>
 
 @object: a #GObject