diff options
author | Allison Ryan Lortie <desrt@desrt.ca> | 2015-12-16 14:29:50 +0000 |
---|---|---|
committer | Allison Ryan Lortie <desrt@desrt.ca> | 2015-12-16 11:30:51 -0500 |
commit | 7beac020f79da20e25966d6a19bc47f2e6542e92 (patch) | |
tree | 5feb4c2a58dc42f3e9df33a54595920d1c5aedc6 /common/dconf-enums.h | |
parent | 1fb178fddf7adb041806078b20b00c89cb8a4cd1 (diff) | |
download | dconf-7beac020f79da20e25966d6a19bc47f2e6542e92.tar.gz |
common: rename dconf-error.h to dconf-enums.h
This will soon contain an extra enum.
https://bugzilla.gnome.org/show_bug.cgi?id=759128
Diffstat (limited to 'common/dconf-enums.h')
-rw-r--r-- | common/dconf-enums.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/common/dconf-enums.h b/common/dconf-enums.h new file mode 100644 index 0000000..9f08211 --- /dev/null +++ b/common/dconf-enums.h @@ -0,0 +1,35 @@ +/* + * Copyright © 2013 Canonical Limited + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the licence, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, see <http://www.gnu.org/licenses/>. + * + * Author: Ryan Lortie <desrt@desrt.ca> + */ + +#ifndef __dconf_error_h__ +#define __dconf_error_h__ + +#include <glib.h> + +#define DCONF_ERROR (dconf_error_quark ()) +GQuark dconf_error_quark (void); + +typedef enum +{ + DCONF_ERROR_FAILED, + DCONF_ERROR_PATH, + DCONF_ERROR_NOT_WRITABLE +} DConfError; + +#endif /* __dconf_error_h__ */ |