[gnome-documents] Use schema_id instead of deprecated schema
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] Use schema_id instead of deprecated schema
- Date: Mon, 9 Feb 2015 11:08:59 +0000 (UTC)
commit b4610bab5fc717b5bbb3b68644626e101a77d57d
Author: Debarshi Ray <debarshir gnome org>
Date: Mon Feb 9 12:05:42 2015 +0100
Use schema_id instead of deprecated schema
Fallout from 17322bb4b627ebfef0b8c36ba22d390d0910faa6
src/application.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index 2ca4cc1..0c86d93 100644
--- a/src/application.js
+++ b/src/application.js
@@ -442,9 +442,9 @@ const Application = new Lang.Class({
application = this;
if (!application.isBooks)
- settings = new Gio.Settings({ schema: 'org.gnome.documents' });
+ settings = new Gio.Settings({ schema_id: 'org.gnome.documents' });
else
- settings = new Gio.Settings({ schema: 'org.gnome.books' });
+ settings = new Gio.Settings({ schema_id: 'org.gnome.books' });
let gtkSettings = Gtk.Settings.get_default();
gtkSettings.connect('notify::gtk-theme-name', Lang.bind(this, this._themeChanged));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]