js: Don't use global.log*
These are "deprecated", and are just references to the gjs logging functoins https://bugzilla.gnome.org/show_bug.cgi?id=675790
This commit is contained in:
@ -210,7 +210,7 @@ const Application = new Lang.Class({
|
||||
try {
|
||||
extension = ExtensionUtils.createExtensionObject(uuid, dir, type);
|
||||
} catch(e) {
|
||||
global.logError('' + e);
|
||||
logError(e, 'Could not create extensions object');
|
||||
return;
|
||||
}
|
||||
|
||||
@ -257,7 +257,7 @@ function initEnvironment() {
|
||||
},
|
||||
|
||||
logError: function(s) {
|
||||
global.log('ERROR: ' + s);
|
||||
log('ERROR: ' + s);
|
||||
},
|
||||
|
||||
userdatadir: GLib.build_filenamev([GLib.get_user_data_dir(), 'gnome-shell'])
|
||||
|
Reference in New Issue
Block a user