aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2013-02-13 07:32:25 +0800
committerXan Lopez <xan@igalia.com>2013-02-13 07:32:25 +0800
commitaf1b92ab347b134e63e406a98a373d9b409e3516 (patch)
tree0ad888531ed2001ebc9f62749eb2925038939c3e /src
parent7e0161351339d96b49e3c504ab5a0c0834a259b7 (diff)
downloadgsoc2013-epiphany-af1b92ab347b134e63e406a98a373d9b409e3516.tar
gsoc2013-epiphany-af1b92ab347b134e63e406a98a373d9b409e3516.tar.gz
gsoc2013-epiphany-af1b92ab347b134e63e406a98a373d9b409e3516.tar.bz2
gsoc2013-epiphany-af1b92ab347b134e63e406a98a373d9b409e3516.tar.lz
gsoc2013-epiphany-af1b92ab347b134e63e406a98a373d9b409e3516.tar.xz
gsoc2013-epiphany-af1b92ab347b134e63e406a98a373d9b409e3516.tar.zst
gsoc2013-epiphany-af1b92ab347b134e63e406a98a373d9b409e3516.zip
Remove EphyWebView::visibility
This once was likely used to toggle the visibility of popups, but it's now a no-op. When we re-introduce that feature we can do something similar again.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-window.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index ea183594e..86503aeb1 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -2187,19 +2187,6 @@ ephy_window_mouse_target_changed_cb (WebKitWebView *web_view,
#endif
static void
-ephy_window_visibility_cb (EphyEmbed *embed, GParamSpec *pspec, EphyWindow *window)
-{
- gboolean visibility;
-
- visibility = ephy_web_view_get_visibility (ephy_embed_get_web_view (embed));
-
- if (visibility)
- gtk_widget_show (GTK_WIDGET (window));
- else
- gtk_widget_hide (GTK_WIDGET (window));
-}
-
-static void
sync_embed_is_overview (EphyEmbed *embed, GParamSpec *pspec, EphyWindow *window)
{
if (window->priv->closing) return;
@@ -2795,10 +2782,6 @@ ephy_window_connect_active_embed (EphyWindow *window)
G_CALLBACK (ephy_window_dom_mouse_click_cb),
window, G_CONNECT_AFTER);
#endif
- g_signal_connect_object (view, "notify::visibility",
- G_CALLBACK (ephy_window_visibility_cb),
- window, 0);
-
g_signal_connect_object (embed, "notify::overview-mode",
G_CALLBACK (sync_embed_is_overview),
window, 0);
@@ -2887,9 +2870,6 @@ ephy_window_disconnect_active_embed (EphyWindow *window)
g_signal_handlers_disconnect_by_func (view,
G_CALLBACK (sync_tab_icon),
window);
- g_signal_handlers_disconnect_by_func (view,
- G_CALLBACK (ephy_window_visibility_cb),
- window);
g_signal_handlers_disconnect_by_func (embed,
G_CALLBACK (sync_embed_is_overview),