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 --- includes/hardinfo.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'includes') diff --git a/includes/hardinfo.h b/includes/hardinfo.h index c8ee1ca0..ab9ecb55 100644 --- a/includes/hardinfo.h +++ b/includes/hardinfo.h @@ -193,4 +193,12 @@ gchar *hardinfo_clean_label(const gchar *v, int replacing); /* hardinfo uses the values as {ht,x}ml, apparently */ gchar *hardinfo_clean_value(const gchar *v, int replacing); +/* Same as hardinfo_spawn_command_line_sync(), but calls shell_status_pulse() + * before. */ +gboolean hardinfo_spawn_command_line_sync(const gchar *command_line, + gchar **standard_output, + gchar **standard_error, + gint *exit_status, + GError **error); + #endif /* __HARDINFO_H__ */ -- cgit v1.2.3