[libgda] Doc. corrections



commit 4456646e7d62664849ff7929d4cdad361465832c
Author: Vivien Malerba <malerba gnome-db org>
Date:   Tue Jun 1 18:53:53 2010 +0200

    Doc. corrections

 doc/C/tmpl/gda-server-provider.sgml  |    4 ----
 libgda/gda-server-provider-extra.c   |    6 ++++++
 libgda/gda-server-provider.h         |    1 +
 libgda/providers-support/gda-pstmt.c |    2 +-
 4 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/doc/C/tmpl/gda-server-provider.sgml b/doc/C/tmpl/gda-server-provider.sgml
index 7328eca..e7a91fe 100644
--- a/doc/C/tmpl/gda-server-provider.sgml
+++ b/doc/C/tmpl/gda-server-provider.sgml
@@ -70,10 +70,6 @@ Base class for all the DBMS providers
 @xa_funcs: 
 @identifier_quote: 
 @handle_async: 
- _gda_reserved3: 
- _gda_reserved4: 
- _gda_reserved5: 
- _gda_reserved6: 
 
 <!-- ##### ENUM GdaServerProviderError ##### -->
 <para>
diff --git a/libgda/gda-server-provider-extra.c b/libgda/gda-server-provider-extra.c
index 20c6139..a72bdc2 100644
--- a/libgda/gda-server-provider-extra.c
+++ b/libgda/gda-server-provider-extra.c
@@ -260,6 +260,8 @@ gda_select_alter_select_for_empty (GdaStatement *stmt, GError **error)
  *
  * Returns: the number of columns the #GdaDataModel for the requested schema
  * must have
+ *
+ * Deprecated: 4.2: This was a leftover from the pre 4.0 area
  */
 gint
 gda_server_provider_get_schema_nb_columns (GdaConnectionSchema schema)
@@ -473,6 +475,8 @@ schema_get_spec (GdaConnectionSchema schema)
  * Sets the column attributes of @model for the requested schema
  *
  * Returns: TRUE if there was no error
+ *
+ * Deprecated: 4.2: This was a leftover from the pre 4.0 area
  */
 gboolean
 gda_server_provider_init_schema_model (GdaDataModel *model, GdaConnectionSchema schema)
@@ -508,6 +512,8 @@ gda_server_provider_init_schema_model (GdaDataModel *model, GdaConnectionSchema
  * Test that the structure of @model is correct in regard with @schema
  *
  * Returns: TRUE if @model has the correct structure
+ *
+ * Deprecated: 4.2: This was a leftover from the pre 4.0 area
  */
 gboolean
 gda_server_provider_test_schema_model (GdaDataModel *model, GdaConnectionSchema schema, GError **error)
diff --git a/libgda/gda-server-provider.h b/libgda/gda-server-provider.h
index 1026694..9490752 100644
--- a/libgda/gda-server-provider.h
+++ b/libgda/gda-server-provider.h
@@ -308,6 +308,7 @@ struct _GdaServerProviderClass {
 	/* Async. handling@ */
 	gboolean                (*handle_async)          (GdaServerProvider *provider, GdaConnection *cnc, GError **error);
 
+	/*< private >*/
 	/* Padding for future expansion */
 	void                    (*_gda_reserved3)        (void);
 	void                    (*_gda_reserved4)        (void);
diff --git a/libgda/providers-support/gda-pstmt.c b/libgda/providers-support/gda-pstmt.c
index b134cc4..0c7ce50 100644
--- a/libgda/providers-support/gda-pstmt.c
+++ b/libgda/providers-support/gda-pstmt.c
@@ -220,7 +220,7 @@ gda_pstmt_copy_contents (GdaPStmt *src, GdaPStmt *dest)
  * Note: if that statement has been modified since the creation of @pstmt, then this method
  * will return %NULL
  *
- * Returns: the #GdaStatement
+ * Returns: (transfer none): the #GdaStatement
  */
 GdaStatement *
 gda_pstmt_get_gda_statement (GdaPStmt *pstmt)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]