mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
cleanup: Use deepUnpack() intead of deep_unpack()
deep_unpack() is just a backwards compability alias for deepUnpack()[1].
The new name makes it more clear that this is not a C function, start to
use it.
[1] 13e662a29d
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2416>
This commit is contained in:
parent
ade4b23796
commit
b63c6ac0ef
15 changed files with 20 additions and 20 deletions
|
|
@ -42,7 +42,7 @@ function canLock() {
|
|||
Gio.DBusCallFlags.NONE,
|
||||
-1, null);
|
||||
|
||||
let version = result.deep_unpack()[0].deep_unpack();
|
||||
let version = result.deepUnpack()[0].deepUnpack();
|
||||
return haveSystemd() && versionCompare('3.5.91', version);
|
||||
} catch (e) {
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue