From 2118d96318c2cadce565509f62d90a8cf229a3a1 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 5 Oct 2004 19:44:33 +0000 Subject: [PATCH] Improve the docs for g_object_get_property(). (#153424, Stefan Kost) 2004-10-05 Matthias Clasen * gobject/tmpl/objects.sgml: Improve the docs for g_object_get_property(). (#153424, Stefan Kost) --- docs/reference/ChangeLog | 5 +++++ docs/reference/gobject/tmpl/objects.sgml | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 67e574ad6..9528fdb16 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,8 @@ +2004-10-05 Matthias Clasen + + * gobject/tmpl/objects.sgml: Improve the docs for + g_object_get_property(). (#153424, Stefan Kost) + 2004-10-03 Matthias Clasen * gobject/tmpl/signals.sgml: Improve docs for diff --git a/docs/reference/gobject/tmpl/objects.sgml b/docs/reference/gobject/tmpl/objects.sgml index 2d16e5d2c..0f3f4cc32 100644 --- a/docs/reference/gobject/tmpl/objects.sgml +++ b/docs/reference/gobject/tmpl/objects.sgml @@ -768,11 +768,11 @@ Gets a property of an object. 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(). -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. @object: a #GObject