[gnome-software/mwleeds/minor-changes: 1/2] lib: Update setup_finish() docs




commit 31a0c73d4c44633527737d01091f16e78c84c15e
Author: Phaedrus Leeds <mwleeds protonmail com>
Date:   Thu Feb 3 13:08:18 2022 -0800

    lib: Update setup_finish() docs

 lib/gs-plugin.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/lib/gs-plugin.h b/lib/gs-plugin.h
index 2e9a292b8..500e3171a 100644
--- a/lib/gs-plugin.h
+++ b/lib/gs-plugin.h
@@ -35,7 +35,8 @@ G_DECLARE_DERIVABLE_TYPE (GsPlugin, gs_plugin, GS, PLUGIN, GObject)
  *   explicitly shut down. It is not called if the plugin is disabled during
  *   construction.
  * @setup_finish: (nullable): Finish method for @setup_async. Must be
- *   implemented if @setup_async is implemented.
+ *   implemented if @setup_async is implemented. If this returns an error, the
+ *   plugin will be disabled.
  * @shutdown_async: (nullable): Shutdown method for the plugin. This is called
  *   by the #GsPluginLoader when the process is terminating or the
  *   #GsPluginLoader is being destroyed. It should be used to cancel or stop any


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