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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index ad31d1682..8fe31d1fd 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -2830,7 +2830,7 @@ notebook_page_close_request_cb (EphyNotebook *notebook,
if (!ephy_embed_has_modified_forms (embed) ||
confirm_close_with_modified_forms (window))
{
- ephy_embed_close (embed);
+ gtk_widget_destroy (GTK_WIDGET (embed));
}
}