[epiphany] Fix Crash monitoring downloaded file



commit fc9dc56a8477048fbf34b54bc248c722ff99129d
Author: Jan-Michael Brummer <jan brummer tabos org>
Date:   Sat May 11 19:24:14 2019 +0200

    Fix Crash monitoring downloaded file
    
    Fixes: https://gitlab.gnome.org/GNOME/epiphany/issues/759

 embed/ephy-download.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/embed/ephy-download.c b/embed/ephy-download.c
index 72cffb0e1..c70570157 100644
--- a/embed/ephy-download.c
+++ b/embed/ephy-download.c
@@ -768,7 +768,7 @@ download_finished_cb (WebKitDownload *wk_download,
   if (!download->file_monitor)
     g_warning ("Could not add a file monitor for %s, error: %s\n", g_file_get_uri (file), error->message);
   else
-    g_signal_connect (download->file_monitor, "changed", G_CALLBACK (download_file_monitor_changed), 
download);
+    g_signal_connect_object (download->file_monitor, "changed", G_CALLBACK (download_file_monitor_changed), 
download, 0);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]