docs: Fix return value of g_file_set_attributes_from_info()

GIO API usually returns FALSE and sets GError when something went wrong
and it was also the case of this method, just being badly documented.
This commit is contained in:
Tomas Bzatek 2012-12-14 16:54:09 +01:00
parent 3c87ab97ff
commit cc3171f680

View File

@ -4034,7 +4034,7 @@ g_file_set_attribute (GFile *file,
* triggering the cancellable object from another thread. If the operation * triggering the cancellable object from another thread. If the operation
* was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
* *
* Returns: %TRUE if there was any error, %FALSE otherwise. * Returns: %FALSE if there was any error, %TRUE otherwise.
*/ */
gboolean gboolean
g_file_set_attributes_from_info (GFile *file, g_file_set_attributes_from_info (GFile *file,