aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2013-02-13 01:19:00 +0800
committerXan Lopez <xan@igalia.com>2013-02-13 01:19:00 +0800
commitd80f4d4074c9f7fe402d9c4757f1042a2106dc90 (patch)
tree80f75e2c5baf96557a3f8562c1e59d1b09d9ac93
parent4c73c88d7742563dc16fd303f903f34ee0d8dde1 (diff)
downloadgsoc2013-epiphany-d80f4d4074c9f7fe402d9c4757f1042a2106dc90.tar
gsoc2013-epiphany-d80f4d4074c9f7fe402d9c4757f1042a2106dc90.tar.gz
gsoc2013-epiphany-d80f4d4074c9f7fe402d9c4757f1042a2106dc90.tar.bz2
gsoc2013-epiphany-d80f4d4074c9f7fe402d9c4757f1042a2106dc90.tar.lz
gsoc2013-epiphany-d80f4d4074c9f7fe402d9c4757f1042a2106dc90.tar.xz
gsoc2013-epiphany-d80f4d4074c9f7fe402d9c4757f1042a2106dc90.tar.zst
gsoc2013-epiphany-d80f4d4074c9f7fe402d9c4757f1042a2106dc90.zip
ephy-web-view: only extract title from address if address is not NULL
-rw-r--r--embed/ephy-web-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index c3594ee61..aa2c3453c 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -3207,7 +3207,7 @@ ephy_web_view_set_loading_title (EphyWebView *view,
g_free (priv->loading_title);
priv->loading_title = NULL;
- if (is_address) {
+ if (is_address && title) {
title = freeme = get_title_from_address (title);
}