aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-web-view.c
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@igalia.com>2012-01-21 01:57:37 +0800
committerDiego Escalante Urrelo <diegoe@igalia.com>2012-01-24 01:13:31 +0800
commitd626c6f1b880beabd1631f10891562067d287e28 (patch)
tree7887e5dbfa973d4e5c01b6e99d80448532256730 /embed/ephy-web-view.c
parent205a2920e2366de15bdbd4d983e103193c9da1f2 (diff)
downloadgsoc2013-epiphany-d626c6f1b880beabd1631f10891562067d287e28.tar.gz
gsoc2013-epiphany-d626c6f1b880beabd1631f10891562067d287e28.tar.zst
gsoc2013-epiphany-d626c6f1b880beabd1631f10891562067d287e28.zip
ephy-web-view: remove uneeded is_blank calls
https://bugzilla.gnome.org/show_bug.cgi?id=668105
Diffstat (limited to 'embed/ephy-web-view.c')
-rw-r--r--embed/ephy-web-view.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 5c3d130fb..4a031648e 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -1891,7 +1891,7 @@ load_status_cb (WebKitWebView *web_view,
g_object_notify (object, "status-message");
ephy_web_view_set_loading_title (view, NULL, FALSE);
- if (ephy_web_view_get_is_blank (view))
+ if (priv->is_blank)
g_object_notify (object, "embed-title");
if (ephy_embed_shell_get_mode (embed_shell) != EPHY_EMBED_SHELL_MODE_PRIVATE &&
@@ -3343,16 +3343,15 @@ ephy_web_view_get_title_composite (EphyWebView *view)
{
const char *title = "";
const char *loading_title;
- gboolean is_loading, is_blank;
+ gboolean is_loading;
g_return_val_if_fail (EPHY_IS_WEB_VIEW (view), NULL);
is_loading = ephy_web_view_is_loading (view);
- is_blank = ephy_web_view_get_is_blank (view);
loading_title = ephy_web_view_get_loading_title (view);
title = ephy_web_view_get_title (view);
- if (is_blank)
+ if (view->priv->is_blank)
{
if (is_loading)
title = loading_title;