diff options
author | Havoc Pennington <hp@redhat.com> | 1999-12-21 00:47:32 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 1999-12-21 00:47:32 +0000 |
commit | e962b75645f21b0ddc94a8e2ffbf82e91dcb89af (patch) | |
tree | cafee9c237669d2191741b0ae15f30965974c4d9 /wrappers | |
parent | dffadadc3bb6e5ea134214b3a0ae22423be47d7c (diff) | |
download | gconf-e962b75645f21b0ddc94a8e2ffbf82e91dcb89af.tar.gz |
const correctness
1999-12-20 Havoc Pennington <hp@redhat.com>
* gconf/gconf-sources.c (gconf_sources_new_from_addresses): const
correctness
* gconf/gconfd.c: Massive const-correctness changes
to match
latest ORBit
* gconf/gconf.c (notify): "in string" seems to be const again now.
* wrappers/gtk/gconf-client.c (cache_pairs_in_dir):
store the
is_default parameter when preloading
* gconf/gconf.c (gconf_all_entries): receive the is_default
parameter
* gconf/gconfd.c (gconfd_all_entries): pass
the is_default
parameter over the CORBA link
* backends/xml-backend.c (listify_foreach): Add the schema
name to
the entry if appropriate (if value is unset)
* gconf/gconf-sources.c (gconf_sources_all_entries): Change to
match new semantics of all_entries in the backend;
get all entries
that have a schema set on them, and the corresponding default
value if appropriate.
* gconf/gconf-value.c (gconf_entry_set_is_default):
new function
(gconf_entry_set_schema_name): new function
* backends/xml-backend.c (listify_foreach): Include keys that
exist but have no value set in the list of returned entries.
Diffstat (limited to 'wrappers')
-rw-r--r-- | wrappers/gtk/gconf-client.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/wrappers/gtk/gconf-client.c b/wrappers/gtk/gconf-client.c index 300dcca8..a972731f 100644 --- a/wrappers/gtk/gconf-client.c +++ b/wrappers/gtk/gconf-client.c @@ -615,11 +615,10 @@ cache_pairs_in_dir(GConfClient* client, const gchar* dir) gconf_client_cache(client, full_key, - /* It can't be the default, all_entries() only - returns values that are actually set */ - FALSE, + gconf_entry_is_default(pair), gconf_entry_steal_value(pair)); + g_free(full_key); gconf_entry_destroy(pair); |