[libgda] Doc. correction
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Doc. correction
- Date: Thu, 1 Mar 2012 19:54:14 +0000 (UTC)
commit e57e5791b34d8863dc892d47a7327839185d7a16
Author: Vivien Malerba <malerba gnome-db org>
Date: Thu Mar 1 19:22:14 2012 +0100
Doc. correction
libgda/gda-holder.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/libgda/gda-holder.c b/libgda/gda-holder.c
index 6e01209..1a51000 100644
--- a/libgda/gda-holder.c
+++ b/libgda/gda-holder.c
@@ -2000,14 +2000,12 @@ gda_holder_get_attribute (GdaHolder *holder, const gchar *attribute)
* then the string will not be freed at all).
*
* Attributes can have any name, but Libgda proposes some default names,
- * see <link linkend="libgda-40-Attributes-manager.synopsis">this section</link>.
+ * see <link linkend="libgda-5.0-Attributes-manager.synopsis">this section</link>.
*
* For example one would use it as:
*
- * <code>
- * gda_holder_set_attribute (holder, g_strdup (my_attribute), g_free, my_value);
- * gda_holder_set_attribute (holder, GDA_ATTRIBUTE_NAME, NULL, my_value);
- * </code>
+ * <code>gda_holder_set_attribute (holder, g_strdup (my_attribute), my_value, g_free);</code>
+ * <code>gda_holder_set_attribute (holder, GDA_ATTRIBUTE_NAME, my_value, NULL);</code>
*
* If there is already an attribute named @attribute set, then its value is replaced with the new value (@value is
* copied), except if @value is %NULL, in which case the attribute is removed.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]