aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-shell.c')
-rw-r--r--src/ephy-shell.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index a44c923dd..6afb29886 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -606,9 +606,7 @@ download_started_cb (WebKitWebContext *web_context,
}
window = gtk_application_get_active_window (GTK_APPLICATION (shell));
-
- ed = ephy_download_new_for_download (download);
- ephy_download_set_window (ed, GTK_WIDGET (window));
+ ed = ephy_download_new_for_download (download, GTK_WINDOW (window));
}
#endif