aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-shell.c
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-12-26 00:03:09 +0800
committerXan Lopez <xan@gnome.org>2009-12-26 00:03:09 +0800
commit0b844bedb99264ae3699fb6a6aafa5e716b8c5ac (patch)
tree4a87b4fb6c3335703dc44a92626f3c5a16aa152c /src/ephy-shell.c
parent319c95b59b0838a54a1ee8d52c52b47bdd0e4c2b (diff)
downloadgsoc2013-epiphany-0b844bedb99264ae3699fb6a6aafa5e716b8c5ac.tar
gsoc2013-epiphany-0b844bedb99264ae3699fb6a6aafa5e716b8c5ac.tar.gz
gsoc2013-epiphany-0b844bedb99264ae3699fb6a6aafa5e716b8c5ac.tar.bz2
gsoc2013-epiphany-0b844bedb99264ae3699fb6a6aafa5e716b8c5ac.tar.lz
gsoc2013-epiphany-0b844bedb99264ae3699fb6a6aafa5e716b8c5ac.tar.xz
gsoc2013-epiphany-0b844bedb99264ae3699fb6a6aafa5e716b8c5ac.tar.zst
gsoc2013-epiphany-0b844bedb99264ae3699fb6a6aafa5e716b8c5ac.zip
Reimplement window.close
We consider all windows opened by the web page without user intervention as popups, and allow them to be closed in the same way if the page so requests. Bug #599009
Diffstat (limited to 'src/ephy-shell.c')
-rw-r--r--src/ephy-shell.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index c3551f861..e75030e9a 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -445,7 +445,6 @@ ephy_shell_new_tab_full (EphyShell *shell,
if (flags & EPHY_NEW_TAB_IN_EXISTING_WINDOW) in_new_window = FALSE;
in_new_window = in_new_window && !eel_gconf_get_boolean (CONF_LOCKDOWN_FULLSCREEN);
- g_return_val_if_fail (in_new_window || !is_popup, NULL);
g_return_val_if_fail (open_page == (gboolean)(request != NULL), NULL);
jump_to = (flags & EPHY_NEW_TAB_JUMP) != 0;