summaryrefslogtreecommitdiff
path: root/gtk/gtksettings.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2006-03-26 06:13:17 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-03-26 06:13:17 +0000
commit24199c0f567024b4dab5dc5be37ac3a1ddbaa77f (patch)
tree9b6cce1e61ad0c672da38c4521c4fc8d9379c32e /gtk/gtksettings.c
parenta22bcd66c486868a9ac6058ce82a328cb7e57352 (diff)
downloadgtk+-24199c0f567024b4dab5dc5be37ac3a1ddbaa77f.tar.gz
Fix leaks
Diffstat (limited to 'gtk/gtksettings.c')
-rw-r--r--gtk/gtksettings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index 1dd700cbc8..4a69041f46 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -661,7 +661,7 @@ gtk_settings_get_property (GObject *object,
if (pspec->param_id == PROP_COLOR_SCHEME)
{
merge_color_scheme (settings, value, GTK_SETTINGS_SOURCE_XSETTING);
- g_value_set_string (value, get_color_scheme (settings));
+ g_value_take_string (value, get_color_scheme (settings));
}
g_param_value_validate (pspec, value);