aboutsummaryrefslogtreecommitdiff
path: root/hardinfo/x_util.c
diff options
context:
space:
mode:
authorLeandro Pereira <leandro@hardinfo.org>2019-07-15 18:46:59 -0700
committerLeandro Pereira <leandro@hardinfo.org>2019-08-10 16:50:18 -0700
commit3c83737fa488281f20030b5b36d7e1d4ba4313c9 (patch)
tree058ab8e18ff6bacdcf4a2551bf8845b447bab88a /hardinfo/x_util.c
parent0133e9fba615d8b5b1c67976a1da702977dd74a3 (diff)
Always pulse status bar while spawning processes synchronously
Diffstat (limited to 'hardinfo/x_util.c')
-rw-r--r--hardinfo/x_util.c6
1 files changed, 3 insertions, 3 deletions
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) {