From 21f1c9ace4814fe646226d25fac8bc3cbb488e96 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Tue, 13 Mar 2012 16:31:27 +0100 Subject: ephy-web-view: remove stale code --- embed/ephy-web-view.c | 43 ------------------------------------------- 1 file changed, 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", -- cgit