Blame 00-fix-vala-issues.patch

960ba1c
From 76b5cc95466733c2c100a99127ecd4fbd4d2a5ec Mon Sep 17 00:00:00 2001
960ba1c
From: =?UTF-8?q?Corentin=20No=C3=ABl?= <corentin@elementary.io>
960ba1c
Date: Fri, 4 Oct 2019 00:01:57 +0200
960ba1c
Subject: [PATCH] ClipboardManager: cast the callback function (#1054)
960ba1c
960ba1c
Fixes build with latest Vala
960ba1c
---
960ba1c
 src/ClipboardManager.vala | 2 +-
960ba1c
 1 file changed, 1 insertion(+), 1 deletion(-)
960ba1c
960ba1c
diff --git a/src/ClipboardManager.vala b/src/ClipboardManager.vala
960ba1c
index 9e3d25791..3dd72e471 100644
960ba1c
--- a/src/ClipboardManager.vala
960ba1c
+++ b/src/ClipboardManager.vala
960ba1c
@@ -173,7 +173,7 @@ namespace Marlin {
960ba1c
                                                target_file,
960ba1c
                                                action,
960ba1c
                                                widget,
960ba1c
-                                               new_files_callback);
960ba1c
+                                               (Marlin.CopyCallback) new_files_callback);
960ba1c
             }
960ba1c
 
960ba1c
             /* clear the clipboard if it contained "cutted data"