projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b638a67
)
GSettingsBackend: some debug code
author
Ryan Lortie
<desrt@desrt.ca>
Thu, 24 Jun 2010 04:55:14 +0000
(
00:55
-0400)
committer
Ryan Lortie
<desrt@desrt.ca>
Thu, 24 Jun 2010 04:55:30 +0000
(
00:55
-0400)
gio/gsettingsbackend.c
patch
|
blob
|
history
diff --git
a/gio/gsettingsbackend.c
b/gio/gsettingsbackend.c
index
45fab1e
..
42645dd
100644
(file)
--- a/
gio/gsettingsbackend.c
+++ b/
gio/gsettingsbackend.c
@@
-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);