Commit cc3171f6 authored by Tomáš Bžatek's avatar Tomáš Bžatek

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.
parent 3c87ab97
......@@ -4034,7 +4034,7 @@ g_file_set_attribute (GFile *file,
* triggering the cancellable object from another thread. If the operation
* 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
g_file_set_attributes_from_info (GFile *file,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment