aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2007-10-20 23:39:26 +0800
committerXan Lopez <xan@src.gnome.org>2007-10-20 23:39:26 +0800
commitb9cf74cb0fce7bde8feccbe7ea0ecf8579d8c77c (patch)
tree2e92577ce2e9c4f91e5cf7d11dc357955e121a96 /src/ephy-window.c
parentc0e3df7630afa1ea61a9a0e76976f0df042122a5 (diff)
downloadgsoc2013-epiphany-b9cf74cb0fce7bde8feccbe7ea0ecf8579d8c77c.tar
gsoc2013-epiphany-b9cf74cb0fce7bde8feccbe7ea0ecf8579d8c77c.tar.gz
gsoc2013-epiphany-b9cf74cb0fce7bde8feccbe7ea0ecf8579d8c77c.tar.bz2
gsoc2013-epiphany-b9cf74cb0fce7bde8feccbe7ea0ecf8579d8c77c.tar.lz
gsoc2013-epiphany-b9cf74cb0fce7bde8feccbe7ea0ecf8579d8c77c.tar.xz
gsoc2013-epiphany-b9cf74cb0fce7bde8feccbe7ea0ecf8579d8c77c.tar.zst
gsoc2013-epiphany-b9cf74cb0fce7bde8feccbe7ea0ecf8579d8c77c.zip
Completely remove usage of visibility signal from src/
svn path=/trunk/; revision=7537
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 3c4efa827..b16b2b743 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -1721,34 +1721,6 @@ sync_tab_title (EphyTab *tab,
}
static void
-sync_tab_visibility (EphyTab *tab,
- GParamSpec *pspec,
- EphyWindow *window)
-{
- EphyWindowPrivate *priv = window->priv;
- GList *l, *tabs;
- gboolean visible = FALSE;
-
- if (priv->closing) return;
-
- tabs = ephy_window_get_tabs (window);
- for (l = tabs; l != NULL; l = l->next)
- {
- EphyTab *tab = EPHY_TAB(l->data);
- g_return_if_fail (EPHY_IS_TAB(tab));
-
- if (ephy_tab_get_visibility (tab))
- {
- visible = TRUE;
- break;
- }
- }
- g_list_free (tabs);
-
- g_object_set (window, "visible", visible, NULL);
-}
-
-static void
sync_tab_zoom (EphyTab *tab, GParamSpec *pspec, EphyWindow *window)
{
GtkActionGroup *action_group;
@@ -2504,8 +2476,6 @@ notebook_page_added_cb (EphyNotebook *notebook,
update_tabs_menu_sensitivity (window);
- g_signal_connect_object (tab, "notify::visibility",
- G_CALLBACK (sync_tab_visibility), window, 0);
g_signal_connect_object (tab, "open-link",
G_CALLBACK (ephy_link_open), window,
G_CONNECT_SWAPPED);
@@ -2548,9 +2518,6 @@ notebook_page_removed_cb (EphyNotebook *notebook,
ephy_extension_detach_tab (manager, window, tab);
g_signal_handlers_disconnect_by_func (G_OBJECT (tab),
- G_CALLBACK (sync_tab_visibility),
- window);
- g_signal_handlers_disconnect_by_func (G_OBJECT (tab),
G_CALLBACK (ephy_link_open),
window);