diff options
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r-- | src/ephy-window.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index e5dfa26d4..457c4bd8b 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -923,17 +923,12 @@ void ephy_window_show (GtkWidget *widget) { EphyWindow *window = EPHY_WINDOW(widget); - EphyTab *tab; - int w = -1, h = -1; if (!window->priv->chrome_mask) { ephy_window_set_chrome (window, EMBED_CHROME_DEFAULT); } - tab = ephy_window_get_active_tab (window); - if (tab) ephy_tab_get_size (tab, &w, &h); - if (!(window->priv->chrome_mask & EMBED_CHROME_OPENASPOPUP) && !(window->priv->chrome_mask & EMBED_CHROME_OPENASFULLSCREEN) && !GTK_WIDGET_VISIBLE (widget)) |