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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-session.c b/src/ephy-session.c
index 727a4927f..0c84eccbf 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -1073,7 +1073,7 @@ write_tab (xmlTextWriterPtr writer,
(const xmlChar *) address);
if (ret < 0) return ret;
- title = ephy_tab_get_title (tab);
+ title = ephy_embed_get_title (ephy_tab_get_embed (tab));
ret = xmlTextWriterWriteAttribute (writer, (xmlChar *) "title",
(const xmlChar *) title);
if (ret < 0) return ret;