forked from AuroraMiddleware/gtk
Fix a leak
This commit is contained in:
parent
25a56013c5
commit
a22bcd66c4
@ -1,5 +1,8 @@
|
||||
2006-03-26 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkuimanager.c (gtk_ui_manager_get_property): Fix
|
||||
a leak.
|
||||
|
||||
* gtk/gtktexttag.c (gtk_text_tag_get_property):
|
||||
* gtk/gtkcellrenderertext.c (gtk_cell_render_text_get_property):
|
||||
Avoid an unnecessary strdup. (#336013)
|
||||
|
@ -1,5 +1,8 @@
|
||||
2006-03-26 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkuimanager.c (gtk_ui_manager_get_property): Fix
|
||||
a leak.
|
||||
|
||||
* gtk/gtktexttag.c (gtk_text_tag_get_property):
|
||||
* gtk/gtkcellrenderertext.c (gtk_cell_render_text_get_property):
|
||||
Avoid an unnecessary strdup. (#336013)
|
||||
|
@ -464,7 +464,7 @@ gtk_ui_manager_get_property (GObject *object,
|
||||
g_value_set_boolean (value, self->private_data->add_tearoffs);
|
||||
break;
|
||||
case PROP_UI:
|
||||
g_value_set_string (value, gtk_ui_manager_get_ui (self));
|
||||
g_value_take_string (value, gtk_ui_manager_get_ui (self));
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
|
Loading…
Reference in New Issue
Block a user