aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-history.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-history.c')
-rw-r--r--shell/e-history.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/e-history.c b/shell/e-history.c
index ff4755bb8d..e279fb81bc 100644
--- a/shell/e-history.c
+++ b/shell/e-history.c
@@ -226,7 +226,7 @@ e_history_add (EHistory *history,
priv->current_item->next = NULL;
}
- g_list_append (priv->current_item, data);
+ priv->current_item = g_list_append (priv->current_item, data);
priv->current_item = priv->current_item->next;
}