[gnome-maps] Settings: use schema_id property
- From: Mattias Bengtsson <mattiasb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] Settings: use schema_id property
- Date: Tue, 24 Jun 2014 20:39:38 +0000 (UTC)
commit 66017388fb694fbcfeab1338dc70b2e15419c330
Author: Mattias Bengtsson <mattias jc bengtsson gmail com>
Date: Tue Jun 24 22:33:02 2014 +0200
Settings: use schema_id property
The 'schema'-property on GSettings is deprecated and was recently
removed in GLib master. This made Maps crash on start.
Move to the new 'schema_id'-property instead.
src/settings.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/settings.js b/src/settings.js
index c09ffe4..5636fae 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -33,7 +33,7 @@ const Settings = new Lang.Class({
_keyTypes: {},
_init: function(schema) {
- this.parent({ schema: schema });
+ this.parent({ schema_id: schema });
this.list_keys().forEach((function(key) {
this._keyTypes[key] = this.get_value(key)
.get_type()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]