aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorJose Millan Soto <jmillan@igalia.com>2010-04-07 17:33:04 +0800
committerXan Lopez <xan@gnome.org>2010-04-07 17:33:04 +0800
commit0130c7f4cd730755dc6004689ec28458f0b7cf61 (patch)
tree881381580076407f78b2aeb499fcdf5fae58deb2 /embed
parent4abc19223f8e8678e62148772215522dc5396448 (diff)
downloadgsoc2013-epiphany-0130c7f4cd730755dc6004689ec28458f0b7cf61.tar
gsoc2013-epiphany-0130c7f4cd730755dc6004689ec28458f0b7cf61.tar.gz
gsoc2013-epiphany-0130c7f4cd730755dc6004689ec28458f0b7cf61.tar.bz2
gsoc2013-epiphany-0130c7f4cd730755dc6004689ec28458f0b7cf61.tar.lz
gsoc2013-epiphany-0130c7f4cd730755dc6004689ec28458f0b7cf61.tar.xz
gsoc2013-epiphany-0130c7f4cd730755dc6004689ec28458f0b7cf61.tar.zst
gsoc2013-epiphany-0130c7f4cd730755dc6004689ec28458f0b7cf61.zip
Check if URL is NULL before setting its history title
Bug #582629 Signed-off-by: Xan Lopez <xan@gnome.org>
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-history.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed/ephy-history.c b/embed/ephy-history.c
index ae0e563dc..117315c34 100644
--- a/embed/ephy-history.c
+++ b/embed/ephy-history.c
@@ -913,6 +913,7 @@ ephy_history_set_page_title (EphyHistory *gh,
LOG ("Set page title");
if (title == NULL || title[0] == '\0') return;
+ if (url == NULL) return;
node = ephy_history_get_page (gh, url);
if (node == NULL) return;