diff --git a/ChangeLog b/ChangeLog index dee50187a7..5a6d625648 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,7 @@ 2006-03-26 Matthias Clasen - * gtk/gtkuimanager.c (gtk_ui_manager_get_property): Fix - a leak. + * gtk/gtksettings.c (gtk_settings_get_property): + * gtk/gtkuimanager.c (gtk_ui_manager_get_property): Fix leaks. * gtk/gtktexttag.c (gtk_text_tag_get_property): * gtk/gtkcellrenderertext.c (gtk_cell_render_text_get_property): diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index dee50187a7..5a6d625648 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,7 +1,7 @@ 2006-03-26 Matthias Clasen - * gtk/gtkuimanager.c (gtk_ui_manager_get_property): Fix - a leak. + * gtk/gtksettings.c (gtk_settings_get_property): + * gtk/gtkuimanager.c (gtk_ui_manager_get_property): Fix leaks. * gtk/gtktexttag.c (gtk_text_tag_get_property): * gtk/gtkcellrenderertext.c (gtk_cell_render_text_get_property): 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);