diff --git a/js/ui/background.js b/js/ui/background.js index 0c0049b00..16bd1c573 100644 --- a/js/ui/background.js +++ b/js/ui/background.js @@ -633,7 +633,7 @@ var Animation = class Animation { } load(callback) { - this._show = new GnomeDesktop.BGSlideShow({ filename: this.file.get_path() }); + this._show = new GnomeDesktop.BGSlideShow({ file: this.file }); this._show.load_async(null, (object, result) => { this.loaded = true;