[gnumeric] Doc fixes



commit 710c6085fa0dac12b977606883e882618acbac74
Author: Morten Welinder <terra gnome org>
Date:   Sat Nov 16 12:29:02 2019 -0500

    Doc fixes

 src/application.c            |  2 +-
 src/cell.c                   | 10 +++++-----
 src/colrow.c                 |  2 +-
 src/complex.c                |  2 +-
 src/dependent.c              |  4 ++--
 src/expr.c                   | 10 +++++-----
 src/func.c                   |  8 ++++----
 src/gui-util.c               |  4 ++--
 src/mstyle.c                 |  2 +-
 src/number-match.c           |  4 ++--
 src/parse-util.c             |  4 ++--
 src/parser.y                 | 14 +++++++-------
 src/sheet-merge.c            |  6 +++---
 src/sheet-object.c           |  4 ++--
 src/sheet-style.c            |  2 +-
 src/sheet.c                  | 10 +++++-----
 src/style.c                  |  2 +-
 src/tools/dao.c              |  4 ++--
 src/tools/gnm-solver.c       |  2 +-
 src/tools/goal-seek.c        |  6 +++---
 src/value.c                  |  6 +++---
 src/widgets/gnm-expr-entry.c |  2 +-
 src/workbook.c               |  2 +-
 23 files changed, 56 insertions(+), 56 deletions(-)
---
diff --git a/src/application.c b/src/application.c
index bafe29c1e..48d3352fb 100644
--- a/src/application.c
+++ b/src/application.c
@@ -225,7 +225,7 @@ gnm_app_clipboard_unant (void)
  * @is_cut: is this a cut or a copy.
  * @sv: The source sheet for the copy.
  * @area: A single rectangular range to be copied.
- * @animate_range: Do we want ot add an animated cursor around things.
+ * @animate_range: Do we want to add an animated cursor around things.
  *
  * When Cutting we
  *   Clear and free the contents of the clipboard and save the sheet and area
diff --git a/src/cell.c b/src/cell.c
index fb24ef24a..d8519c30f 100644
--- a/src/cell.c
+++ b/src/cell.c
@@ -78,7 +78,7 @@ gnm_cell_cleanout (GnmCell *cell)
  *             expression.  It marks the sheet as dirty.
  *
  * If the text is an expression it IS queued for recalc.
- *        the format prefered by the expression is stored for later use.
+ *        the format preferred by the expression is stored for later use.
  * If the text is a value it is rendered and spans are NOT calculated.
  *        the format that matched the text is stored for later use.
  *
@@ -241,7 +241,7 @@ cell_set_expr_internal (GnmCell *cell, GnmExprTop const *texpr)
  * @texpr: The #GnmExprTop
  *
  * Stores and references the supplied expression.  It
- *         marks the sheet as dirty.  Intented for use by import routines that
+ *         marks the sheet as dirty.  Intended for use by import routines that
  *         do bulk assignment.  The resulting cell is NOT linked into the
  *         dependent list.  Nor marked for recalc.
  *
@@ -265,7 +265,7 @@ gnm_cell_set_expr_unsafe (GnmCell *cell, GnmExprTop const *texpr)
  * @texpr: (transfer none): The #GnmExprTop
  *
  * Stores and references the supplied expression
- *         marks the sheet as dirty.  Intented for use by import routines that
+ *         marks the sheet as dirty.  Intended for use by import routines that
  *         do bulk assignment.  The resulting cell _is_ linked into the
  *         dependent list, but NOT marked for recalc.
  *
