[epiphany] ephy-web-view: only extract title from address if address is not NULL



commit d80f4d4074c9f7fe402d9c4757f1042a2106dc90
Author: Xan Lopez <xan igalia com>
Date:   Tue Feb 12 18:19:00 2013 +0100

    ephy-web-view: only extract title from address if address is not NULL

 embed/ephy-web-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index c3594ee..aa2c345 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);
   }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]