[epiphany] PDF: Change g_signal_connect to g_signal_connect_object for "finished"
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] PDF: Change g_signal_connect to g_signal_connect_object for "finished"
- Date: Sun, 27 Jan 2019 22:43:26 +0000 (UTC)
commit 9ba0e60a71f22da05e6b75ad53d1a5b5e7167523
Author: Jan-Michael Brummer <jan brummer tabos org>
Date: Fri Jan 18 17:49:51 2019 +0100
PDF: Change g_signal_connect to g_signal_connect_object for "finished"
embed/ephy-evince-document-view.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/embed/ephy-evince-document-view.c b/embed/ephy-evince-document-view.c
index 4052c1907..6d4ffd401 100644
--- a/embed/ephy-evince-document-view.c
+++ b/embed/ephy-evince-document-view.c
@@ -320,9 +320,7 @@ ephy_evince_document_view_load_uri (EphyEvinceDocumentView *self,
self->uri = soup_uri_new (uri);
self->job = ev_job_load_new (uri);
- g_signal_connect (self->job, "finished",
- G_CALLBACK (document_load_job_finished),
- self);
+ g_signal_connect_object (self->job, "finished", G_CALLBACK (document_load_job_finished), self, 0);
ev_job_scheduler_push_job (self->job, EV_JOB_PRIORITY_NONE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]