[gnome-boxes] Minor indentation fix
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] Minor indentation fix
- Date: Thu, 31 May 2012 23:08:52 +0000 (UTC)
commit ee9aa82bdd16f58245f8893d18b175792393651c
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 c7ca635..dacbd3d 100644
--- a/src/util.vala
+++ b/src/util.vala
@@ -438,18 +438,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]