[libgda/LIBGDA_4.2] Doc. correction
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda/LIBGDA_4.2] Doc. correction
- Date: Sat, 10 Mar 2012 13:50:42 +0000 (UTC)
commit 9261dfd3c501054b7a785a7862502929504d7a5f
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 4a1541d..c226a02 100644
--- a/libgda/gda-holder.c
+++ b/libgda/gda-holder.c
@@ -1998,14 +1998,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]