@@ -384,7 +384,7 @@ gnm_cell_set_array_formula_undo (GnmSheetRange *sr, GnmExprTop const *texpr)
 
 /**
  * gnm_cell_set_array:
- * @sheet:   The sheet to set the expr in.
+ * @sheet:   The sheet to set the array expression in.
  * @r:       The range to set.
  * @texpr:   an expression (the inner expression, not a corner or element)
  *
@@ -393,7 +393,7 @@ gnm_cell_set_array_formula_undo (GnmSheetRange *sr, GnmExprTop const *texpr)
  * 'array-formula'.  The supplied expression is wrapped in an array
  * operator for each cell in the range and scheduled for recalc.
  *
- * Returns: %TRUE if the operation succeded.
+ * Returns: %TRUE if the operation succeeded.
  *
  * NOTE : This adds a reference to the expression.
  *
diff --git a/src/colrow.c b/src/colrow.c
index 237df535a..29747d56e 100644
--- a/src/colrow.c
+++ b/src/colrow.c
@@ -1062,7 +1062,7 @@ cb_colrow_visibility (SheetView *sv, GnmRange const *r, gpointer closure)
  * @visible: Should we unhide or hide the cols/rows.
  *
  * Searches the selection list and generates a list of index,count
- * pairs of row/col ranges that need to be hidden or unhiden.
+ * pairs of row/col ranges that need to be hidden or unhidden.
  *
  * Returns: (transfer full): the list.
  */
diff --git a/src/complex.c b/src/complex.c
index a80643a9e..b9ee7984f 100644
--- a/src/complex.c
+++ b/src/complex.c
@@ -95,7 +95,7 @@ gnm_complex_to_string (gnm_complex const *src, char imunit)
  *
  * This function differs from Excel's parsing in at least the following
  * ways:
- * (1) We allow spaces before the imaginary unit used with an impled "1".
+ * (1) We allow spaces before the imaginary unit used with an implied "1".
  * Therefore we allow "+ i".
  * (2) We do not allow a thousands separator as in "1,000i".
  */
