[gnome-boxes/wip/props-ui-files: 91/96] wizard: show_customization_page() now async



commit 8a62ba541341645070a8456db65ce1434cb1b1da
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Thu Aug 18 14:32:26 2016 +0100

    wizard: show_customization_page() now async

 src/wizard-window.vala |    2 +-
 src/wizard.vala        |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/wizard-window.vala b/src/wizard-window.vala
index 8613747..4c309e4 100644
--- a/src/wizard-window.vala
+++ b/src/wizard-window.vala
@@ -66,7 +66,7 @@ private class Boxes.WizardWindow : Gtk.Window, Boxes.UI {
         notify["ui-state"].connect (ui_state_changed);
     }
 
-    public void show_customization_page (LibvirtMachine machine) {
+    public async void show_customization_page (LibvirtMachine machine) {
         resource_properties = new GLib.List<Boxes.Property> ();
         machine.properties.get_resources_properties (ref resource_properties);
 
diff --git a/src/wizard.vala b/src/wizard.vala
index 020a760..8227a81 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -549,7 +549,7 @@ private class Boxes.Wizard: Gtk.Stack, Boxes.UI {
 
         if (libvirt_machine != null)
             summary.append_customize_button (() => {
-                wizard_window.show_customization_page (libvirt_machine);
+                wizard_window.show_customization_page.begin (libvirt_machine);
             });
 
         return true;


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