void gimp_modules_refresh (Gimp *gimp) { g_return_if_fail (GIMP_IS_GIMP (gimp)); if (! gimp->no_interface) { gimp_module_db_refresh (gimp->module_db, gimp->config->module_path); } }
void gimp_modules_refresh (Gimp *gimp) { g_return_if_fail (GIMP_IS_GIMP (gimp)); if (! gimp->no_interface) { gchar *path; path = gimp_config_path_expand (gimp->config->module_path, TRUE, NULL); gimp_module_db_refresh (gimp->module_db, path); g_free (path); } }