aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index a920ce56f..47246a143 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -779,7 +779,7 @@ sync_tab_load_progress (EphyTab *tab, GParamSpec *pspec, EphyWindow *window)
}
static void
-sync_tab_load_status (EphyTab *tab, GParamSpec *pspec, EphyWindow *window)
+sync_tab_load_status (EphyTab *dummy, GParamSpec *pspec, EphyWindow *window)
{
gboolean spin = FALSE;
GList *tabs, *l;
@@ -1327,6 +1327,8 @@ tab_removed_cb (EphyNotebook *notebook, GtkWidget *child, EphyWindow *window)
window->priv->num_tabs--;
+ sync_tab_load_status (NULL, NULL, window);
+
if (window->priv->num_tabs == 0)
{
/* removed the last tab, close the window */