From d5ad5306546176fe194ea37fa079caaee8bedce9 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Wed, 22 Mar 2023 17:03:22 -0700 Subject: extension-base: fix references to struct@PluginInfo This should be [object@PluginInfo] now that PeasPluginInfo is a GObject. --- libpeas/peas-engine.c | 2 +- libpeas/peas-extension-base.c | 6 +++--- 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 * -- cgit v1.2.1