summaryrefslogtreecommitdiff
path: root/wrappers/gtk/gconf-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'wrappers/gtk/gconf-client.c')
-rw-r--r--wrappers/gtk/gconf-client.c5
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);