summaryrefslogtreecommitdiff
path: root/gtk/gtkuimanager.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2006-03-26 06:10:15 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-03-26 06:10:15 +0000
commita22bcd66c486868a9ac6058ce82a328cb7e57352 (patch)
treeada11605af013ebf165f3d6206c15af710c73625 /gtk/gtkuimanager.c
parent25a56013c5eb34735cd0862ed47afac35fb676b9 (diff)
downloadgtk+-a22bcd66c486868a9ac6058ce82a328cb7e57352.tar.gz
Fix a leak
Diffstat (limited to 'gtk/gtkuimanager.c')
-rw-r--r--gtk/gtkuimanager.c2
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);