js: Adapt to GSettings API change

The 'schema' property has been deprecated for a long time. Even though
this will likely be reverted in glib, let's stop using it.
This commit is contained in:
Jasper St. Pierre
2014-06-24 15:17:09 -04:00
parent 6d66afc14e
commit 83cb26d70e
28 changed files with 53 additions and 53 deletions

View File

@ -946,7 +946,7 @@ const ChatNotification = new Lang.Class({
let format;
let desktopSettings = new Gio.Settings({ schema: 'org.gnome.desktop.interface' });
let desktopSettings = new Gio.Settings({ schema_id: 'org.gnome.desktop.interface' });
let clockFormat = desktopSettings.get_string(CLOCK_FORMAT_KEY);
let hasAmPm = date.toLocaleFormat('%p') != '';