[gnome-boxes/gnome-3-4] Minor indentation fix



commit 374557e781cecbdceb5bd4bb9531a3778197d33d
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Fri Jun 1 02:08:27 2012 +0300

    Minor indentation fix

 src/util.vala |   21 ++++++++++++---------
 1 files changed, 12 insertions(+), 9 deletions(-)
---
diff --git a/src/util.vala b/src/util.vala
index 6b53f32..e24ff3c 100644
--- a/src/util.vala
+++ b/src/util.vala
@@ -441,18 +441,21 @@ namespace Boxes {
     public async void run_in_thread (RunInThreadFunc func) throws GLib.Error {
         GLib.Error e = null;
         GLib.g_io_scheduler_push_job ((job, cancellable) => {
-                try {
-                    func ();
-                } catch (GLib.Error err) {
-                    e = err;
-                }
-                job.send_to_mainloop (() => {
-                        run_in_thread.callback ();
-                        return false;
-                    });
+            try {
+                func ();
+            } catch (GLib.Error err) {
+                e = err;
+            }
+
+            job.send_to_mainloop (() => {
+                run_in_thread.callback ();
+
                 return false;
             });
 
+            return false;
+        });
+
         yield;
 
         if (e != null)



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