[gnome-builder] flatpak: return value for threaded GTask



commit 7499aacb0560aaf22e4e28d3d3f9d0e2a62ae138
Author: Christian Hergert <chergert redhat com>
Date:   Tue Mar 13 15:32:04 2018 -0700

    flatpak: return value for threaded GTask
    
    We don't do anything with the result, but we should at least ensure we're
    returning a result correctly.

 src/plugins/flatpak/gbp-flatpak-application-addin.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/plugins/flatpak/gbp-flatpak-application-addin.c 
b/src/plugins/flatpak/gbp-flatpak-application-addin.c
index 44264c8ad..eb4e031fb 100644
--- a/src/plugins/flatpak/gbp-flatpak-application-addin.c
+++ b/src/plugins/flatpak/gbp-flatpak-application-addin.c
@@ -136,6 +136,8 @@ copy_devhelp_docs_into_user_data_dir_worker (GTask        *task,
         }
     }
 
+  g_task_return_boolean (task, TRUE);
+
   IDE_EXIT;
 }
 
@@ -175,7 +177,7 @@ copy_devhelp_docs_into_user_data_dir (GbpFlatpakApplicationAddin *self)
   /*
    * Collect the paths to all of the .Docs runtimes.
    *
-   * TODO: We should try to sort these by importants, so that master
+   * TODO: We should try to sort these by importance, so that master
    *       docs are preferred and if that is not available, the highest
    *       version number.
    */


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