aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-03-13 23:31:27 +0800
committerXan Lopez <xan@igalia.com>2012-03-13 23:31:45 +0800
commit21f1c9ace4814fe646226d25fac8bc3cbb488e96 (patch)
treea5d1eca49084754e5026a3c792698046c4df4282
parent7ece86ff394e037447767408643e108da8f4658f (diff)
downloadgsoc2013-epiphany-21f1c9ace4814fe646226d25fac8bc3cbb488e96.tar.gz
gsoc2013-epiphany-21f1c9ace4814fe646226d25fac8bc3cbb488e96.tar.zst
gsoc2013-epiphany-21f1c9ace4814fe646226d25fac8bc3cbb488e96.zip
ephy-web-view: remove stale code
-rw-r--r--embed/ephy-web-view.c43
1 files changed, 0 insertions, 43 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 5951dc2cf..de26f42d6 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -103,8 +103,6 @@ struct _EphyWebViewPrivate {
GSList *hidden_popups;
GSList *shown_popups;
- GdkRectangle text_rectangle;
-
GtkWidget *password_info_bar;
};
@@ -2200,39 +2198,6 @@ close_web_view_cb (WebKitWebView *web_view,
return TRUE;
}
-
-static void
-adj_changed_cb (GtkAdjustment *adj, EphyWebView *view)
-{
- EphyWebViewPrivate *priv;
- GdkWindow *window;
-
- priv = view->priv;
-
- window = gtk_widget_get_window (GTK_WIDGET (view));
-
- if (view && window)
- gdk_window_invalidate_rect (window, &priv->text_rectangle, TRUE);
-}
-
-static void
-hadjustment_changed_cb (EphyWebView *view, GParamSpec *pspec, gpointer data)
-{
- GtkAdjustment *adj = gtk_scrollable_get_hadjustment(GTK_SCROLLABLE(view));
-
- if (adj)
- g_signal_connect (adj, "value-changed", G_CALLBACK (adj_changed_cb), view);
-}
-
-static void
-vadjustment_changed_cb (EphyWebView *view, GParamSpec *pspec, gpointer data)
-{
- GtkAdjustment *adj = gtk_scrollable_get_vadjustment(GTK_SCROLLABLE(view));
-
- if (adj)
- g_signal_connect (adj, "value-changed", G_CALLBACK (adj_changed_cb), view);
-}
-
static void
ephy_web_view_init (EphyWebView *web_view)
{
@@ -2284,14 +2249,6 @@ ephy_web_view_init (EphyWebView *web_view)
G_CALLBACK (ge_popup_blocked_cb),
web_view, (GConnectFlags)0);
- g_signal_connect (web_view, "notify::hadjustment",
- G_CALLBACK (hadjustment_changed_cb),
- NULL);
-
- g_signal_connect (web_view, "notify::vadjustment",
- G_CALLBACK (vadjustment_changed_cb),
- NULL);
-
cache = EPHY_FAVICON_CACHE
(ephy_embed_shell_get_favicon_cache (embed_shell));
g_signal_connect_object (G_OBJECT (cache), "changed",