• Ell's avatar
    libgimpwidgets: call babl_exit() when unloading · e64e61ca
    Ell authored
    If the compiler supports destructors (which should cover at least
    GCC and Clang), pair the call to babl_init() in gimp_widgets_init()
    with a call to babl_exit() when the library in unloaded.  This is
    important in particular since the babl fish cache is constructed/
    updated upon the last matched call to babl_exit().
gimpwidgets-private.c 3.05 KB