diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2006-03-26 06:10:15 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-03-26 06:10:15 +0000 |
commit | a22bcd66c486868a9ac6058ce82a328cb7e57352 (patch) | |
tree | ada11605af013ebf165f3d6206c15af710c73625 /gtk/gtkuimanager.c | |
parent | 25a56013c5eb34735cd0862ed47afac35fb676b9 (diff) | |
download | gtk+-a22bcd66c486868a9ac6058ce82a328cb7e57352.tar.gz |
Fix a leak
Diffstat (limited to 'gtk/gtkuimanager.c')
-rw-r--r-- | gtk/gtkuimanager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkuimanager.c b/gtk/gtkuimanager.c index 5d04530057..a5c916073f 100644 --- a/gtk/gtkuimanager.c +++ b/gtk/gtkuimanager.c @@ -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); |