/* Returns: the GObject from the attribute, or NULL.  */
GObject* _g_file_attribute_value_get_object(const GFileAttributeValue *attr)
/* Returns: the GObject from the attribute, or NULL.  */
GObject* _g_file_attribute_value_get_object(const GFileAttributeValue *attr)
{
  if (attr == NULL)
    return NULL;
  g_return_val_if_fail (attr->type == G_FILE_ATTRIBUTE_TYPE_OBJECT, NULL);
  return attr->u.obj;
}