diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-window.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index 3aa7b652b..5d7babc60 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -2445,23 +2445,22 @@ static gboolean web_view_ready_cb (WebKitWebView *web_view, gpointer user_data) { - WebKitWebWindowFeatures *features; EphyWindow *window; - int width, height; - - gboolean toolbar_visible; - gboolean statusbar_visible; - gboolean menubar_visible; gboolean using_new_window; - EphyEmbedChrome chrome_mask; - using_new_window = GPOINTER_TO_INT (user_data); window = EPHY_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (web_view))); if (using_new_window) { + int width, height; + gboolean toolbar_visible; + gboolean statusbar_visible; + gboolean menubar_visible; + EphyEmbedChrome chrome_mask; + WebKitWebWindowFeatures *features; + toolbar_visible = statusbar_visible = menubar_visible = TRUE; features = webkit_web_view_get_window_features (web_view); |