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;