summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2010-12-14 00:20:01 -0500
committerRyan Lortie <desrt@desrt.ca>2010-12-14 00:20:01 -0500
commit58c25a835e392e2dc3faf713f6cd738052e83953 (patch)
treefc88da19d70c48ce6812142654e19f73825da255
parent8a81b126a36acb611f34a4ed7d1445d79b755f89 (diff)
downloaddconf-58c25a835e392e2dc3faf713f6cd738052e83953.tar.gz
Adjust to GVDB API change
-rw-r--r--service/dconf-rebuilder.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/service/dconf-rebuilder.c b/service/dconf-rebuilder.c
index 5cc502f..cd1b623 100644
--- a/service/dconf-rebuilder.c
+++ b/service/dconf-rebuilder.c
@@ -171,11 +171,12 @@ dconf_rebuilder_walk_open (const gchar *name,
}
static void
-dconf_rebuilder_walk_close (gpointer user_data)
+dconf_rebuilder_walk_close (gsize name_len,
+ gpointer user_data)
{
DConfRebuilderState *state = user_data;
- while (--state->name_len && state->name[state->name_len - 1] != '/');
+ state->name_len -= name_len;
}
gboolean