diff --git a/ChangeLog b/ChangeLog index 57c6f562..f9d7968a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,8 @@ Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST. * scripts/create_py_tags.py: Make the script a bit more robust with newer Python versions. + * src/templates.c: + Use utils_spawn_sync() instead of g_spawn_sync(). 2010-01-31 Frank Lanitz diff --git a/src/templates.c b/src/templates.c index 827db73a..4f7d8fcf 100644 --- a/src/templates.c +++ b/src/templates.c @@ -758,7 +758,7 @@ static gchar *run_command(const gchar *command, const gchar *file_name, "GEANY_FILETYPE", file_type, "GEANY_FUNCNAME", func_name, NULL); - if (! g_spawn_sync(NULL, argv, env, G_SPAWN_SEARCH_PATH, + if (! utils_spawn_sync(NULL, argv, env, G_SPAWN_SEARCH_PATH, NULL, NULL, &result, NULL, NULL, &error)) { g_warning("templates_replace_command: %s", error->message);