[Gnucash-changes] Chris Shoemaker's typo-fix patch.
Derek Atkins
warlord at cvs.gnucash.org
Fri Dec 31 17:52:56 EST 2004
Log Message:
-----------
Chris Shoemaker's typo-fix patch.
* src/engine/qofbook.h:
* src/engine/qofid.h:
general fixed typos and comments
Modified Files:
--------------
gnucash:
ChangeLog
gnucash/src/engine:
qofbook.h
qofid.h
Revision Data
-------------
Index: ChangeLog
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/ChangeLog,v
retrieving revision 1.1873
retrieving revision 1.1874
diff -LChangeLog -LChangeLog -u -r1.1873 -r1.1874
--- ChangeLog
+++ ChangeLog
@@ -9,6 +9,11 @@
- add indenting of trace file according to ENTER/LEAVE stack depth
- have ENTER report file name of function along with function name
+ Chris Shoemaker's typo-fix patch.
+ * src/engine/qofbook.h:
+ * src/engine/qofid.h:
+ general fixed typos and comments
+
2004-12-29 Christian Stimming <stimming at tuhh.de>
* src/tax/us/txf-de_DE.scm: Add Tax TXF categories for the de_DE
Index: qofid.h
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/engine/qofid.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -Lsrc/engine/qofid.h -Lsrc/engine/qofid.h -u -r1.13 -r1.14
--- src/engine/qofid.h
+++ src/engine/qofid.h
@@ -121,7 +121,7 @@
@param e_type QofIdType
@param is_dirty gboolean
@param hash_of_entities GHashTable
- at param data gpointer, place where object class can hang arbitrari data
+ at param data gpointer, place where object class can hang arbitrary data
*/
typedef struct QofCollection_s QofCollection;
Index: qofbook.h
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/engine/qofbook.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -Lsrc/engine/qofbook.h -Lsrc/engine/qofbook.h -u -r1.15 -r1.16
--- src/engine/qofbook.h
+++ src/engine/qofbook.h
@@ -81,7 +81,14 @@
associated with it. */
void qof_book_destroy (QofBook *book);
-/** \return The table of entities of the given type.
+/** \return The table of entities of the given type.
+ *
+ * When an object's constructor calls qof_instance_init(), a
+ * reference to the object is stored in the book. The book stores
+ * all the references to initialized instances, sorted by type. This
+ * function returns a collection of the references for the specified
+ * type.
+ *
* If the collection doesn't yet exist for the indicated type,
* it is created. Thus, this routine is gaurenteed to return
* a non-NULL value. (Unless the system malloc failed (out of
@@ -94,11 +101,11 @@
void qof_book_foreach_collection (QofBook *, QofCollectionForeachCB, gpointer);
/** \return The kvp data for the book.
- * Note that the boom KVP data is persistant, and is stored/retrevied
+ * Note that the book KVP data is persistant, and is stored/retrieved
* from the file/database. Thus, the book KVP is the correct place to
* store data that needs to be persistant accross sessions (or shared
* between multiple users). To store application runtime data, use
- * qof_book_set_data() isntead.
+ * qof_book_set_data() instead.
*/
#define qof_book_get_slots(book) qof_instance_get_slots(QOF_INSTANCE(book))
@@ -120,7 +127,7 @@
*/
void qof_book_set_data_fin (QofBook *book, const char *key, gpointer data, QofBookFinalCB);
-/** Retreives arbitrary pointers to structs stored by qof_book_set_data. */
+/** Retrieves arbitrary pointers to structs stored by qof_book_set_data. */
gpointer qof_book_get_data (QofBook *book, const char *key);
/** DOCUMENT ME! */
@@ -137,7 +144,7 @@
* anything about saving. Its just that whenever data is modified,
* the 'dirty' flag is set. This routine returns the value of the
* 'dirty' flag. Its up to the backend to periodically reset this
- * flag, when it acutally does save the data.)
+ * flag, when it actually does save the data.)
*/
gboolean qof_book_not_saved (QofBook *book);
More information about the gnucash-changes
mailing list