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. * [method@PlugIn.extension_process] in an endless loop.
* *
* If the plug-in cannot use [method@PlugIn.extension_process], i.e. if * 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 * it has a GUI and is hanging around in a [struct@GLib.MainLoop], it
* [method@PlugIn.extension_enable]. * must call [method@PlugIn.extension_enable].
* *
* Note that the plug-in does not need to be a * Note that the plug-in does not need to be a
* [const@PDBProcType.EXTENSION] to register temporary procedures. * [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 * @parasite_flags: the new parasite's flags
* @data: user data passed to the serialize implementation. * @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. * Returns: (transfer full): the newly allocated parasite.
* *