[libgda] API docs: responsible to -> responsible for



commit da329509086fdd191d88bd93d4cbc2292bcbc5fc
Author: Murray Cumming <murrayc murrayc com>
Date:   Sat Oct 16 14:35:18 2010 +0200

    API docs: responsible to -> responsible for

 ChangeLog                                         |   14 ++++++++++++++
 libgda/gda-meta-store.c                           |    2 +-
 libgda/sql-parser/gda-statement-struct-compound.c |    2 +-
 libgda/sql-parser/gda-statement-struct-delete.c   |    4 ++--
 libgda/sql-parser/gda-statement-struct-insert.c   |   12 ++++++------
 libgda/sql-parser/gda-statement-struct-pspec.c    |    8 ++++----
 libgda/sql-parser/gda-statement-struct-select.c   |   16 ++++++++--------
 libgda/sql-parser/gda-statement-struct-trans.c    |    4 ++--
 libgda/sql-parser/gda-statement-struct-unknown.c  |    2 +-
 libgda/sql-parser/gda-statement-struct-update.c   |    8 ++++----
 10 files changed, 43 insertions(+), 29 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 9fc0f8d..5009e0f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,2 +1,16 @@
+2010-10-16  Murray Cumming  <murrayc murrayc-x61>
+
+	reviewed by: <delete if not using a buddy>
+
+	* libgda/gda-meta-store.c:
+	* libgda/sql-parser/gda-statement-struct-compound.c:
+	* libgda/sql-parser/gda-statement-struct-delete.c:
+	* libgda/sql-parser/gda-statement-struct-insert.c:
+	* libgda/sql-parser/gda-statement-struct-pspec.c:
+	* libgda/sql-parser/gda-statement-struct-select.c:
+	* libgda/sql-parser/gda-statement-struct-trans.c:
+	* libgda/sql-parser/gda-statement-struct-unknown.c:
+	* libgda/sql-parser/gda-statement-struct-update.c:
+
 The ChangeLog is auto-generated when releasing. If you
 are seeing this, use 'git log' for a detailed list of changes.
diff --git a/libgda/gda-meta-store.c b/libgda/gda-meta-store.c
index c55caec..92a7c9b 100644
--- a/libgda/gda-meta-store.c
+++ b/libgda/gda-meta-store.c
@@ -3444,7 +3444,7 @@ gda_meta_store_schema_get_structure (GdaMetaStore *store, GError **error)
  * method allows the user to add, set or remove attributes specific to their usage.
  * 
  * This method allows to get the value of a attribute stored in @store. The returned attribute value is 
- * placed at @att_value, the caller is responsible to free that string. 
+ * placed at @att_value, the caller is responsible for free that string. 
  *
  * If there is no attribute named @att_name then @att_value is set to %NULL
  * and @error will contain the GDA_META_STORE_ATTRIBUTE_NOT_FOUND_ERROR error code, and FALSE is returned.
diff --git a/libgda/sql-parser/gda-statement-struct-compound.c b/libgda/sql-parser/gda-statement-struct-compound.c
index bc3d8c8..6fe2fdc 100644
--- a/libgda/sql-parser/gda-statement-struct-compound.c
+++ b/libgda/sql-parser/gda-statement-struct-compound.c
@@ -145,7 +145,7 @@ _gda_sql_statement_compound_serialize (gpointer stmt)
  * @s: a #GdaSqlStatement pointer
  *
  * Adds the @s sub-statement to the @stmt compound statement. @s's reference is transferred to
- * @stmt (which means @stmt is then responsible to freeing it when no longer needed).
+ * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
 gda_sql_statement_compound_take_stmt (GdaSqlStatement *stmt, GdaSqlStatement *s)
diff --git a/libgda/sql-parser/gda-statement-struct-delete.c b/libgda/sql-parser/gda-statement-struct-delete.c
index 6db0ddf..7a669a6 100644
--- a/libgda/sql-parser/gda-statement-struct-delete.c
+++ b/libgda/sql-parser/gda-statement-struct-delete.c
@@ -127,7 +127,7 @@ gda_sql_statement_delete_serialize (gpointer stmt)
  * @value: a table name as a G_TYPE_STRING #GValue 
  *
  * Sets the name of the table to delete from in @stmt. @value's responsibility is transferred to
- * @stmt (which means @stmt is then responsible to freeing it when no longer needed).
+ * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
 gda_sql_statement_delete_take_table_name (GdaSqlStatement *stmt, GValue *value)
@@ -145,7 +145,7 @@ gda_sql_statement_delete_take_table_name (GdaSqlStatement *stmt, GValue *value)
  * @cond: the WHERE condition of the DELETE statement, as a #GdaSqlExpr 
  *
  * Sets the WHERE condition of @stmt. @cond's responsibility is transferred to
