aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-session.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-session.c')
-rw-r--r--src/ephy-session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ephy-session.c b/src/ephy-session.c
index 7c91444e5..748f8d133 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -185,7 +185,7 @@ impl_attach_window (EphyExtension *extension,
LOG ("impl_attach_window")
- session->priv->windows = g_list_prepend (session->priv->windows, window);
+ session->priv->windows = g_list_append (session->priv->windows, window);
ephy_session_save (session, SESSION_CRASHED);
notebook = ephy_window_get_notebook (window);
@@ -726,7 +726,7 @@ ephy_session_add_window (EphySession *session,
{
LOG ("ephy_session_add_window")
- session->priv->windows = g_list_prepend (session->priv->windows, window);
+ session->priv->windows = g_list_append (session->priv->windows, window);
ephy_session_save (session, SESSION_CRASHED);
}