diff --git a/src/dependent.c b/src/dependent.c
index f19486e2f..2991f44a1 100644
--- a/src/dependent.c
+++ b/src/dependent.c
@@ -1934,11 +1934,11 @@ cb_single_contained_depend (gpointer key,
 /**
  * sheet_region_queue_recalc:
  * @sheet: The sheet.
- * @range: Optionally NULL range.
+ * @range: (nullable): Range
  *
  * Queues things that depend on @sheet!@range for recalc.
  *
- * If @range is NULL the entire sheet is used.
+ * If @range is %NULL the entire sheet is used.
  */
 void
 sheet_region_queue_recalc (Sheet const *sheet, GnmRange const *r)
diff --git a/src/expr.c b/src/expr.c
index 47abb3631..24141f697 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -676,7 +676,7 @@ gnm_expr_array_corner_get_type (void)
  * Returns: %TRUE, if the supplied expressions are exactly the
  *   same and %FALSE otherwise.  No eval position is used to see if they
  *   are effectively the same.  Named expressions must refer the same name,
- *   having equivalent names is insufficeient.
+ *   having equivalent names is insufficient.
  */
 gboolean
 gnm_expr_equal (GnmExpr const *a, GnmExpr const *b)
@@ -851,7 +851,7 @@ handle_empty (GnmValue *res, GnmExprEvalFlags flags)
  * Return value:
  *     If the intersection succeeded return a duplicate of the value
  *     at the intersection point.  This value needs to be freed.
- *     NULL if there is no intersection
+ *     %NULL if there is no intersection
  * Returns the upper left corner of an array.
  **/
 static GnmValue *
@@ -1333,7 +1333,7 @@ gnm_expr_range_op (GnmExpr const *expr, GnmEvalPos const *ep,
  * @pos: evaluation position
  * @flags: #GnmExprEvalFlags
  *
- * Evaluatates the given expression.  Iif GNM_EXPR_EVAL_PERMIT_EMPTY is not set
+ * Evaluatates the given expression.  If GNM_EXPR_EVAL_PERMIT_EMPTY is not set
  * then return zero if the expression instead of the empty value, or the value
  * of an unused cell.
  *
@@ -1888,7 +1888,7 @@ do_expr_as_string (GnmExpr const *expr, int paren_level,
 /**
  * gnm_expr_as_gstring:
  * @expr: #GnmExpr
- * @out: output convensions
+ * @out: output conventions
  *
  * Renders the expression as a string according to @out and places the
  * result in @out's accumulator.
@@ -3150,7 +3150,7 @@ gnm_expr_top_equal (GnmExprTop const *te1, GnmExprTop const *te2)
  *     Convert any references to  sheets marked being_invalidated into #REF!
  * GNM_EXPR_RELOCATE_MOVE_RANGE,
  *     Find any references to the specified area and adjust them by the
- *     supplied deltas.  Check for out of bounds conditions.  Return NULL if
+ *     supplied deltas.  Check for out of bounds conditions.  Return %NULL if
  *     no change is required.
  *     If the expression is within the range to be moved, its relative
  *     references to cells outside the range are adjusted to reference the
diff --git a/src/func.c b/src/func.c
index f15f83f0c..e9d096193 100644
--- a/src/func.c
+++ b/src/func.c
@@ -1044,8 +1044,8 @@ gnm_func_get_description (GnmFunc *func)
 /**
  * gnm_func_count_args:
  * @func: pointer to function definition
- * @min: (out): location for mininum args
- * @max: (out): location for mininum args
+ * @min: (out): location for minimum args
+ * @max: (out): location for maximum args
  *
  * This calculates the maximum and minimum number of args that can be passed.
  * For a vararg function, the maximum will be set to G_MAXINT.
@@ -1682,7 +1682,7 @@ function_iterate_do_value (GnmEvalPos const  *ep,
  * This routine provides a simple way for internal functions with variable
  * number of arguments to be written: this would iterate over a list of
  * expressions (expr_node_list) and will invoke the callback for every
- * GnmValue found on the list (this means that ranges get properly expaned).
+ * GnmValue found on the list (this means that ranges get properly expanded).
  **/
 GnmValue *
 function_iterate_argument_values (GnmEvalPos const     *ep,
@@ -2003,7 +2003,7 @@ gnm_func_class_init (GObjectClass *gobject_class)
         * @ep: position f @expr
         * @info: #GnmExprDeriv telling which derivative is sought
         *
-        * Signals that a function call's derivative should be calculatted
+        * Signals that a function call's derivative should be calculated
         *
         * Returns: (transfer full) (nullable): #GnmExpr representing the
         * derivative, %NULL for error.
diff --git a/src/gui-util.c b/src/gui-util.c
index 4f08a3bd9..e403b49cd 100644
--- a/src/gui-util.c
+++ b/src/gui-util.c
@@ -1028,9 +1028,9 @@ gnm_widget_set_cursor_type (GtkWidget *w, GdkCursorType ct)
 /**
  * gnm_message_dialog_create:
  *
- * A convenience fonction to build HIG compliant message dialogs.
+ * A convenience function to build HIG compliant message dialogs.
  *
- *   parent : transient parent, or NULL for none.
+ *   parent : transient parent, or %NULL for none.
  *   flags
  *   type : type of dialog
  *   primary_message : message displayed in bold
diff --git a/src/mstyle.c b/src/mstyle.c
index 51d70a315..02d446b61 100644
--- a/src/mstyle.c
+++ b/src/mstyle.c
@@ -1390,7 +1390,7 @@ gnm_style_set_font_color (GnmStyle *style, GnmColor *col)
  *
  * Assigns @col as the background of @style.
  *
- * NOTE: the background colour is only visibile if GnmStyle::pattern > 0
+ * NOTE: the background colour is only visible if GnmStyle::pattern > 0
  **/
 void
 gnm_style_set_back_color (GnmStyle *style, GnmColor *col)
diff --git a/src/number-match.c b/src/number-match.c
index 193d0389d..ac470e344 100644
--- a/src/number-match.c
+++ b/src/number-match.c
@@ -1220,7 +1220,7 @@ format_match_decimal_number (char const *text, GOFormatFamily *family,
 /**
  * format_match:
  * @text: The text to parse
- * @cur_fmt: The current format for the value (potentially NULL)
+ * @cur_fmt: (nullable): The current format for the value
  * @date_conv: optional date convention
  *
  * Attempts to parse the supplied string to see if it matches a known value
@@ -1367,7 +1367,7 @@ format_match (char const *text, GOFormat const *cur_fmt,
 /**
  * format_match_number:
  * @text: The text to parse
- * @cur_fmt: The current format for the value (potentially NULL)
+ * @cur_fmt: (nullable): The current format for the value
  * @date_conv: optional date convention
  *
  * Attempts to parse the supplied string to see if it matches a known value format.
diff --git a/src/parse-util.c b/src/parse-util.c
index eea086ce8..1b5db56c3 100644
--- a/src/parse-util.c
+++ b/src/parse-util.c
@@ -807,8 +807,8 @@ gnm_expr_char_start_p (char const * c)
  * parse_text_value_or_expr:
  * @pos: If the string looks like an expression parse it at this location.
  * @text: The text to be parsed.
- * @val: (out): Returns a GnmValue* if the text was a value, otherwise NULL.
- * @texpr: (out): Returns a GnmExprTop* if the text was an expression, otherwise NULL.
+ * @val: (out) (nullable): Returns a #GnmValue if the text was a value, otherwise %NULL.
+ * @texpr: (out) (nullable): Returns a #GnmExprTop if the text was an expression, otherwise %NULL.
  *
  * Utility routine to parse a string and convert it into an expression or value.
  *
diff --git a/src/parser.y b/src/parser.y
index 572ea4ec9..4b24c7abe 100644
--- a/src/parser.y
+++ b/src/parser.y
@@ -340,7 +340,7 @@ build_exp (GnmExpr *l, GnmExpr *r)
 /*
  * Build an array expression.
  *
- * Returns NULL on failure.  Caller must YYERROR in that case.
+ * Returns %NULL on failure.  Caller must YYERROR in that case.
  */
 static GnmExpr *
 build_array (GSList *cols)
@@ -391,7 +391,7 @@ build_array (GSList *cols)
 /*
  * Build a range constructor.
  *
- * Returns NULL on failure.  Caller must YYERROR in that case.
+ * Returns %NULL on failure.  Caller must YYERROR in that case.
  */
 static GnmExpr *
 build_range_ctor (GnmExpr *l, GnmExpr *r, GnmExpr *validate)
@@ -416,7 +416,7 @@ build_range_ctor (GnmExpr *l, GnmExpr *r, GnmExpr *validate)
 /*
  * Build an intersection expression.
  *
- * Returns NULL on failure.  Caller must YYERROR in that case.
+ * Returns %NULL on failure.  Caller must YYERROR in that case.
  */
 static GnmExpr *
 build_intersect (GnmExpr *l, GnmExpr *r)
@@ -434,7 +434,7 @@ build_intersect (GnmExpr *l, GnmExpr *r)
 /*
  * Build a set expression.
  *
- * Returns NULL on failure.  Caller must YYERROR in that case.
+ * Returns %NULL on failure.  Caller must YYERROR in that case.
  */
 static GnmExpr *
 build_set (GnmExprList *list)
@@ -1571,14 +1571,14 @@ setup_state (ParserState *pstate, const char *str,
  * @str   : The string to parse.
  * @pp   : #GnmParsePos
  * @flags : See parse-utils for descriptions
- * @convs : optionally NULL #GnmConventions
- * @error : optionally NULL ptr to store details of error.
+ * @convs: (nullable): #GnmConventions
+ * @error: (out) (nullable) (optional): ptr to store details of error.
  *
  * Parse a string. if @error is non-null it will be assumed that the
  * caller has passed a pointer to a GnmParseError struct AND that it will
  * take responsibility for freeing that struct and its contents.
  * with parse_error_free.
- * If @convs is NULL use the conventions from @pp.
+ * If @convs is %NULL, use the conventions from @pp.
  **/
 GnmExprTop const *
 gnm_expr_parse_str (char const *str, GnmParsePos const *pp,
diff --git a/src/sheet-merge.c b/src/sheet-merge.c
index 9e8621f93..01c313e73 100644
--- a/src/sheet-merge.c
+++ b/src/sheet-merge.c
@@ -53,8 +53,8 @@ range_row_cmp (GnmRange const *a, GnmRange const *b)
  *          style from the corner applied.
  * @cc: (nullable): the calling context
  *
- * Add a range to the list of merge targets.  Checks for array spliting returns
- * %TRUE if there was an error.  Queues a respan.  Only queus a redraw if @clear
+ * Add a range to the list of merge targets.  Checks for array splitting returns
+ * %TRUE if there was an error.  Queues a respan.  Only queues a redraw if @clear
  * is %TRUE.
  */
 gboolean
@@ -425,7 +425,7 @@ gnm_sheet_merge_relocate (GnmExprRelocateInfo const *ri, GOUndo **pundo)
 /**
  * gnm_sheet_merge_find_bounding_box:
  * @sheet: sheet
- * @r: the range to exten
+ * @r: the range to extend
  *
  * Extends @r such that no merged range is split by its boundary.
  */
diff --git a/src/sheet-object.c b/src/sheet-object.c
index e2c661601..3b07f365c 100644
--- a/src/sheet-object.c
+++ b/src/sheet-object.c
@@ -616,7 +616,7 @@ sheet_object_set_sheet (SheetObject *so, Sheet *sheet)
  * sheet_object_clear_sheet:
  * @so: #SheetObject
  *
- * Removes @so from its container, unrealizes all views, disconects the
+ * Removes @so from its container, unrealizes all views, disconnects the
  * associated data and unrefs the object
  **/
 void
@@ -1186,7 +1186,7 @@ sheet_objects_relocate (GnmExprRelocateInfo const *rinfo, gboolean update,
  * @t: The type of object to lookup, %G_TYPE_NONE for any.
  *
  * Returns: (element-type SheetObject) (transfer container): a list
- * containing all objects of exactly the specified type (inheritence does
+ * containing all objects of exactly the specified type (inheritance does
  * not count) that are completely contained in @r.
  **/
 GSList *
diff --git a/src/sheet-style.c b/src/sheet-style.c
index 7d3fdf2e5..a9488218c 100644
--- a/src/sheet-style.c
+++ b/src/sheet-style.c
@@ -3085,7 +3085,7 @@ sheet_style_set_list (Sheet *sheet, GnmCellPos const *corner,
  * style_list_free:
  * @l: the list to free
  *
- * Free up the ressources in the style list.  Including unreferencing the
+ * Free up the resources in the style list.  This includes unreferencing the
  * styles.
  */
 void
diff --git a/src/sheet.c b/src/sheet.c
index ef15db7b1..02cd6e503 100644
--- a/src/sheet.c
+++ b/src/sheet.c
@@ -3273,7 +3273,7 @@ sheet_row_is_hidden (Sheet const *sheet, int row)
  * from @start_col doing bounds checking.  If @jump_to_boundaries is
  * %TRUE then @count must be 1 and the jump is to the edge of the logical range.
  *
- * This routine implements the logic necasary for ctrl-arrow style
+ * This routine implements the logic necessary for ctrl-arrow style
  * movement.  That is more complicated than simply finding the last in a list
  * of cells with content.  If you are at the end of a range it will find the
  * start of the next.  Make sure that is the sort of behavior you want before
@@ -3375,7 +3375,7 @@ sheet_find_boundary_horizontal (Sheet *sheet, int start_col, int move_row,
  * from @start_row doing bounds checking.  If @jump_to_boundaries is
  * %TRUE then @count must be 1 and the jump is to the edge of the logical range.
  *
- * This routine implements the logic necasary for ctrl-arrow style
+ * This routine implements the logic necessary for ctrl-arrow style
  * movement.  That is more complicated than simply finding the last in a list
  * of cells with content.  If you are at the end of a range it will find the
  * start of the next.  Make sure that is the sort of behavior you want before
@@ -3664,7 +3664,7 @@ sheet_range_splits_region (Sheet const *sheet,
  *
  * A utility to see whether moving any of the ranges @ranges will split any
  * arrays or merged regions.
- * Returns: whether any arrays or merged regions will be splitted.
+ * Returns: whether any arrays or merged regions will be split.
  */
 gboolean
 sheet_ranges_split_region (Sheet const * sheet, GSList const *ranges,
@@ -5701,7 +5701,7 @@ sheet_col_get_distance_pixels (Sheet const *sheet, int from, int to)
  * sheet_col_set_size_pts:
  * @sheet:      The sheet
  * @col:        The col
- * @width_pts:  The desired widtht in pts
+ * @width_pts:  The desired width in pts
  * @set_by_user: %TRUE if this was done by a user (ie, user manually
  *               set the width)
  *
@@ -5960,7 +5960,7 @@ sheet_row_set_size_pixels (Sheet *sheet, int row, int height_pixels,
 /**
  * sheet_row_get_default_size_pts:
  *
- * Return the defaul number of units in a row, including margins.
+ * Return the default number of units in a row, including margins.
  * This function returns the raw sum, no rounding etc.
  */
 double
diff --git a/src/style.c b/src/style.c
index 65fb01556..09ee29b7b 100644
--- a/src/style.c
+++ b/src/style.c
@@ -108,7 +108,7 @@ gnm_font_override_codepage (gchar const *font_name)
  * @font_name    The font name
  *
  * Tries to find a gnome font which matches the Excel font.
- * Returns the name of the substitute font if found. Otherwise returns NULL
+ * Returns the name of the substitute font if found. Otherwise returns %NULL
  */
 static gchar const *
 get_substitute_font (gchar const *font_name)
diff --git a/src/tools/dao.c b/src/tools/dao.c
index 8b5963c0b..e6ff4faa6 100644
--- a/src/tools/dao.c
+++ b/src/tools/dao.c
@@ -299,7 +299,7 @@ dao_prepare_output (WorkbookControl *wbc, data_analysis_output_t *dao,
  * @dao:
  * @cmd:
  *
- * format's the output range according to the settings
+ * Formats the output range according to the settings
  *
  *
  **/
@@ -594,7 +594,7 @@ dao_set_cell_na (data_analysis_output_t *dao, int col, int row)
  * @v:
  * @is_valid:
  *
- * set cell to a gnm_float or NA as appropraite
+ * set cell to a gnm_float or NA as appropriate
  *
  *
  **/
diff --git a/src/tools/gnm-solver.c b/src/tools/gnm-solver.c
index cca96d5cb..b3bedeaa9 100644
--- a/src/tools/gnm-solver.c
+++ b/src/tools/gnm-solver.c
@@ -2494,7 +2494,7 @@ gnm_solver_pick_lp_coords (GnmSolver *sol,
  *
  * Returns: xxx(transfer full) (nullable): coordinates, or %NULL in case of error.
  * Note: this function is not affected by the flip-sign property, even
- * if @ycell happens to coindice with the solver target cell.
+ * if @ycell happens to coincide with the solver target cell.
  */
 gnm_float *
 gnm_solver_get_lp_coeffs (GnmSolver *sol, GnmCell *ycell,
diff --git a/src/tools/goal-seek.c b/src/tools/goal-seek.c
index 67b6db9c9..e303a0827 100644
--- a/src/tools/goal-seek.c
+++ b/src/tools/goal-seek.c
@@ -306,13 +306,13 @@ goal_seek_newton_polish (GnmGoalSeekFunction f, GnmGoalSeekFunction df,
  *
  * Seek a goal (root) using Newton's iterative method.
  *
- * The supplied function must (should) be continously differentiable in
+ * The supplied function must (should) be continuously differentiable in
  * the supplied interval.  If @df is %NULL, this function will
  * estimate the derivative.
  *
  * This method will find a root rapidly provided the initial guess, x0,
  * is sufficiently close to the root.  (The number of significant digits
- * (asympotically) goes like i^2 unless the root is a multiple root in
+ * (asymptotically) goes like i^2 unless the root is a multiple root in
  * which case it is only like c*i.)
  */
 GnmGoalSeekStatus
@@ -442,7 +442,7 @@ goal_seek_newton (GnmGoalSeekFunction f, GnmGoalSeekFunction df,
  *
  * Seek a goal (root) using bisection methods.
  *
- * The supplied function must (should) be continous over the interval.
+ * The supplied function must (should) be continuous over the interval.
  *
  * Caller must have located a positive and a negative point.
  *
diff --git a/src/value.c b/src/value.c
index ef8c025f3..5bf639801 100644
--- a/src/value.c
+++ b/src/value.c
@@ -469,7 +469,7 @@ value_new_cellrange_r (Sheet *sheet, GnmRange const *r)
  *
  * Parse @str using the convention associated with @sheet.
  * Returns a (GnmValue *) of type VALUE_CELLRANGE if the @range was
- * succesfully parsed or %NULL on failure.
+ * successfully parsed or %NULL on failure.
  */
 GnmValue *
 value_new_cellrange_str (Sheet *sheet, char const *str)
@@ -493,7 +493,7 @@ value_new_cellrange_str (Sheet *sheet, char const *str)
  *
  * Parse @str using the convention associated with @sheet.
  * Returns a (GnmValue *) of type VALUE_CELLRANGE if the @range was
- * succesfully parsed or %NULL on failure.
+ * successfully parsed or %NULL on failure.
  */
 GnmValue *
 value_new_cellrange_parsepos_str (GnmParsePos const *pp, char const *str,
@@ -1353,7 +1353,7 @@ value_is_zero (GnmValue const *v)
 
 /**
  * value_get_rangeref:
- * @v: #gnmvalue
+ * @v: #GnmValue
  *
  * Returns: (transfer none): the cell range of a cell range value.
  */
diff --git a/src/widgets/gnm-expr-entry.c b/src/widgets/gnm-expr-entry.c
index 504cd0d03..5942ffe39 100644
--- a/src/widgets/gnm-expr-entry.c
+++ b/src/widgets/gnm-expr-entry.c
@@ -2692,7 +2692,7 @@ gnm_expr_entry_get_text   (GnmExprEntry const *gee)
  * @sheet: the sheet where the cell range is evaluated.
  *
  * Returns a (GnmValue *) of type VALUE_CELLRANGE if the @range was
- *     succesfully parsed or NULL on failure.
+ *     successfully parsed or %NULL on failure.
  */
 GnmValue *
 gnm_expr_entry_parse_as_value (GnmExprEntry *gee, Sheet *sheet)
diff --git a/src/workbook.c b/src/workbook.c
index 828c2170f..06735e7b9 100644
--- a/src/workbook.c
+++ b/src/workbook.c
@@ -554,7 +554,7 @@ workbook_set_last_export_uri (Workbook *wb, const gchar *uri)
  * workbook_foreach_cell_in_range:
  * @pos: The position the range is relative to.
  * @cell_range: A value containing a range;
- * @flags: flags determining whichs cells to consider
+ * @flags: flags determining which cells to consider
  * @handler: (scope call): The operator to apply to each cell.
  * @closure: User data.
  *


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