mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 09:46:17 +01:00
GSettingsBackend: some debug code
This commit is contained in:
parent
b638a675a8
commit
6d828dae38
@ -714,6 +714,18 @@ g_settings_backend_changed_tree (GSettingsBackend *backend,
|
||||
|
||||
g_settings_backend_flatten_tree (tree, &path, &keys, NULL);
|
||||
|
||||
#ifdef DEBUG_CHANGES
|
||||
{
|
||||
gint i;
|
||||
|
||||
g_print ("----\n");
|
||||
g_print ("changed_tree(): prefix %s\n", path);
|
||||
for (i = 0; keys[i]; i++)
|
||||
g_print (" %s\n", keys[i]);
|
||||
g_print ("----\n");
|
||||
}
|
||||
#endif
|
||||
|
||||
for (watch = backend->priv->watches; watch; watch = watch->next)
|
||||
watch->keys_changed (backend, watch->target, path, keys, origin_tag);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user