mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Line-wraps, and typo-fixes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14620 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
2e28a8b586
commit
a2104b0c77
@ -147,7 +147,7 @@ gnc_book_dom_tree_create(QofBook *book)
|
|||||||
|
|
||||||
/* ================================================================ */
|
/* ================================================================ */
|
||||||
/* same as above, but we write out directly. Only handle the guid
|
/* same as above, but we write out directly. Only handle the guid
|
||||||
* and slots, everythign else is handled elsewehere */
|
* and slots, everything else is handled elsewehere */
|
||||||
|
|
||||||
void
|
void
|
||||||
write_book_parts(FILE *out, QofBook *book)
|
write_book_parts(FILE *out, QofBook *book)
|
||||||
|
@ -210,7 +210,7 @@ int finishQuery(PGBackend *be);
|
|||||||
* -- sqlname -- input -- the name of the field in the sql table
|
* -- sqlname -- input -- the name of the field in the sql table
|
||||||
* -- fun -- input -- a subroutine returning a value
|
* -- fun -- input -- a subroutine returning a value
|
||||||
* -- ndiffs -- input/output -- integer, incremented if the
|
* -- ndiffs -- input/output -- integer, incremented if the
|
||||||
* value ofthe field and the value returned by
|
* value of the field and the value returned by
|
||||||
* the subroutine differ.
|
* the subroutine differ.
|
||||||
*
|
*
|
||||||
* The different macros compare different field types.
|
* The different macros compare different field types.
|
||||||
@ -245,7 +245,7 @@ int finishQuery(PGBackend *be);
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Compare guids. A NULL GUID from the engine is considered to
|
/* Compare guids. A NULL GUID from the engine is considered to
|
||||||
* match any value of a GUID in teh sql database. This is
|
* match any value of a GUID in the sql database. This is
|
||||||
* equality is used to enable deletion, where the GUID may have
|
* equality is used to enable deletion, where the GUID may have
|
||||||
* already been set to NULL in the engine, but not yet in the DB.
|
* already been set to NULL in the engine, but not yet in the DB.
|
||||||
*/
|
*/
|
||||||
|
@ -64,7 +64,7 @@ typedef struct {
|
|||||||
|
|
||||||
/* function prototypes */
|
/* function prototypes */
|
||||||
|
|
||||||
/** Retrieve the type number for an "account tree" plugin page.
|
/** Retrieve the type number for the plugin page.
|
||||||
*
|
*
|
||||||
* @return The type number.
|
* @return The type number.
|
||||||
*/
|
*/
|
||||||
@ -82,7 +82,8 @@ GType gnc_plugin_page_register_get_type (void);
|
|||||||
*
|
*
|
||||||
* @return The newly created plugin page.
|
* @return The newly created plugin page.
|
||||||
*/
|
*/
|
||||||
GncPluginPage *gnc_plugin_page_register_new (Account *account, gboolean subaccounts);
|
GncPluginPage *
|
||||||
|
gnc_plugin_page_register_new (Account *account, gboolean subaccounts);
|
||||||
|
|
||||||
|
|
||||||
/** Create a new "register" plugin page, given a pointer to an already
|
/** Create a new "register" plugin page, given a pointer to an already
|
||||||
@ -95,14 +96,16 @@ GncPluginPage *gnc_plugin_page_register_new (Account *account, gboolean subaccou
|
|||||||
*
|
*
|
||||||
* @return The newly created plugin page.
|
* @return The newly created plugin page.
|
||||||
*/
|
*/
|
||||||
GncPluginPage *gnc_plugin_page_register_new_ledger (GNCLedgerDisplay *ledger);
|
GncPluginPage *
|
||||||
|
gnc_plugin_page_register_new_ledger (GNCLedgerDisplay *ledger);
|
||||||
|
|
||||||
|
|
||||||
/** Create a new "register" plugin page containing a general ledger.
|
/** Create a new "register" plugin page containing a general ledger.
|
||||||
*
|
*
|
||||||
* @return The newly created plugin page.
|
* @return The newly created plugin page.
|
||||||
*/
|
*/
|
||||||
GncPluginPage *gnc_plugin_page_register_new_gl (void);
|
GncPluginPage *
|
||||||
|
gnc_plugin_page_register_new_gl (void);
|
||||||
|
|
||||||
|
|
||||||
/** Set various register options on a newly created "register" plugin page.
|
/** Set various register options on a newly created "register" plugin page.
|
||||||
@ -132,7 +135,8 @@ gnc_plugin_page_register_set_options (GncPluginPage *plugin_page,
|
|||||||
*
|
*
|
||||||
* @param plugin_page A "register" page.
|
* @param plugin_page A "register" page.
|
||||||
*/
|
*/
|
||||||
GNCSplitReg * gnc_plugin_page_register_get_gsr (GncPluginPage *plugin_page);
|
GNCSplitReg *
|
||||||
|
gnc_plugin_page_register_get_gsr (GncPluginPage *plugin_page);
|
||||||
|
|
||||||
|
|
||||||
/** Get the Account associated with this register page.
|
/** Get the Account associated with this register page.
|
||||||
@ -142,7 +146,8 @@ GNCSplitReg * gnc_plugin_page_register_get_gsr (GncPluginPage *plugin_page);
|
|||||||
* @return The account if the register contains only a single
|
* @return The account if the register contains only a single
|
||||||
* account, or an account and its sub-accounts. NULL otherwise.
|
* account, or an account and its sub-accounts. NULL otherwise.
|
||||||
*/
|
*/
|
||||||
Account *gnc_plugin_page_register_get_account (GncPluginPageRegister *page);
|
Account *
|
||||||
|
gnc_plugin_page_register_get_account (GncPluginPageRegister *page);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
/** @} */
|
/** @} */
|
||||||
|
@ -640,7 +640,7 @@
|
|||||||
;; this is a semi-generic routine to apply a format check and
|
;; this is a semi-generic routine to apply a format check and
|
||||||
;; parsing routine to fields that can have multiple possible
|
;; parsing routine to fields that can have multiple possible
|
||||||
;; formats. In this case, any amount field cam be decimal or
|
;; formats. In this case, any amount field cam be decimal or
|
||||||
;; comma radix and the date firled can be any of several possible
|
;; comma radix and the date field can be any of several possible
|
||||||
;; types.
|
;; types.
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
@ -1647,7 +1647,7 @@ gnc_split_register_confirm (VirtualLocation virt_loc, gpointer user_data)
|
|||||||
char recn;
|
char recn;
|
||||||
|
|
||||||
/* This assumes we reset the flag whenever we change splits.
|
/* This assumes we reset the flag whenever we change splits.
|
||||||
* This happens in LedgerMoveCursor. */
|
* This happens in gnc_split_register_move_cursor(). */
|
||||||
if (info->change_confirmed)
|
if (info->change_confirmed)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
@ -1691,7 +1691,6 @@ gnc_split_register_confirm (VirtualLocation virt_loc, gpointer user_data)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
info->change_confirmed = TRUE;
|
info->change_confirmed = TRUE;
|
||||||
return TRUE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
Loading…
Reference in New Issue
Block a user