forked from AuroraMiddleware/gtk
Don't leak the values here. (#169047, Philip Langdale)
2005-03-03 Matthias Clasen <mclasen@redhat.com> * gtk/gtksettings.c (gtk_settings_get_property): * gtk/gtkrc.c (gtk_rc_parse_assignment): Don't leak the values here. (#169047, Philip Langdale)
This commit is contained in:
parent
f5869e6a87
commit
e6716d2336
@ -1,5 +1,9 @@
|
||||
2005-03-03 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtksettings.c (gtk_settings_get_property):
|
||||
* gtk/gtkrc.c (gtk_rc_parse_assignment): Don't leak
|
||||
the values here. (#169047, Philip Langdale)
|
||||
|
||||
* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
|
||||
Don't warn if a stock icon cannot be found. (#168830,
|
||||
Sven Neumann)
|
||||
|
@ -1,5 +1,9 @@
|
||||
2005-03-03 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtksettings.c (gtk_settings_get_property):
|
||||
* gtk/gtkrc.c (gtk_rc_parse_assignment): Don't leak
|
||||
the values here. (#169047, Philip Langdale)
|
||||
|
||||
* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
|
||||
Don't warn if a stock icon cannot be found. (#168830,
|
||||
Sven Neumann)
|
||||
|
@ -1,5 +1,9 @@
|
||||
2005-03-03 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtksettings.c (gtk_settings_get_property):
|
||||
* gtk/gtkrc.c (gtk_rc_parse_assignment): Don't leak
|
||||
the values here. (#169047, Philip Langdale)
|
||||
|
||||
* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
|
||||
Don't warn if a stock icon cannot be found. (#168830,
|
||||
Sven Neumann)
|
||||
|
@ -2312,7 +2312,7 @@ gtk_rc_parse_assignment (GScanner *scanner,
|
||||
{
|
||||
g_string_append_c (gstring, ' ');
|
||||
g_value_init (&prop->value, G_TYPE_GSTRING);
|
||||
g_value_set_static_boxed (&prop->value, gstring);
|
||||
g_value_take_boxed (&prop->value, gstring);
|
||||
}
|
||||
else
|
||||
g_string_free (gstring, TRUE);
|
||||
|
@ -572,8 +572,8 @@ gtk_settings_get_property (GObject *object,
|
||||
|
||||
g_value_init (&gstring_value, G_TYPE_GSTRING);
|
||||
|
||||
g_value_set_boxed (&gstring_value,
|
||||
g_string_new (g_value_get_string (&val)));
|
||||
g_value_take_boxed (&gstring_value,
|
||||
g_string_new (g_value_get_string (&val)));
|
||||
|
||||
g_value_init (&tmp_value, G_PARAM_SPEC_VALUE_TYPE (pspec));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user