[epiphany/gnome-3-4] popup-commands: don't cancel a download that hasn't even been started
- From: Xan Lopez <xan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/gnome-3-4] popup-commands: don't cancel a download that hasn't even been started
- Date: Tue, 7 Aug 2012 09:15:00 +0000 (UTC)
commit bb7adc4258b4d772e3474f7d91bedf981b025fcd
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 1690628..9706c2d 100644
--- a/src/popup-commands.c
+++ b/src/popup-commands.c
@@ -193,10 +193,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]