aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-03-02 20:30:39 +0800
committerXan Lopez <xan@igalia.com>2012-03-07 04:49:45 +0800
commitb2d915c1d54caa3875cbb4cedbe2e5b3f4ee51cd (patch)
treefaa0fec1e525c485ceb9071632c51ca5a87cbb7b /lib
parent06cc579811a66a12c0b476657fc19ac12bc24ba9 (diff)
downloadgsoc2013-epiphany-b2d915c1d54caa3875cbb4cedbe2e5b3f4ee51cd.tar
gsoc2013-epiphany-b2d915c1d54caa3875cbb4cedbe2e5b3f4ee51cd.tar.gz
gsoc2013-epiphany-b2d915c1d54caa3875cbb4cedbe2e5b3f4ee51cd.tar.bz2
gsoc2013-epiphany-b2d915c1d54caa3875cbb4cedbe2e5b3f4ee51cd.tar.lz
gsoc2013-epiphany-b2d915c1d54caa3875cbb4cedbe2e5b3f4ee51cd.tar.xz
gsoc2013-epiphany-b2d915c1d54caa3875cbb4cedbe2e5b3f4ee51cd.tar.zst
gsoc2013-epiphany-b2d915c1d54caa3875cbb4cedbe2e5b3f4ee51cd.zip
ephy-history-types: use the URL as default title
This is what the old history code did. Looks better than an empty string.
Diffstat (limited to 'lib')
-rw-r--r--lib/history/ephy-history-types.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/history/ephy-history-types.c b/lib/history/ephy-history-types.c
index 84e83e72e..0afd1908e 100644
--- a/lib/history/ephy-history-types.c
+++ b/lib/history/ephy-history-types.c
@@ -36,7 +36,7 @@ ephy_history_page_visit_new_with_url (EphyHistoryURL *url, gint64 visit_time, Ep
EphyHistoryPageVisit *
ephy_history_page_visit_new (const char *url, gint64 visit_time, EphyHistoryPageVisitType visit_type)
{
- return ephy_history_page_visit_new_with_url (ephy_history_url_new (url, "", 0, 0, 0),
+ return ephy_history_page_visit_new_with_url (ephy_history_url_new (url, url, 0, 0, 0),
visit_time, visit_type);
}