- * @stmt (which means @stmt is then responsible to freeing it when no longer needed).
+ * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void 
 gda_sql_statement_delete_take_condition (GdaSqlStatement *stmt, GdaSqlExpr *cond)
diff --git a/libgda/sql-parser/gda-statement-struct-insert.c b/libgda/sql-parser/gda-statement-struct-insert.c
index 8635b81..3f7fa21 100644
--- a/libgda/sql-parser/gda-statement-struct-insert.c
+++ b/libgda/sql-parser/gda-statement-struct-insert.c
@@ -227,7 +227,7 @@ gda_sql_statement_insert_serialize (gpointer stmt)
  * @value: name of the table to insert into, as a G_TYPE_STRING #GValue
  *
  * Sets the name of the table to insert into in @stmt. @value's responsibility is transferred to
- * @stmt (which means @stmt is then responsible to freeing it when no longer needed).
+ * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
 gda_sql_statement_insert_take_table_name (GdaSqlStatement *stmt, GValue *value)
@@ -245,7 +245,7 @@ gda_sql_statement_insert_take_table_name (GdaSqlStatement *stmt, GValue *value)
  * @value: name of the resolution conflict algorithm, as a G_TYPE_STRING #GValue
  *
  * Sets the name of the resolution conflict algorithm used by @stmt. @value's responsibility is transferred to
- * @stmt (which means @stmt is then responsible to freeing it when no longer needed).
+ * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
 gda_sql_statement_insert_take_on_conflict (GdaSqlStatement *stmt, GValue *value)
@@ -265,7 +265,7 @@ gda_sql_statement_insert_take_on_conflict (GdaSqlStatement *stmt, GValue *value)
  *
  * Sets the list of fields for which values will be specified in @stmt. @list's 
  * responsibility is transferred to
- * @stmt (which means @stmt is then responsible to freeing it when no longer needed).
+ * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
 gda_sql_statement_insert_take_fields_list (GdaSqlStatement *stmt, GSList *list)
@@ -285,7 +285,7 @@ gda_sql_statement_insert_take_fields_list (GdaSqlStatement *stmt, GSList *list)
  *
  * Sets a list of values to be inserted by @stmt. @list's 
  * responsibility is transferred to
- * @stmt (which means @stmt is then responsible to freeing it when no longer needed).
+ * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
 gda_sql_statement_insert_take_1_values_list (GdaSqlStatement *stmt, GSList *list)
