diff options
author | Paul Pogonyshev <pogonyshev@gmx.net> | 2009-04-27 21:33:25 +0300 |
---|---|---|
committer | Paul Pogonyshev <pogonyshev@gmx.net> | 2009-04-28 16:54:21 +0300 |
commit | 38f3debf5568e8078dc41e2f6979c0dce6a19075 (patch) | |
tree | 12f77ca6b151684b03f19b162091235ab736383d /docs | |
parent | e1cc4ee2bd408b5b8ad8d4d071ab2654786ddaba (diff) | |
download | pygobject-38f3debf5568e8078dc41e2f6979c0dce6a19075.tar.gz pygobject-38f3debf5568e8078dc41e2f6979c0dce6a19075.tar.xz pygobject-38f3debf5568e8078dc41e2f6979c0dce6a19075.zip |
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.)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/pygio-file.xml | 14 |
1 files changed, 7 insertions, 7 deletions
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 @@ </methodsynopsis> <methodsynopsis language="python"> <methodname><link linkend="method-giofile--query-info-async">query_info_async</link></methodname> - <methodparam><parameter role="keyword">callback</parameter></methodparam> <methodparam><parameter role="keyword">attributes</parameter></methodparam> + <methodparam><parameter role="keyword">callback</parameter></methodparam> <methodparam><parameter role="keyword">flags</parameter><initializer>gio.FILE_QUERY_INFO_NONE</initializer></methodparam> <methodparam><parameter role="keyword">io_priority</parameter><initializer>glib.PRIORITY_DEFAULT</initializer></methodparam> <methodparam><parameter role="keyword">cancellable</parameter><initializer>None</initializer></methodparam> @@ -3019,8 +3019,8 @@ URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] <programlisting><methodsynopsis language="python"> <methodname>query_info_async</methodname> - <methodparam><parameter role="keyword">callback</parameter></methodparam> <methodparam><parameter role="keyword">attributes</parameter></methodparam> + <methodparam><parameter role="keyword">callback</parameter></methodparam> <methodparam><parameter role="keyword">flags</parameter><initializer>gio.FILE_QUERY_INFO_NONE</initializer></methodparam> <methodparam><parameter role="keyword">io_priority</parameter><initializer>glib.PRIORITY_DEFAULT</initializer></methodparam> <methodparam><parameter role="keyword">cancellable</parameter><initializer>None</initializer></methodparam> @@ -3029,13 +3029,13 @@ URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] <variablelist> <varlistentry> - <term><parameter>callback</parameter> :</term> - <listitem><simpara>a GAsyncReadyCallback to call when the request is satisfied. + <term><parameter>attributes</parameter> :</term> + <listitem><simpara>an attribute query string. </simpara></listitem> </varlistentry> <varlistentry> - <term><parameter>attributes</parameter> :</term> - <listitem><simpara>an attribute query string. + <term><parameter>callback</parameter> :</term> + <listitem><simpara>a GAsyncReadyCallback to call when the request is satisfied. </simpara></listitem> </varlistentry> <varlistentry> @@ -3065,7 +3065,7 @@ URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] </variablelist> <para> - The <methodname>query_info_async</methodname>() method Asynchronously gets the + The <methodname>query_info_async</methodname>() method asynchronously gets the requested information about specified file. The result is a <link linkend="class-giofileinfo"><classname>gio.FileInfo</classname></link> object that contains key-value attributes (such as type or size for the file). |