From 67736642f3cc4be3f66d22e2d4c3e508b0c46871 Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Fri, 1 Jul 2011 15:24:16 +0200 Subject: [PATCH] Fix methods that take array arguments Length parameter is no longer required in current GJS. Fix that. https://bugzilla.gnome.org/show_bug.cgi?id=654349 --- js/ui/notificationDaemon.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js index 37009d9f6..19288a762 100644 --- a/js/ui/notificationDaemon.js +++ b/js/ui/notificationDaemon.js @@ -122,7 +122,7 @@ NotificationDaemon.prototype = { } else if (hints['image-data']) { let [width, height, rowStride, hasAlpha, bitsPerSample, nChannels, data] = hints['image-data']; - return textureCache.load_from_raw(data, data.length, hasAlpha, + return textureCache.load_from_raw(data, hasAlpha, width, height, rowStride, size); } else { let stockIcon;