Bug 798382 - Typo corrections in comments

This commit is contained in:
Kevin M. Buckley 2021-12-12 09:50:48 -08:00 committed by John Ralls
parent 95b973f792
commit 1e22632687
9 changed files with 18 additions and 18 deletions

View File

@ -361,7 +361,7 @@ void gnc_main_window_restore_all_windows(const GKeyFile *keyfile);
* used on report pages to delay the creation of the report till the
* page is focused.
*
* @param window When window whose pages should be checked.
* @param window The window whose pages should be checked.
*
* @return TRUE if pages are being restored
*/
@ -383,7 +383,7 @@ void gnc_main_window_restore_default_state(GncMainWindow *window);
* If any page returns a failure indication, then the function stops
* walking pages and immediately returns a failure.
*
* @param window When window whose pages should be checked.
* @param window The window whose pages should be checked.
*
* @return FALSE if any page could not or would not comply, which
* should cancel the pending operation. TRUE otherwise */
@ -412,7 +412,7 @@ void gnc_main_window_all_action_set_sensitive (const gchar *action_name, gboolea
/** Find action in main window.
*
* @param window When window which should be checked for the action.
* @param window The window which should be checked for the action.
*
* @param name The name of the command to be retrieved.
*

View File

@ -208,7 +208,7 @@ gnc_commodity * gnc_tree_view_commodity_get_selected_commodity (GncTreeViewComm
*
* @param view A pointer to an commodity tree view.
*
* @param The commodity to select.
* @param commodity The commodity to select.
*/
void gnc_tree_view_commodity_select_commodity (GncTreeViewCommodity *view, gnc_commodity *commodity);

View File

@ -208,7 +208,7 @@ gboolean gnc_html_export_to_file( GncHtml* html, const gchar* filename );
* Prints the report.
*
* @param html GncHtml object
* @param jobname A jobname fo identifying the print job or to provide
* @param jobname A jobname for identifying the print job or to provide
* an output filename.
* @param export_pdf If TRUE write a PDF file using the jobname for a
* filename; otherwise put up a print dialog.

View File

@ -112,7 +112,7 @@ GNCImportMainMatcher * gnc_gen_trans_assist_new (GtkWidget *parent,
/** This starts the import process for transaction from an assistant.
* assistant button callback.
*
* @param info. A pointer to a the GNCImportMainMatcher structure.
* @param info. A pointer to the GNCImportMainMatcher structure
*/
void gnc_gen_trans_assist_start (GNCImportMainMatcher *info);
@ -177,38 +177,38 @@ void gnc_gen_trans_list_add_trans_with_ref_id (GNCImportMainMatcher *gui,
/** Run this dialog and return only after the user pressed Ok, Cancel,
or closed the window. This means that all actual importing will
have been finished upon returning.
* @param info A pointer to a the GNCImportMainMatcher structure.
* @param info A pointer to the GNCImportMainMatcher structure.
* @return The boolean return value of the dialog run.
*/
gboolean gnc_gen_trans_list_run (GNCImportMainMatcher *info);
/** Returns the widget of this dialog.
* @param info A pointer to a the GNCImportMainMatcher structure.
* @param info A pointer to the GNCImportMainMatcher structure.
* @return A GtkWidget pointer to the dialog's widget.
*/
GtkWidget *gnc_gen_trans_list_widget (GNCImportMainMatcher *info);
/** Returns the append_text widget of this dialog.
* @param info A pointer to a the GNCImportMainMatcher structure.
* @param info A pointer to the GNCImportMainMatcher structure.
* @return A GtkWidget pointer to the append_text widget.
*/
GtkWidget *
gnc_gen_trans_list_append_text_widget (GNCImportMainMatcher *info);
/** Checks whether there are no transactions to match.
* @param info A pointer to a the GNCImportMainMatcher structure.
* @param info A pointer to the GNCImportMainMatcher structure.
* @return A boolean indicating whether the transaction list is empty.
*/
gboolean gnc_gen_trans_list_empty (GNCImportMainMatcher *info);
/** Shows widgets.
* @param info A pointer to a the GNCImportMainMatcher structure.
* @param info A pointer to the GNCImportMainMatcher structure.
*/
void gnc_gen_trans_list_show_all (GNCImportMainMatcher *info);
/** Show and set the reconcile after close check button.
* @param info A pointer to a the GNCImportMainMatcher structure.
* @param info A pointer to the GNCImportMainMatcher structure.
* @param reconcile_after_close A gboolean that shows or hides the button.
* @param active A gboolean to set or clear the check button.
*/
@ -216,7 +216,7 @@ void gnc_gen_trans_list_show_reconcile_after_close_button (GNCImportMainMatcher
gboolean reconcile_after_close,
gboolean active);
/** Returns the reconcile after close check button.
* @param info A pointer to a the GNCImportMainMatcher structure.
* @param info A pointer to the GNCImportMainMatcher structure.
* @return The check button.
*/
GtkWidget* gnc_gen_trans_list_get_reconcile_after_close_button (GNCImportMainMatcher *info);

View File

@ -1530,7 +1530,7 @@ gnucash_sheet_button_press_event (GtkWidget *widget, GdkEventButton *event)
gnucash_sheet_cursor_move (sheet, new_virt_loc);
// if clicked in ocument link cell, run call back
// if clicked in document link cell, run call back
if (g_strcmp0 (gnc_table_get_cell_name (table, new_virt_loc), DOCLINK_CELL) == 0)
{
if (sheet->open_doclink_cb)

View File

@ -297,7 +297,7 @@
* to the parser. The calling function(s) should never rely on
* manipulating any information inside this structure
* directly, since it may and could change in the future. --
* The first parameter is a pointer to a the first element in
* The first parameter is a pointer to the first element in
* a linked list of "pre-defined" variables the caller wishes
* to use with subsequent calls to the parser. -- The second
* parameter is the radix character to use in numeric strings

View File

@ -1049,7 +1049,7 @@ _get_sx_formula_value(const SchedXaction* sx,
!gnc_numeric_zero_p(*numeric_val))
{
/* If there are no variables to parse and we had a valid numeric stored
* then we can skip parsing the formual, which might save some
* then we can skip parsing the formula, which might save some
* localization problems with separators. */
numeric->num = numeric_val->num;
numeric->denom = numeric_val->denom;

View File

@ -977,7 +977,7 @@ gboolean gnc_commodity_table_foreach_commodity(const gnc_commodity_table * table
*/
/** You probably shouldn't be using gnc_commodity_table_new() directly,
* its for internal use only. You should probably be using
* it's for internal use only. You should probably be using
* gnc_commodity_table_get_table()
*/
gnc_commodity_table * gnc_commodity_table_new(void);

View File

@ -43,7 +43,7 @@ extern "C"
type, each uniquely identified by a given ID. QOF Entities
can be used independently of any other part of the system.
In particular, Entities can be useful even if one is not using
the Query one Object parts of the QOF system.
the Query and Object parts of the QOF system.
Identifiers are globally-unique and permanent, i.e., once
an entity has been assigned an identifier, it retains that same