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:
Jasper St. Pierre
2012-05-09 22:37:42 -03:00
parent 3a01aaf7fb
commit ce041a3190
5 changed files with 11 additions and 10 deletions

View File

@ -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'])