[gobject-introspection/mallard-templates] g-ir-doc-tool: Remove module and class from the function signature
- From: Tomeu Vizoso <tomeuv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection/mallard-templates] g-ir-doc-tool: Remove module and class from the function signature
- Date: Sun, 19 Feb 2012 13:57:24 +0000 (UTC)
commit e9ffb2a1ff6538ce22618692cf0f838686846e4e
Author: Tomeu Vizoso <tomeu vizoso collabora com>
Date: Sun Feb 19 14:56:03 2012 +0100
g-ir-doc-tool: Remove module and class from the function signature
giscanner/mallard-Python-function.tmpl | 3 ---
.../GIRepository.BaseInfo.equal.page | 2 +-
.../GIRepository.BaseInfo.get_attribute.page | 2 +-
.../GIRepository.BaseInfo.get_container.page | 2 +-
.../GIRepository.BaseInfo.get_name.page | 2 +-
.../GIRepository.BaseInfo.get_namespace.page | 2 +-
.../GIRepository.BaseInfo.get_typelib.page | 2 +-
.../GIRepository.BaseInfo.is_deprecated.page | 2 +-
.../GIRepository.BaseInfo.iterate_attributes.page | 2 +-
.../GIRepository.BaseInfo.ref.page | 2 +-
.../GIRepository.BaseInfo.unref.page | 2 +-
.../GIRepository.Repository.dump.page | 2 +-
...GIRepository.Repository.enumerate_versions.page | 2 +-
.../GIRepository.Repository.error_quark.page | 2 +-
...Repository.Repository.find_by_error_domain.page | 2 +-
.../GIRepository.Repository.find_by_gtype.page | 2 +-
.../GIRepository.Repository.find_by_name.page | 2 +-
.../GIRepository.Repository.get_c_prefix.page | 2 +-
.../GIRepository.Repository.get_default.page | 2 +-
.../GIRepository.Repository.get_dependencies.page | 2 +-
.../GIRepository.Repository.get_info.page | 2 +-
...epository.Repository.get_loaded_namespaces.page | 2 +-
.../GIRepository.Repository.get_n_infos.page | 2 +-
.../GIRepository.Repository.get_option_group.page | 2 +-
.../GIRepository.Repository.get_search_path.page | 2 +-
...GIRepository.Repository.get_shared_library.page | 2 +-
.../GIRepository.Repository.get_typelib_path.page | 2 +-
.../GIRepository.Repository.get_version.page | 2 +-
.../GIRepository.Repository.is_registered.page | 2 +-
.../GIRepository.Repository.load_typelib.page | 2 +-
...IRepository.Repository.prepend_search_path.page | 2 +-
.../GIRepository.Repository.require.page | 2 +-
.../GIRepository.Repository.require_private.page | 2 +-
33 files changed, 32 insertions(+), 35 deletions(-)
---
diff --git a/giscanner/mallard-Python-function.tmpl b/giscanner/mallard-Python-function.tmpl
index ceddea6..c9bdf8f 100644
--- a/giscanner/mallard-Python-function.tmpl
+++ b/giscanner/mallard-Python-function.tmpl
@@ -55,9 +55,6 @@ ${formatter.format_type(arg.type) | x}\
% endif
@returns(${formatter.format_type(node.retval.type) | x})
def \
-% if node.parent is not None:
-${namespace.name}.${node.parent.name}.\
-% endif
${node.name}(\
% for arg, ix in zip(node.parameters, range(len(node.parameters))):
${arg.argname}\
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.equal.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.equal.page
index 255ca00..6d42488 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.equal.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.equal.page
@@ -23,7 +23,7 @@
<synopsis><code mime="text/x-python">
@accepts(GIRepository.BaseInfo)
@returns(gboolean)
-def GIRepository.BaseInfo.equal(info2)
+def equal(info2)
</code></synopsis>
<p>Compare two <link xref="GIBaseInfo">GIBaseInfo</link>.</p><p>Using pointer comparison is not practical since many functions return
different instances of <link xref="GIBaseInfo">GIBaseInfo</link> that refers to the same part of the
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_attribute.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_attribute.page
index a581412..3af4204 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_attribute.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_attribute.page
@@ -23,7 +23,7 @@
<synopsis><code mime="text/x-python">
@accepts(utf8)
@returns(utf8)
-def GIRepository.BaseInfo.get_attribute(name)
+def get_attribute(name)
</code></synopsis>
<p>Retrieve an arbitrary attribute associated with this node.</p>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_container.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_container.page
index 696cd4b..8b78527 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_container.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_container.page
@@ -18,7 +18,7 @@
<title>get_container</title>
<synopsis><code mime="text/x-python">
@returns(GIRepository.BaseInfo)
-def GIRepository.BaseInfo.get_container()
+def get_container()
</code></synopsis>
<p>Obtain the container of the @info. The container is the parent
GIBaseInfo. For instance, the parent of a <link xref="GIFunctionInfo">GIFunctionInfo</link> is an
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_name.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_name.page
index b521928..b9cd84e 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_name.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_name.page
@@ -18,7 +18,7 @@
<title>get_name</title>
<synopsis><code mime="text/x-python">
@returns(utf8)
-def GIRepository.BaseInfo.get_name()
+def get_name()
</code></synopsis>
<p>Obtain the name of the @info. What the name represents depends on
the <link xref="GIInfoType">GIInfoType</link> of the @info. For instance for <link xref="GIFunctionInfo">GIFunctionInfo</link> it is
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_namespace.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_namespace.page
index 3eb4b51..ea8ba89 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_namespace.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_namespace.page
@@ -18,7 +18,7 @@
<title>get_namespace</title>
<synopsis><code mime="text/x-python">
@returns(utf8)
-def GIRepository.BaseInfo.get_namespace()
+def get_namespace()
</code></synopsis>
<p>Obtain the namespace of @info.</p>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_typelib.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_typelib.page
index 2463da0..d20244d 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_typelib.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_typelib.page
@@ -18,7 +18,7 @@
<title>get_typelib</title>
<synopsis><code mime="text/x-python">
@returns(GIRepository.Typelib)
-def GIRepository.BaseInfo.get_typelib()
+def get_typelib()
</code></synopsis>
<p>Obtain the typelib this @info belongs to</p>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.is_deprecated.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.is_deprecated.page
index 5aca68b..b91a2f1 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.is_deprecated.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.is_deprecated.page
@@ -18,7 +18,7 @@
<title>is_deprecated</title>
<synopsis><code mime="text/x-python">
@returns(gboolean)
-def GIRepository.BaseInfo.is_deprecated()
+def is_deprecated()
</code></synopsis>
<p>Obtain whether the @info is represents a metadata which is
deprecated or not.</p>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.iterate_attributes.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.iterate_attributes.page
index 02dadca..748dcc7 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.iterate_attributes.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.iterate_attributes.page
@@ -31,7 +31,7 @@
<synopsis><code mime="text/x-python">
@accepts(GIRepository.AttributeIter, utf8, utf8)
@returns(gboolean)
-def GIRepository.BaseInfo.iterate_attributes(iterator, name, value)
+def iterate_attributes(iterator, name, value)
</code></synopsis>
<p>Iterate over all attributes associated with this node. The iterator
structure is typically stack allocated, and must have its first
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.ref.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.ref.page
index f04fc25..32b20f4 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.ref.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.ref.page
@@ -18,7 +18,7 @@
<title>ref</title>
<synopsis><code mime="text/x-python">
@returns(GIRepository.BaseInfo)
-def GIRepository.BaseInfo.ref()
+def ref()
</code></synopsis>
<p>Increases the reference count of @info.</p>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.unref.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.unref.page
index afb4a98..2958993 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.unref.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.unref.page
@@ -18,7 +18,7 @@
<title>unref</title>
<synopsis><code mime="text/x-python">
@returns(none)
-def GIRepository.BaseInfo.unref()
+def unref()
</code></synopsis>
<p>Decreases the reference count of @info. When its reference count
drops to 0, the info is freed.</p>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.dump.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.dump.page
index 8c84ea7..a6defe0 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.dump.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.dump.page
@@ -23,7 +23,7 @@
<synopsis><code mime="text/x-python">
@accepts(utf8)
@returns(gboolean)
-def GIRepository.Repository.dump(arg)
+def dump(arg)
</code></synopsis>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.enumerate_versions.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.enumerate_versions.page
index 38d2020..d6c2f85 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.enumerate_versions.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.enumerate_versions.page
@@ -27,7 +27,7 @@
<synopsis><code mime="text/x-python">
@accepts(utf8)
@returns(<list>)
-def GIRepository.Repository.enumerate_versions(namespace_)
+def enumerate_versions(namespace_)
</code></synopsis>
<p>Obtain an unordered list of versions (either currently loaded or
available) for @namespace_ in this @repository.</p>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.error_quark.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.error_quark.page
index a82ae39..9fe89d2 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.error_quark.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.error_quark.page
@@ -18,7 +18,7 @@
<title>error_quark</title>
<synopsis><code mime="text/x-python">
@returns(GLib.Quark)
-def GIRepository.Repository.error_quark()
+def error_quark()
</code></synopsis>
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 3acadaf..c7b4349 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
@@ -27,7 +27,7 @@
<synopsis><code mime="text/x-python">
@accepts(GLib.Quark)
@returns(GIRepository.EnumInfo)
-def GIRepository.Repository.find_by_error_domain(domain)
+def 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,
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_gtype.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_gtype.page
index 8369ef2..3130b01 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_gtype.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_gtype.page
@@ -27,7 +27,7 @@
<synopsis><code mime="text/x-python">
@accepts(GType)
@returns(GIRepository.BaseInfo)
-def GIRepository.Repository.find_by_gtype(gtype)
+def find_by_gtype(gtype)
</code></synopsis>
<p>Searches all loaded namespaces for a particular <link xref="GType">GType</link>. Note that
in order to locate the metadata, the namespace corresponding to
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_name.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_name.page
index 6216c15..730655c 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_name.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_name.page
@@ -31,7 +31,7 @@
<synopsis><code mime="text/x-python">
@accepts(utf8, utf8)
@returns(GIRepository.BaseInfo)
-def GIRepository.Repository.find_by_name(namespace_, name)
+def find_by_name(namespace_, name)
</code></synopsis>
<p>Searches for a particular entry in a namespace. Before calling
this function for a particular namespace, you must call
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_c_prefix.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_c_prefix.page
index 58565eb..22932d1 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_c_prefix.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_c_prefix.page
@@ -27,7 +27,7 @@
<synopsis><code mime="text/x-python">
@accepts(utf8)
@returns(utf8)
-def GIRepository.Repository.get_c_prefix(namespace_)
+def get_c_prefix(namespace_)
</code></synopsis>
<p>This function returns the "C prefix", or the C level namespace
associated with the given introspection namespace. Each C symbol
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
index 765119d..a2eb645 100644
--- 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
@@ -18,7 +18,7 @@
<title>get_default</title>
<synopsis><code mime="text/x-python">
@returns(GIRepository.Repository)
-def GIRepository.Repository.get_default()
+def 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
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_dependencies.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_dependencies.page
index acaa915..a919b26 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_dependencies.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_dependencies.page
@@ -27,7 +27,7 @@
<synopsis><code mime="text/x-python">
@accepts(utf8)
@returns([utf8])
-def GIRepository.Repository.get_dependencies(namespace_)
+def get_dependencies(namespace_)
</code></synopsis>
<p>Return an array of all (transitive) dependencies for namespace
@namespace_, including version. The returned strings are of the
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_info.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_info.page
index fa25fd5..cc622ae 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_info.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_info.page
@@ -31,7 +31,7 @@
<synopsis><code mime="text/x-python">
@accepts(utf8, gint)
@returns(GIRepository.BaseInfo)
-def GIRepository.Repository.get_info(namespace_, index)
+def get_info(namespace_, index)
</code></synopsis>
<p>This function returns a particular metadata entry in the
given namespace @namespace_. The namespace must have
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_loaded_namespaces.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_loaded_namespaces.page
index b1e3bed..b10f94b 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_loaded_namespaces.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_loaded_namespaces.page
@@ -22,7 +22,7 @@
<title>get_loaded_namespaces</title>
<synopsis><code mime="text/x-python">
@returns([utf8])
-def GIRepository.Repository.get_loaded_namespaces()
+def get_loaded_namespaces()
</code></synopsis>
<p>Return the list of currently loaded namespaces.</p>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_n_infos.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_n_infos.page
index f84bcb9..eca7a56 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_n_infos.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_n_infos.page
@@ -27,7 +27,7 @@
<synopsis><code mime="text/x-python">
@accepts(utf8)
@returns(gint)
-def GIRepository.Repository.get_n_infos(namespace_)
+def get_n_infos(namespace_)
</code></synopsis>
<p>This function returns the number of metadata entries in
given namespace @namespace_. The namespace must have
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_option_group.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_option_group.page
index 8ebd11a..13b733a 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_option_group.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_option_group.page
@@ -18,7 +18,7 @@
<title>get_option_group</title>
<synopsis><code mime="text/x-python">
@returns(GLib.OptionGroup)
-def GIRepository.Repository.get_option_group()
+def get_option_group()
</code></synopsis>
<p>Obtain the option group for girepository, it's used
by the dumper and for programs that wants to provide
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_search_path.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_search_path.page
index f0f1de2..3faa145 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_search_path.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_search_path.page
@@ -18,7 +18,7 @@
<title>get_search_path</title>
<synopsis><code mime="text/x-python">
@returns(<list>)
-def GIRepository.Repository.get_search_path()
+def get_search_path()
</code></synopsis>
<p>Returns the search path the GIRepository will use when looking for typelibs.
The string is internal to GIRespository and should not be freed, nor should
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_shared_library.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_shared_library.page
index fcd4359..c0be1f9 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_shared_library.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_shared_library.page
@@ -27,7 +27,7 @@
<synopsis><code mime="text/x-python">
@accepts(utf8)
@returns(utf8)
-def GIRepository.Repository.get_shared_library(namespace_)
+def get_shared_library(namespace_)
</code></synopsis>
<p>This function returns the full path to the shared C library
associated with the given namespace @namespace_. There may be no
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_typelib_path.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_typelib_path.page
index a8727ac..4dd71b4 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_typelib_path.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_typelib_path.page
@@ -27,7 +27,7 @@
<synopsis><code mime="text/x-python">
@accepts(utf8)
@returns(utf8)
-def GIRepository.Repository.get_typelib_path(namespace_)
+def get_typelib_path(namespace_)
</code></synopsis>
<p>If namespace @namespace_ is loaded, return the full path to the
.typelib file it was loaded from. If the typelib for
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_version.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_version.page
index 20ab85b..86ab7dd 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_version.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_version.page
@@ -27,7 +27,7 @@
<synopsis><code mime="text/x-python">
@accepts(utf8)
@returns(utf8)
-def GIRepository.Repository.get_version(namespace_)
+def get_version(namespace_)
</code></synopsis>
<p>This function returns the loaded version associated with the given
namespace @namespace_.</p><p>Note: The namespace must have already been loaded using a function
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.is_registered.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.is_registered.page
index 6785df4..5503bec 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.is_registered.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.is_registered.page
@@ -31,7 +31,7 @@
<synopsis><code mime="text/x-python">
@accepts(utf8, utf8)
@returns(gboolean)
-def GIRepository.Repository.is_registered(namespace_, version)
+def is_registered(namespace_, version)
</code></synopsis>
<p>Check whether a particular namespace (and optionally, a specific
version thereof) is currently loaded. This function is likely to
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.load_typelib.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.load_typelib.page
index 83c4e7d..9bd25fc 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.load_typelib.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.load_typelib.page
@@ -31,7 +31,7 @@
<synopsis><code mime="text/x-python">
@accepts(GIRepository.Typelib, GIRepository.RepositoryLoadFlags)
@returns(utf8)
-def GIRepository.Repository.load_typelib(typelib, flags)
+def load_typelib(typelib, flags)
</code></synopsis>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.prepend_search_path.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.prepend_search_path.page
index d91a8f5..8b124ad 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.prepend_search_path.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.prepend_search_path.page
@@ -23,7 +23,7 @@
<synopsis><code mime="text/x-python">
@accepts(utf8)
@returns(none)
-def GIRepository.Repository.prepend_search_path(directory)
+def prepend_search_path(directory)
</code></synopsis>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require.page
index f678498..a0780f0 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require.page
@@ -35,7 +35,7 @@
<synopsis><code mime="text/x-python">
@accepts(utf8, utf8, GIRepository.RepositoryLoadFlags)
@returns(GIRepository.Typelib)
-def GIRepository.Repository.require(namespace_, version, flags)
+def require(namespace_, version, flags)
</code></synopsis>
<p>Force the namespace @namespace_ to be loaded if it isn't already.
If @namespace_ is not loaded, this function will search for a
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require_private.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require_private.page
index 5992573..f65e215 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require_private.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require_private.page
@@ -39,7 +39,7 @@
<synopsis><code mime="text/x-python">
@accepts(utf8, utf8, utf8, GIRepository.RepositoryLoadFlags)
@returns(GIRepository.Typelib)
-def GIRepository.Repository.require_private(typelib_dir, namespace_, version, flags)
+def require_private(typelib_dir, namespace_, version, flags)
</code></synopsis>
<p>Force the namespace @namespace_ to be loaded if it isn't already.
If @namespace_ is not loaded, this function will search for a
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]