[libgda] Documentation: Fix some spelling



commit 5f6e34e2367857861187cfb4c7391d240f55d002
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Oct 19 22:31:32 2011 +0200

    Documentation: Fix some spelling

 libgda/gda-connection.c      |    6 +++---
 libgda/gda-data-comparator.c |    2 +-
 libgda/gda-meta-store.c      |    4 ++--
 libgda/gda-xa-transaction.h  |    2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/libgda/gda-connection.c b/libgda/gda-connection.c
index f0d4c2d..32bfc13 100644
--- a/libgda/gda-connection.c
+++ b/libgda/gda-connection.c
@@ -1049,7 +1049,7 @@ _gda_connection_get_internal_thread_provider (void)
  * This method may fail with a GDA_CONNECTION_ERROR domain error (see the #GdaConnectionError error codes) 
  * or a %GDA_CONFIG_ERROR domain error (see the #GdaConfigError error codes).
  *
- * Returns: (transfer full): a new #GdaConnection if connection opening was sucessfull or %NULL if there was an error.
+ * Returns: (transfer full): a new #GdaConnection if connection opening was successful or %NULL if there was an error.
  */
 GdaConnection *
 gda_connection_open_from_dsn (const gchar *dsn, const gchar *auth_string, 
@@ -1203,7 +1203,7 @@ gda_connection_open_from_dsn (const gchar *dsn, const gchar *auth_string,
  * This method may fail with a GDA_CONNECTION_ERROR domain error (see the #GdaConnectionError error codes) 
  * or a %GDA_CONFIG_ERROR domain error (see the #GdaConfigError error codes).
  *
- * Returns: (transfer full): a new #GdaConnection if connection opening was sucessfull or %NULL if there was an error.
+ * Returns: (transfer full): a new #GdaConnection if connection opening was successful or %NULL if there was an error.
  */
 GdaConnection *
 gda_connection_open_from_string (const gchar *provider_name, const gchar *cnc_string, const gchar *auth_string,
@@ -6345,7 +6345,7 @@ gda_connection_lock (GdaLockable *lockable)
  * Tries to lock @cnc for the exclusive usage of the current thread, as gda_connection_lock(), except
  * that if it can't, then the calling thread is not locked by it simply returns FALSE.
  *
- * Returns: TRUE if sucessfully locked, or FALSE if lock could not be acquired
+ * Returns: TRUE if successfully locked, or FALSE if lock could not be acquired
  */
 static gboolean
 gda_connection_trylock (GdaLockable *lockable)
diff --git a/libgda/gda-data-comparator.c b/libgda/gda-data-comparator.c
index f995cc2..8138b95 100644
--- a/libgda/gda-data-comparator.c
+++ b/libgda/gda-data-comparator.c
@@ -430,7 +430,7 @@ find_row_in_model (GdaDataComparator *comp, gint row, gboolean *out_has_changed,
  * If one connects to this signal and returns FALSE in the signal handler, then computing differences will be
  * stopped and an error will be returned.
  *
- * Returns: TRUE if all the differences have been sucessfully computed, and FALSE if an error occurred
+ * Returns: TRUE if all the differences have been successfully computed, and FALSE if an error occurred
  */
 gboolean
 gda_data_comparator_compute_diff (GdaDataComparator *comp, GError **error)
diff --git a/libgda/gda-meta-store.c b/libgda/gda-meta-store.c
index 19503cd..738f544 100644
--- a/libgda/gda-meta-store.c
+++ b/libgda/gda-meta-store.c
@@ -3830,7 +3830,7 @@ gda_meta_store_set_attribute_value (GdaMetaStore *store, const gchar *att_name,
 
 <!ELEMENT definition (#PCDATA)>]]></programlisting>
  *
- * Returns: TRUE if the new object has sucessfully been added
+ * Returns: TRUE if the new object has successfully been added
  */
 gboolean
 gda_meta_store_schema_add_custom_object (GdaMetaStore *store, const gchar *xml_description, GError **error)
@@ -4038,7 +4038,7 @@ gda_meta_store_schema_add_custom_object (GdaMetaStore *store, const gchar *xml_d
  *
  * Removes the custom database object named @obj_name.
  *
- * Returns: TRUE if the custom object has sucessfully been removed
+ * Returns: TRUE if the custom object has successfully been removed
  */
 gboolean
 gda_meta_store_schema_remove_custom_object (GdaMetaStore *store, const gchar *obj_name, GError **error)
diff --git a/libgda/gda-xa-transaction.h b/libgda/gda-xa-transaction.h
index f9d23b3..3219bb3 100644
--- a/libgda/gda-xa-transaction.h
+++ b/libgda/gda-xa-transaction.h
@@ -96,7 +96,7 @@ struct _GdaXaTransactionId {
  * made on any connection are first <emphasis>prepared</emphasis> (which means that they are store in the database), and
  * if that phase succeeded for all the involved connections, then the <emphasis>commit</emphasis> phase is executed
  * (where all the data previously stored during the <emphasis>prepare</emphasis> phase are actually committed).
- * That second phase may actually fail, but the distributed transaction will still be considered as sucessfull
+ * That second phase may actually fail, but the distributed transaction will still be considered as successfull
  * as the data stored during the <emphasis>prepare</emphasis> phase can be committed afterwards.
  *
  * A distributed transaction involves the following steps:



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