/* Sets the attribute to contain the value @obj. The @attr references the GObject internally.  */
void _g_file_attribute_value_set_object(GFileAttributeValue *attr, GObject *obj)
/* Sets the attribute to contain the value @obj. The @attr references the GObject internally.  */
void _g_file_attribute_value_set_object(GFileAttributeValue *attr, GObject *obj)
{
  g_return_if_fail (attr != NULL);
  g_return_if_fail (obj != NULL);
  _g_file_attribute_value_clear (attr);
  attr->type = G_FILE_ATTRIBUTE_TYPE_OBJECT;
  attr->u.obj = g_object_ref (obj);
}