[gnome-control-center/gbsneto/applications-panel-cleanups] applications: Switch to g_spawn_check_wait_status()



commit 77b1821a1dd0e2156b87a30e9f8be039d69b2c69
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Thu Jan 20 18:55:44 2022 -0300

    applications: Switch to g_spawn_check_wait_status()
    
    It's the undeprecated version of g_spawn_check_exit_status().

 panels/applications/utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/panels/applications/utils.c b/panels/applications/utils.c
index bbf88d4b3..bd4c0674e 100644
--- a/panels/applications/utils.c
+++ b/panels/applications/utils.c
@@ -166,7 +166,7 @@ get_output_of (const gchar **argv)
                      &status, NULL))
     return NULL;
 
-  if (!g_spawn_check_exit_status (status, NULL))
+  if (!g_spawn_check_wait_status (status, NULL))
     return NULL;
 
   return g_steal_pointer (&output);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]