diff options
author | Leandro Pereira <leandro@hardinfo.org> | 2019-07-15 18:46:59 -0700 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2019-08-10 16:50:18 -0700 |
commit | 3c83737fa488281f20030b5b36d7e1d4ba4313c9 (patch) | |
tree | 058ab8e18ff6bacdcf4a2551bf8845b447bab88a /hardinfo/usb_util.c | |
parent | 0133e9fba615d8b5b1c67976a1da702977dd74a3 (diff) |
Always pulse status bar while spawning processes synchronously
Diffstat (limited to 'hardinfo/usb_util.c')
-rw-r--r-- | hardinfo/usb_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hardinfo/usb_util.c b/hardinfo/usb_util.c index a758026f..f883657c 100644 --- a/hardinfo/usb_util.c +++ b/hardinfo/usb_util.c @@ -173,7 +173,7 @@ static gboolean usb_get_device_lsusb(int bus, int dev, usbd *s) { s->bus = bus; s->dev = dev; - spawned = g_spawn_command_line_sync(lsusb_cmd, + spawned = hardinfo_spawn_command_line_sync(lsusb_cmd, &out, &err, NULL, NULL); g_free(lsusb_cmd); if (spawned) { @@ -447,7 +447,7 @@ static usbd *usb_get_device_list_lsusb() { usbd *head = NULL, *nd; int bus, dev, vend, prod, ec; - spawned = g_spawn_command_line_sync("lsusb", + spawned = hardinfo_spawn_command_line_sync("lsusb", &out, &err, NULL, NULL); if (spawned) { p = out; |