diff options
author | Stefano Karapetsas <[email protected]> | 2012-10-27 15:39:59 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2012-10-27 15:39:59 +0200 |
commit | f5946af8359cebfebb23f2174678cbdc7c31d3eb (patch) | |
tree | 05971e9088ed3dc1d8de72f7dc07ec65f70504b7 /src/core | |
parent | ac9664dd0310fe98caf30e6cca3af4d3886c9291 (diff) | |
download | marco-f5946af8359cebfebb23f2174678cbdc7c31d3eb.tar.bz2 marco-f5946af8359cebfebb23f2174678cbdc7c31d3eb.tar.xz |
fix get schema name
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/prefs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/prefs.c b/src/core/prefs.c index 94567b79..25bdaa2d 100644 --- a/src/core/prefs.c +++ b/src/core/prefs.c @@ -928,8 +928,8 @@ change_notify (GSettings *settings, i++; } - gchar *schema_name; - g_object_get (settings, "schema-id", schema_name, NULL); + gchar *schema_name = NULL; + g_object_get (settings, "schema-id", &schema_name, NULL); if (g_strcmp0 (schema_name, KEY_WINDOW_BINDINGS_SCHEMA) == 0 || g_strcmp0 (schema_name, KEY_SCREEN_BINDINGS_SCHEMA) == 0) |