GNOME Bugzilla – Bug 117712
Misuse of enum causes recursive unset to fail on schemas
Last modified: 2004-12-22 21:47:04 UTC
GCONF_UNSET_INCLUDING_SCHEMA_NAMES (a constant which lives in gconf-sources.h in the released version, and in gconf-value.h in the CVS head) is defined using an enum, but with no explicit assignment, it gets the value 0. So it has no effect, and recursive unsets always fail to remove schemas. (As a consequence, gconftool-2 --recursive-unset /apps/panel results in a broken panel configuration; the default panel profile directory still exists, so the default schema doesn't get re-associated.) I will attach a patch against the CVS head; obviously, the same change to gconf-sources.h in the release version will work there.
Created attachment 18392 [details] [review] Patch to assign non-zero value to GCONF_UNSET_INCLUDING_SCHEMA_NAMES
Thanks, brown paper bag bug. I'm applying to cvs now.