let binding functions return a floating GVariant

This commit is contained in:
Ryan Lortie 2010-04-17 01:27:00 -04:00
parent c8e264b6d0
commit 265ca3db9d

View File

@ -1218,7 +1218,7 @@ g_settings_binding_property_changed (GObject *object,
{
g_settings_set_value (binding->settings,
binding->key,
variant);
g_variant_ref_sink (variant));
g_variant_unref (variant);
}
g_value_unset (&value);