Merge branch '1454-gvdb-corruption' into 'master'
[dconf.git] / service / dconf-shm-writer.c
blobdb3dfcde6aadc1d89aa1d681c194d5a5dfa5693e
1 /*
2 * Copyright © 2010 Codethink Limited
3 * Copyright © 2012 Canonical Limited
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the licence, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
18 * Author: Ryan Lortie <desrt@desrt.ca>
21 #include "config.h"
23 #include "dconf-writer.h"
25 typedef DConfWriterClass DConfShmWriterClass;
26 typedef DConfWriter DConfShmWriter;
28 G_DEFINE_TYPE (DConfShmWriter, dconf_shm_writer, DCONF_TYPE_WRITER)
30 static void
31 dconf_shm_writer_list (GHashTable *set)
35 static void
36 dconf_shm_writer_init (DConfWriter *writer)
38 dconf_writer_set_basepath (writer, "shm");
41 static void
42 dconf_shm_writer_class_init (DConfWriterClass *class)
44 class->list = dconf_shm_writer_list;