diff options
author | Allison Ryan Lortie <desrt@desrt.ca> | 2015-12-16 10:04:13 -0500 |
---|---|---|
committer | Allison Ryan Lortie <desrt@desrt.ca> | 2015-12-16 11:31:01 -0500 |
commit | 4594876cd2b3c80a827cfe1526e0779b72777cc2 (patch) | |
tree | 6212c8e1895940feb0c4030d1fa0e7cdd12acae1 /common | |
parent | a4139891fa874197e945fe409698e16a5ba35ae3 (diff) | |
download | dconf-4594876cd2b3c80a827cfe1526e0779b72777cc2.tar.gz |
engine: add DCONF_READ_DEFAULT_VALUE flag
Add a flag that allows checking the default value without constructing a
read_through queue. Make use of this new flag to simplify code in a
couple of places.
https://bugzilla.gnome.org/show_bug.cgi?id=759128
Diffstat (limited to 'common')
-rw-r--r-- | common/dconf-enums.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/dconf-enums.h b/common/dconf-enums.h index a2ac08a..2f10d1a 100644 --- a/common/dconf-enums.h +++ b/common/dconf-enums.h @@ -35,6 +35,7 @@ typedef enum typedef enum { DCONF_READ_FLAGS_NONE = 0, + DCONF_READ_DEFAULT_VALUE = (1u << 0), DCONF_READ_USER_VALUE = (1u << 1) } DConfReadFlags; |