[Pkg-privacy-commits] [libgsecuredelete] 63/168: Fix build with Valac 0.12
Ulrike Uhlig
u-guest at moszumanska.debian.org
Thu Jul 7 20:06:40 UTC 2016
This is an automated email from the git hooks/post-receive script.
u-guest pushed a commit to branch master
in repository libgsecuredelete.
commit 9270afb98023f8706e2bcafd554b2af91520225d
Author: Colomban Wendling <ban at herbesfolles.org>
Date: Tue Apr 26 19:39:55 2011 +0200
Fix build with Valac 0.12
---
gsecuredelete/fill-operation.vala | 4 ++--
gsecuredelete/main.vala | 1 +
gsecuredelete/mem-operation.vala | 2 +-
gsecuredelete/swap-operation.vala | 4 ++--
4 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/gsecuredelete/fill-operation.vala b/gsecuredelete/fill-operation.vala
index d76169b..3faf56d 100644
--- a/gsecuredelete/fill-operation.vala
+++ b/gsecuredelete/fill-operation.vala
@@ -86,7 +86,7 @@ namespace Gsd
}
/* builds the argument vector */
- private override List<string> build_args ()
+ protected override List<string> build_args ()
throws AsyncOperationError
{
List<string> args = null;
@@ -106,7 +106,7 @@ namespace Gsd
}
/* cleans up after subprocess termination */
- private override void cleanup ()
+ protected override void cleanup ()
{
this.directory = null;
}
diff --git a/gsecuredelete/main.vala b/gsecuredelete/main.vala
index 1751c7c..8865a92 100644
--- a/gsecuredelete/main.vala
+++ b/gsecuredelete/main.vala
@@ -30,6 +30,7 @@ public class Test
SWAP
}
+ [CCode (has_target = false)]
private delegate SecureDeleteOperation? OperationProvider (string[] args);
private OperationProvider[] operations = {
diff --git a/gsecuredelete/mem-operation.vala b/gsecuredelete/mem-operation.vala
index e1159e0..3c5c091 100644
--- a/gsecuredelete/mem-operation.vala
+++ b/gsecuredelete/mem-operation.vala
@@ -36,7 +36,7 @@ namespace Gsd
}
/* builds the argument vector */
- private override List<string> build_args ()
+ protected override List<string> build_args ()
{
List<string> args = null;
diff --git a/gsecuredelete/swap-operation.vala b/gsecuredelete/swap-operation.vala
index b17d7c1..83cdfcb 100644
--- a/gsecuredelete/swap-operation.vala
+++ b/gsecuredelete/swap-operation.vala
@@ -84,7 +84,7 @@ namespace Gsd
}
/* builds the argument vector */
- private override List<string> build_args ()
+ protected override List<string> build_args ()
throws AsyncOperationError
{
List<string> args = null;
@@ -109,7 +109,7 @@ namespace Gsd
}
/* cleans up after subprocess termination */
- private override void cleanup ()
+ protected override void cleanup ()
{
this.device = null;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/libgsecuredelete.git
More information about the Pkg-privacy-commits
mailing list