diff options
author | Mark McLoughlin <mark@skynet.ie> | 2005-04-25 17:00:19 +0000 |
---|---|---|
committer | Mark McLoughlin <markmc@src.gnome.org> | 2005-04-25 17:00:19 +0000 |
commit | 793b91fc9d4d89d11b538deba75241c470426a5d (patch) | |
tree | e987e7bbdfc3dcffda5a7486fb976b51007a1d37 /gconf/gconf-enum-types.c | |
parent | 9a6d1a6526927d23388aebbc1fbac0517b20f22f (diff) | |
download | gconf-793b91fc9d4d89d11b538deba75241c470426a5d.tar.gz |
Pointed out by Gustavo Carneiro <gjc@inescporto.pt> in bug #300804
2005-04-25 Mark McLoughlin <mark@skynet.ie>
Pointed out by Gustavo Carneiro <gjc@inescporto.pt> in
bug #300804
* gconf/gconf-enum-types.[ch]: run "make regenerate-built-sources"
so that we get GCONF_TYPE_UNSET_FLAGS.
* gconf/gconf-error.h,
gconf/gconf-value.h: remove unneccessary glib-mkenums options
from C comment.
* gconf/regenerate-enum-footer.sh,
gconf/regenerate-enum-header.sh: tweak the arguments to glib-mkenums
so that we get the same output that we were getting before and the
command line is a wee bit more readable.
Diffstat (limited to 'gconf/gconf-enum-types.c')
-rw-r--r-- | gconf/gconf-enum-types.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gconf/gconf-enum-types.c b/gconf/gconf-enum-types.c index a62be7c3..5aa74540 100644 --- a/gconf/gconf-enum-types.c +++ b/gconf/gconf-enum-types.c @@ -25,6 +25,20 @@ gconf_value_type_get_type (void) return etype; } +GType +gconf_unset_flags_get_type (void) +{ + static GType etype = 0; + if (etype == 0) { + static const GFlagsValue values[] = { + { GCONF_UNSET_INCLUDING_SCHEMA_NAMES, "GCONF_UNSET_INCLUDING_SCHEMA_NAMES", "names" }, + { 0, NULL, NULL } + }; + etype = g_flags_register_static ("GConfUnsetFlags", values); + } + return etype; +} + /* enumerations from "gconf-error.h" */ GType |