diff options
-rw-r--r-- | src/core/prefs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/prefs.c b/src/core/prefs.c index 25bdaa2d..7ef9db3c 100644 --- a/src/core/prefs.c +++ b/src/core/prefs.c @@ -929,7 +929,11 @@ change_notify (GSettings *settings, } gchar *schema_name = NULL; +#if GLIB_CHECK_VERSION (2, 32, 0) g_object_get (settings, "schema-id", &schema_name, NULL); +#else + g_object_get (settings, "schema", &schema_name, NULL); +#endif if (g_strcmp0 (schema_name, KEY_WINDOW_BINDINGS_SCHEMA) == 0 || g_strcmp0 (schema_name, KEY_SCREEN_BINDINGS_SCHEMA) == 0) |