libgimp, plug-ins: let's just call gegl_init() in gimp_ui_init().

bootchk had the case in commit 6781a35668. I again had it with gfig. I think it
just makes sense to init GEGL, especially as the errors are not that explicit
and that the plug-in code may not even call GEGL code directly (so it makes it
harder to guess).
This commit is contained in:
Jehan 2023-10-05 22:36:40 +02:00
parent 192c043d7b
commit bdcd9cd38a
2 changed files with 3 additions and 1 deletions

View file

@ -196,7 +196,6 @@ script_fu_interface (SFScript *script,
if (!gtk_initted)
{
gimp_ui_init ("script-fu");
gegl_init (NULL, NULL);
gtk_initted = TRUE;
}