/* If the object already had an association with that name, the old association will be destroyed.  */
void g_object_set_data(GObject *object, const gchar *key, gpointer data)
/* If the object already had an association with that name, the old association will be destroyed.  */
void g_object_set_data(GObject *object, const gchar *key, gpointer data)
{
  g_return_if_fail (G_IS_OBJECT (object));
  g_return_if_fail (key != NULL);
  g_datalist_id_set_data (&object->qdata, g_quark_from_string (key), data);
}