From 38f3debf5568e8078dc41e2f6979c0dce6a19075 Mon Sep 17 00:00:00 2001 From: Paul Pogonyshev Date: Mon, 27 Apr 2009 21:33:25 +0300 Subject: Swap first two arguments of gio.File.query_info_async() Swap the arguments for consistency with other methods. Update documentation accordingly. Take care to keep the old code (i.e. with non-swapped calling arguments) working, but don't mention that anywhere. (Bug #580490.) --- docs/reference/pygio-file.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'docs/reference') diff --git a/docs/reference/pygio-file.xml b/docs/reference/pygio-file.xml index 9c3cf87..9dfff67 100644 --- a/docs/reference/pygio-file.xml +++ b/docs/reference/pygio-file.xml @@ -302,8 +302,8 @@ query_info_async - callback attributes + callback flagsgio.FILE_QUERY_INFO_NONE io_priorityglib.PRIORITY_DEFAULT cancellableNone @@ -3019,8 +3019,8 @@ URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] query_info_async - callback attributes + callback flagsgio.FILE_QUERY_INFO_NONE io_priorityglib.PRIORITY_DEFAULT cancellableNone @@ -3029,13 +3029,13 @@ URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] - callback : - a GAsyncReadyCallback to call when the request is satisfied. + attributes : + an attribute query string. - attributes : - an attribute query string. + callback : + a GAsyncReadyCallback to call when the request is satisfied. @@ -3065,7 +3065,7 @@ URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] - The query_info_async() method Asynchronously gets the + The query_info_async() method asynchronously gets the requested information about specified file. The result is a gio.FileInfo object that contains key-value attributes (such as type or size for the file). -- cgit