[libgda/gtk3] Doc. updates
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda/gtk3] Doc. updates
- Date: Thu, 16 Dec 2010 20:19:31 +0000 (UTC)
commit 1a42507e3b85dabac58c125b8258b194dffe96d9
Author: Vivien Malerba <malerba gnome-db org>
Date: Sun Dec 12 16:33:35 2010 +0100
Doc. updates
doc/C/libgda-5.0-docs.sgml | 4 ++++
libgda/gda-data-model.c | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/doc/C/libgda-5.0-docs.sgml b/doc/C/libgda-5.0-docs.sgml
index a01ef67..faf16ee 100644
--- a/doc/C/libgda-5.0-docs.sgml
+++ b/doc/C/libgda-5.0-docs.sgml
@@ -592,6 +592,10 @@
for NULL values, instead of the "NULL" string</para>
</listitem>
<listitem>
+ <para>GDA_DATA_MODEL_DUMP_TRUNCATE: if set to a numeric value, then
+ <link linkend="gda-data-model-dump">gda_data_model_dump()</link> will truncates the output to the width specified by the value. If the value is -1 then the actual terminal size (if it can be determined) is used</para>
+ </listitem>
+ <listitem>
<para>GDA_DATA_MODEL_DUMP_ATTRIBUTES: if set, then
<link linkend="gda-data-model-dump">gda_data_model_dump()</link> will also include a description of
the data model's attributes</para>
diff --git a/libgda/gda-data-model.c b/libgda/gda-data-model.c
index fe6c508..eeae63f 100644
--- a/libgda/gda-data-model.c
+++ b/libgda/gda-data-model.c
@@ -2031,7 +2031,7 @@ static gchar *real_gda_data_model_dump_as_string (GdaDataModel *model, gboolean
* <listitem><para>GDA_DATA_MODEL_DUMP_ROW_NUMBERS: if set, the first column of the output will contain row numbers</para></listitem>
* <listitem><para>GDA_DATA_MODEL_DUMP_ATTRIBUTES: if set, also dump the data model's columns' types and value's attributes</para></listitem>
* <listitem><para>GDA_DATA_MODEL_DUMP_TITLE: if set, also dump the data model's title</para></listitem>
- * <listitem><para>GDA_DATA_MODEL_DUMP_NULL_AS_EMPTY: if set, replace the 'NULL' string with an empty string for NULL values </para></listitem>
+ * <listitem><para>GDA_DATA_MODEL_NULL_AS_EMPTY: if set, replace the 'NULL' string with an empty string for NULL values </para></listitem>
* <listitem><para>GDA_DATA_MODEL_DUMP_TRUNCATE: if set to a numeric value, truncates the output to the width specified by the value. If the value is -1 then the actual terminal size (if it can be determined) is used</para></listitem>
* </itemizedlist>
*/
@@ -2109,7 +2109,7 @@ gda_data_model_dump (GdaDataModel *model, FILE *to_stream)
* <itemizedlist>
* <listitem><para>GDA_DATA_MODEL_DUMP_ROW_NUMBERS: if set, the first column of the output will contain row numbers</para></listitem>
* <listitem><para>GDA_DATA_MODEL_DUMP_TITLE: if set, also dump the data model's title</para></listitem>
-* <listitem><para>GDA_DATA_MODEL_DUMP_NULL_AS_EMPTY: if set, replace the 'NULL' string with an empty string for NULL values </para></listitem>
+* <listitem><para>GDA_DATA_MODEL_NULL_AS_EMPTY: if set, replace the 'NULL' string with an empty string for NULL values </para></listitem>
* <listitem><para>GDA_DATA_MODEL_DUMP_TRUNCATE: if set to a numeric value, truncates the output to the width specified by the value. If the value is -1 then the actual terminal size (if it can be determined) is used</para></listitem>
* </itemizedlist>
* Returns: a new string.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]