From cc3171f6802c909097f9633f3bde7705d39efaa9 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Fri, 14 Dec 2012 16:54:09 +0100 Subject: [PATCH] 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. --- gio/gfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/gfile.c b/gio/gfile.c index eecebcaaf..b18f36d8f 100644 --- a/gio/gfile.c +++ b/gio/gfile.c @@ -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,