Commit 064e878a authored by Carlos Garcia Campos's avatar Carlos Garcia Campos Committed by Carlos Garcia Campos

downloads: Remove ephy_download_set_auto_destination()

It's currently no-op.
parent 792120a5
......@@ -367,18 +367,6 @@ ephy_download_set_destination_uri (EphyDownload *download,
g_object_notify (G_OBJECT (download), "destination");
}
/**
* ephy_download_set_auto_destination:
* @download: an #EphyDownload
*
* Tells @download to automatically determine a destination for itself.
**/
void
ephy_download_set_auto_destination (EphyDownload *download)
{
/* TODO: in WebKit2 priv->destination == NULL means auto_destination, remove this? */
}
/**
* ephy_download_set_action:
* @download: an #EphyDownload
......@@ -554,9 +542,6 @@ ephy_download_start (EphyDownload *download)
priv = download->priv;
priv->start_time = gtk_get_current_event_time ();
if (priv->destination == NULL)
ephy_download_set_auto_destination (download);
}
/**
......
......@@ -85,7 +85,6 @@ EphyDownload *ephy_download_new_for_download (WebKitDownload *download,
void ephy_download_start (EphyDownload *download);
void ephy_download_cancel (EphyDownload *download);
void ephy_download_set_auto_destination (EphyDownload *download);
void ephy_download_set_destination_uri (EphyDownload *download,
const char *destination);
......
......@@ -487,7 +487,6 @@ ephy_embed_auto_download_url (EphyEmbed *embed, const char *url)
EphyDownload *download;
download = ephy_download_new_for_uri (url, NULL);
ephy_download_set_auto_destination (download);
ephy_download_set_action (download, EPHY_DOWNLOAD_ACTION_OPEN);
}
......
......@@ -161,8 +161,6 @@ save_property_url_to_destination (EphyWindow *window,
if (destination)
ephy_download_set_destination_uri (download, destination);
else
ephy_download_set_auto_destination (download);
ephy_download_start (download);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment