From 0c839d67dc011a8a2076cfe25318038f70a32623 Mon Sep 17 00:00:00 2001 From: Frank Dana Date: Mon, 15 Apr 2024 06:46:59 -0400 Subject: [PATCH] iconCache: Gio.Icon.equal(), not .equals() The comparison function is named `equal()`. https://docs.gtk.org/gio/vfunc.Icon.equal.html --- iconCache.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iconCache.js b/iconCache.js index b775307..3610184 100644 --- a/iconCache.js +++ b/iconCache.js @@ -49,7 +49,7 @@ export class IconCache { } const oldIcon = this._cache.get(id); - if (!oldIcon || !oldIcon.equals(icon)) { + if (!oldIcon || !oldIcon.equal(icon)) { Util.Logger.debug(`IconCache: adding ${id}: ${icon}`); this._cache.set(id, icon); } else {