[glib] docs: Fix return value of g_file_set_attributes_from_info()



commit cc3171f6802c909097f9633f3bde7705d39efaa9
Author: Tomas Bzatek <tbzatek redhat com>
Date:   Fri Dec 14 16:54:09 2012 +0100

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gfile.c b/gio/gfile.c
index eecebca..b18f36d 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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]