[gnome-boxes] wizard: review() now public
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] wizard: review() now public
- Date: Sun, 7 Dec 2014 23:42:48 +0000 (UTC)
commit e3d4092b2386e6cc618039547459b0e6aac8bc74
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Sun Dec 7 23:29:53 2014 +0000
wizard: review() now public
We'll need to call it from WizardWindow in a following patch.
https://bugzilla.gnome.org/show_bug.cgi?id=741046
src/wizard.vala | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/src/wizard.vala b/src/wizard.vala
index e2d15ab..cb7a980 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -218,6 +218,18 @@ private class Boxes.Wizard: Gtk.Stack, Boxes.UI {
wizard_source.cleanup ();
}
+ public async bool review () {
+ // only one outstanding review () permitted
+ return_if_fail (review_cancellable == null);
+
+ review_cancellable = new Cancellable ();
+ var result = yield do_review_cancellable ();
+ review_cancellable = null;
+
+ skip_review_for_live = false;
+ return result;
+ }
+
private async bool create () {
if (vm_creator != null) {
if (libvirt_machine == null) {
@@ -414,18 +426,6 @@ private class Boxes.Wizard: Gtk.Stack, Boxes.UI {
return true;
}
- private async bool review () {
- // only one outstanding review () permitted
- return_if_fail (review_cancellable == null);
-
- review_cancellable = new Cancellable ();
- var result = yield do_review_cancellable ();
- review_cancellable = null;
-
- skip_review_for_live = false;
- return result;
- }
-
private async bool do_review_cancellable () {
return_if_fail (review_cancellable != null);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]