[gnome-boxes] wizard: Ensure continue_button is initialized



commit 7a83c43a4cef0bb406d11b653475d6a683ab04b6
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Tue Feb 24 12:55:59 2015 +0000

    wizard: Ensure continue_button is initialized
    
    This fixes an ugly critical on console on Boxes exit if wizard is never
    launched.

 src/wizard.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/wizard.vala b/src/wizard.vala
index 0dcadc0..abb60db 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -630,6 +630,7 @@ private class Boxes.Wizard: Gtk.Stack, Boxes.UI {
         continue_button.clicked.connect (() => {
             page = page + 1;
         });
+        next_button = continue_button;
         create_button = wizard_window.topbar.create_btn;
         create_button.clicked.connect (() => {
             page = WizardPage.LAST;


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