aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-embed-private.h1
-rw-r--r--embed/ephy-web-view.c13
2 files changed, 0 insertions, 14 deletions
diff --git a/embed/ephy-embed-private.h b/embed/ephy-embed-private.h
index 080e560cf..8d342fe8c 100644
--- a/embed/ephy-embed-private.h
+++ b/embed/ephy-embed-private.h
@@ -66,7 +66,6 @@ GdkPixbuf * ephy_web_view_get_snapshot (EphyWebView
int y,
int width,
int height);
-gboolean ephy_web_view_is_loading_homepage (EphyWebView *view);
char* ephy_web_view_normalize_or_autosearch_url (EphyWebView *view,
const char *url);
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index dc20d120d..453789ca1 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -75,7 +75,6 @@ struct _EphyWebViewPrivate {
/* Flags */
guint is_blank : 1;
guint visibility : 1;
- guint loading_homepage : 1;
guint is_setting_zoom : 1;
#ifdef HAVE_WEBKIT2
guint is_loading : 1;
@@ -1300,7 +1299,6 @@ ephy_web_view_constructed (GObject *object)
static void
impl_loading_homepage (EphyWebView *view)
{
- view->priv->loading_homepage = TRUE;
ephy_web_view_freeze_history (view);
}
@@ -2209,7 +2207,6 @@ load_changed_cb (WebKitWebView *web_view,
SoupURI *uri;
priv->is_loading = FALSE;
- priv->loading_homepage = FALSE;
g_free (priv->status_message);
priv->status_message = NULL;
@@ -2366,8 +2363,6 @@ load_status_cb (WebKitWebView *web_view,
case WEBKIT_LOAD_FINISHED: {
SoupURI *uri;
- priv->loading_homepage = FALSE;
-
g_free (priv->status_message);
priv->status_message = NULL;
g_object_notify (object, "status-message");
@@ -4167,14 +4162,6 @@ ephy_web_view_get_snapshot (EphyWebView *view, int x, int y, int width, int heig
return snapshot;
}
-gboolean
-ephy_web_view_is_loading_homepage (EphyWebView *view)
-{
- g_return_val_if_fail (EPHY_IS_WEB_VIEW (view), FALSE);
-
- return view->priv->loading_homepage;
-}
-
/**
* ephy_web_view_get_visit_type:
* @view: an #EphyWebView