diff options
author | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-04-07 13:59:31 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-06-15 07:16:09 +0800 |
commit | 5abbb836ea12907dfa8deff8efcd3ca9f971e226 (patch) | |
tree | 069aec4176610d283b9fa1a232689225d8aafe2a | |
parent | bab0d69b121a3693295e3f7a71ba9367cb65445b (diff) | |
download | gsoc2013-epiphany-5abbb836ea12907dfa8deff8efcd3ca9f971e226.tar.gz gsoc2013-epiphany-5abbb836ea12907dfa8deff8efcd3ca9f971e226.tar.zst gsoc2013-epiphany-5abbb836ea12907dfa8deff8efcd3ca9f971e226.zip |
ephy-shell: fix braces
https://bugzilla.gnome.org/show_bug.cgi?id=676905
-rw-r--r-- | src/ephy-shell.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c index 36e453f90..5b1038b15 100644 --- a/src/ephy-shell.c +++ b/src/ephy-shell.c @@ -502,9 +502,8 @@ ephy_shell_new_window_cb (EphyEmbedSingle *single, LOG ("ephy_shell_new_window_cb tab chrome %d", chromemask); if (g_settings_get_boolean (EPHY_SETTINGS_LOCKDOWN, - EPHY_PREFS_LOCKDOWN_JAVASCRIPT_CHROME)) { + EPHY_PREFS_LOCKDOWN_JAVASCRIPT_CHROME)) chromemask = EPHY_WEB_VIEW_CHROME_ALL; - } if (parent_embed != NULL) { /* this will either be a EphyWindow, or the embed itself @@ -703,11 +702,10 @@ ephy_shell_new_tab_full (EphyShell *shell, LOG ("Opening new tab parent-window %p parent-embed %p in-new-window:%s jump-to:%s", parent_window, previous_embed, in_new_window ? "t" : "f", jump_to ? "t" : "f"); - if (!in_new_window && parent_window != NULL) { + if (!in_new_window && parent_window != NULL) window = parent_window; - } else { + else window = ephy_window_new_with_chrome (chrome, is_popup); - } if (flags & EPHY_NEW_TAB_APPEND_AFTER) { if (previous_embed) { |