/* Returns: (transfer none): the data if found, or NULL if no such data exists.  */
gpointer g_object_get_data(GObject *object, const gchar *key)
/* Returns: (transfer none): the data if found, or NULL if no such data exists.  */
gpointer g_object_get_data(GObject *object, const gchar *key)
{
  g_return_val_if_fail (G_IS_OBJECT (object), NULL);
  g_return_val_if_fail (key != NULL, NULL);
  return g_datalist_get_data (&object->qdata, key);
}