diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2012-02-20 13:44:00 +0100 |
---|---|---|
committer | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2012-02-20 13:44:00 +0100 |
commit | 8c7e27b90ceb176d463399735220df806ee7f35f (patch) | |
tree | 27e6669d5e9dedf0c7b4e62337e8364c2140a865 /tests/doctool | |
parent | 99109f5a8ae11b7f182da497ca7b2d1dc3d11920 (diff) | |
download | gobject-introspection-8c7e27b90ceb176d463399735220df806ee7f35f.tar.gz |
g-ir-doc-tool: Move constructor example to follow the class doc body
Diffstat (limited to 'tests/doctool')
-rw-r--r-- | tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.page | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.page index a5dd47ba..bf38345a 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.page @@ -10,6 +10,12 @@ </info> <title>GIRepository.Repository</title> + + <synopsis><code> +from gi.repository import GIRepository + +repository = GIRepository.Repository() </code></synopsis> + <synopsis ui:expanded="no"> <title>Hierarchy</title> <tree> @@ -18,9 +24,6 @@ </item> </tree> </synopsis> - <p>Constructor</p> - <synopsis><code> -repository = GIRepository.Repository() </code></synopsis> <links type="topic" ui:expanded="yes" api:type="function" api:mime="text/x-python" groups="method" style="linklist"> |