Method

GioFileset_attributes_finish

Declaration

gboolean
g_file_set_attributes_finish (
  GFile* file,
  GAsyncResult* result,
  GFileInfo** info,
  GError** error
)

Description

Finishes setting an attribute started in g_file_set_attributes_async().

Parameters

result GAsyncResult
 

A GAsyncResult.

 The data is owned by the caller of the function.
info GFileInfo
 

A GFileInfo.

 The argument will be set by the function.
 The instance takes ownership of the data, and is responsible for freeing it.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE if the attributes were set correctly, FALSE otherwise.