[gnome-boxes/housekeeping-autumn-2021: 4/8] app: No need to declare a local "app" reference




commit 30a2c262339324ebdb4ac8c74f44bb11024c175b
Author: Felipe Borges <felipeborges gnome org>
Date:   Wed Oct 13 10:21:20 2021 +0200

    app: No need to declare a local "app" reference
    
    We are already using a singleton design pattern for the App object.

 src/app.vala | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/app.vala b/src/app.vala
index 091f8fbc..75b88392 100644
--- a/src/app.vala
+++ b/src/app.vala
@@ -323,7 +323,6 @@ public override void shutdown () {
     private void open_run_in_bg_vm (string name) {
         activate ();
 
-        var app = this;
         main_window.present ();
         call_when_ready (() => {
             open_name (name);


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