From eabcdd579fe9f9a434e9b381adaed2f34b3dc2d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Sun, 31 Jan 2010 22:08:58 +0000 Subject: [PATCH] Use utils_spawn_sync() instead of g_spawn_sync(). git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4631 ea778897-0a13-0410-b9d1-a72fbfd435f5 --- ChangeLog | 2 ++ src/templates.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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);