app, libgimp, pdb: Fix generation warnings

On generating our PDB files, we were
getting warnings about uninitialized strings.
This is because descriptions and authors
had been left off three .pdb files. Adding
these in resolved the warnings.
A new PDB author entry was also added
for Idriss Fekir.
This commit is contained in:
Alx Sa 2024-09-24 22:56:44 +00:00
parent 33ec5b70b1
commit 01af0f78c8
9 changed files with 20 additions and 7 deletions

View File

@ -166,9 +166,9 @@ register_font_procs (GimpPDB *pdb)
"Retrieve the font lookup name.", "Retrieve the font lookup name.",
NULL); NULL);
gimp_procedure_set_static_attribution (procedure, gimp_procedure_set_static_attribution (procedure,
"", "Idriss Fekir",
"", "Idriss Fekir",
""); "2023");
gimp_procedure_add_argument (procedure, gimp_procedure_add_argument (procedure,
gimp_param_spec_font ("font", gimp_param_spec_font ("font",
"font", "font",

View File

@ -178,9 +178,9 @@ register_fonts_procs (GimpPDB *pdb)
"This procedure returns custom FontConfig configs along with the fonts renaming config.", "This procedure returns custom FontConfig configs along with the fonts renaming config.",
NULL); NULL);
gimp_procedure_set_static_attribution (procedure, gimp_procedure_set_static_attribution (procedure,
"", "Idriss Fekir",
"", "Idriss Fekir",
""); "2023");
gimp_procedure_add_return_value (procedure, gimp_procedure_add_return_value (procedure,
gimp_param_spec_string ("config", gimp_param_spec_string ("config",
"config", "config",

View File

@ -32,7 +32,7 @@
* @title: gimpdrawableselect * @title: gimpdrawableselect
* @short_description: Methods of a drawable chooser dialog * @short_description: Methods of a drawable chooser dialog
* *
* Methods of a drawable chooser dialog
**/ **/

View File

@ -46,6 +46,8 @@
* *
* Returns: (transfer full): font lookup name. * Returns: (transfer full): font lookup name.
* The returned value must be freed with g_free(). * The returned value must be freed with g_free().
*
* Since: 3.0
**/ **/
gchar * gchar *
_gimp_font_get_lookup_name (GimpFont *font) _gimp_font_get_lookup_name (GimpFont *font)

View File

@ -82,6 +82,8 @@ gimp_fonts_refresh (void)
* *
* Returns: (transfer full): config path. * Returns: (transfer full): config path.
* The returned value must be freed with g_free(). * The returned value must be freed with g_free().
*
* Since: 3.0
**/ **/
gchar * gchar *
_gimp_fonts_get_custom_configs (gchar **sysconfig, _gimp_fonts_get_custom_configs (gchar **sysconfig,

View File

@ -109,5 +109,6 @@ CODE
$desc = 'Drawables UI'; $desc = 'Drawables UI';
$doc_title = 'gimpdrawableselect'; $doc_title = 'gimpdrawableselect';
$doc_short_desc = 'Methods of a drawable chooser dialog'; $doc_short_desc = 'Methods of a drawable chooser dialog';
$doc_long_desc = 'Methods of a drawable chooser dialog';
1; 1;

View File

@ -109,6 +109,8 @@ sub font_get_lookup_name {
Retrieve the font lookup name. Retrieve the font lookup name.
HELP HELP
&idriss_pdb_misc('2023', '3.0');
$lib_private = 1; $lib_private = 1;
@inargs = ( @inargs = (

View File

@ -80,6 +80,8 @@ sub fonts_get_custom_configs {
This procedure returns custom FontConfig configs along with the fonts renaming config. This procedure returns custom FontConfig configs along with the fonts renaming config.
HELP HELP
&idriss_pdb_misc('2023', '3.0');
$lib_private = 1; $lib_private = 1;
@inargs = ( @inargs = (

View File

@ -173,6 +173,10 @@ sub alxsa_pdb_misc {
contrib_pdb_misc('Alex S.', '', @_); contrib_pdb_misc('Alex S.', '', @_);
} }
sub idriss_pdb_misc {
contrib_pdb_misc('Idriss Fekir', '', @_);
}
sub std_pdb_deprecated { sub std_pdb_deprecated {
if (@_) { if (@_) {
$blurb = $help = ''; $blurb = $help = '';