[gnome-builder] flatpak: Fix some error handling



commit 51adac6a056f00765a8f83a053356547fee0e900
Author: Matthew Leeds <mleeds redhat com>
Date:   Mon Nov 28 18:28:05 2016 -0600

    flatpak: Fix some error handling
    
    We need to pass the error pointer to ide_subprocess_launcher_spawn
    because we're using it in the next block of code.

 plugins/flatpak/gbp-flatpak-runtime.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/flatpak/gbp-flatpak-runtime.c b/plugins/flatpak/gbp-flatpak-runtime.c
index a09d5a2..77dfa1a 100644
--- a/plugins/flatpak/gbp-flatpak-runtime.c
+++ b/plugins/flatpak/gbp-flatpak-runtime.c
@@ -498,7 +498,7 @@ gbp_flatpak_runtime_postinstall_worker (GTask        *task,
   ide_subprocess_launcher_push_argv (launcher3, "uninstall");
   ide_subprocess_launcher_push_argv (launcher3, "--user");
   ide_subprocess_launcher_push_argv (launcher3, app_id);
-  process3 = ide_subprocess_launcher_spawn (launcher3, cancellable, NULL);
+  process3 = ide_subprocess_launcher_spawn (launcher3, cancellable, &error);
 
   if (!process3)
     {


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