From 29f23c8f98edeb78bf1abd4644cc5de590678db8 Mon Sep 17 00:00:00 2001 From: Jehan Date: Fri, 18 Feb 2022 12:11:01 +0100 Subject: [PATCH] libgimp, libgimpconfig: fixing gi-docgen "qualifier fragments". Fixing these 2 warnings in the CI which end up fatal: WARNING: Invalid fragment for 'Gimp.Parasite': it should be struct Serializes the object properties of @config to a [class@Parasite]. ^~~~~~~~~~~~~~~~ WARNING: Invalid fragment for 'GLib.MainLoop': it should be struct it has a GUI and is hanging around in a [class@GLib.MainLoop], it must call ^~~~~~~~~~~~~~~~~~~~~ --- libgimp/gimpplugin.c | 4 ++-- libgimpconfig/gimpconfig-iface.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libgimp/gimpplugin.c b/libgimp/gimpplugin.c index f3ce17f1bc..7e3db21358 100644 --- a/libgimp/gimpplugin.c +++ b/libgimp/gimpplugin.c @@ -629,8 +629,8 @@ gimp_plug_in_get_temp_procedure (GimpPlugIn *plug_in, * [method@PlugIn.extension_process] in an endless loop. * * If the plug-in cannot use [method@PlugIn.extension_process], i.e. if - * it has a GUI and is hanging around in a [class@GLib.MainLoop], it must call - * [method@PlugIn.extension_enable]. + * it has a GUI and is hanging around in a [struct@GLib.MainLoop], it + * must call [method@PlugIn.extension_enable]. * * Note that the plug-in does not need to be a * [const@PDBProcType.EXTENSION] to register temporary procedures. diff --git a/libgimpconfig/gimpconfig-iface.c b/libgimpconfig/gimpconfig-iface.c index 33847fe6eb..a537220d94 100644 --- a/libgimpconfig/gimpconfig-iface.c +++ b/libgimpconfig/gimpconfig-iface.c @@ -419,7 +419,7 @@ gimp_config_serialize_to_string (GimpConfig *config, * @parasite_flags: the new parasite's flags * @data: user data passed to the serialize implementation. * - * Serializes the object properties of @config to a [class@Parasite]. + * Serializes the object properties of @config to a [struct@Parasite]. * * Returns: (transfer full): the newly allocated parasite. *