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:

committed by
Marge Bot

parent
ade4b23796
commit
b63c6ac0ef
@ -375,7 +375,7 @@ class WorldClocksSection extends St.Button {
|
||||
this._locations = [];
|
||||
|
||||
let world = GWeather.Location.get_world();
|
||||
let clocks = this._settings.get_value('locations').deep_unpack();
|
||||
let clocks = this._settings.get_value('locations').deepUnpack();
|
||||
for (let i = 0; i < clocks.length; i++) {
|
||||
let l = world.deserialize(clocks[i]);
|
||||
if (l && l.get_timezone() != null)
|
||||
|
Reference in New Issue
Block a user