[dconf/wip/reorg] DConfEngineUserSource: don't open on init
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf/wip/reorg] DConfEngineUserSource: don't open on init
- Date: Fri, 13 Jul 2012 02:59:18 +0000 (UTC)
commit de020d7f250e581ca2edd45171ae41d28b2e68bf
Author: Ryan Lortie <desrt desrt ca>
Date: Thu Jul 12 22:54:30 2012 -0400
DConfEngineUserSource: don't open on init
Don't open the database file on _init(). This makes us match the system
source better.
engine/dconf-engine-source-user.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/engine/dconf-engine-source-user.c b/engine/dconf-engine-source-user.c
index 863d8da..982bbdf 100644
--- a/engine/dconf-engine-source-user.c
+++ b/engine/dconf-engine-source-user.c
@@ -53,15 +53,10 @@ dconf_engine_source_user_open_gvdb (const gchar *name)
static void
dconf_engine_source_user_init (DConfEngineSource *source)
{
- DConfEngineSourceUser *user_source = (DConfEngineSourceUser *) source;
-
source->bus_type = G_BUS_TYPE_SESSION;
source->bus_name = g_strdup ("ca.desrt.dconf");
source->object_path = g_strdup_printf ("/ca/desrt/dconf/Writer/%s", source->name);
source->writable = TRUE;
- user_source->shm = dconf_shm_open (source->name);
-
- source->values = dconf_engine_source_user_open_gvdb (source->name);
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]