[gnome-boxes/housekeeping-autumn-2021: 5/9] app: No need to declare a local "app" reference
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/housekeeping-autumn-2021: 5/9] app: No need to declare a local "app" reference
- Date: Wed, 13 Oct 2021 14:02:20 +0000 (UTC)
commit 273952facd2dec333ffbbc6c637b27a13dd381e0
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]