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.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 7cef32739..c38436961 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -3256,12 +3256,6 @@ ephy_window_set_is_popup (EphyWindow *window,
g_object_notify (G_OBJECT (window), "is-popup");
}
-static gboolean
-remove_true (void)
-{
- return TRUE;
-}
-
static void
ephy_window_dispose (GObject *object)
{
@@ -3304,7 +3298,7 @@ ephy_window_dispose (GObject *object)
priv->idle_resize_handler = 0;
}
- g_hash_table_foreach_remove (priv->tabs_to_remove, (GHRFunc) remove_true, NULL);
+ g_hash_table_remove_all (priv->tabs_to_remove);
g_object_unref (priv->enc_menu);
priv->enc_menu = NULL;