summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPaul Pogonyshev <pogonyshev@gmx.net>2009-04-27 21:33:25 +0300
committerPaul Pogonyshev <pogonyshev@gmx.net>2009-04-28 16:54:21 +0300
commit38f3debf5568e8078dc41e2f6979c0dce6a19075 (patch)
tree12f77ca6b151684b03f19b162091235ab736383d /tests
parente1cc4ee2bd408b5b8ad8d4d071ab2654786ddaba (diff)
downloadpygobject-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 'tests')
-rw-r--r--tests/test_gio.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_gio.py b/tests/test_gio.py
index f94f2d0..7534ac0 100644
--- a/tests/test_gio.py
+++ b/tests/test_gio.py
@@ -221,7 +221,7 @@ class TestFile(unittest.TestCase):
finally:
loop.quit()
- self.file.query_info_async(callback, "standard")
+ self.file.query_info_async("standard", callback)
loop = glib.MainLoop()
loop.run()