[dconf/wip/reorg: 479/498] profile parser: return number of sources



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]