summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/typesystem_arguments.rst2
-rw-r--r--typesystem.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/typesystem_arguments.rst b/doc/typesystem_arguments.rst
index 938214ac..94d48f4e 100644
--- a/doc/typesystem_arguments.rst
+++ b/doc/typesystem_arguments.rst
@@ -122,7 +122,7 @@ define-ownership
.. code-block:: xml
<modify-argument>
- <define-ownership class="target | shell"
+ <define-ownership class="target | native"
owner="target | c++ | default" />
</modify-argument>
diff --git a/typesystem.cpp b/typesystem.cpp
index 7beb42f7..20ee8650 100644
--- a/typesystem.cpp
+++ b/typesystem.cpp
@@ -1073,7 +1073,7 @@ bool Handler::startElement(const QString &, const QString &n,
static QHash<QString, TypeSystem::Language> languageNames;
if (languageNames.isEmpty()) {
languageNames["target"] = TypeSystem::TargetLangCode;
- languageNames["shell"] = TypeSystem::ShellCode;
+ languageNames["native"] = TypeSystem::NativeCode;
}
QString classAttribute = attributes["class"].toLower();