Commit 24199c0f authored by Matthias Clasen's avatar Matthias Clasen

Fix leaks

parent a22bcd66
2006-03-26 Matthias Clasen <mclasen@redhat.com>
* 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):
......
2006-03-26 Matthias Clasen <mclasen@redhat.com>
* 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):
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment