[gnome-boxes/wip/props-ui-files: 2/5] wizard: show_customization_page() now async
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/wip/props-ui-files: 2/5] wizard: show_customization_page() now async
- Date: Thu, 18 Aug 2016 18:07:59 +0000 (UTC)
commit f9aff82a77dcdf01ab244e7f2f6a6e25d7e82fba
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 3fabf79..ccc59af 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]