[Pkg-privacy-commits] [libgsecuredelete] 40/168: No need to recreate MainLoop on run().
Ulrike Uhlig
u-guest at moszumanska.debian.org
Thu Jul 7 20:06:36 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 1c43acfc52489eb3a23e57d229b9d15459f98d79
Author: Colomban Wendling <ban at herbesfolles.org>
Date: Sat Nov 14 00:29:45 2009 +0100
No need to recreate MainLoop on run().
Do not re-create the GLib.MainLoop when calling Test.run() as it is
already created when instancing Test.
---
gsecuredelete/main.vala | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/gsecuredelete/main.vala b/gsecuredelete/main.vala
index 8ddd307..03b942b 100644
--- a/gsecuredelete/main.vala
+++ b/gsecuredelete/main.vala
@@ -125,9 +125,7 @@ public class Test
op.progress.connect (progress_handler);
try {
op.run (10);
-
- this.main_loop = new MainLoop (null, false);
- main_loop.run ();
+ this.main_loop.run ();
} catch (Error e) {
stderr.printf ("failed to start deletion: %s\n", e.message);
}
--
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