g_signal_handler_disconnect (binding->settings, binding->handler_id);
g_object_unref (binding->settings);
- g_free (binding->key);
g_slice_free (GSettingsWritableBinding, binding);
}
binding = g_slice_new (GSettingsWritableBinding);
binding->settings = g_object_ref (settings);
binding->object = object;
- binding->key = g_strdup (key);
+ binding->key = g_intern_string (key);
binding->property = g_intern_string (property);
binding->inverted = inverted;