[gnome-boxes] Some cleanup from review



commit 261833362bc5193e7a7a93d2639108cda79f8bc7
Author: Alexander Larsson <alexl redhat com>
Date:   Tue May 8 14:28:31 2012 +0200

    Some cleanup from review

 src/util.vala |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/util.vala b/src/util.vala
index 7b2cfc3..89d8757 100644
--- a/src/util.vala
+++ b/src/util.vala
@@ -439,7 +439,7 @@ namespace Boxes {
     public delegate void RunInThreadFunc () throws  GLib.Error;
     public async void run_in_thread (RunInThreadFunc func) throws GLib.Error {
         GLib.Error e = null;
-        GLib.g_io_scheduler_push_job ( (job, cancellable) => {
+        GLib.g_io_scheduler_push_job ((job, cancellable) => {
                 try {
                     func ();
                 } catch (GLib.Error err) {
@@ -451,7 +451,9 @@ namespace Boxes {
                     });
                 return false;
             });
+
         yield;
+
         if (e != null)
             throw e;
     }



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