environment: Define promisify of g_query_info_async in the global scope
This is something that will be used in other places outside the background code, so let's just define it globally without having to care about the importing order. Co-authored-by: Marco Trevisan (Treviño) <mail@3v1n0.net> Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2638>
This commit is contained in:
@ -55,6 +55,7 @@ Gio._promisify(Gio.DBusConnection.prototype, 'call');
|
||||
Gio._promisify(Gio.DBusProxy, 'new');
|
||||
Gio._promisify(Gio.DBusProxy.prototype, 'init_async');
|
||||
Gio._promisify(Gio.DBusProxy.prototype, 'call_with_unix_fd_list');
|
||||
Gio._promisify(Gio.File.prototype, 'query_info_async');
|
||||
Gio._promisify(Polkit.Permission, 'new');
|
||||
|
||||
let _localTimeZone = null;
|
||||
|
Reference in New Issue
Block a user