[gcr/abderrahim/gi-docgen-fixes] docs: fix gi-docgen annotations




commit 83ea29c74793b19056d8c9609ad9794b821ef1cc
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Sun Nov 14 16:02:24 2021 +0100

    docs: fix gi-docgen annotations

 gck/gck-misc.c            | 2 +-
 ui/gcr-collection-model.c | 6 +++---
 ui/gcr-renderer.c         | 4 ++--
 ui/gcr-viewer.c           | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/gck/gck-misc.c b/gck/gck-misc.c
index 1ebebb4..ec664a2 100644
--- a/gck/gck-misc.c
+++ b/gck/gck-misc.c
@@ -92,7 +92,7 @@ EGG_SECURE_DEFINE_GLIB_GLOBALS ();
  * Various error codes. All the `CKR_XXX` error codes from PKCS#11 are also
  * relevant error codes.
  *
- * Note that errors are returned as [class@GLib.Error] structures. The `code`
+ * Note that errors are returned as [struct@GLib.Error] structures. The `code`
  * member of the error then contains the raw PKCS#11 `CK_RV` result value.
  */
 
diff --git a/ui/gcr-collection-model.c b/ui/gcr-collection-model.c
index d3de1a4..f2d0736 100644
--- a/ui/gcr-collection-model.c
+++ b/ui/gcr-collection-model.c
@@ -34,8 +34,8 @@
 /**
  * GcrCollectionModel:
  *
- * Ain implementation of a [class@Gtk.TreeModel] which contains a row for each
- * object in a [class@Gcr.Collection].
+ * Ain implementation of a [iface@Gtk.TreeModel] which contains a row for each
+ * object in a [iface@Gcr.Collection].
  *
  * As objects are added or removed from the collection, rows are added and
  * removed from this model.
@@ -70,7 +70,7 @@
  *
  * If a [class@CollectionModel] is created with a mode of
  * %GCR_COLLECTION_MODEL_TREE, then any included objects that are themselves a
- * [class@Gcr.Collection], will have all child
+ * [iface@Gcr.Collection], will have all child
  * objects include as child rows in a tree form.
  */
 
diff --git a/ui/gcr-renderer.c b/ui/gcr-renderer.c
index 727bf57..46adae5 100644
--- a/ui/gcr-renderer.c
+++ b/ui/gcr-renderer.c
@@ -35,9 +35,9 @@
  * GcrRenderer:
  *
  * An interface that's implemented by renderers which wish to render data to a
- * [class@Viewer].
+ * [iface@Viewer].
  *
- * The interaction between [class@Renderer] and [class@Viewer] is not stable
+ * The interaction between [iface@Renderer] and [iface@Viewer] is not stable
  * yet, and so new renderers cannot be implemented outside the Gcr library at
  * this time.
  *
diff --git a/ui/gcr-viewer.c b/ui/gcr-viewer.c
index 2ae3771..fe71402 100644
--- a/ui/gcr-viewer.c
+++ b/ui/gcr-viewer.c
@@ -28,7 +28,7 @@
  * An abstract interface that represents a widget that can hold
  * various renderers and display their contents.
  *
- * The interaction between [class@Renderer] and [class@Viewer] is not stable
+ * The interaction between [iface@Renderer] and [iface@Viewer] is not stable
  * yet, and so viewers cannot be implemented outside the Gcr library at this
  * time.
  *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]