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
                                        ^~~~~~~~~~~~~~~~~~~~~
This commit is contained in:
Jehan 2022-02-18 12:11:01 +01:00
parent 6b76e3cd8d
commit 29f23c8f98
2 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -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.
*