aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-02-09 02:00:23 +0800
committerChris Lahey <clahey@src.gnome.org>2001-02-09 02:00:23 +0800
commit5af829a6d20faa3f6f1c113d4b5c5262d2406aac (patch)
tree511ae6dd6d3ba6da9966a16a313c49c9943aeb51
parentaa92a8935b7add78ffca2212df7e8184f7fa0bc9 (diff)
downloadgsoc2013-evolution-5af829a6d20faa3f6f1c113d4b5c5262d2406aac.tar
gsoc2013-evolution-5af829a6d20faa3f6f1c113d4b5c5262d2406aac.tar.gz
gsoc2013-evolution-5af829a6d20faa3f6f1c113d4b5c5262d2406aac.tar.bz2
gsoc2013-evolution-5af829a6d20faa3f6f1c113d4b5c5262d2406aac.tar.lz
gsoc2013-evolution-5af829a6d20faa3f6f1c113d4b5c5262d2406aac.tar.xz
gsoc2013-evolution-5af829a6d20faa3f6f1c113d4b5c5262d2406aac.tar.zst
gsoc2013-evolution-5af829a6d20faa3f6f1c113d4b5c5262d2406aac.zip
Use e_format_number.
2001-02-08 Christopher James Lahey <clahey@ximian.com> * e-cell-number.c (ecn_get_text): Use e_format_number. svn path=/trunk/; revision=8111
-rw-r--r--widgets/table/e-cell-number.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/table/e-cell-number.c b/widgets/table/e-cell-number.c
index 8c8062d749..ebac2c78ed 100644
--- a/widgets/table/e-cell-number.c
+++ b/widgets/table/e-cell-number.c
@@ -19,7 +19,7 @@ static ECellTextClass *parent_class;
static char *
ecn_get_text(ECellText *cell, ETableModel *model, int col, int row)
{
- return g_strdup_printf ("%d", GPOINTER_TO_INT (e_table_model_value_at(model, col, row)));
+ return e_format_number(GPOINTER_TO_INT (e_table_model_value_at(model, col, row)));
}
static void