summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2017-04-21 11:06:30 +0100
committerRichard Hughes <richard@hughsie.com>2017-04-21 11:06:30 +0100
commit207e1fb357b7ef8b48b61ba65ba7c12caa724f7a (patch)
tree6e04bea4ad68a8bfb1f02aa96f62673bb0718f6d
parente32e245980f6f72b7f3eab6671404fbb5c78acad (diff)
downloadappstream-glib-207e1fb357b7ef8b48b61ba65ba7c12caa724f7a.tar.gz
trivial: Fix up some broken links in the generated documentation
-rw-r--r--docs/api/appstream-glib-docs.sgml1
-rw-r--r--libappstream-glib/as-bundle.c2
-rw-r--r--libappstream-glib/as-node.c2
-rw-r--r--libappstream-glib/as-require.h2
4 files changed, 5 insertions, 2 deletions
diff --git a/docs/api/appstream-glib-docs.sgml b/docs/api/appstream-glib-docs.sgml
index 1fddfd4..602e1b7 100644
--- a/docs/api/appstream-glib-docs.sgml
+++ b/docs/api/appstream-glib-docs.sgml
@@ -44,6 +44,7 @@
<xi:include href="xml/as-release.xml"/>
<xi:include href="xml/as-launchable.xml"/>
<xi:include href="xml/as-provide.xml"/>
+ <xi:include href="xml/as-require.xml"/>
<xi:include href="xml/as-screenshot.xml"/>
<xi:include href="xml/as-store.xml"/>
<xi:include href="xml/as-problem.xml"/>
diff --git a/libappstream-glib/as-bundle.c b/libappstream-glib/as-bundle.c
index 131af90..e5afa9e 100644
--- a/libappstream-glib/as-bundle.c
+++ b/libappstream-glib/as-bundle.c
@@ -258,7 +258,7 @@ as_bundle_set_sdk (AsBundle *bundle, const gchar *sdk)
/**
* as_bundle_set_kind:
* @bundle: a #AsBundle instance.
- * @kind: the #AsBundleKind, e.g. %AS_BUNDLE_KIND_THUMBNAIL.
+ * @kind: the #AsBundleKind, e.g. %AS_BUNDLE_KIND_FLATPAK.
*
* Sets the bundle kind.
*
diff --git a/libappstream-glib/as-node.c b/libappstream-glib/as-node.c
index df9fb84..36b4ae1 100644
--- a/libappstream-glib/as-node.c
+++ b/libappstream-glib/as-node.c
@@ -2207,7 +2207,7 @@ as_node_context_set_format_kind (AsNodeContext *ctx, AsFormatKind format_kind)
/**
* as_node_context_set_source_kind: (skip)
* @ctx: a #AsNodeContext.
- * @format_kind: an API format kind, e.g. %AS_FORMAT_KIND_APPDATA
+ * @source_kind: an API format kind, e.g. %AS_FORMAT_KIND_APPDATA
*
* Sets the AppStream API format kind used when exporting nodes.
*
diff --git a/libappstream-glib/as-require.h b/libappstream-glib/as-require.h
index 8dc16ec..e13d77e 100644
--- a/libappstream-glib/as-require.h
+++ b/libappstream-glib/as-require.h
@@ -72,6 +72,8 @@ typedef enum {
* @AS_REQUIRE_COMPARE_GT: Greater than
* @AS_REQUIRE_COMPARE_LE: Less than or equal to
* @AS_REQUIRE_COMPARE_GE: Greater than or equal to
+ * @AS_REQUIRE_COMPARE_GLOB: Filename glob, e.g. `test*`
+ * @AS_REQUIRE_COMPARE_REGEX: A regular expression, e.g. `fw[0-255]`
*
* The relational comparison type.
**/