AppleOpenSource/WebKit2-7609.3.5.1.3/UIProcess/API/glib/WebKitDownload.cpp
/**
 * webkit_download_cancel:
 * @download: a #WebKitDownload
 *
 * Cancels the download. When the ongoing download
 * operation is effectively cancelled the signal
 * #WebKitDownload::failed is emitted with
 * %WEBKIT_DOWNLOAD_ERROR_CANCELLED_BY_USER error.
 */


Cancels the download. When the ongoing download
operation is effectively cancelled the signal
#WebKitDownload::failed is emitted with
%WEBKIT_DOWNLOAD_ERROR_CANCELLED_BY_USER error.
Cancels the download . When the ongoing download operation is effectively cancelled the signal #WebKitDownload :: failed is emitted with %WEBKIT_DOWNLOAD_ERROR_CANCELLED_BY_USER error .
void webkit_download_cancel(WebKitDownload* download)
{
    g_return_if_fail(WEBKIT_IS_DOWNLOAD(download));
    download->priv->isCancelled = true;
    download->priv->download->cancel();
}
void webkit_download_cancel ( WebKitDownload * download ) { g_return_if_fail ( WEBKIT_IS_DOWNLOAD ( download ) ) ; download -> priv -> isCancelled = true ; download -> priv -> download -> cancel ( ) ; }
webkit_download_cancel:
 @download: a #WebKitDownload
webkit_download_cancel : @download : a #WebKitDownload