--- a/gplugin/gplugin-file-source.c Mon Mar 18 01:16:56 2024 -0500
+++ b/gplugin/gplugin-file-source.c Wed Mar 20 22:34:37 2024 -0500
@@ -577,7 +577,7 @@
obj_class->finalize = gplugin_file_source_finalize;
- * GPluginFileSource::manager:
+ * GPluginFileSource:manager: * The [class@GPlugin.Manager] that this source is working for.
--- a/gplugin/gplugin-loader.c Mon Mar 18 01:16:56 2024 -0500
+++ b/gplugin/gplugin-loader.c Wed Mar 20 22:34:37 2024 -0500
@@ -141,7 +141,7 @@
obj_class->finalize = gplugin_loader_finalize;
* The identifier of the loader.
--- a/gplugin/gplugin-manager.c Mon Mar 18 01:16:56 2024 -0500
+++ b/gplugin/gplugin-manager.c Wed Mar 20 22:34:37 2024 -0500
@@ -306,7 +306,10 @@
* Emitted before @plugin is loaded.
- * Return FALSE to stop loading
+ * Returns: %TRUE to allow the plugin to load or %FALSE to stop it from signals[SIG_LOADING] = g_signal_new_class_handler(
@@ -327,6 +330,8 @@
* @plugin: The [iface@GPlugin.Plugin] that's about to be loaded.
* Emitted after a plugin is loaded.
signals[SIG_LOADED] = g_signal_new_class_handler(
@@ -347,6 +352,8 @@
* @error: The [struct@GLib.Error] of what went wrong.
* Emitted after a plugin fails to load.
signals[SIG_LOAD_FAILED] = g_signal_new_class_handler(
@@ -369,7 +376,10 @@
* Emitted before a plugin is unloaded.
- * Return FALSE to stop unloading
+ * Returns: %TRUE to allow the plugin to be unloaded, or %FALSE to stop + * the plugin from being unloaded. signals[SIG_UNLOADING] = g_signal_new_class_handler(
@@ -390,6 +400,8 @@
* @plugin: The [iface@GPlugin.Plugin] that's about to be loaded.
* emitted after a plugin is successfully unloaded.
signals[SIG_UNLOADED] = g_signal_new_class_handler(
@@ -411,6 +423,8 @@
* Emitted when @manager was asked to unload @plugin, but @plugin returned
* %FALSE when its unload function was called.
signals[SIG_UNLOAD_FAILED] = g_signal_new_class_handler(
--- a/gplugin/gplugin-version.h Mon Mar 18 01:16:56 2024 -0500
+++ b/gplugin/gplugin-version.h Wed Mar 20 22:34:37 2024 -0500
@@ -66,6 +66,26 @@
+ * GPLUGIN_VERSION_MIN_REQUIRED: + * A macro that should be defined by the user prior to including the + * The definition should be one of the predefined GPlugin version macros: + * %GPLUGIN_VERSION_0_42, %GPLUGIN_VERSION_0_43, ... + * This macro defines the earliest version of GPlugin that the package is + * required to be able to compile against. + * If the compiler is configured to warn about the use of deprecated functions, + * then using functions that were deprecated in version + * %GPLUGIN_VERSION_MIN_REQUIRED or earlier will cause warnings (but using + * functions deprecated in later releases will not). * GPLUGIN_VERSION_CUR_STABLE:
* A macro that evaluates to the current stable version of GPlugin, in a format
--- a/gplugin/reference/gplugin.toml.in Mon Mar 18 01:16:56 2024 -0500
+++ b/gplugin/reference/gplugin.toml.in Wed Mar 20 22:34:37 2024 -0500
@@ -48,3 +48,27 @@
urlmap_file = "urlmap.js"
+pattern = "DEPRECATED_IN_*" +name = "UNAVAILABLE_MACRO" +name = "UNAVAILABLE_STATIC_INLINE" +name = "UNAVAILABLE_TYPE" --- a/gplugin/reference/meson.build Mon Mar 18 01:16:56 2024 -0500
+++ b/gplugin/reference/meson.build Wed Mar 20 22:34:37 2024 -0500
@@ -40,4 +40,13 @@
+ '--config', gplugin_toml, + depends: gplugin_gir[0], doc_targets += gplugin_doc