diff options
Diffstat (limited to 'tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_error_domain.page')
-rw-r--r-- | tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_error_domain.page | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_error_domain.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_error_domain.page index 989a713e..657a8ac6 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_error_domain.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_error_domain.page @@ -1,14 +1,36 @@ <?xml version="1.0"?> + <page id="GIRepository.Repository.find_by_error_domain" type="topic" style="method" 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="method"/> + <api:function> + <api:returns> + <api:type>GIRepository.EnumInfo</api:type> + </api:returns> + <api:name>g_irepository_find_by_error_domain</api:name> + <api:arg> + <api:type>GIRepository *</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>GLib.Quark</api:type> + <api:name>domain</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.Repository.find_by_error_domain</title> + <title>find_by_error_domain</title> +<synopsis><code mime="text/x-python"> +@accepts(GLib.Quark) +@returns(GIRepository.EnumInfo) +def GIRepository.Repository.find_by_error_domain(domain) +</code></synopsis> <p>Searches for the enum type corresponding to the given <link xref="GError">GError</link> domain. Before calling this function for a particular namespace, you must call g_irepository_require() once to load the namespace, or -otherwise ensure the namespace has already been loaded.</p><p>enum type, or %NULL</p></page> +otherwise ensure the namespace has already been loaded.</p><p>enum type, or %NULL</p> +</page> |