diff options
author | Claudio Saavedra <csaavedra@igalia.com> | 2012-09-17 23:47:43 +0800 |
---|---|---|
committer | Claudio Saavedra <csaavedra@igalia.com> | 2012-09-17 23:48:34 +0800 |
commit | 0b1ef3312f6804c934d2a210ba208e9e82180329 (patch) | |
tree | 53eccd84252b9bc4da51d0ebb45ab68a799da450 /embed | |
parent | 009c7766067fb710ef87a82701ccc2c7125bf2c2 (diff) | |
download | gsoc2013-epiphany-0b1ef3312f6804c934d2a210ba208e9e82180329.tar gsoc2013-epiphany-0b1ef3312f6804c934d2a210ba208e9e82180329.tar.gz gsoc2013-epiphany-0b1ef3312f6804c934d2a210ba208e9e82180329.tar.bz2 gsoc2013-epiphany-0b1ef3312f6804c934d2a210ba208e9e82180329.tar.lz gsoc2013-epiphany-0b1ef3312f6804c934d2a210ba208e9e82180329.tar.xz gsoc2013-epiphany-0b1ef3312f6804c934d2a210ba208e9e82180329.tar.zst gsoc2013-epiphany-0b1ef3312f6804c934d2a210ba208e9e82180329.zip |
ephy-web-view: remove ephy_web_view_is_loading_homepage()
It's unused and its usage is redundant with the
ephy_web_view_is_history_frozen()
https://bugzilla.gnome.org/show_bug.cgi?id=683796
Diffstat (limited to 'embed')
-rw-r--r-- | embed/ephy-embed-private.h | 1 | ||||
-rw-r--r-- | embed/ephy-web-view.c | 13 |
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 |