[epiphany/wip/modern_gobject: 33/70] EphyDownload: cleanup emission of unused failed signal
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/wip/modern_gobject: 33/70] EphyDownload: cleanup emission of unused failed signal
- Date: Thu, 24 Sep 2015 20:35:21 +0000 (UTC)
commit b1d1740eade6aedf9269a24cd9f0e968ccc8a961
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Thu Sep 24 14:31:07 2015 -0500
EphyDownload: cleanup emission of unused failed signal
I hesitate to remove this signal completely, even though it is unused,
but at least let's not emit arguments for a signal that has none....
embed/ephy-download.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/embed/ephy-download.c b/embed/ephy-download.c
index e433867..7b840f3 100644
--- a/embed/ephy-download.c
+++ b/embed/ephy-download.c
@@ -814,12 +814,10 @@ download_failed_cb (WebKitDownload *wk_download,
GError *error,
EphyDownload *download)
{
- gboolean ret = FALSE;
-
g_signal_handlers_disconnect_by_func (wk_download, download_finished_cb, download);
LOG ("error (%d - %d)! %s", error->code, 0, error->message);
- g_signal_emit (download, signals[ERROR], 0, 0, error->code, error->message, &ret);
+ g_signal_emit (download, signals[ERROR], 0);
release_session_inhibitor (download);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]