[gnumeric] adjust call to gnm_render_general
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] adjust call to gnm_render_general
- Date: Thu, 22 Dec 2011 07:05:09 +0000 (UTC)
commit af2e70eef765e729939a9b60053ee0a3a983d20c
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Thu Dec 22 00:04:34 2011 -0700
adjust call to gnm_render_general
2011-12-21 Andreas J. Guelzow <aguelzow pyrshep ca>
* src/wbc-gtk-edit.c (wbcg_edit_start): adjust call to
gnm_render_general
ChangeLog | 5 +++++
src/wbc-gtk-edit.c | 6 +++---
2 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 5a554ca..bb8e538 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-12-21 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+ * src/wbc-gtk-edit.c (wbcg_edit_start): adjust call to
+ gnm_render_general
+
2011-12-16 Morten Welinder <terra gnome org>
* src/gnm-plugin.c (plugin_service_ui_activate): Teach this about
diff --git a/src/wbc-gtk-edit.c b/src/wbc-gtk-edit.c
index 6e47b40..e293b01 100644
--- a/src/wbc-gtk-edit.c
+++ b/src/wbc-gtk-edit.c
@@ -518,7 +518,7 @@ workbook_edit_complete_notify (char const *text, void *closure)
}
static void
-cb_entry_changed (GtkEntry *entry, WBCGtk *wbcg)
+cb_entry_changed (G_GNUC_UNUSED GtkEntry *entry, WBCGtk *wbcg)
{
char const *text;
int text_len;
@@ -997,7 +997,7 @@ wbcg_edit_start (WBCGtk *wbcg,
GString *new_str = g_string_new (NULL);
gnm_render_general (NULL, new_str, go_format_measure_zero,
go_font_metrics_unit, f * 100,
- -1, FALSE);
+ -1, FALSE, 0, 0);
cursor_pos = g_utf8_strlen (new_str->str, -1);
g_string_append_c (new_str, '%');
text = g_string_free (new_str, FALSE);
@@ -1012,7 +1012,7 @@ wbcg_edit_start (WBCGtk *wbcg,
GString *new_str = g_string_new (NULL);
gnm_render_general (NULL, new_str, go_format_measure_zero,
go_font_metrics_unit, f,
- -1, FALSE);
+ -1, FALSE, 0, 0);
text = g_string_free (new_str, FALSE);
set_text = TRUE;
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]