mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 09:46:17 +01:00
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:
parent
3c87ab97ff
commit
cc3171f680
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user