r18810 - gnucash/trunk/src - Typo fixes, as found by doxygen.log, patch by Jesse Weinstein

Geert Janssens gjanssens at code.gnucash.org
Thu Mar 4 05:31:41 EST 2010


Author: gjanssens
Date: 2010-03-04 05:31:41 -0500 (Thu, 04 Mar 2010)
New Revision: 18810
Trac: http://svn.gnucash.org/trac/changeset/18810

Modified:
   gnucash/trunk/src/backend/sql/gnc-backend-sql.h
   gnucash/trunk/src/engine/gnc-filepath-utils.c
   gnucash/trunk/src/import-export/csv/gnc-csv-model.c
Log:
Typo fixes, as found by doxygen.log, patch by Jesse Weinstein

Modified: gnucash/trunk/src/backend/sql/gnc-backend-sql.h
===================================================================
--- gnucash/trunk/src/backend/sql/gnc-backend-sql.h	2010-03-04 09:53:57 UTC (rev 18809)
+++ gnucash/trunk/src/backend/sql/gnc-backend-sql.h	2010-03-04 10:31:41 UTC (rev 18810)
@@ -28,8 +28,7 @@
     @ingroup SQLBE
 */
 
-/** @addtogroup SQLBE
- *  The SQL backend core is a library which can form the core for a QOF
+/** The SQL backend core is a library which can form the core for a QOF
  *  backend based on an SQL library.
  *
  *  @file gnc-backend-sql.h
@@ -101,7 +100,7 @@
 /**
  * Object editing has been cancelled.
  *
- * @param be SQL backend
+ * @param qbe SQL backend
  * @param inst Object being edited
  */
 void gnc_sql_rollback_edit( GncSqlBackend* qbe, QofInstance *inst );
@@ -109,7 +108,7 @@
 /**
  * Object editting is complete and the object should be saved.
  *
- * @param be SQL backend
+ * @param qbe SQL backend
  * @param inst Object being edited
  */
 void gnc_sql_commit_edit( GncSqlBackend* qbe, QofInstance *inst );
@@ -418,7 +417,7 @@
  * all of the column names for the pieces are added.
  *
  * @param table_row DB table column
- * @pList List
+ * @param pList List
  */
 void gnc_sql_add_colname_to_list( const GncSqlColumnTableEntry* table_row, GList** pList );
 
@@ -520,17 +519,9 @@
  */
 gint gnc_sql_get_table_version( const GncSqlBackend* be, const gchar* table_name );
 
-/**
- * Sets the version number for a DB table.
- *
- * @param be SQL backend struct
- * @param table_name Table name
- * @param table_version Table version
- * @return TRUE if successful, FALSE if unsuccessful
- */
 gboolean gnc_sql_set_table_version( GncSqlBackend* be,
                                     const gchar* table_name,
-                                    gint table_version );
+                                    gint version );
 
 /**
  * Creates a table in the database

Modified: gnucash/trunk/src/engine/gnc-filepath-utils.c
===================================================================
--- gnucash/trunk/src/engine/gnc-filepath-utils.c	2010-03-04 09:53:57 UTC (rev 18809)
+++ gnucash/trunk/src/engine/gnc-filepath-utils.c	2010-03-04 10:31:41 UTC (rev 18810)
@@ -79,14 +79,12 @@
     }
 }
 
-/** \fn gchar * check_file_return_if_true (path)
- *  \brief Check if the path exists and is a regular file
+/** Check if the path exists and is a regular file.
  *
  * \param path -- freed if the path doesn't exist or isn't a regular file
  *
  *  \return NULL or the path
  */
-
 static gchar *
 check_path_return_if_valid(gchar *path)
 {
@@ -225,7 +223,7 @@
  *  @brief Return the passed-in string unless it starts with file:,
  *  xml:, or is a raw relative path.
  *
- * Strings starting with "http://, https://, or a "registered scheme"
+ * Strings starting with http://, https://, or a "registered scheme"
  * (see qof_backend_get_registered_access_method_list()) are returned
  * as-is by this function.
  *

Modified: gnucash/trunk/src/import-export/csv/gnc-csv-model.c
===================================================================
--- gnucash/trunk/src/import-export/csv/gnc-csv-model.c	2010-03-04 09:53:57 UTC (rev 18809)
+++ gnucash/trunk/src/import-export/csv/gnc-csv-model.c	2010-03-04 10:31:41 UTC (rev 18810)
@@ -479,7 +479,7 @@
  * right now.)
  * @param parse_data Data that is being parsed
  * @param guessColTypes TRUE to guess what the types of columns are based on the cell contents
- * @error error Will contain an error if there is a failure
+ * @param error Will contain an error if there is a failure
  * @return 0 on success, 1 on failure
  */
 int gnc_csv_parse(GncCsvParseData* parse_data, gboolean guessColTypes, GError** error)



More information about the gnucash-changes mailing list