[dconf: 5/5] Adjust to GVDB API change
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf: 5/5] Adjust to GVDB API change
- Date: Tue, 14 Dec 2010 05:21:56 +0000 (UTC)
commit 58c25a835e392e2dc3faf713f6cd738052e83953
Author: Ryan Lortie <desrt desrt ca>
Date: Tue Dec 14 00:20:01 2010 -0500
Adjust to GVDB API change
service/dconf-rebuilder.c | 5 +++--
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]