app/core/gimpmoduleinfo.[ch] separated module query from type registration
2002-10-20 Michael Natterer <mitch@gimp.org> * app/core/gimpmoduleinfo.[ch] * libgimp/gimpmodule.h: separated module query from type registration by adding a separate "gimp_module_query" function which must be implemented by modules. Make local copies of the strings returned by the query function. * app/core/gimpmodules.c * app/gui/module-browser.c: changed accordingly. * modules/cdisplay_gamma.c * modules/cdisplay_highcontrast.c * modules/colorsel_triangle.c * modules/colorsel_water.c: added the gimp_module_query() functions.
This commit is contained in:

committed by
Michael Natterer

parent
079b768ea7
commit
4cb04533e4
@ -386,13 +386,13 @@ browser_info_update (GimpModuleInfoObj *mod,
|
||||
return;
|
||||
}
|
||||
|
||||
if (mod->info)
|
||||
if (mod->info.purpose)
|
||||
{
|
||||
text[0] = mod->info->purpose;
|
||||
text[1] = mod->info->author;
|
||||
text[2] = mod->info->version;
|
||||
text[3] = mod->info->copyright;
|
||||
text[4] = mod->info->date;
|
||||
text[0] = mod->info.purpose;
|
||||
text[1] = mod->info.author;
|
||||
text[2] = mod->info.version;
|
||||
text[3] = mod->info.copyright;
|
||||
text[4] = mod->info.date;
|
||||
text[5] = mod->on_disk ? _("On disk") : _("Only in memory");
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user