diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2012-02-17 10:43:01 +0100 |
---|---|---|
committer | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2012-02-17 10:43:32 +0100 |
commit | 60311e4870095eeb788d3b20ad1e774792ad683b (patch) | |
tree | dfbcea069fac0bea10f1418418103aeb128d5645 /tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_default.page | |
parent | 30219d837fc7e97ff3f776e1cc9fe6e63dcff76f (diff) | |
download | gobject-introspection-60311e4870095eeb788d3b20ad1e774792ad683b.tar.gz |
g-ir-doc-tool: Update expected mallard for the doc tests
Diffstat (limited to 'tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_default.page')
-rw-r--r-- | tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_default.page | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_default.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_default.page new file mode 100644 index 00000000..f13d690f --- /dev/null +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_default.page @@ -0,0 +1,32 @@ +<?xml version="1.0"?> + +<page id="GIRepository.Repository.get_default" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/experimental/ui/"> + <info> + <link type="guide" xref="GIRepository.Repository" group="function"/> + <api:function> + <api:returns> + <api:type>GIRepository.Repository</api:type> + </api:returns> + <api:name>g_irepository_get_default</api:name> + </api:function> + </info> + <title>get_default</title> +<synopsis><code mime="text/x-python"> +@returns(GIRepository.Repository) +def GIRepository.Repository.get_default() +</code></synopsis> +<p>Returns the singleton process-global default <link xref="GIRepository">GIRepository</link>. It is +not currently supported to have multiple repositories in a +particular process, but this function is provided in the unlikely +eventuality that it would become possible, and as a convenience for +higher level language bindings to conform to the GObject method +call conventions. +All methods on <link xref="GIRepository">GIRepository</link> also accept %NULL as an instance +parameter to mean this default repository, which is usually more +convenient for C.</p> +</page> |