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




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

    appDisplay: Trivial const-correctness fix

 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]