[gnome-boxes/gnome-3-4] Some cleanup from review



commit fafe0408afc6c5183953a03ea57ce43f0b58b636
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]