[gnome-shell-extensions] launch-new-instance: Fix warning



commit c69ea808ae9a333d9808e1f193c53c39630ef4ff
Author: Florian Müllner <fmuellner gnome org>
Date:   Mon Mar 2 21:00:01 2015 +0100

    launch-new-instance: Fix warning
    
    Commit 2667b9f3e58 updated the extension for a shell change that
    renamed _onActivate() to _activate, but forgot to also rename the
    declaration of the variable that stores the original function.
    Fix this to stop a warning about assignment to an undefined variable.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=745470

 extensions/launch-new-instance/extension.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/extensions/launch-new-instance/extension.js b/extensions/launch-new-instance/extension.js
index fd97064..07830c5 100644
--- a/extensions/launch-new-instance/extension.js
+++ b/extensions/launch-new-instance/extension.js
@@ -1,6 +1,6 @@
 const AppDisplay = imports.ui.appDisplay;
 
-var _onActivateOriginal = null;
+let _activateOriginal = null;
 
 function init() {
 }


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