Fix leaks

This commit is contained in:
Matthias Clasen 2006-03-26 06:13:17 +00:00
parent a22bcd66c4
commit 24199c0f56
3 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
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):

View File

@ -1,7 +1,7 @@
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):

View File

@ -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);