[gnumeric] Introspection fixes.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Introspection fixes.
- Date: Sun, 13 Mar 2022 13:44:59 +0000 (UTC)
commit fa8357615b40095400c173d73a4065c5366da28e
Author: Morten Welinder <terra gnome org>
Date: Sun Mar 13 09:44:47 2022 -0400
Introspection fixes.
src/rendered-value.c | 10 ++++++----
src/rendered-value.h | 2 +-
2 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/src/rendered-value.c b/src/rendered-value.c
index a5d5cc1ff..079d56cd8 100644
--- a/src/rendered-value.c
+++ b/src/rendered-value.c
@@ -241,10 +241,12 @@ too_many_digits (const char *s)
/**
* gnm_rendered_value_new: (skip)
- * @cell: The cell
- * @variable_width: Allow format to depend on column width.
+ * @cell: The cell
+ * @context: A #PangoContext for text measurement.
+ * @allow_variable_width: Allow format to depend on column width.
+ * @zoom: zoom factor.
*
- * Formats the value of the cell according to the format style given in @mstyle
+ * Formats the value of the cell according to its style.
*
* Returns: a new GnmRenderedValue
**/
@@ -502,7 +504,7 @@ gnm_rendered_value_new (GnmCell const *cell,
col_width, date_conv, TRUE);
// If we are formatting a number as General without a limit
- // on size [i.e., we autofitting a column] then avoid excess
+ // on size [i.e., we are autofitting a column] then avoid excess
// precision. This is somewhat hacky.
if (col_width == -1 &&
go_format_is_general (format) &&
diff --git a/src/rendered-value.h b/src/rendered-value.h
index 49cf89b67..31f5153a6 100644
--- a/src/rendered-value.h
+++ b/src/rendered-value.h
@@ -41,7 +41,7 @@ struct _GnmRenderedRotatedValue {
GnmRenderedValue *gnm_rendered_value_new (GnmCell const *cell,
PangoContext *context,
- gboolean variable_width,
+ gboolean allow_variable_width,
double zoom);
void gnm_rendered_value_destroy (GnmRenderedValue *rv);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]