summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hergert <chergert@redhat.com>2023-03-22 17:03:22 -0700
committerChristian Hergert <chergert@redhat.com>2023-03-22 17:03:22 -0700
commitd5ad5306546176fe194ea37fa079caaee8bedce9 (patch)
tree7da7b46726efaf2bcbbe8b3ab4a0377e55226a9e
parent598883411cd7fc254c3aa0df595c0370547c5716 (diff)
downloadlibpeas-d5ad5306546176fe194ea37fa079caaee8bedce9.tar.gz
extension-base: fix references to struct@PluginInfo
This should be [object@PluginInfo] now that PeasPluginInfo is a GObject.
-rw-r--r--libpeas/peas-engine.c2
-rw-r--r--libpeas/peas-extension-base.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/libpeas/peas-engine.c b/libpeas/peas-engine.c
index 2d448f1..175a2cd 100644
--- a/libpeas/peas-engine.c
+++ b/libpeas/peas-engine.c
@@ -1055,7 +1055,7 @@ peas_engine_enable_loader (PeasEngine *engine,
* @engine: A #PeasEngine.
* @plugin_name: A plugin name.
*
- * Gets the [struct@PluginInfo] corresponding with @plugin_name,
+ * Gets the [object@PluginInfo] corresponding with @plugin_name,
* or %NULL if @plugin_name was not found.
*
* Returns: (transfer none): the #PeasPluginInfo corresponding with
diff --git a/libpeas/peas-extension-base.c b/libpeas/peas-extension-base.c
index 9ba96ed..7cb5a87 100644
--- a/libpeas/peas-extension-base.c
+++ b/libpeas/peas-extension-base.c
@@ -34,7 +34,7 @@
*
* #PeasExtensionBase can optionally be used as a base class for the extensions
* of your plugin. By inheriting from it, you will make your extension able to
- * access the related [struct@PluginInfo], and especially the location where all
+ * access the related [object@PluginInfo], and especially the location where all
* the data of your plugin lives.
*
* Non-C extensions will usually not inherit from this class: Python
@@ -132,7 +132,7 @@ peas_extension_base_class_init (PeasExtensionBaseClass *klass)
/**
* PeasExtensionBase:plugin-info:
*
- * The [struct@PluginInfo] related to the current plugin.
+ * The [object@PluginInfo] related to the current plugin.
*/
properties[PROP_PLUGIN_INFO] =
g_param_spec_object ("plugin-info",
@@ -170,7 +170,7 @@ peas_extension_base_class_init (PeasExtensionBaseClass *klass)
*
* Get information relative to @extbase.
*
- * Returns: (transfer none): the [struct@PluginInfo] relative
+ * Returns: (transfer none): the [object@PluginInfo] relative
* to the #PeasExtensionBase.
*/
PeasPluginInfo *