[geany/geany] 01b01c: Merge pull request #561 from b4n/filebrowser-use-spawn

Colomban Wendling git-noreply at xxxxx
Sun Jul 12 12:15:30 UTC 2015


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sun, 12 Jul 2015 12:15:30 UTC
Commit:      01b01cc83a9c15f41b509072aff476184e2a6a4e
             https://github.com/geany/geany/commit/01b01cc83a9c15f41b509072aff476184e2a6a4e

Log Message:
-----------
Merge pull request #561 from b4n/filebrowser-use-spawn

filebrowser: Use Spawn module to launch the external command


Modified Paths:
--------------
    plugins/filebrowser.c

Modified: plugins/filebrowser.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -477,7 +477,7 @@ static void open_external(const gchar *fname, gboolean dir_found)
 
 	cmd = g_string_free(cmd_str, FALSE);
 	locale_cmd = utils_get_locale_from_utf8(cmd);
-	if (! g_spawn_command_line_async(locale_cmd, &error))
+	if (! spawn_async(NULL, locale_cmd, NULL, NULL, NULL, &error))
 	{
 		gchar *c = strchr(cmd, ' ');
 



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list