Declare libdconf_service as a dependency
[dconf.git] / common / dconf-error.c
blob633939700d1a2d6bdfc15064f4ecdda71ba2c157
1 /*
2 * Copyright © 2013 Canonical Limited
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the licence, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
17 * Author: Ryan Lortie <desrt@desrt.ca>
20 #include "config.h"
22 #include "dconf-enums.h"
24 /**
25 * SECTION:error
26 * @title: DConfError
27 * @short_description: GError error codes
29 * These are the error codes that can be returned from dconf APIs.
30 **/
32 /**
33 * DCONF_ERROR:
35 * The error domain of DConf.
37 * Since: 0.20
38 **/
40 /**
41 * DConfError:
42 * @DCONF_ERROR_FAILED: generic error
43 * @DCONF_ERROR_PATH: the path given for the operation was a valid path
44 * or was not of the expected type (dir vs. key)
45 * @DCONF_ERROR_NOT_WRITABLE: the given key was not writable
47 * Possible errors from DConf functions.
49 * Since: 0.20
50 **/
52 G_DEFINE_QUARK (dconf_error, dconf_error)