[epiphany] popup-commands: don't cancel a download that hasn't even been started
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] popup-commands: don't cancel a download that hasn't even been started
- Date: Thu, 2 Aug 2012 08:54:05 +0000 (UTC)
commit 55b5a767c59f5a3010522dfcee89a773510ab8c6
Author: Claudio Saavedra <csaavedra igalia com>
Date: Thu Aug 2 10:11:29 2012 +0200
popup-commands: don't cancel a download that hasn't even been started
Cancelling the "save link as" dialog is calling ephy_download_cancel()
even when ephy_download_start() has not been called. This causes a
critical warning in webkit.
https://bugzilla.gnome.org/show_bug.cgi?id=681010
src/popup-commands.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/popup-commands.c b/src/popup-commands.c
index bc2a4fb..a052138 100644
--- a/src/popup-commands.c
+++ b/src/popup-commands.c
@@ -201,10 +201,6 @@ response_cb (GtkDialog *dialog,
ephy_download_start (download);
g_free (uri);
}
- else
- {
- ephy_download_cancel (download);
- }
gtk_widget_destroy (GTK_WIDGET (dialog));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]