libgda r3130 - in branches/libgda-3-2: . libgda



Author: murrayc
Date: Tue Apr  8 06:01:54 2008
New Revision: 3130
URL: http://svn.gnome.org/viewvc/libgda?rev=3130&view=rev

Log:
2008-04-08  Murray Cumming  <murrayc murrayc com>

* libgda/gda-config.c (gda_config_has_key, load_providers_from_dir):
* libgda/gda-connection.c (gda_connection_supports_feature):
* libgda/gda-data-model-hash.c (gda_data_model_hash_new):
* libgda/gda-row.c (gda_row_copy, gda_row_set_id): Very minor  
corrections to documentation.

Modified:
   branches/libgda-3-2/ChangeLog
   branches/libgda-3-2/libgda/gda-config.c
   branches/libgda-3-2/libgda/gda-connection.c
   branches/libgda-3-2/libgda/gda-data-model-hash.c
   branches/libgda-3-2/libgda/gda-row.c

Modified: branches/libgda-3-2/libgda/gda-config.c
==============================================================================
--- branches/libgda-3-2/libgda/gda-config.c	(original)
+++ branches/libgda-3-2/libgda/gda-config.c	Tue Apr  8 06:01:54 2008
@@ -1361,7 +1361,7 @@
  * @path: path to the configuration key.
  *
  * Gets a string representing the type of the value of the given key.
- * The caller is responsible of freeing the returned value.
+ * The caller is responsible for freeing the returned value.
  *
  * Returns: %NULL if not found. Otherwise: "string", "float", "long", "bool".
  */
@@ -1656,7 +1656,7 @@
  * the system. Each of the nodes in the returned GList
  * is a #GdaProviderInfo.
  *
- * Returns: a GList of #GdaProviderInfo structures, don't free or modify it!
+ * Returns: a GList of #GdaProviderInfo structures. Don't free or modify it!
  */
 GList *
 gda_config_get_provider_list (void)

Modified: branches/libgda-3-2/libgda/gda-connection.c
==============================================================================
--- branches/libgda-3-2/libgda/gda-connection.c	(original)
+++ branches/libgda-3-2/libgda/gda-connection.c	Tue Apr  8 06:01:54 2008
@@ -1595,7 +1595,7 @@
  * <link linkend="libgda-provider-get-schema">get_schema() virtual method for providers</link> for more details.
  *
  * Returns: a #GdaDataModel containing the data required. The caller is responsible
- * of freeing the returned model using g_object_unref().
+ * for freeing the returned model using g_object_unref().
  */
 GdaDataModel *
 gda_connection_get_schema (GdaConnection *cnc,

Modified: branches/libgda-3-2/libgda/gda-data-model-hash.c
==============================================================================
--- branches/libgda-3-2/libgda/gda-data-model-hash.c	(original)
+++ branches/libgda-3-2/libgda/gda-data-model-hash.c	Tue Apr  8 06:01:54 2008
@@ -428,7 +428,7 @@
  * gda_data_model_hash_insert_row
  * @model: the #GdaDataModelHash which is gonna hold the row.
  * @rownum: the number of the row.
- * @row: the row to insert. The model is responsible of freeing it!
+ * @row: the row to insert. The model is responsible for freeing it with g_object_unref().
  *
  * Inserts a @row in the @model.
  */

Modified: branches/libgda-3-2/libgda/gda-row.c
==============================================================================
--- branches/libgda-3-2/libgda/gda-row.c	(original)
+++ branches/libgda-3-2/libgda/gda-row.c	Tue Apr  8 06:01:54 2008
@@ -346,7 +346,7 @@
  * @values: a list of #GValue's.
  *
  * Creates a #GdaRow from a list of #GValue's.  These GValue's are
- * value-copied and the user are still responsible for freeing them.
+ * value-copied and the user is still responsible for freeing them with g_object_unref().
  *
  * See the gda_row_new() function's documentation for more information about the @model attribute
  *
@@ -491,7 +491,7 @@
  * Gets a pointer to a #GValue stored in a #GdaRow.
  *
  * This is a pointer to the internal array of values. Don't try to free
- * or modify it!
+ * or modify it.
  *
  * Returns: a pointer to the #GValue in the position @num of @row.
  */



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