From 3c83737fa488281f20030b5b36d7e1d4ba4313c9 Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Mon, 15 Jul 2019 18:46:59 -0700 Subject: Always pulse status bar while spawning processes synchronously --- hardinfo/x_util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hardinfo/x_util.c') diff --git a/hardinfo/x_util.c b/hardinfo/x_util.c index c052f00a..52888a8c 100644 --- a/hardinfo/x_util.c +++ b/hardinfo/x_util.c @@ -60,7 +60,7 @@ gboolean fill_glx_info(glx_info *glx) { #define GLX_MATCH_LINE(prefix_str, struct_member) \ if (l = simple_line_value(p, prefix_str)) { glx->struct_member = g_strdup(l); goto glx_next_line; } - spawned = g_spawn_command_line_sync(glx_cmd, + spawned = hardinfo_spawn_command_line_sync(glx_cmd, &out, &err, NULL, NULL); g_free(glx_cmd); if (spawned) { @@ -124,7 +124,7 @@ gboolean fill_xinfo(xinfo *xi) { #define XI_MATCH_LINE(prefix_str, struct_member) \ if (l = simple_line_value(p, prefix_str)) { xi->struct_member = g_strdup(l); goto xi_next_line; } - spawned = g_spawn_command_line_sync(xi_cmd, + spawned = hardinfo_spawn_command_line_sync(xi_cmd, &out, &err, NULL, NULL); g_free(xi_cmd); if (spawned) { @@ -166,7 +166,7 @@ gboolean fill_xrr_info(xrr_info *xrr) { memset(status, 0, 128); memset(alist, 0, 128); - spawned = g_spawn_command_line_sync(xrr_cmd, + spawned = hardinfo_spawn_command_line_sync(xrr_cmd, &out, &err, NULL, NULL); g_free(xrr_cmd); if (spawned) { -- cgit v1.2.3