background: Adjust to gnome-desktop API break

gnome-desktop broke API in commit ca5d61cf24, as it didn't *add* a property
as incorrectly stated in the commit message, but *replaced* an existing one.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1457
This commit is contained in:
Florian Müllner 2019-07-20 12:11:55 +02:00
parent d9d9778a98
commit f9a7718dda

View File

@ -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;