Permalink
Browse files

Fix for issue GPII-8

GSettingsHandler appears to core dump when trying to set a non-existent
key in a schema (see http://issues.gpii.net/browse/GPII-8)

The problem is that Gio.Settings segfaults when requesting a
non-existent key from a gsettings schema.

This fix checks if the setting matches with the gsettings schema before
each set/get.
  • Loading branch information...
1 parent 2994d20 commit 6830aac6428ee93e41ebcfceee1268d92b81f201 @javihernandez javihernandez committed Jan 17, 2013
Showing with 7 additions and 2 deletions.
  1. +7 −2 node_modules/gsettingsBridge/gsettings_bridge.js

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 6830aac

Please sign in to comment.