summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/prefs.c4
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)