[dconf] Store the state in the writer



commit f4d879845aa9a01c8433d9e6221e386271e100e7
Author: Ryan Lortie <desrt desrt ca>
Date:   Tue Aug 3 21:18:40 2010 -0400

    Store the state in the writer
    
    ie: Fix unitialised variable

 service/dconf-writer.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/service/dconf-writer.c b/service/dconf-writer.c
index 15a618c..71d694c 100644
--- a/service/dconf-writer.c
+++ b/service/dconf-writer.c
@@ -146,6 +146,7 @@ dconf_writer_new (DConfState  *state,
   DConfWriter *writer;
 
   writer = g_slice_new (DConfWriter);
+  writer->state = state;
   writer->path = g_build_filename (state->db_dir, name, NULL);
   writer->shm = g_build_filename (state->shm_dir, name, NULL);
   writer->name = g_strdup (name);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]