mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 09:53:25 +00:00
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:
parent
192c043d7b
commit
bdcd9cd38a
2 changed files with 3 additions and 1 deletions
|
@ -176,6 +176,9 @@ gimp_ui_init (const gchar *prog_name)
|
||||||
g_idle_add (gimp_osx_focus_window, NULL);
|
g_idle_add (gimp_osx_focus_window, NULL);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Some widgets use GEGL buffers for thumbnails, previews, etc. */
|
||||||
|
gegl_init (NULL, NULL);
|
||||||
|
|
||||||
gimp_ui_initialized = TRUE;
|
gimp_ui_initialized = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -196,7 +196,6 @@ script_fu_interface (SFScript *script,
|
||||||
if (!gtk_initted)
|
if (!gtk_initted)
|
||||||
{
|
{
|
||||||
gimp_ui_init ("script-fu");
|
gimp_ui_init ("script-fu");
|
||||||
gegl_init (NULL, NULL);
|
|
||||||
|
|
||||||
gtk_initted = TRUE;
|
gtk_initted = TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue