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




commit 51b0fa9f307578f8ff696139b8d2a073c03173c9
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 d5563c6fba..88503e12d6 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -1817,7 +1817,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]