aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-cell-date.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-cell-date.c')
-rw-r--r--widgets/table/e-cell-date.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/widgets/table/e-cell-date.c b/widgets/table/e-cell-date.c
index d2319ee61e..85f2324ad4 100644
--- a/widgets/table/e-cell-date.c
+++ b/widgets/table/e-cell-date.c
@@ -108,8 +108,7 @@ ecd_get_text(ECellText *cell, ETableModel *model, int col, int row)
while ((temp = strstr (temp, " "))) {
memmove (temp, temp + 1, strlen (temp));
}
- temp = e_strdup_strip (buf);
- return temp;
+ return g_strstrip (g_strdup (buf));
}
static void