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
This commit is contained in:
parent
09f3c87d20
commit
67736642f3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user