diff options
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); |