plug-ins: babl_init|exit() for non-interactive "file-pdf-load" too.
Improve my previous commit: I added babl_init|exit() for "file-pdf-load-thumb". But these was actually also missing from non-interactive calls to "file-pdf-load", since the initialization was done as part of gimp_ui_init() so far. Just run them down the call stack around the needed part. It's not a problem if it's called double (for the interactive code path).
Showing with 11 additions and 5 deletions