Branch: refs/heads/master Author: Dimitar Zhekov dimitar.zhekov@gmail.com Committer: Dimitar Zhekov dimitar.zhekov@gmail.com Date: Sat, 21 Mar 2015 17:45:38 UTC Commit: 353b748cf75b29d3d342757759d220d9f47aa563 https://github.com/geany/geany/commit/353b748cf75b29d3d342757759d220d9f47aa5...
Log Message: ----------- Alter callbacks.c to use the new spawning module
Modified Paths: -------------- src/callbacks.c
Modified: src/callbacks.c 3 lines changed, 2 insertions(+), 1 deletions(-) =================================================================== @@ -51,6 +51,7 @@ #include "printing.h" #include "sciwrappers.h" #include "sidebar.h" +#include "spawn.h" #ifdef HAVE_SOCKET # include "socket.h" #endif @@ -1554,7 +1555,7 @@ G_MODULE_EXPORT void on_context_action1_activate(GtkMenuItem *menuitem, gpointer { utils_str_replace_all(&command, "%s", word);
- if (! g_spawn_command_line_async(command, &error)) + if (!spawn_async(NULL, command, NULL, NULL, NULL, &error)) { ui_set_statusbar(TRUE, "Context action command failed: %s", error->message); g_error_free(error);
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).