@@ -305,7 +305,7 @@ gda_sql_statement_insert_take_1_values_list (GdaSqlStatement *stmt, GSList *list
  *
  * Sets a list of list of values to be inserted by @stmt. @list's 
  * responsibility is transferred to
- * @stmt (which means @stmt is then responsible to freeing it when no longer needed).
+ * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
 gda_sql_statement_insert_take_extra_values_list (GdaSqlStatement *stmt, GSList *list)
@@ -327,7 +327,7 @@ gda_sql_statement_insert_take_extra_values_list (GdaSqlStatement *stmt, GSList *
  *
  * Specifies a SELECT statement, the values inserted will be the result set of @select. @select's 
  * responsibility is transferred to
- * @stmt (which means @stmt is then responsible to freeing it when no longer needed).
+ * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
 gda_sql_statement_insert_take_select (GdaSqlStatement *stmt, GdaSqlStatement *select)
diff --git a/libgda/sql-parser/gda-statement-struct-pspec.c b/libgda/sql-parser/gda-statement-struct-pspec.c
index efac75b..4c9b1a4 100644
--- a/libgda/sql-parser/gda-statement-struct-pspec.c
+++ b/libgda/sql-parser/gda-statement-struct-pspec.c
@@ -29,7 +29,7 @@
  * @value: a G_TYPE_STRING #GValue
  *
  * Sets @pspec's name. @value's responsibility is transferred to
- * @pspec (which means @pspec is then responsible to freeing it when no longer needed).
+ * @pspec (which means @pspec is then responsible for freeing it when no longer needed).
  */
 void
 gda_sql_param_spec_take_name (GdaSqlParamSpec *pspec, GValue *value)
@@ -51,7 +51,7 @@ gda_sql_param_spec_take_name (GdaSqlParamSpec *pspec, GValue *value)
  * @value: a G_TYPE_STRING #GValue
  *
  * Sets @pspec's description. @value's responsibility is transferred to
- * @pspec (which means @pspec is then responsible to freeing it when no longer needed).
+ * @pspec (which means @pspec is then responsible for freeing it when no longer needed).
  */
 void
 gda_sql_param_spec_take_descr (GdaSqlParamSpec *pspec, GValue *value)
@@ -73,7 +73,7 @@ gda_sql_param_spec_take_descr (GdaSqlParamSpec *pspec, GValue *value)
  * @value: a G_TYPE_STRING #GValue. 
  *
  * Sets @pspec's ability of being NULL. @value's responsibility is transferred to
- * @pspec (which means @pspec is then responsible to freeing it when no longer needed).
+ * @pspec (which means @pspec is then responsible for freeing it when no longer needed).
  *
  * If @value's string starts by 't' or 'T' then @pspec will be allowed to be %NULL
  */
@@ -99,7 +99,7 @@ gda_sql_param_spec_take_nullok (GdaSqlParamSpec *pspec, GValue *value)
  * @value: a G_TYPE_STRING #GValue
  *
  * Sets @pspec's data type. @value's responsibility is transferred to
- * @pspec (which means @pspec is then responsible to freeing it when no longer needed).
+ * @pspec (which means @pspec is then responsible for freeing it when no longer needed).
  *
  * @value must represent a data type, as understood by gda_g_type_from_string().
  */
diff --git a/libgda/sql-parser/gda-statement-struct-select.c b/libgda/sql-parser/gda-statement-struct-select.c
index 48e9163..11735b2 100644
--- a/libgda/sql-parser/gda-statement-struct-select.c
+++ b/libgda/sql-parser/gda-statement-struct-select.c
@@ -249,7 +249,7 @@ _gda_sql_statement_select_serialize (gpointer stmt)
  * Sets the DISTINCT clause of @stmt. 
  *
  * @distinct_expr's responsibility is transferred to
- * @stmt (which means @stmt is then responsible to freeing it when no longer needed).
+ * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
 gda_sql_statement_select_take_distinct (GdaSqlStatement *stmt, gboolean distinct, GdaSqlExpr *distinct_expr)
@@ -268,7 +268,7 @@ gda_sql_statement_select_take_distinct (GdaSqlStatement *stmt, gboolean distinct
  * Sets list of expressions selected by @stmt
  *
  * @expr_list's responsibility is transferred to
- * @stmt (which means @stmt is then responsible to freeing it when no longer needed).
+ * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
 gda_sql_statement_select_take_expr_list (GdaSqlStatement *stmt, GSList *expr_list)
@@ -288,7 +288,7 @@ gda_sql_statement_select_take_expr_list (GdaSqlStatement *stmt, GSList *expr_lis
  * Sets the FROM clause of @stmt
  *
  * @from's responsibility is transferred to
- * @stmt (which means @stmt is then responsible to freeing it when no longer needed).
+ * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
 gda_sql_statement_select_take_from (GdaSqlStatement *stmt, GdaSqlSelectFrom *from)
@@ -306,7 +306,7 @@ gda_sql_statement_select_take_from (GdaSqlStatement *stmt, GdaSqlSelectFrom *fro
  * Sets the WHERE clause of @stmt
  *
  * @expr's responsibility is transferred to
- * @stmt (which means @stmt is then responsible to freeing it when no longer needed).
+ * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
 gda_sql_statement_select_take_where_cond (GdaSqlStatement *stmt, GdaSqlExpr *expr)
@@ -324,7 +324,7 @@ gda_sql_statement_select_take_where_cond (GdaSqlStatement *stmt, GdaSqlExpr *exp
  * Sets the GROUP BY clause of @stmt
  *
  * @group_by's responsibility is transferred to
- * @stmt (which means @stmt is then responsible to freeing it when no longer needed).
+ * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
 gda_sql_statement_select_take_group_by (GdaSqlStatement *stmt, GSList *group_by)
@@ -344,7 +344,7 @@ gda_sql_statement_select_take_group_by (GdaSqlStatement *stmt, GSList *group_by)
  * Sets the HAVING clause of @stmt
  *
  * @expr's responsibility is transferred to
- * @stmt (which means @stmt is then responsible to freeing it when no longer needed).
+ * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
 gda_sql_statement_select_take_having_cond (GdaSqlStatement *stmt, GdaSqlExpr *expr)
@@ -362,7 +362,7 @@ gda_sql_statement_select_take_having_cond (GdaSqlStatement *stmt, GdaSqlExpr *ex
  * Sets the ORDER BY clause of @stmt
  *
  * @order_by's responsibility is transferred to
- * @stmt (which means @stmt is then responsible to freeing it when no longer needed).
+ * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
 gda_sql_statement_select_take_order_by (GdaSqlStatement *stmt, GSList *order_by)
@@ -383,7 +383,7 @@ gda_sql_statement_select_take_order_by (GdaSqlStatement *stmt, GSList *order_by)
  * Sets the LIMIT clause of @stmt
  *
  * @count and @offset's responsibility are transferred to
- * @stmt (which means @stmt is then responsible to freeing them when no longer needed).
+ * @stmt (which means @stmt is then responsible for freeing them when no longer needed).
  */
 void
 gda_sql_statement_select_take_limits (GdaSqlStatement *stmt, GdaSqlExpr *count, GdaSqlExpr *offset)
diff --git a/libgda/sql-parser/gda-statement-struct-trans.c b/libgda/sql-parser/gda-statement-struct-trans.c
index adcd199..be2a450 100644
--- a/libgda/sql-parser/gda-statement-struct-trans.c
+++ b/libgda/sql-parser/gda-statement-struct-trans.c
@@ -254,7 +254,7 @@ gda_sql_statement_trans_serialize (gpointer stmt)
  * Sets the name of the transaction
  *
  * @value's responsibility is transferred to
- * @stmt (which means @stmt is then responsible to freeing it when no longer needed).
+ * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
 gda_sql_statement_trans_take_name (GdaSqlStatement *stmt, GValue *value)
@@ -279,7 +279,7 @@ gda_sql_statement_trans_take_name (GdaSqlStatement *stmt, GValue *value)
  * Sets the model of the transaction
  *
  * @value's responsibility is transferred to
- * @stmt (which means @stmt is then responsible to freeing it when no longer needed).
+ * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
 gda_sql_statement_trans_take_mode (GdaSqlStatement *stmt, GValue *value)
diff --git a/libgda/sql-parser/gda-statement-struct-unknown.c b/libgda/sql-parser/gda-statement-struct-unknown.c
index ea6bcd6..fde9427 100644
--- a/libgda/sql-parser/gda-statement-struct-unknown.c
+++ b/libgda/sql-parser/gda-statement-struct-unknown.c
@@ -117,7 +117,7 @@ gda_sql_statement_unknown_serialize (gpointer stmt)
  *
  * @expressions's 
  * responsibility is transferred to
- * @stmt (which means @stmt is then responsible to freeing it when no longer needed).
+ * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
 gda_sql_statement_unknown_take_expressions (GdaSqlStatement *stmt, GSList *expressions)
diff --git a/libgda/sql-parser/gda-statement-struct-update.c b/libgda/sql-parser/gda-statement-struct-update.c
index 29d4068..7713330 100644
--- a/libgda/sql-parser/gda-statement-struct-update.c
+++ b/libgda/sql-parser/gda-statement-struct-update.c
@@ -196,7 +196,7 @@ gda_sql_statement_update_serialize (gpointer stmt)
  * Sets the name of the table to delete from in @stmt.
  *
  * @value's responsibility is transferred to
- * @stmt (which means @stmt is then responsible to freeing it when no longer needed).
+ * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
 gda_sql_statement_update_take_table_name (GdaSqlStatement *stmt, GValue *value)
@@ -214,7 +214,7 @@ gda_sql_statement_update_take_table_name (GdaSqlStatement *stmt, GValue *value)
  * @value: name of the resolution conflict algorithm, as a G_TYPE_STRING #GValue
  *
  * Sets the name of the resolution conflict algorithm used by @stmt. @value's responsibility is transferred to
- * @stmt (which means @stmt is then responsible to freeing it when no longer needed).
+ * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void
 gda_sql_statement_update_take_on_conflict (GdaSqlStatement *stmt, GValue *value)
@@ -235,7 +235,7 @@ gda_sql_statement_update_take_on_conflict (GdaSqlStatement *stmt, GValue *value)
  * Sets the WHERE clause of @stmt
  *
  * @expr's responsibility is transferred to
- * @stmt (which means @stmt is then responsible to freeing it when no longer needed).
+ * @stmt (which means @stmt is then responsible for freeing it when no longer needed).
  */
 void 
 gda_sql_statement_update_take_condition (GdaSqlStatement *stmt, GdaSqlExpr *cond)
@@ -255,7 +255,7 @@ gda_sql_statement_update_take_condition (GdaSqlStatement *stmt, GdaSqlExpr *cond
  * Specifies that the field named @fname will be updated with the expression @expr.
  *
  * @fname and @expr's responsibility are transferred to
- * @stmt (which means @stmt is then responsible to freeing them when no longer needed).
+ * @stmt (which means @stmt is then responsible for freeing them when no longer needed).
  */
 void
 gda_sql_statement_update_take_set_value (GdaSqlStatement *stmt, GValue *fname, GdaSqlExpr *expr)



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