From 5abbb836ea12907dfa8deff8efcd3ca9f971e226 Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Sat, 7 Apr 2012 00:59:31 -0500 Subject: ephy-shell: fix braces https://bugzilla.gnome.org/show_bug.cgi?id=676905 --- src/ephy-shell.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src') 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) { -- cgit v1.2.3