[dconf/wip/reorg: 479/498] profile parser: return number of sources
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf/wip/reorg: 479/498] profile parser: return number of sources
- Date: Fri, 6 Jul 2012 18:40:37 +0000 (UTC)
commit 36af45d05df59d8acb4ca27bee6630f799c68f62
Author: Ryan Lortie <desrt desrt ca>
Date: Thu Jul 5 23:38:07 2012 -0400
profile parser: return number of sources
The profile parser wasn't setting the n_sources out variable.
engine/dconf-engine-profile.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/engine/dconf-engine-profile.c b/engine/dconf-engine-profile.c
index 896cd7c..a804b30 100644
--- a/engine/dconf-engine-profile.c
+++ b/engine/dconf-engine-profile.c
@@ -94,6 +94,8 @@ dconf_engine_read_profile_file (FILE *file,
}
}
+ *n_sources = n;
+
return sources;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]