[gnome-shell/gbsneto/icon-grid-dnd-fixes: 12/19] appDisplay: Trivial const-correctness fix




commit 67b15fc08c812d048691a2108e9ef7c4692be2a4
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Thu Sep 24 12:17:58 2020 -0300

    appDisplay: Trivial const-correctness fix
    
    https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1447

 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 b704a54601..ed735f5404 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -1820,7 +1820,7 @@ class FolderView extends BaseAppView {
         if (folderApps.length == 0) {
             // Resetting all keys deletes the relocatable schema
             let keys = this._folder.settings_schema.list_keys();
-            for (let key of keys)
+            for (const key of keys)
                 this._folder.reset(key);
 
             let settings = new Gio.Settings({ schema_id: 'org.gnome.desktop.app-folders' });


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