Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions examples/hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"typescript": "6.0.2"
},
"dependencies": {
"@girs/gjs": "^4.1.0",
"@girs/gjs": "^4.3.0",
"@girs/gnome-shell": "workspace:^",
"@girs/gobject-2.0": "^4.1.0",
"@girs/st-18": "^4.1.0"
"@girs/gobject-2.0": "^4.3.0",
"@girs/st-18": "^4.3.0"
}
}
48 changes: 24 additions & 24 deletions packages/gnome-shell/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1071,30 +1071,30 @@
"generate:types": "node ./scripts/generate-types.js"
},
"dependencies": {
"@girs/accountsservice-1.0": "^4.1.0",
"@girs/adw-1": "^4.1.0",
"@girs/atk-1.0": "^4.1.0",
"@girs/clutter-18": "^4.1.0",
"@girs/cogl-18": "^4.1.0",
"@girs/gcr-4": "^4.1.0",
"@girs/gdm-1.0": "^4.1.0",
"@girs/gio-2.0": "^4.1.0",
"@girs/giounix-2.0": "^4.1.0",
"@girs/gjs": "^4.1.0",
"@girs/glib-2.0": "^4.1.0",
"@girs/gnomebg-4.0": "^4.1.0",
"@girs/gnomebluetooth-3.0": "^4.1.0",
"@girs/gnomedesktop-4.0": "^4.1.0",
"@girs/gobject-2.0": "^4.1.0",
"@girs/gtk-4.0": "^4.1.0",
"@girs/gvc-1.0": "^4.1.0",
"@girs/meta-18": "^4.1.0",
"@girs/mtk-18": "^4.1.0",
"@girs/polkit-1.0": "^4.1.0",
"@girs/shell-18": "^4.1.0",
"@girs/shew-0": "^4.1.0",
"@girs/st-18": "^4.1.0",
"@girs/upowerglib-1.0": "^4.1.0"
"@girs/accountsservice-1.0": "^4.3.0",
"@girs/adw-1": "^4.3.0",
"@girs/atk-1.0": "^4.3.0",
"@girs/clutter-18": "^4.3.0",
"@girs/cogl-18": "^4.3.0",
"@girs/gcr-4": "^4.3.0",
"@girs/gdm-1.0": "^4.3.0",
"@girs/gio-2.0": "^4.3.0",
"@girs/giounix-2.0": "^4.3.0",
"@girs/gjs": "^4.3.0",
"@girs/glib-2.0": "^4.3.0",
"@girs/gnomebg-4.0": "^4.3.0",
"@girs/gnomebluetooth-3.0": "^4.3.0",
"@girs/gnomedesktop-4.0": "^4.3.0",
"@girs/gobject-2.0": "^4.3.0",
"@girs/gtk-4.0": "^4.3.0",
"@girs/gvc-1.0": "^4.3.0",
"@girs/meta-18": "^4.3.0",
"@girs/mtk-18": "^4.3.0",
"@girs/polkit-1.0": "^4.3.0",
"@girs/shell-18": "^4.3.0",
"@girs/shew-0": "^4.3.0",
"@girs/st-18": "^4.3.0",
"@girs/upowerglib-1.0": "^4.3.0"
},
"devDependencies": {
"@tsconfig/strictest": "^2.0.8",
Expand Down
14 changes: 14 additions & 0 deletions packages/gnome-shell/src/ui/background.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,24 @@ declare class BackgroundSource {
declare class Animation extends GnomeBG.BGSlideShow {
_init(params?: Partial<GnomeBG.BGSlideShow.ConstructorProps>): void;

/**
* @hidden
* @deprecated The shell's override hands its own callback to
* `GnomeBG.BGSlideShow.load_async`, so the promisified form of the base
* method never takes effect. It returns `undefined`, and awaiting it
* resolves right away with the slide show still unloaded. The overload is
* here only so the override stays assignable to the base class. Pass a
* callback.
*/
load_async(cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>;
/** @hidden */
load_async(cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void;
/**
* Tries to load the slide show asynchronously.
*
* The shell calls the callback with no arguments. It wraps the callback to
* set its own `loaded` flag first, and the base class' `Gio.AsyncResult`
* never reaches it.
* @param cancellable a #GCancellable
* @param callback the callback
*/
Expand Down
Loading