[gnome-shell/gbsneto/appdisplay-vfunc-chain: 1/2] appDisplay: Use const instead of let in vfunc_leave_event



commit 4f56f83693c0eb96fd244049cd2c5132d7920f5f
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Thu Apr 23 19:03:17 2020 -0300

    appDisplay: Use const instead of let in vfunc_leave_event
    
    The return value of the chain up is not changed, let's use the
    proper descriptor.

 js/ui/appDisplay.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index c8ac328414..2d58541f32 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -2205,7 +2205,7 @@ var AppIcon = GObject.registerClass({
     }
 
     vfunc_leave_event(crossingEvent) {
-        let ret = super.vfunc_leave_event(crossingEvent);
+        const ret = super.vfunc_leave_event(crossingEvent);
 
         this.fake_release();
         this._removeMenuTimeout();


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