From b9f9bf1a0763492f8bf41b8856bbd1149c5871a9 Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Tue, 18 Jan 2011 11:10:11 -0500 Subject: ephy-download: add the new EphyDownload object EphyDownload is a wrapper object around WebKitDownload that handles common behavior in downloads: auto-destination, default action for the MIME type. It can be used to wrap a WebKitDownload coming from a WebKitView or to download a url: ephy_download_new_for_uri and ephy_download_new_for_download are provided. Its lifetime is not automagic like EphyEmbedPersist, so you have to unref it when you no longer need it. This new object replaces EphyEmbedPersist and enables us to use a single codepath for downloads in all Epiphany. Bug #618443 --- src/ephy-window.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/ephy-window.c') diff --git a/src/ephy-window.c b/src/ephy-window.c index 98eb1c44d..b251fb00f 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -52,7 +52,6 @@ #include "ephy-fullscreen-popup.h" #include "ephy-action-helper.h" #include "ephy-find-toolbar.h" -#include "ephy-embed-persist.h" #include "ephy-location-entry.h" #include "ephy-web-view.h" -- cgit v1.2.3