[gimp/gimp-2-10] app: code cleanup in GimpAsync



commit c820764d4feec0943ac31a619b8d7ad250bf8549
Author: Ell <ell_se yahoo com>
Date:   Sun May 27 02:28:48 2018 -0400

    app: code cleanup in GimpAsync
    
    (cherry picked from commit 770634f84e737393b35fb62ad60f7c687bb5e834)

 app/core/gimpasync.c | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/app/core/gimpasync.c b/app/core/gimpasync.c
index 458df3105b..2383c60678 100644
--- a/app/core/gimpasync.c
+++ b/app/core/gimpasync.c
@@ -66,23 +66,23 @@ struct _GimpAsyncCallbackInfo
 
 struct _GimpAsyncPrivate
 {
-  GMutex          mutex;
-  GCond           cond;
+  GMutex         mutex;
+  GCond          cond;
 
-  GQueue          callbacks;
+  GQueue         callbacks;
 
-  gpointer        result;
-  GDestroyNotify  result_destroy_func;
+  gpointer       result;
+  GDestroyNotify result_destroy_func;
 
-  guint           idle_id;
+  guint          idle_id;
 
-  gboolean        stopped;
-  gboolean        finished;
-  gboolean        synced;
-  gboolean        canceled;
+  gboolean       stopped;
+  gboolean       finished;
+  gboolean       synced;
+  gboolean       canceled;
 
 #ifdef TIME_ASYNC_OPS
-  guint64         start_time;
+  guint64        start_time;
 #endif
 };
 
@@ -453,7 +453,7 @@ gimp_async_is_finished (GimpAsync *async)
  * 'async' shall be in the "stopped" state, and should have completed normally.
  *
  * may only be called on the async thread, or on the main thread when 'async'
- * synced.
+ * is synced.
  */
 gpointer
 gimp_async_get_result (GimpAsync *async)


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