libgimpwidgets: gegl_init() unneeded here.

Plug-in developers should just call gimp_ui_init() when using libgimpui.
This takes care of initializing GEGL for you.
This commit is contained in:
Jehan 2025-12-05 23:06:26 +01:00
parent 4e35bf1509
commit 38881a8925

View file

@ -134,8 +134,6 @@ gimp_preview_area_class_init (GimpPreviewAreaClass *klass)
GeglColor *color1_default;
GeglColor *color2_default;
gegl_init (NULL, NULL);
color1_default = gegl_color_new (NULL);
gegl_color_set_pixel (color1_default, babl_format ("R'G'B'A double"), GIMP_CHECKS_CUSTOM_COLOR1);
color2_default = gegl_color_new (NULL);