[geary/wip/minor-cleanup: 2/3] Fix variable name speeling error



commit 4ac29628d59b83713e9bf5ce355768f49aee2a75
Author: Michael Gratton <mike vee net>
Date:   Wed Aug 28 09:58:40 2019 +1000

    Fix variable name speeling error

 src/client/application/geary-application.vala | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/client/application/geary-application.vala b/src/client/application/geary-application.vala
index 944f1a76..59b1db5c 100644
--- a/src/client/application/geary-application.vala
+++ b/src/client/application/geary-application.vala
@@ -262,7 +262,7 @@ public class GearyApplication : Gtk.Application {
     private bool is_destroyed = false;
     private GLib.Cancellable controller_cancellable = new GLib.Cancellable();
     private Components.Inspector? inspector = null;
-    private Geary.Nonblocking.Mutex controler_mutex = new Geary.Nonblocking.Mutex();
+    private Geary.Nonblocking.Mutex controller_mutex = new Geary.Nonblocking.Mutex();
 
 
     /**
@@ -706,7 +706,7 @@ public class GearyApplication : Gtk.Application {
 
         bool first_run = false;
         try {
-            int mutex_token = yield this.controler_mutex.claim_async();
+            int mutex_token = yield this.controller_mutex.claim_async();
             if (this.controller == null) {
                 message(
                     "%s %s (%s) prefix=%s exec_dir=%s is_installed=%s",
@@ -723,7 +723,7 @@ public class GearyApplication : Gtk.Application {
                 );
                 first_run = !this.engine.has_accounts;
             }
-            this.controler_mutex.release(ref mutex_token);
+            this.controller_mutex.release(ref mutex_token);
         } catch (Error err) {
             error("Error creating controller: %s", err.message);
         }
@@ -746,12 +746,12 @@ public class GearyApplication : Gtk.Application {
         hold();
 
         try {
-            int mutex_token = yield this.controler_mutex.claim_async();
+            int mutex_token = yield this.controller_mutex.claim_async();
             if (this.controller != null) {
                 yield this.controller.close_async();
                 this.controller = null;
             }
-            this.controler_mutex.release(ref mutex_token);
+            this.controller_mutex.release(ref mutex_token);
         } catch (Error err) {
             debug("Error destroying controller: %s", err.message);
         }


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