[gnome-boxes] installer: Use async method to generate the script



commit 76cdd0226b780b7e6f646de041b6f5f40bd99abb
Author: Fabiano FidÃncio <fabiano fidencio org>
Date:   Mon Dec 17 05:44:52 2012 -0200

    installer: Use async method to generate the script
    
    https://bugzilla.gnome.org/show_bug.cgi?id=690333

 src/unattended-installer.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/unattended-installer.vala b/src/unattended-installer.vala
index 9c8b316..1e80c32 100644
--- a/src/unattended-installer.vala
+++ b/src/unattended-installer.vala
@@ -735,7 +735,7 @@ private class Boxes.UnattendedTextFile : GLib.Object, Boxes.UnattendedFile {
         installer.configure_install_script (script);
         var output_dir = File.new_for_path (get_user_pkgcache ());
 
-        unattended_tmp = script.generate_output (installer.os, installer.config, output_dir, cancellable);
+        unattended_tmp = yield script.generate_output_async (installer.os, installer.config, output_dir, cancellable);
 
         return unattended_tmp;
     }



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