/* wizard.c generated by valac 0.39.5, the Vala compiler
 * generated from wizard.vala, do not modify */

/* This file is part of GNOME Boxes. License: LGPLv2+*/

#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>
#include <libcommon.h>
#include <gio/gio.h>
#include <float.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <glib/gi18n-lib.h>
#include <libxml/uri.h>
#include <libvirt-gconfig/libvirt-gconfig.h>
#include <osinfo/osinfo.h>
#include <libvirt-gobject/libvirt-gobject.h>
#include <pango/pango.h>


#define BOXES_TYPE_WIZARD_PAGE (boxes_wizard_page_get_type ())

#define BOXES_TYPE_UI (boxes_ui_get_type ())
#define BOXES_UI(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_UI, BoxesUI))
#define BOXES_IS_UI(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UI))
#define BOXES_UI_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), BOXES_TYPE_UI, BoxesUIIface))

typedef struct _BoxesUI BoxesUI;
typedef struct _BoxesUIIface BoxesUIIface;

#define BOXES_TYPE_UI_STATE (boxes_ui_state_get_type ())

#define BOXES_TYPE_WIZARD (boxes_wizard_get_type ())
#define BOXES_WIZARD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_WIZARD, BoxesWizard))
#define BOXES_WIZARD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_WIZARD, BoxesWizardClass))
#define BOXES_IS_WIZARD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_WIZARD))
#define BOXES_IS_WIZARD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_WIZARD))
#define BOXES_WIZARD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_WIZARD, BoxesWizardClass))

typedef struct _BoxesWizard BoxesWizard;
typedef struct _BoxesWizardClass BoxesWizardClass;
typedef struct _BoxesWizardPrivate BoxesWizardPrivate;

#define BOXES_TYPE_WIZARD_SOURCE (boxes_wizard_source_get_type ())
#define BOXES_WIZARD_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_WIZARD_SOURCE, BoxesWizardSource))
#define BOXES_WIZARD_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_WIZARD_SOURCE, BoxesWizardSourceClass))
#define BOXES_IS_WIZARD_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_WIZARD_SOURCE))
#define BOXES_IS_WIZARD_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_WIZARD_SOURCE))
#define BOXES_WIZARD_SOURCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_WIZARD_SOURCE, BoxesWizardSourceClass))

typedef struct _BoxesWizardSource BoxesWizardSource;
typedef struct _BoxesWizardSourceClass BoxesWizardSourceClass;

#define BOXES_TYPE_WIZARD_SUMMARY (boxes_wizard_summary_get_type ())
#define BOXES_WIZARD_SUMMARY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_WIZARD_SUMMARY, BoxesWizardSummary))
#define BOXES_WIZARD_SUMMARY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_WIZARD_SUMMARY, BoxesWizardSummaryClass))
#define BOXES_IS_WIZARD_SUMMARY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_WIZARD_SUMMARY))
#define BOXES_IS_WIZARD_SUMMARY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_WIZARD_SUMMARY))
#define BOXES_WIZARD_SUMMARY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_WIZARD_SUMMARY, BoxesWizardSummaryClass))

typedef struct _BoxesWizardSummary BoxesWizardSummary;
typedef struct _BoxesWizardSummaryClass BoxesWizardSummaryClass;

#define BOXES_TYPE_APP_WINDOW (boxes_app_window_get_type ())
#define BOXES_APP_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_APP_WINDOW, BoxesAppWindow))
#define BOXES_APP_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_APP_WINDOW, BoxesAppWindowClass))
#define BOXES_IS_APP_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_APP_WINDOW))
#define BOXES_IS_APP_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_APP_WINDOW))
#define BOXES_APP_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_APP_WINDOW, BoxesAppWindowClass))

typedef struct _BoxesAppWindow BoxesAppWindow;
typedef struct _BoxesAppWindowClass BoxesAppWindowClass;

#define BOXES_TYPE_WIZARD_WINDOW (boxes_wizard_window_get_type ())
#define BOXES_WIZARD_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_WIZARD_WINDOW, BoxesWizardWindow))
#define BOXES_WIZARD_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_WIZARD_WINDOW, BoxesWizardWindowClass))
#define BOXES_IS_WIZARD_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_WIZARD_WINDOW))
#define BOXES_IS_WIZARD_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_WIZARD_WINDOW))
#define BOXES_WIZARD_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_WIZARD_WINDOW, BoxesWizardWindowClass))

typedef struct _BoxesWizardWindow BoxesWizardWindow;
typedef struct _BoxesWizardWindowClass BoxesWizardWindowClass;

#define BOXES_TYPE_MEDIA_MANAGER (boxes_media_manager_get_type ())
#define BOXES_MEDIA_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_MEDIA_MANAGER, BoxesMediaManager))
#define BOXES_MEDIA_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_MEDIA_MANAGER, BoxesMediaManagerClass))
#define BOXES_IS_MEDIA_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_MEDIA_MANAGER))
#define BOXES_IS_MEDIA_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_MEDIA_MANAGER))
#define BOXES_MEDIA_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_MEDIA_MANAGER, BoxesMediaManagerClass))

typedef struct _BoxesMediaManager BoxesMediaManager;
typedef struct _BoxesMediaManagerClass BoxesMediaManagerClass;

#define BOXES_TYPE_VM_CREATOR (boxes_vm_creator_get_type ())
#define BOXES_VM_CREATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_VM_CREATOR, BoxesVMCreator))
#define BOXES_VM_CREATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_VM_CREATOR, BoxesVMCreatorClass))
#define BOXES_IS_VM_CREATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_VM_CREATOR))
#define BOXES_IS_VM_CREATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_VM_CREATOR))
#define BOXES_VM_CREATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_VM_CREATOR, BoxesVMCreatorClass))

typedef struct _BoxesVMCreator BoxesVMCreator;
typedef struct _BoxesVMCreatorClass BoxesVMCreatorClass;

#define BOXES_TYPE_COLLECTION_ITEM (boxes_collection_item_get_type ())
#define BOXES_COLLECTION_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_COLLECTION_ITEM, BoxesCollectionItem))
#define BOXES_COLLECTION_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_COLLECTION_ITEM, BoxesCollectionItemClass))
#define BOXES_IS_COLLECTION_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_COLLECTION_ITEM))
#define BOXES_IS_COLLECTION_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_COLLECTION_ITEM))
#define BOXES_COLLECTION_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_COLLECTION_ITEM, BoxesCollectionItemClass))

typedef struct _BoxesCollectionItem BoxesCollectionItem;
typedef struct _BoxesCollectionItemClass BoxesCollectionItemClass;

#define BOXES_TYPE_MACHINE (boxes_machine_get_type ())
#define BOXES_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_MACHINE, BoxesMachine))
#define BOXES_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_MACHINE, BoxesMachineClass))
#define BOXES_IS_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_MACHINE))
#define BOXES_IS_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_MACHINE))
#define BOXES_MACHINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_MACHINE, BoxesMachineClass))

typedef struct _BoxesMachine BoxesMachine;
typedef struct _BoxesMachineClass BoxesMachineClass;
enum  {
	BOXES_WIZARD_0_PROPERTY,
	BOXES_WIZARD_PREVIOUS_UI_STATE_PROPERTY,
	BOXES_WIZARD_UI_STATE_PROPERTY,
	BOXES_WIZARD_MACHINE_PROPERTY,
	BOXES_WIZARD_PAGE_PROPERTY,
	BOXES_WIZARD_NUM_PROPERTIES
};
static GParamSpec* boxes_wizard_properties[BOXES_WIZARD_NUM_PROPERTIES];
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _boxes_vm_creator_unref0(var) ((var == NULL) ? NULL : (var = (boxes_vm_creator_unref (var), NULL)))
typedef struct _Block98Data Block98Data;

#define BOXES_TYPE_SOURCE_PAGE (boxes_source_page_get_type ())
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
typedef struct _BoxesWizardReviewData BoxesWizardReviewData;
typedef struct _Block99Data Block99Data;

#define BOXES_TYPE_LIBVIRT_MACHINE (boxes_libvirt_machine_get_type ())
#define BOXES_LIBVIRT_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_LIBVIRT_MACHINE, BoxesLibvirtMachine))
#define BOXES_LIBVIRT_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_LIBVIRT_MACHINE, BoxesLibvirtMachineClass))
#define BOXES_IS_LIBVIRT_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_LIBVIRT_MACHINE))
#define BOXES_IS_LIBVIRT_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_LIBVIRT_MACHINE))
#define BOXES_LIBVIRT_MACHINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_LIBVIRT_MACHINE, BoxesLibvirtMachineClass))

typedef struct _BoxesLibvirtMachine BoxesLibvirtMachine;
typedef struct _BoxesLibvirtMachineClass BoxesLibvirtMachineClass;

#define BOXES_TYPE_INSTALLER_MEDIA (boxes_installer_media_get_type ())
#define BOXES_INSTALLER_MEDIA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMedia))
#define BOXES_INSTALLER_MEDIA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMediaClass))
#define BOXES_IS_INSTALLER_MEDIA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_INSTALLER_MEDIA))
#define BOXES_IS_INSTALLER_MEDIA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_INSTALLER_MEDIA))
#define BOXES_INSTALLER_MEDIA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMediaClass))

typedef struct _BoxesInstallerMedia BoxesInstallerMedia;
typedef struct _BoxesInstallerMediaClass BoxesInstallerMediaClass;
typedef struct _BoxesWizardSourcePrivate BoxesWizardSourcePrivate;

#define BOXES_TYPE_APP (boxes_app_get_type ())
#define BOXES_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_APP, BoxesApp))
#define BOXES_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_APP, BoxesAppClass))
#define BOXES_IS_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_APP))
#define BOXES_IS_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_APP))
#define BOXES_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_APP, BoxesAppClass))

typedef struct _BoxesApp BoxesApp;
typedef struct _BoxesAppClass BoxesAppClass;

#define BOXES_TYPE_REMOTE_MACHINE (boxes_remote_machine_get_type ())
#define BOXES_REMOTE_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_REMOTE_MACHINE, BoxesRemoteMachine))
#define BOXES_REMOTE_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_REMOTE_MACHINE, BoxesRemoteMachineClass))
#define BOXES_IS_REMOTE_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_REMOTE_MACHINE))
#define BOXES_IS_REMOTE_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_REMOTE_MACHINE))
#define BOXES_REMOTE_MACHINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_REMOTE_MACHINE, BoxesRemoteMachineClass))

typedef struct _BoxesRemoteMachine BoxesRemoteMachine;
typedef struct _BoxesRemoteMachineClass BoxesRemoteMachineClass;

#define BOXES_TYPE_LIBVIRT_SYSTEM_IMPORTER (boxes_libvirt_system_importer_get_type ())
#define BOXES_LIBVIRT_SYSTEM_IMPORTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_LIBVIRT_SYSTEM_IMPORTER, BoxesLibvirtSystemImporter))
#define BOXES_LIBVIRT_SYSTEM_IMPORTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_LIBVIRT_SYSTEM_IMPORTER, BoxesLibvirtSystemImporterClass))
#define BOXES_IS_LIBVIRT_SYSTEM_IMPORTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_LIBVIRT_SYSTEM_IMPORTER))
#define BOXES_IS_LIBVIRT_SYSTEM_IMPORTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_LIBVIRT_SYSTEM_IMPORTER))
#define BOXES_LIBVIRT_SYSTEM_IMPORTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_LIBVIRT_SYSTEM_IMPORTER, BoxesLibvirtSystemImporterClass))

typedef struct _BoxesLibvirtSystemImporter BoxesLibvirtSystemImporter;
typedef struct _BoxesLibvirtSystemImporterClass BoxesLibvirtSystemImporterClass;
typedef struct _BoxesWizardCreateData BoxesWizardCreateData;
#define _g_free0(var) (var = (g_free (var), NULL))
#define _xmlFreeURI0(var) ((var == NULL) ? NULL : (var = (xmlFreeURI (var), NULL)))
typedef struct _Block100Data Block100Data;

#define BOXES_TYPE_NOTIFICATIONBAR (boxes_notificationbar_get_type ())
#define BOXES_NOTIFICATIONBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_NOTIFICATIONBAR, BoxesNotificationbar))
#define BOXES_NOTIFICATIONBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_NOTIFICATIONBAR, BoxesNotificationbarClass))
#define BOXES_IS_NOTIFICATIONBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_NOTIFICATIONBAR))
#define BOXES_IS_NOTIFICATIONBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_NOTIFICATIONBAR))
#define BOXES_NOTIFICATIONBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_NOTIFICATIONBAR, BoxesNotificationbarClass))

typedef struct _BoxesNotificationbar BoxesNotificationbar;
typedef struct _BoxesNotificationbarClass BoxesNotificationbarClass;

#define BOXES_TYPE_NOTIFICATION (boxes_notification_get_type ())
#define BOXES_NOTIFICATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_NOTIFICATION, BoxesNotification))
#define BOXES_NOTIFICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_NOTIFICATION, BoxesNotificationClass))
#define BOXES_IS_NOTIFICATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_NOTIFICATION))
#define BOXES_IS_NOTIFICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_NOTIFICATION))
#define BOXES_NOTIFICATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_NOTIFICATION, BoxesNotificationClass))

typedef struct _BoxesNotification BoxesNotification;
typedef struct _BoxesNotificationClass BoxesNotificationClass;
typedef struct _BoxesInstallerMediaPrivate BoxesInstallerMediaPrivate;
typedef struct _BoxesWizardPrepareMediaData BoxesWizardPrepareMediaData;
#define _boxes_pair_unref0(var) ((var == NULL) ? NULL : (var = (boxes_pair_unref (var), NULL)))
#define __g_list_free__boxes_pair_unref0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__boxes_pair_unref0_ (var), NULL)))
typedef struct _Block101Data Block101Data;
typedef struct _BoxesAppPrivate BoxesAppPrivate;

#define BOXES_TYPE_COLLECTION (boxes_collection_get_type ())
#define BOXES_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_COLLECTION, BoxesCollection))
#define BOXES_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_COLLECTION, BoxesCollectionClass))
#define BOXES_IS_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_COLLECTION))
#define BOXES_IS_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_COLLECTION))
#define BOXES_COLLECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_COLLECTION, BoxesCollectionClass))

typedef struct _BoxesCollection BoxesCollection;
typedef struct _BoxesCollectionClass BoxesCollectionClass;
#define __vala_GVirStorageVolInfo_free0(var) ((var == NULL) ? NULL : (var = (_vala_GVirStorageVolInfo_free (var), NULL)))
typedef struct _BoxesWizardDoReviewCancellableData BoxesWizardDoReviewCancellableData;
typedef struct _BoxesWizardDownloadMediaData BoxesWizardDownloadMediaData;
typedef struct _BoxesWizardWindowPrivate BoxesWizardWindowPrivate;

#define BOXES_TYPE_WIZARD_TOOLBAR (boxes_wizard_toolbar_get_type ())
#define BOXES_WIZARD_TOOLBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_WIZARD_TOOLBAR, BoxesWizardToolbar))
#define BOXES_WIZARD_TOOLBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_WIZARD_TOOLBAR, BoxesWizardToolbarClass))
#define BOXES_IS_WIZARD_TOOLBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_WIZARD_TOOLBAR))
#define BOXES_IS_WIZARD_TOOLBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_WIZARD_TOOLBAR))
#define BOXES_WIZARD_TOOLBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_WIZARD_TOOLBAR, BoxesWizardToolbarClass))

typedef struct _BoxesWizardToolbar BoxesWizardToolbar;
typedef struct _BoxesWizardToolbarClass BoxesWizardToolbarClass;
typedef struct _BoxesWizardToolbarPrivate BoxesWizardToolbarPrivate;
typedef struct _BoxesWizardSummaryPrivate BoxesWizardSummaryPrivate;
enum  {
	BOXES_WIZARD_SUMMARY_0_PROPERTY,
	BOXES_WIZARD_SUMMARY_NUM_PROPERTIES
};
static GParamSpec* boxes_wizard_summary_properties[BOXES_WIZARD_SUMMARY_NUM_PROPERTIES];
typedef struct _Block102Data Block102Data;
#define _g_list_free0(var) ((var == NULL) ? NULL : (var = (g_list_free (var), NULL)))
#define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
#define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; }
#define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; }
#define _vala_warn_if_fail(expr, msg) if G_LIKELY (expr) ; else g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);

typedef enum  {
	BOXES_WIZARD_PAGE_SOURCE,
	BOXES_WIZARD_PAGE_PREPARATION,
	BOXES_WIZARD_PAGE_SETUP,
	BOXES_WIZARD_PAGE_REVIEW,
	BOXES_WIZARD_PAGE_LAST
} BoxesWizardPage;

typedef enum  {
	BOXES_UI_STATE_NONE,
	BOXES_UI_STATE_COLLECTION,
	BOXES_UI_STATE_CREDS,
	BOXES_UI_STATE_DISPLAY,
	BOXES_UI_STATE_WIZARD,
	BOXES_UI_STATE_PROPERTIES,
	BOXES_UI_STATE_TROUBLESHOOT
} BoxesUIState;

struct _BoxesUIIface {
	GTypeInterface parent_iface;
	BoxesUIState (*get_previous_ui_state) (BoxesUI* self);
	void (*set_previous_ui_state) (BoxesUI* self, BoxesUIState value);
	BoxesUIState (*get_ui_state) (BoxesUI* self);
	void (*set_ui_state) (BoxesUI* self, BoxesUIState value);
};

struct _BoxesWizard {
	GtkStack parent_instance;
	BoxesWizardPrivate * priv;
};

struct _BoxesWizardClass {
	GtkStackClass parent_class;
};

struct _BoxesWizardPrivate {
	BoxesUIState _previous_ui_state;
	BoxesUIState _ui_state;
	GtkButton* cancel_button;
	GtkButton* back_button;
	GtkButton* next_button;
	GtkButton* continue_button;
	GtkButton* create_button;
	BoxesCollectionSource* source;
	BoxesWizardSource* wizard_source;
	BoxesWizardSummary* summary;
	GtkProgressBar* prep_progress;
	GtkLabel* prep_media_label;
	GtkLabel* prep_status_label;
	GtkBox* setup_box;
	GtkLabel* review_label;
	GtkInfoBar* nokvm_infobar;
	GtkImage* installer_image;
	BoxesAppWindow* window;
	BoxesWizardWindow* wizard_window;
	BoxesMediaManager* media_manager;
	BoxesVMCreator* vm_creator;
	BoxesMachine* _machine;
	GCancellable* prepare_cancellable;
	GCancellable* review_cancellable;
	gboolean skip_review_for_live;
	BoxesWizardPage _page;
};

struct _Block98Data {
	int _ref_count_;
	BoxesWizard* self;
	BoxesActivityProgress* progress;
};

typedef enum  {
	BOXES_SOURCE_PAGE_MAIN,
	BOXES_SOURCE_PAGE_RHEL_WEB_VIEW,
	BOXES_SOURCE_PAGE_URL,
	BOXES_SOURCE_PAGE_DOWNLOADS,
	BOXES_SOURCE_PAGE_LAST
} BoxesSourcePage;

struct _BoxesWizardReviewData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	BoxesWizard* self;
	gboolean result;
	GCancellable* _tmp0_;
	GCancellable* _tmp1_;
	gboolean _result_;
};

struct _Block99Data {
	int _ref_count_;
	BoxesWizard* self;
	gpointer _async_data_;
};

struct _BoxesWizardSource {
	GtkStack parent_instance;
	BoxesWizardSourcePrivate * priv;
	gboolean libvirt_sys_import;
	GtkEntry* url_entry;
	BoxesMediaManager* media_manager;
};

struct _BoxesWizardSourceClass {
	GtkStackClass parent_class;
};

struct _BoxesWizardCreateData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	BoxesWizard* self;
	gboolean result;
	Block99Data* _data99_;
	BoxesVMCreator* _tmp0_;
	BoxesLibvirtMachine* _tmp1_;
	BoxesLibvirtMachine* _tmp2_;
	GCancellable* _tmp3_;
	gulong wait;
	gulong _tmp4_;
	gulong _tmp5_;
	BoxesLibvirtMachine* _tmp6_;
	BoxesLibvirtMachine* _tmp7_;
	GtkButton* _tmp8_;
	BoxesVMCreator* _tmp9_;
	BoxesLibvirtMachine* _tmp10_;
	BoxesLibvirtMachine* _tmp11_;
	GError* _error_;
	GError* _tmp12_;
	const gchar* _tmp13_;
	BoxesVMCreator* _tmp14_;
	BoxesInstallerMedia* _tmp15_;
	BoxesInstallerMedia* _tmp16_;
	BoxesWizardSource* _tmp17_;
	BoxesWizardSource* _tmp18_;
	BoxesCollectionSource* _tmp19_;
	BoxesCollectionSource* _tmp20_;
	BoxesApp* _tmp21_;
	BoxesCollectionSource* _tmp22_;
	BoxesMachine* _tmp23_;
	BoxesWizardSource* _tmp24_;
	gboolean _tmp25_;
	BoxesWizardSource* _tmp26_;
	BoxesLibvirtSystemImporter* _tmp27_;
	BoxesLibvirtSystemImporter* _tmp28_;
	GError * _inner_error_;
};

struct _Block100Data {
	int _ref_count_;
	BoxesWizard* self;
	BoxesActivityProgress* progress;
};

struct _BoxesInstallerMedia {
	GObject parent_instance;
	BoxesInstallerMediaPrivate * priv;
	OsinfoOs* os;
	OsinfoResources* resources;
	OsinfoMedia* os_media;
	gchar* label;
	gchar* device_file;
	gchar* mount_point;
	gboolean from_image;
};

struct _BoxesInstallerMediaClass {
	GObjectClass parent_class;
	void (*set_direct_boot_params) (BoxesInstallerMedia* self, GVirConfigDomainOs* os);
	void (*prepare) (BoxesInstallerMedia* self, BoxesActivityProgress* progress, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	gboolean (*prepare_finish) (BoxesInstallerMedia* self, GAsyncResult* _res_);
	void (*prepare_for_installation) (BoxesInstallerMedia* self, const gchar* vm_name, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*prepare_for_installation_finish) (BoxesInstallerMedia* self, GAsyncResult* _res_);
	void (*prepare_to_continue_installation) (BoxesInstallerMedia* self, const gchar* vm_name);
	void (*clean_up) (BoxesInstallerMedia* self);
	void (*clean_up_preparation_cache) (BoxesInstallerMedia* self);
	void (*setup_domain_config) (BoxesInstallerMedia* self, GVirConfigDomain* domain);
	void (*setup_post_install_domain_config) (BoxesInstallerMedia* self, GVirConfigDomain* domain);
	void (*populate_setup_box) (BoxesInstallerMedia* self, GtkBox* setup_box);
	GList* (*get_vm_properties) (BoxesInstallerMedia* self);
	BoxesVMCreator* (*get_vm_creator) (BoxesInstallerMedia* self);
	OsinfoDeviceList* (*get_supported_devices) (BoxesInstallerMedia* self);
	guint64 (*get_installed_size) (BoxesInstallerMedia* self);
	gboolean (*get_need_user_input_for_vm_creation) (BoxesInstallerMedia* self);
	gboolean (*get_ready_to_create) (BoxesInstallerMedia* self);
	gboolean (*get_live) (BoxesInstallerMedia* self);
	gboolean (*get_eject_after_install) (BoxesInstallerMedia* self);
	gchar* (*get_architecture) (BoxesInstallerMedia* self);
};

struct _BoxesWizardPrepareMediaData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	BoxesWizard* self;
	BoxesInstallerMedia* install_media;
	BoxesActivityProgress* progress;
	OsinfoOs* _tmp0_;
	GtkLabel* _tmp1_;
	OsinfoOs* _tmp2_;
	const gchar* _tmp3_;
	const gchar* _tmp4_;
	GtkImage* _tmp5_;
	OsinfoOs* _tmp6_;
	BoxesActivityProgress* prepare_media_progress;
	BoxesWizardSource* _tmp7_;
	gboolean _tmp8_;
	gboolean _tmp9_;
	BoxesActivityProgress* _tmp10_;
	BoxesActivityProgress* _tmp11_;
	BoxesActivityProgress* _tmp12_;
	GtkLabel* _tmp13_;
	BoxesActivityProgress* _tmp14_;
	GCancellable* _tmp15_;
	BoxesVMCreator* _tmp16_;
	GtkProgressBar* _tmp17_;
};

struct _Block101Data {
	int _ref_count_;
	BoxesWizard* self;
	GVirConfigDomain* config;
};

struct _BoxesApp {
	GtkApplication parent_instance;
	BoxesAppPrivate * priv;
	BoxesCollection* collection;
	BoxesAsyncLauncher* async_launcher;
};

struct _BoxesAppClass {
	GtkApplicationClass parent_class;
};

typedef void (*BoxesWizardSummaryCustomizeFunc) (void* user_data);
struct _BoxesWizardDoReviewCancellableData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	BoxesWizard* self;
	gboolean result;
	GCancellable* _tmp0_;
	GtkInfoBar* _tmp1_;
	BoxesWizardSummary* _tmp2_;
	BoxesCollectionSource* _tmp3_;
	BoxesRemoteMachine* _tmp4_;
	BoxesCollectionSource* _tmp5_;
	BoxesRemoteMachine* _tmp6_;
	GError* _error_;
	GError* _tmp7_;
	const gchar* _tmp8_;
	gboolean _tmp9_;
	BoxesVMCreator* _tmp10_;
	BoxesLibvirtMachine* _tmp11_;
	BoxesLibvirtMachine* _tmp12_;
	BoxesLibvirtMachine* _tmp13_;
	BoxesVMCreator* _tmp14_;
	GCancellable* _tmp15_;
	BoxesLibvirtMachine* _tmp16_;
	GError* cancel_error;
	GError* _vala1__error_;
	BoxesAppWindow* _tmp17_;
	BoxesNotificationbar* _tmp18_;
	BoxesNotificationbar* _tmp19_;
	BoxesNotification* _tmp20_;
	BoxesNotification* _tmp21_;
	GError* _tmp22_;
	const gchar* _tmp23_;
	BoxesLibvirtMachine* _tmp24_;
	BoxesLibvirtMachine* _tmp25_;
	GCancellable* _tmp26_;
	GtkLabel* _tmp27_;
	BoxesCollectionSource* _tmp28_;
	xmlURI* uri;
	BoxesCollectionSource* _tmp29_;
	gchar* _tmp30_;
	gchar* _tmp31_;
	gchar* _tmp32_;
	xmlURI* _tmp33_;
	xmlURI* _tmp34_;
	BoxesWizardSummary* _tmp35_;
	BoxesCollectionSource* _tmp36_;
	gchar* _tmp37_;
	gchar* _tmp38_;
	gchar* _tmp39_;
	gboolean _tmp40_;
	xmlURI* _tmp41_;
	xmlURI* _tmp42_;
	const gchar* _tmp43_;
	BoxesWizardSummary* _tmp44_;
	xmlURI* _tmp45_;
	const gchar* _tmp46_;
	gchar* _tmp47_;
	gchar* _tmp48_;
	BoxesWizardSummary* _tmp49_;
	BoxesCollectionSource* _tmp50_;
	gchar* _tmp51_;
	gchar* _tmp52_;
	gchar* _tmp53_;
	gchar* _tmp54_;
	gchar* _tmp55_;
	xmlURI* _tmp56_;
	const gchar* _tmp57_;
	const gchar* _tmp58_;
	GQuark _tmp60_;
	gint port;
	gint tls_port;
	BoxesCollectionSource* _tmp61_;
	gchar* _tmp62_;
	gchar* _tmp63_;
	gchar* _tmp64_;
	gint* _tmp65_;
	gint* _tmp66_;
	gint* _tmp67_;
	gint* _tmp68_;
	gint _tmp69_;
	BoxesWizardSummary* _tmp70_;
	gint _tmp71_;
	gchar* _tmp72_;
	gchar* _tmp73_;
	gint _tmp74_;
	BoxesWizardSummary* _tmp75_;
	gint _tmp76_;
	gchar* _tmp77_;
	gchar* _tmp78_;
	GError* _vala2__error_;
	GError* _tmp79_;
	const gchar* _tmp80_;
	xmlURI* _tmp81_;
	gint _tmp82_;
	BoxesWizardSummary* _tmp83_;
	xmlURI* _tmp84_;
	gint _tmp85_;
	gchar* _tmp86_;
	gchar* _tmp87_;
	BoxesApp* _tmp88_;
	BoxesCollectionSource* _tmp89_;
	gchar* _tmp90_;
	gchar* _tmp91_;
	gchar* _tmp92_;
	gboolean _tmp93_;
	GtkLabel* _tmp94_;
	BoxesLibvirtMachine* _tmp95_;
	BoxesLibvirtMachine* _tmp96_;
	BoxesVMCreator* _tmp97_;
	BoxesInstallerMedia* _tmp98_;
	BoxesInstallerMedia* _tmp99_;
	GList* _tmp100_;
	GList* property_collection;
	GList* property_it;
	BoxesPair* _tmp101_;
	BoxesPair* property;
	BoxesWizardSummary* _tmp102_;
	BoxesPair* _tmp103_;
	gconstpointer _tmp104_;
	BoxesPair* _tmp105_;
	gconstpointer _tmp106_;
	Block101Data* _data101_;
	gpointer _tmp107_;
	GVirConfigDomain* _tmp108_;
	BoxesApp* _tmp109_;
	BoxesAsyncLauncher* _tmp110_;
	gchar* memory;
	GVirConfigDomain* _tmp111_;
	guint64 _tmp112_;
	guint64 _tmp113_;
	gchar* _tmp114_;
	BoxesWizardSummary* _tmp115_;
	const gchar* _tmp116_;
	GError* _vala3__error_;
	BoxesLibvirtMachine* _tmp117_;
	BoxesLibvirtMachine* _tmp118_;
	const gchar* _tmp119_;
	const gchar* _tmp120_;
	GError* _tmp121_;
	const gchar* _tmp122_;
	gboolean _tmp123_;
	BoxesLibvirtMachine* _tmp124_;
	BoxesLibvirtMachine* _tmp125_;
	gboolean _tmp126_;
	gboolean _tmp127_;
	BoxesLibvirtMachine* _tmp128_;
	BoxesLibvirtMachine* _tmp129_;
	GVirStorageVol* _tmp130_;
	GVirStorageVol* _tmp131_;
	GVirStorageVolInfo* volume_info;
	BoxesLibvirtMachine* _tmp132_;
	BoxesLibvirtMachine* _tmp133_;
	GVirStorageVol* _tmp134_;
	GVirStorageVol* _tmp135_;
	GVirStorageVolInfo* _tmp136_;
	gchar* capacity;
	GVirStorageVolInfo* _tmp137_;
	guint64 _tmp138_;
	gchar* _tmp139_;
	BoxesWizardSummary* _tmp140_;
	const gchar* _tmp141_;
	gchar* _tmp142_;
	gchar* _tmp143_;
	GError* _vala4__error_;
	BoxesLibvirtMachine* _tmp144_;
	BoxesLibvirtMachine* _tmp145_;
	GVirStorageVol* _tmp146_;
	GVirStorageVol* _tmp147_;
	const gchar* _tmp148_;
	GError* _tmp149_;
	const gchar* _tmp150_;
	GtkInfoBar* _tmp151_;
	BoxesLibvirtMachine* _tmp152_;
	BoxesLibvirtMachine* _tmp153_;
	GVirConfigDomain* _tmp154_;
	GVirConfigDomain* _tmp155_;
	BoxesWizardSource* _tmp156_;
	gboolean _tmp157_;
	GtkLabel* _tmp158_;
	BoxesWizardSource* _tmp159_;
	BoxesLibvirtSystemImporter* _tmp160_;
	BoxesLibvirtSystemImporter* _tmp161_;
	gchar* _tmp162_;
	gchar* _tmp163_;
	gchar* _tmp164_;
	BoxesLibvirtMachine* _tmp165_;
	BoxesLibvirtMachine* _tmp166_;
	BoxesWizardSummary* _tmp167_;
	GError * _inner_error_;
};

struct _BoxesWizardDownloadMediaData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	BoxesWizard* self;
	gchar* uri;
	gchar* filename;
	BoxesActivityProgress* progress;
	BoxesActivityProgress* download_progress;
	BoxesActivityProgress* _tmp0_;
	GtkLabel* _tmp1_;
	gchar* cache_path;
	BoxesActivityProgress* _tmp2_;
	GCancellable* _tmp3_;
	gchar* _tmp4_;
	const gchar* _tmp5_;
	GError* e;
	GError* _vala1_e;
	GError* _tmp6_;
	const gchar* _tmp7_;
	BoxesAppWindow* _tmp8_;
	BoxesNotificationbar* _tmp9_;
	BoxesNotificationbar* _tmp10_;
	BoxesNotification* _tmp11_;
	BoxesNotification* _tmp12_;
	GError * _inner_error_;
};

struct _BoxesWizardWindow {
	GtkWindow parent_instance;
	BoxesWizardWindowPrivate * priv;
	GtkStack* view;
	BoxesWizard* wizard;
	GtkGrid* customization_grid;
	GtkFileChooserWidget* file_chooser;
	BoxesWizardToolbar* topbar;
	BoxesNotificationbar* notificationbar;
};

struct _BoxesWizardWindowClass {
	GtkWindowClass parent_class;
};

struct _BoxesWizardToolbar {
	GtkStack parent_instance;
	BoxesWizardToolbarPrivate * priv;
	GtkButton* cancel_btn;
	GtkButton* back_btn;
	GtkButton* continue_btn;
	GtkButton* create_btn;
	GtkSearchEntry* downloads_search;
};

struct _BoxesWizardToolbarClass {
	GtkStackClass parent_class;
};

struct _BoxesWizardSummary {
	GtkGrid parent_instance;
	BoxesWizardSummaryPrivate * priv;
};

struct _BoxesWizardSummaryClass {
	GtkGridClass parent_class;
};

struct _BoxesWizardSummaryPrivate {
	gint current_row;
};

struct _Block102Data {
	int _ref_count_;
	BoxesWizardSummary* self;
	BoxesWizardSummaryCustomizeFunc customize_func;
	gpointer customize_func_target;
};


static gpointer boxes_wizard_parent_class = NULL;
extern BoxesApp* boxes_app_app;
static BoxesUIIface * boxes_wizard_boxes_ui_parent_iface = NULL;
static gpointer boxes_wizard_summary_parent_class = NULL;

GType boxes_wizard_page_get_type (void) G_GNUC_CONST;
GType boxes_ui_state_get_type (void) G_GNUC_CONST;
GType boxes_ui_get_type (void) G_GNUC_CONST;
GType boxes_wizard_get_type (void) G_GNUC_CONST;
GType boxes_wizard_source_get_type (void) G_GNUC_CONST;
GType boxes_wizard_summary_get_type (void) G_GNUC_CONST;
GType boxes_app_window_get_type (void) G_GNUC_CONST;
GType boxes_wizard_window_get_type (void) G_GNUC_CONST;
GType boxes_media_manager_get_type (void) G_GNUC_CONST;
gpointer boxes_vm_creator_ref (gpointer instance);
void boxes_vm_creator_unref (gpointer instance);
GParamSpec* boxes_param_spec_vm_creator (const gchar* name,
                                         const gchar* nick,
                                         const gchar* blurb,
                                         GType object_type,
                                         GParamFlags flags);
void boxes_value_set_vm_creator (GValue* value,
                                 gpointer v_object);
void boxes_value_take_vm_creator (GValue* value,
                                  gpointer v_object);
gpointer boxes_value_get_vm_creator (const GValue* value);
GType boxes_vm_creator_get_type (void) G_GNUC_CONST;
GType boxes_collection_item_get_type (void) G_GNUC_CONST;
GType boxes_machine_get_type (void) G_GNUC_CONST;
#define BOXES_WIZARD_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_WIZARD, BoxesWizardPrivate))
#define BOXES_WIZARD_DOWNLOAD_PROGRESS_SCALE 0.95
#define BOXES_WIZARD_PREPARE_PROGRESS_SCALE 0.05
static BoxesActivityProgress* boxes_wizard_create_preparation_progress (BoxesWizard* self);
static Block98Data* block98_data_ref (Block98Data* _data98_);
static void block98_data_unref (void * _userdata_);
static void __lambda164_ (Block98Data* _data98_);
static void ___lambda164__g_object_notify (GObject* _sender,
                                    GParamSpec* pspec,
                                    gpointer self);
static void boxes_wizard_wizard_source_update_buttons (BoxesWizard* self);
static void boxes_wizard_update_back_button_sensitivity (BoxesWizard* self);
BoxesWizardPage boxes_wizard_get_page (BoxesWizard* self);
GType boxes_source_page_get_type (void) G_GNUC_CONST;
BoxesSourcePage boxes_wizard_source_get_page (BoxesWizardSource* self);
GtkWidget* boxes_wizard_source_get_selected (BoxesWizardSource* self);
const gchar* boxes_wizard_source_get_uri (BoxesWizardSource* self);
static void boxes_wizard_prepare_for_location (BoxesWizard* self,
                                        const gchar* location,
                                        const gchar* filename,
                                        gboolean probing,
                                        BoxesActivityProgress* progress,
                                        GError** error);
void boxes_wizard_cleanup (BoxesWizard* self);
static void boxes_wizard_destroy_machine (BoxesWizard* self);
void boxes_wizard_source_cleanup (BoxesWizardSource* self);
static void boxes_wizard_review_data_free (gpointer _data);
void boxes_wizard_review (BoxesWizard* self,
                          GAsyncReadyCallback _callback_,
                          gpointer _user_data_);
gboolean boxes_wizard_review_finish (BoxesWizard* self,
                                     GAsyncResult* _res_);
static gboolean boxes_wizard_review_co (BoxesWizardReviewData* _data_);
static void boxes_wizard_do_review_cancellable (BoxesWizard* self,
                                         GAsyncReadyCallback _callback_,
                                         gpointer _user_data_);
static gboolean boxes_wizard_do_review_cancellable_finish (BoxesWizard* self,
                                                    GAsyncResult* _res_);
static void boxes_wizard_review_ready (GObject* source_object,
                                GAsyncResult* _res_,
                                gpointer _user_data_);
static void boxes_wizard_create_data_free (gpointer _data);
static void boxes_wizard_create (BoxesWizard* self,
                          GAsyncReadyCallback _callback_,
                          gpointer _user_data_);
static gboolean boxes_wizard_create_finish (BoxesWizard* self,
                                     GAsyncResult* _res_);
static gboolean boxes_wizard_create_co (BoxesWizardCreateData* _data_);
static Block99Data* block99_data_ref (Block99Data* _data99_);
static void block99_data_unref (void * _userdata_);
GType boxes_libvirt_machine_get_type (void) G_GNUC_CONST;
static BoxesLibvirtMachine* boxes_wizard_get_libvirt_machine (BoxesWizard* self);
static void ____lambda168_ (Block99Data* _data99_);
static void _____lambda168__g_object_notify (GObject* _sender,
                                      GParamSpec* pspec,
                                      gpointer self);
void boxes_vm_creator_launch_vm (BoxesVMCreator* self,
                                 BoxesLibvirtMachine* machine,
                                 gint64 access_last_time,
                                 GError** error);
GType boxes_installer_media_get_type (void) G_GNUC_CONST;
BoxesInstallerMedia* boxes_vm_creator_get_install_media (BoxesVMCreator* self);
void boxes_installer_media_clean_up_preparation_cache (BoxesInstallerMedia* self);
void boxes_wizard_source_set_uri (BoxesWizardSource* self,
                                  const gchar* value);
GType boxes_app_get_type (void) G_GNUC_CONST;
void boxes_app_add_collection_source (BoxesApp* self,
                                      BoxesCollectionSource* source,
                                      GAsyncReadyCallback _callback_,
                                      gpointer _user_data_);
void boxes_app_add_collection_source_finish (BoxesApp* self,
                                             GAsyncResult* _res_,
                                             GError** error);
BoxesMachine* boxes_wizard_get_machine (BoxesWizard* self);
GType boxes_remote_machine_get_type (void) G_GNUC_CONST;
GType boxes_libvirt_system_importer_get_type (void) G_GNUC_CONST;
BoxesLibvirtSystemImporter* boxes_wizard_source_get_libvirt_sys_importer (BoxesWizardSource* self);
void boxes_libvirt_system_importer_import (BoxesLibvirtSystemImporter* self,
                                           GAsyncReadyCallback _callback_,
                                           gpointer _user_data_);
void boxes_libvirt_system_importer_import_finish (BoxesLibvirtSystemImporter* self,
                                                  GAsyncResult* _res_);
void boxes_wizard_set_machine (BoxesWizard* self,
                               BoxesMachine* value);
static void boxes_wizard_prepare_for_installer (BoxesWizard* self,
                                         const gchar* path,
                                         BoxesActivityProgress* progress,
                                         GError** error);
static const gchar** _vala_array_dup7 (const gchar** self,
                                int length);
static void _vala_array_add24 (const gchar** * array,
                        int* length,
                        int* size,
                        const gchar* value);
static void boxes_wizard_prepare_for_uri (BoxesWizard* self,
                                   const gchar* uri_as_text,
                                   const gchar* filename,
                                   GError** error);
gboolean boxes_wizard_source_get_download_required (BoxesWizardSource* self);
void spice_validate_uri (const gchar* uri_as_text,
                         gint** port,
                         gint** tls_port,
                         GError** error);
gboolean boxes_app_has_broker_for_source_type (BoxesApp* self,
                                               const gchar* type);
static Block100Data* block100_data_ref (Block100Data* _data100_);
static void block100_data_unref (void * _userdata_);
void boxes_media_manager_create_installer_media_for_path (BoxesMediaManager* self,
                                                          const gchar* path,
                                                          GCancellable* cancellable,
                                                          GAsyncReadyCallback _callback_,
                                                          gpointer _user_data_);
BoxesInstallerMedia* boxes_media_manager_create_installer_media_for_path_finish (BoxesMediaManager* self,
                                                                                 GAsyncResult* _res_,
                                                                                 GError** error);
static void __lambda165_ (Block100Data* _data100_,
                   GObject* obj,
                   GAsyncResult* res);
static void boxes_wizard_on_installer_media_instantiated (BoxesWizard* self,
                                                   GAsyncResult* _result_,
                                                   BoxesActivityProgress* progress);
static void ___lambda165__gasync_ready_callback (GObject* source_object,
                                          GAsyncResult* res,
                                          gpointer self);
static void boxes_wizard_prepare_media (BoxesWizard* self,
                                 BoxesInstallerMedia* install_media,
                                 BoxesActivityProgress* progress,
                                 GAsyncReadyCallback _callback_,
                                 gpointer _user_data_);
static void boxes_wizard_prepare_media_finish (BoxesWizard* self,
                                        GAsyncResult* _res_);
GType boxes_notificationbar_get_type (void) G_GNUC_CONST;
BoxesNotificationbar* boxes_app_window_get_notificationbar (BoxesAppWindow* self);
GType boxes_notification_get_type (void) G_GNUC_CONST;
BoxesNotification* boxes_notificationbar_display_error (BoxesNotificationbar* self,
                                                        const gchar* message,
                                                        gint timeout);
#define BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT 6
void boxes_wizard_set_page (BoxesWizard* self,
                            BoxesWizardPage value);
static void boxes_wizard_prepare_media_data_free (gpointer _data);
static gboolean boxes_wizard_prepare_media_co (BoxesWizardPrepareMediaData* _data_);
void boxes_downloader_fetch_os_logo (GtkImage* image,
                                     OsinfoOs* os,
                                     gint size,
                                     GAsyncReadyCallback _callback_,
                                     gpointer _user_data_);
void boxes_downloader_fetch_os_logo_finish (GAsyncResult* _res_);
void boxes_installer_media_prepare (BoxesInstallerMedia* self,
                                    BoxesActivityProgress* progress,
                                    GCancellable* cancellable,
                                    GAsyncReadyCallback _callback_,
                                    gpointer _user_data_);
gboolean boxes_installer_media_prepare_finish (BoxesInstallerMedia* self,
                                               GAsyncResult* _res_);
static void boxes_wizard_prepare_media_ready (GObject* source_object,
                                       GAsyncResult* _res_,
                                       gpointer _user_data_);
BoxesVMCreator* boxes_installer_media_get_vm_creator (BoxesInstallerMedia* self);
static gboolean boxes_wizard_prepare (BoxesWizard* self,
                               BoxesActivityProgress* progress);
const gchar* boxes_wizard_source_get_filename (BoxesWizardSource* self);
static void boxes_wizard_download_media (BoxesWizard* self,
                                  const gchar* uri,
                                  const gchar* filename,
                                  BoxesActivityProgress* progress,
                                  GAsyncReadyCallback _callback_,
                                  gpointer _user_data_);
static void boxes_wizard_download_media_finish (BoxesWizard* self,
                                         GAsyncResult* _res_);
OsinfoOs* boxes_wizard_source_get_os_from_uri (BoxesWizardSource* self,
                                               const gchar* uri);
BoxesInstallerMedia* boxes_wizard_source_get_install_media (BoxesWizardSource* self);
static gboolean boxes_wizard_setup (BoxesWizard* self);
void boxes_installer_media_populate_setup_box (BoxesInstallerMedia* self,
                                               GtkBox* setup_box);
static void __lambda166_ (BoxesWizard* self);
gboolean boxes_installer_media_get_ready_to_create (BoxesInstallerMedia* self);
static void ___lambda166__boxes_installer_media_user_wants_to_create (BoxesInstallerMedia* _sender,
                                                               gpointer self);
static void boxes_wizard_do_review_cancellable_data_free (gpointer _data);
static gboolean boxes_wizard_do_review_cancellable_co (BoxesWizardDoReviewCancellableData* _data_);
void boxes_wizard_summary_clear (BoxesWizardSummary* self);
BoxesRemoteMachine* boxes_remote_machine_new (BoxesCollectionSource* source,
                                              GError** error);
BoxesRemoteMachine* boxes_remote_machine_construct (GType object_type,
                                                    BoxesCollectionSource* source,
                                                    GError** error);
void boxes_vm_creator_create_vm (BoxesVMCreator* self,
                                 GCancellable* cancellable,
                                 GAsyncReadyCallback _callback_,
                                 gpointer _user_data_);
BoxesLibvirtMachine* boxes_vm_creator_create_vm_finish (BoxesVMCreator* self,
                                                        GAsyncResult* _res_,
                                                        GError** error);
static void boxes_wizard_do_review_cancellable_ready (GObject* source_object,
                                               GAsyncResult* _res_,
                                               gpointer _user_data_);
void boxes_wizard_summary_add_property (BoxesWizardSummary* self,
                                        const gchar* name,
                                        const gchar* value);
GList* boxes_installer_media_get_vm_properties (BoxesInstallerMedia* self);
static void _boxes_pair_unref0_ (gpointer var);
static inline void _g_list_free__boxes_pair_unref0_ (GList* self);
static Block101Data* block101_data_ref (Block101Data* _data101_);
static void block101_data_unref (void * _userdata_);
GType boxes_collection_get_type (void) G_GNUC_CONST;
static void _____lambda116_ (Block101Data* _data101_,
                      GError** error);
GVirDomain* boxes_libvirt_machine_get_domain (BoxesLibvirtMachine* self);
static void ______lambda116__boxes_async_launcher_run_in_thread_func (gpointer self,
                                                               GError** error);
const gchar* boxes_collection_item_get_name (BoxesCollectionItem* self);
gboolean boxes_libvirt_machine_get_importing (BoxesLibvirtMachine* self);
GVirStorageVol* boxes_libvirt_machine_get_storage_volume (BoxesLibvirtMachine* self);
static void _vala_GVirStorageVolInfo_free (GVirStorageVolInfo* self);
GVirConfigDomain* boxes_libvirt_machine_get_domain_config (BoxesLibvirtMachine* self);
gchar* boxes_libvirt_system_importer_get_wizard_review_label (BoxesLibvirtSystemImporter* self);
void boxes_wizard_summary_append_customize_button (BoxesWizardSummary* self,
                                                   BoxesWizardSummaryCustomizeFunc customize_func,
                                                   void* customize_func_target);
static void ___lambda117_ (BoxesWizard* self);
void boxes_wizard_window_show_customization_page (BoxesWizardWindow* self,
                                                  BoxesLibvirtMachine* machine);
static void ____lambda117__boxes_wizard_summary_customize_func (gpointer self);
static gboolean boxes_wizard_skip_page (BoxesWizard* self,
                                 BoxesWizardPage page);
gboolean boxes_installer_media_get_need_user_input_for_vm_creation (BoxesInstallerMedia* self);
gboolean boxes_installer_media_get_live (BoxesInstallerMedia* self);
static void boxes_wizard_download_media_data_free (gpointer _data);
static gboolean boxes_wizard_download_media_co (BoxesWizardDownloadMediaData* _data_);
void boxes_downloader_fetch_media (const gchar* uri,
                                   const gchar* filename,
                                   BoxesActivityProgress* progress,
                                   GCancellable* cancellable,
                                   GAsyncReadyCallback _callback_,
                                   gpointer _user_data_);
gchar* boxes_downloader_fetch_media_finish (GAsyncResult* _res_,
                                            GError** error);
static void boxes_wizard_download_media_ready (GObject* source_object,
                                        GAsyncResult* _res_,
                                        gpointer _user_data_);
static void boxes_wizard_prepare_downloaded_media (BoxesWizard* self,
                                            const gchar* cache_path,
                                            BoxesActivityProgress* progress);
void boxes_wizard_setup_ui (BoxesWizard* self,
                            BoxesAppWindow* window,
                            BoxesWizardWindow* wizard_window);
GType boxes_wizard_toolbar_get_type (void) G_GNUC_CONST;
void boxes_wizard_cancel (BoxesWizard* self);
static void _boxes_wizard_cancel_gtk_button_clicked (GtkButton* _sender,
                                              gpointer self);
static void __lambda170_ (BoxesWizard* self);
void boxes_wizard_source_set_page (BoxesWizardSource* self,
                                   BoxesSourcePage value);
static void ___lambda170__gtk_button_clicked (GtkButton* _sender,
                                       gpointer self);
static void __lambda171_ (BoxesWizard* self);
static void ___lambda171__gtk_button_clicked (GtkButton* _sender,
                                       gpointer self);
static void __lambda172_ (BoxesWizard* self);
static void ___lambda172__gtk_button_clicked (GtkButton* _sender,
                                       gpointer self);
void boxes_wizard_source_setup_ui (BoxesWizardSource* self,
                                   BoxesAppWindow* window);
void boxes_wizard_open_with_uri (BoxesWizard* self,
                                 const gchar* uri,
                                 gboolean skip_review_for_live);
void boxes_ui_set_state (BoxesUI* self,
                         BoxesUIState new_state);
static void boxes_wizard_ui_state_changed (BoxesWizard* self);
BoxesUIState boxes_ui_get_ui_state (BoxesUI* self);
void boxes_app_delete_machine (BoxesApp* self,
                               BoxesMachine* machine,
                               gboolean by_user);
BoxesWizard* boxes_wizard_new (void);
BoxesWizard* boxes_wizard_construct (GType object_type);
static void _boxes_wizard_page_____lambda167_ (BoxesWizard* self,
                                        GObject* obj,
                                        GAsyncResult* _result_);
static void __boxes_wizard_page_____lambda167__gasync_ready_callback (GObject* source_object,
                                                               GAsyncResult* res,
                                                               gpointer self);
static void _boxes_wizard_page_____lambda169_ (BoxesWizard* self,
                                        GObject* obj,
                                        GAsyncResult* _result_);
void boxes_app_window_connect_to (BoxesAppWindow* self,
                                  BoxesMachine* machine);
static void __boxes_wizard_page_____lambda169__gasync_ready_callback (GObject* source_object,
                                                               GAsyncResult* res,
                                                               gpointer self);
void boxes_wizard_toolbar_set_title_for_page (BoxesWizardToolbar* self,
                                              BoxesWizardPage page);
static GObject * boxes_wizard_constructor (GType type,
                                    guint n_construct_properties,
                                    GObjectConstructParam * construct_properties);
BoxesMediaManager* boxes_media_manager_get_instance (void);
static void _boxes_wizard_wizard_source_update_buttons_g_object_notify (GObject* _sender,
                                                                 GParamSpec* pspec,
                                                                 gpointer self);
static void _boxes_wizard_wizard_source_update_buttons_gtk_editable_changed (GtkEditable* _sender,
                                                                      gpointer self);
static void _boxes_wizard_ui_state_changed_g_object_notify (GObject* _sender,
                                                     GParamSpec* pspec,
                                                     gpointer self);
static void _boxes_wizard___lambda173_ (BoxesWizard* self);
static void __boxes_wizard___lambda173__boxes_wizard_source_activated (BoxesWizardSource* _sender,
                                                                gpointer self);
static void boxes_wizard_finalize (GObject * obj);
BoxesUIState boxes_ui_get_previous_ui_state (BoxesUI* self);
static void _vala_boxes_wizard_get_property (GObject * object,
                                      guint property_id,
                                      GValue * value,
                                      GParamSpec * pspec);
void boxes_ui_set_previous_ui_state (BoxesUI* self,
                                     BoxesUIState value);
void boxes_ui_set_ui_state (BoxesUI* self,
                            BoxesUIState value);
static void _vala_boxes_wizard_set_property (GObject * object,
                                      guint property_id,
                                      const GValue * value,
                                      GParamSpec * pspec);
#define BOXES_WIZARD_SUMMARY_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_WIZARD_SUMMARY, BoxesWizardSummaryPrivate))
static Block102Data* block102_data_ref (Block102Data* _data102_);
static void block102_data_unref (void * _userdata_);
static void __lambda76_ (Block102Data* _data102_);
static void ___lambda76__gtk_button_clicked (GtkButton* _sender,
                                      gpointer self);
BoxesWizardSummary* boxes_wizard_summary_new (void);
BoxesWizardSummary* boxes_wizard_summary_construct (GType object_type);
static GObject * boxes_wizard_summary_constructor (GType type,
                                            guint n_construct_properties,
                                            GObjectConstructParam * construct_properties);
static void boxes_wizard_summary_finalize (GObject * obj);

static const gchar* BOXES_WIZARD_page_names[4] = {"source", "preparation", "setup", "review"};
extern const gchar* BOXES_INSTALLED_MEDIA_supported_extensions[16];

GType
boxes_wizard_page_get_type (void)
{
	static volatile gsize boxes_wizard_page_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_wizard_page_type_id__volatile)) {
		static const GEnumValue values[] = {{BOXES_WIZARD_PAGE_SOURCE, "BOXES_WIZARD_PAGE_SOURCE", "source"}, {BOXES_WIZARD_PAGE_PREPARATION, "BOXES_WIZARD_PAGE_PREPARATION", "preparation"}, {BOXES_WIZARD_PAGE_SETUP, "BOXES_WIZARD_PAGE_SETUP", "setup"}, {BOXES_WIZARD_PAGE_REVIEW, "BOXES_WIZARD_PAGE_REVIEW", "review"}, {BOXES_WIZARD_PAGE_LAST, "BOXES_WIZARD_PAGE_LAST", "last"}, {0, NULL, NULL}};
		GType boxes_wizard_page_type_id;
		boxes_wizard_page_type_id = g_enum_register_static ("BoxesWizardPage", values);
		g_once_init_leave (&boxes_wizard_page_type_id__volatile, boxes_wizard_page_type_id);
	}
	return boxes_wizard_page_type_id__volatile;
}


static Block98Data*
block98_data_ref (Block98Data* _data98_)
{
#line 158 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_atomic_int_inc (&_data98_->_ref_count_);
#line 158 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return _data98_;
#line 1161 "wizard.c"
}


static void
block98_data_unref (void * _userdata_)
{
	Block98Data* _data98_;
	_data98_ = (Block98Data*) _userdata_;
#line 158 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (g_atomic_int_dec_and_test (&_data98_->_ref_count_)) {
#line 1172 "wizard.c"
		BoxesWizard* self;
#line 158 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		self = _data98_->self;
#line 158 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_object_unref0 (_data98_->progress);
#line 158 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_object_unref0 (self);
#line 158 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_slice_free (Block98Data, _data98_);
#line 1182 "wizard.c"
	}
}


static void
__lambda164_ (Block98Data* _data98_)
{
	BoxesWizard* self;
	gdouble _tmp0_;
	gdouble _tmp1_;
	GtkProgressBar* _tmp2_;
	gdouble _tmp3_;
	gdouble _tmp4_;
#line 160 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self = _data98_->self;
#line 161 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = boxes_activity_progress_get_progress (_data98_->progress);
#line 161 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp1_ = _tmp0_;
#line 161 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp2_ = self->priv->prep_progress;
#line 161 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp3_ = gtk_progress_bar_get_fraction (_tmp2_);
#line 161 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp4_ = _tmp3_;
#line 161 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if ((_tmp1_ - _tmp4_) >= 0.01) {
#line 1210 "wizard.c"
		GtkProgressBar* _tmp5_;
		gdouble _tmp6_;
		gdouble _tmp7_;
#line 162 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp5_ = self->priv->prep_progress;
#line 162 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp6_ = boxes_activity_progress_get_progress (_data98_->progress);
#line 162 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp7_ = _tmp6_;
#line 162 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		gtk_progress_bar_set_fraction (_tmp5_, _tmp7_);
#line 1222 "wizard.c"
	}
}


static void
___lambda164__g_object_notify (GObject* _sender,
                               GParamSpec* pspec,
                               gpointer self)
{
#line 160 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	__lambda164_ (self);
#line 1234 "wizard.c"
}


static gpointer
_g_object_ref0 (gpointer self)
{
#line 166 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return self ? g_object_ref (self) : NULL;
#line 1243 "wizard.c"
}


static BoxesActivityProgress*
boxes_wizard_create_preparation_progress (BoxesWizard* self)
{
	BoxesActivityProgress* result = NULL;
	Block98Data* _data98_;
	BoxesActivityProgress* _tmp0_;
	GtkProgressBar* _tmp1_;
	BoxesActivityProgress* _tmp2_;
#line 158 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 158 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data98_ = g_slice_new0 (Block98Data);
#line 158 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data98_->_ref_count_ = 1;
#line 158 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data98_->self = g_object_ref (self);
#line 159 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = boxes_activity_progress_new ();
#line 159 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data98_->progress = _tmp0_;
#line 160 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_signal_connect_data ((GObject*) _data98_->progress, "notify::progress", (GCallback) ___lambda164__g_object_notify, block98_data_ref (_data98_), (GClosureNotify) block98_data_unref, 0);
#line 164 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp1_ = self->priv->prep_progress;
#line 164 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_activity_progress_set_progress (_data98_->progress, (gdouble) 0);
#line 164 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_progress_bar_set_fraction (_tmp1_, (gdouble) 0);
#line 166 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp2_ = _g_object_ref0 (_data98_->progress);
#line 166 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	result = _tmp2_;
#line 166 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	block98_data_unref (_data98_);
#line 166 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data98_ = NULL;
#line 166 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return result;
#line 1285 "wizard.c"
}


static void
boxes_wizard_wizard_source_update_buttons (BoxesWizard* self)
{
	BoxesWizardPage _tmp0_;
	BoxesWizardPage _tmp1_;
	GtkButton* _tmp2_;
	BoxesWizardSource* _tmp3_;
	BoxesSourcePage _tmp4_;
	BoxesSourcePage _tmp5_;
	GError * _inner_error_ = NULL;
#line 169 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (self != NULL);
#line 170 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_update_back_button_sensitivity (self);
#line 171 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = boxes_wizard_get_page (self);
#line 171 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp1_ = _tmp0_;
#line 171 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_tmp1_ != BOXES_WIZARD_PAGE_SOURCE) {
#line 172 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		return;
#line 1311 "wizard.c"
	}
#line 174 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp2_ = self->priv->next_button;
#line 174 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp2_, FALSE);
#line 176 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp3_ = self->priv->wizard_source;
#line 176 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp4_ = boxes_wizard_source_get_page (_tmp3_);
#line 176 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp5_ = _tmp4_;
#line 176 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	switch (_tmp5_) {
#line 176 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		case BOXES_SOURCE_PAGE_MAIN:
#line 1327 "wizard.c"
		{
			GtkButton* _tmp6_;
			BoxesWizardSource* _tmp7_;
			GtkWidget* _tmp8_;
			GtkWidget* _tmp9_;
#line 178 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp6_ = self->priv->next_button;
#line 178 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp7_ = self->priv->wizard_source;
#line 178 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp8_ = boxes_wizard_source_get_selected (_tmp7_);
#line 178 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp9_ = _tmp8_;
#line 178 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			gtk_widget_set_sensitive ((GtkWidget*) _tmp6_, _tmp9_ != NULL);
#line 179 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_g_object_unref0 (self->priv->source);
#line 179 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			self->priv->source = NULL;
#line 180 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			break;
#line 1349 "wizard.c"
		}
#line 176 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		case BOXES_SOURCE_PAGE_RHEL_WEB_VIEW:
#line 1353 "wizard.c"
		{
			GtkButton* _tmp10_;
#line 183 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp10_ = self->priv->next_button;
#line 183 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			gtk_widget_set_sensitive ((GtkWidget*) _tmp10_, FALSE);
#line 184 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			break;
#line 1362 "wizard.c"
		}
#line 176 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		case BOXES_SOURCE_PAGE_DOWNLOADS:
#line 1366 "wizard.c"
		{
			GtkButton* _tmp11_;
#line 187 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp11_ = self->priv->next_button;
#line 187 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			gtk_widget_set_sensitive ((GtkWidget*) _tmp11_, FALSE);
#line 188 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			break;
#line 1375 "wizard.c"
		}
#line 176 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		case BOXES_SOURCE_PAGE_URL:
#line 1379 "wizard.c"
		{
			GtkButton* _tmp12_;
			BoxesWizardSource* _tmp13_;
			const gchar* _tmp14_;
			const gchar* _tmp15_;
			gint _tmp16_;
			gint _tmp17_;
#line 191 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp12_ = self->priv->next_button;
#line 191 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			gtk_widget_set_sensitive ((GtkWidget*) _tmp12_, FALSE);
#line 192 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp13_ = self->priv->wizard_source;
#line 192 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp14_ = boxes_wizard_source_get_uri (_tmp13_);
#line 192 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp15_ = _tmp14_;
#line 192 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp16_ = strlen (_tmp15_);
#line 192 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp17_ = _tmp16_;
#line 192 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			if (_tmp17_ == 0) {
#line 193 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				return;
#line 1405 "wizard.c"
			}
			{
				BoxesWizardSource* _tmp18_;
				const gchar* _tmp19_;
				const gchar* _tmp20_;
				GtkButton* _tmp21_;
#line 196 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp18_ = self->priv->wizard_source;
#line 196 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp19_ = boxes_wizard_source_get_uri (_tmp18_);
#line 196 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp20_ = _tmp19_;
#line 196 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				boxes_wizard_prepare_for_location (self, _tmp20_, NULL, TRUE, NULL, &_inner_error_);
#line 196 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1422 "wizard.c"
					goto __catch141_g_error;
				}
#line 198 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp21_ = self->priv->next_button;
#line 198 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				gtk_widget_set_sensitive ((GtkWidget*) _tmp21_, TRUE);
#line 1429 "wizard.c"
			}
			goto __finally141;
			__catch141_g_error:
			{
				GError* _error_ = NULL;
#line 195 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_error_ = _inner_error_;
#line 195 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_inner_error_ = NULL;
#line 195 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_g_error_free0 (_error_);
#line 1441 "wizard.c"
			}
			__finally141:
#line 195 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 195 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 195 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_clear_error (&_inner_error_);
#line 195 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				return;
#line 1452 "wizard.c"
			}
#line 203 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			break;
#line 1456 "wizard.c"
		}
		default:
		{
#line 206 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			g_warn_if_reached ();
#line 207 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			break;
#line 1464 "wizard.c"
		}
	}
}


static void
boxes_wizard_update_back_button_sensitivity (BoxesWizard* self)
{
	gboolean _tmp0_ = FALSE;
	BoxesWizardPage _tmp1_;
	BoxesWizardPage _tmp2_;
	gboolean disable_back_button = FALSE;
	GtkButton* _tmp10_;
#line 211 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (self != NULL);
#line 212 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp1_ = boxes_wizard_get_page (self);
#line 212 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp2_ = _tmp1_;
#line 212 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_tmp2_ == BOXES_WIZARD_PAGE_SOURCE) {
#line 1486 "wizard.c"
		gboolean _tmp3_ = FALSE;
		BoxesWizardSource* _tmp4_;
		BoxesSourcePage _tmp5_;
		BoxesSourcePage _tmp6_;
#line 213 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp4_ = self->priv->wizard_source;
#line 213 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp5_ = boxes_wizard_source_get_page (_tmp4_);
#line 213 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp6_ = _tmp5_;
#line 213 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (_tmp6_ == BOXES_SOURCE_PAGE_MAIN) {
#line 213 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp3_ = TRUE;
#line 1501 "wizard.c"
		} else {
			BoxesWizardSource* _tmp7_;
			BoxesSourcePage _tmp8_;
			BoxesSourcePage _tmp9_;
#line 213 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp7_ = self->priv->wizard_source;
#line 213 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp8_ = boxes_wizard_source_get_page (_tmp7_);
#line 213 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp9_ = _tmp8_;
#line 213 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp3_ = _tmp9_ == BOXES_SOURCE_PAGE_URL;
#line 1514 "wizard.c"
		}
#line 213 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp0_ = _tmp3_;
#line 1518 "wizard.c"
	} else {
#line 212 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp0_ = FALSE;
#line 1522 "wizard.c"
	}
#line 212 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	disable_back_button = _tmp0_;
#line 214 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp10_ = self->priv->back_button;
#line 214 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp10_, !disable_back_button);
#line 1530 "wizard.c"
}


void
boxes_wizard_cleanup (BoxesWizard* self)
{
	GCancellable* _tmp0_;
	BoxesWizardSource* _tmp1_;
#line 229 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (self != NULL);
#line 230 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = self->priv->prepare_cancellable;
#line 230 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_cancellable_cancel (_tmp0_);
#line 232 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_destroy_machine (self);
#line 233 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_boxes_vm_creator_unref0 (self->priv->vm_creator);
#line 233 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self->priv->vm_creator = NULL;
#line 234 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (self->priv->source);
#line 234 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self->priv->source = NULL;
#line 235 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp1_ = self->priv->wizard_source;
#line 235 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_source_cleanup (_tmp1_);
#line 1559 "wizard.c"
}


static void
boxes_wizard_review_data_free (gpointer _data)
{
	BoxesWizardReviewData* _data_;
	_data_ = _data;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (_data_->self);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_slice_free (BoxesWizardReviewData, _data_);
#line 1572 "wizard.c"
}


void
boxes_wizard_review (BoxesWizard* self,
                     GAsyncReadyCallback _callback_,
                     gpointer _user_data_)
{
	BoxesWizardReviewData* _data_;
	BoxesWizard* _tmp0_;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_ = g_slice_new0 (BoxesWizardReviewData);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_task_set_task_data (_data_->_async_result, _data_, boxes_wizard_review_data_free);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->self = _tmp0_;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_review_co (_data_);
#line 1595 "wizard.c"
}


gboolean
boxes_wizard_review_finish (BoxesWizard* self,
                            GAsyncResult* _res_)
{
	gboolean result;
	BoxesWizardReviewData* _data_;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	result = _data_->result;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return result;
#line 1611 "wizard.c"
}


static void
boxes_wizard_review_ready (GObject* source_object,
                           GAsyncResult* _res_,
                           gpointer _user_data_)
{
	BoxesWizardReviewData* _data_;
#line 243 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_ = _user_data_;
#line 243 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_source_object_ = source_object;
#line 243 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_res_ = _res_;
#line 243 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_review_co (_data_);
#line 1629 "wizard.c"
}


static gboolean
boxes_wizard_review_co (BoxesWizardReviewData* _data_)
{
#line 238 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	switch (_data_->_state_) {
#line 238 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		case 0:
#line 1640 "wizard.c"
		goto _state_0;
#line 238 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		case 1:
#line 1644 "wizard.c"
		goto _state_1;
		default:
#line 238 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_assert_not_reached ();
#line 1649 "wizard.c"
	}
	_state_0:
#line 240 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_tmp0_ = _data_->self->priv->review_cancellable;
#line 240 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_val_if_fail (_data_->_tmp0_ == NULL, FALSE);
#line 242 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_tmp1_ = g_cancellable_new ();
#line 242 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (_data_->self->priv->review_cancellable);
#line 242 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->self->priv->review_cancellable = _data_->_tmp1_;
#line 243 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_state_ = 1;
#line 243 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_do_review_cancellable (_data_->self, boxes_wizard_review_ready, _data_);
#line 243 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return FALSE;
#line 1668 "wizard.c"
	_state_1:
#line 243 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_result_ = boxes_wizard_do_review_cancellable_finish (_data_->self, _data_->_res_);
#line 244 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (_data_->self->priv->review_cancellable);
#line 244 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->self->priv->review_cancellable = NULL;
#line 246 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->self->priv->skip_review_for_live = FALSE;
#line 247 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->result = _data_->_result_;
#line 247 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 247 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_data_->_state_ != 0) {
#line 247 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 247 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 1688 "wizard.c"
		}
	}
#line 247 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_object_unref (_data_->_async_result);
#line 247 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return FALSE;
#line 1695 "wizard.c"
}


static void
boxes_wizard_create_data_free (gpointer _data)
{
	BoxesWizardCreateData* _data_;
	_data_ = _data;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (_data_->self);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_slice_free (BoxesWizardCreateData, _data_);
#line 1708 "wizard.c"
}


static void
boxes_wizard_create (BoxesWizard* self,
                     GAsyncReadyCallback _callback_,
                     gpointer _user_data_)
{
	BoxesWizardCreateData* _data_;
	BoxesWizard* _tmp0_;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_ = g_slice_new0 (BoxesWizardCreateData);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_task_set_task_data (_data_->_async_result, _data_, boxes_wizard_create_data_free);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->self = _tmp0_;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_create_co (_data_);
#line 1731 "wizard.c"
}


static gboolean
boxes_wizard_create_finish (BoxesWizard* self,
                            GAsyncResult* _res_)
{
	gboolean result;
	BoxesWizardCreateData* _data_;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	result = _data_->result;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return result;
#line 1747 "wizard.c"
}


static Block99Data*
block99_data_ref (Block99Data* _data99_)
{
#line 250 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_atomic_int_inc (&_data99_->_ref_count_);
#line 250 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return _data99_;
#line 1758 "wizard.c"
}


static void
block99_data_unref (void * _userdata_)
{
	Block99Data* _data99_;
	_data99_ = (Block99Data*) _userdata_;
#line 250 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (g_atomic_int_dec_and_test (&_data99_->_ref_count_)) {
#line 1769 "wizard.c"
		BoxesWizard* self;
#line 250 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		self = _data99_->self;
#line 250 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_object_unref0 (self);
#line 250 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_slice_free (Block99Data, _data99_);
#line 1777 "wizard.c"
	}
}


static void
____lambda168_ (Block99Data* _data99_)
{
	BoxesWizard* self;
#line 255 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self = _data99_->self;
#line 256 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_create_co (_data99_->_async_data_);
#line 1790 "wizard.c"
}


static void
_____lambda168__g_object_notify (GObject* _sender,
                                 GParamSpec* pspec,
                                 gpointer self)
{
#line 255 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	____lambda168_ (self);
#line 1801 "wizard.c"
}


static gboolean
boxes_wizard_create_co (BoxesWizardCreateData* _data_)
{
#line 250 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	switch (_data_->_state_) {
#line 250 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		case 0:
#line 1812 "wizard.c"
		goto _state_0;
#line 250 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		case 1:
#line 1816 "wizard.c"
		goto _state_1;
		default:
#line 250 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_assert_not_reached ();
#line 1821 "wizard.c"
	}
	_state_0:
#line 250 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_data99_ = g_slice_new0 (Block99Data);
#line 250 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_data99_->_ref_count_ = 1;
#line 250 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_data99_->self = g_object_ref (_data_->self);
#line 250 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_data99_->_async_data_ = _data_;
#line 251 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_tmp0_ = _data_->self->priv->vm_creator;
#line 251 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_data_->_tmp0_ != NULL) {
#line 252 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp1_ = boxes_wizard_get_libvirt_machine (_data_->self);
#line 252 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp2_ = _data_->_tmp1_;
#line 252 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (_data_->_tmp2_ == NULL) {
#line 253 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp3_ = _data_->self->priv->review_cancellable;
#line 253 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			g_return_val_if_fail (_data_->_tmp3_ != NULL, FALSE);
#line 255 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp4_ = g_signal_connect_data ((GObject*) _data_->self, "notify::machine", (GCallback) _____lambda168__g_object_notify, block99_data_ref (_data_->_data99_), (GClosureNotify) block99_data_unref, 0);
#line 255 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->wait = _data_->_tmp4_;
#line 258 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_state_ = 1;
#line 258 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			return FALSE;
#line 1854 "wizard.c"
			_state_1:
			;
#line 259 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp5_ = _data_->wait;
#line 259 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			g_signal_handler_disconnect ((GObject*) _data_->self, _data_->_tmp5_);
#line 260 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp6_ = boxes_wizard_get_libvirt_machine (_data_->self);
#line 260 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp7_ = _data_->_tmp6_;
#line 260 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			if (_data_->_tmp7_ == NULL) {
#line 261 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->result = FALSE;
#line 261 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				block99_data_unref (_data_->_data99_);
#line 261 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_data99_ = NULL;
#line 261 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 261 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				if (_data_->_state_ != 0) {
#line 261 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 261 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 1881 "wizard.c"
					}
				}
#line 261 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_object_unref (_data_->_async_result);
#line 261 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				return FALSE;
#line 1888 "wizard.c"
			}
		}
#line 263 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp8_ = _data_->self->priv->next_button;
#line 263 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		gtk_widget_set_sensitive ((GtkWidget*) _data_->_tmp8_, FALSE);
#line 1895 "wizard.c"
		{
#line 265 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp9_ = _data_->self->priv->vm_creator;
#line 265 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp10_ = boxes_wizard_get_libvirt_machine (_data_->self);
#line 265 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp11_ = _data_->_tmp10_;
#line 265 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			boxes_vm_creator_launch_vm (_data_->_tmp9_, _data_->_tmp11_, (gint64) -1, &_data_->_inner_error_);
#line 265 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1907 "wizard.c"
				goto __catch142_g_error;
			}
		}
		goto __finally142;
		__catch142_g_error:
		{
#line 264 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_error_ = _data_->_inner_error_;
#line 264 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_inner_error_ = NULL;
#line 267 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp12_ = _data_->_error_;
#line 267 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp13_ = _data_->_tmp12_->message;
#line 267 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			g_warning ("wizard.vala:267: %s", _data_->_tmp13_);
#line 269 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->result = FALSE;
#line 269 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_g_error_free0 (_data_->_error_);
#line 269 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			block99_data_unref (_data_->_data99_);
#line 269 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_data99_ = NULL;
#line 269 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 269 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			if (_data_->_state_ != 0) {
#line 269 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 269 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 1940 "wizard.c"
				}
			}
#line 269 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			g_object_unref (_data_->_async_result);
#line 269 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			return FALSE;
#line 1947 "wizard.c"
		}
		__finally142:
#line 264 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 264 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			block99_data_unref (_data_->_data99_);
#line 264 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_data99_ = NULL;
#line 264 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 264 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			g_clear_error (&_data_->_inner_error_);
#line 264 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			g_object_unref (_data_->_async_result);
#line 264 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			return FALSE;
#line 1964 "wizard.c"
		}
#line 272 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp14_ = _data_->self->priv->vm_creator;
#line 272 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp15_ = boxes_vm_creator_get_install_media (_data_->_tmp14_);
#line 272 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp16_ = _data_->_tmp15_;
#line 272 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_installer_media_clean_up_preparation_cache (_data_->_tmp16_);
#line 273 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_boxes_vm_creator_unref0 (_data_->self->priv->vm_creator);
#line 273 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->self->priv->vm_creator = NULL;
#line 274 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp17_ = _data_->self->priv->wizard_source;
#line 274 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_wizard_source_set_uri (_data_->_tmp17_, "");
#line 275 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp18_ = _data_->self->priv->wizard_source;
#line 275 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp18_->libvirt_sys_import = FALSE;
#line 1986 "wizard.c"
	} else {
#line 276 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp19_ = _data_->self->priv->source;
#line 276 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (_data_->_tmp19_ != NULL) {
#line 277 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp20_ = _data_->self->priv->source;
#line 277 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			boxes_iconfig_save ((BoxesIConfig*) _data_->_tmp20_);
#line 278 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp21_ = boxes_app_app;
#line 278 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp22_ = _data_->self->priv->source;
#line 278 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			boxes_app_add_collection_source (_data_->_tmp21_, _data_->_tmp22_, NULL, NULL);
#line 280 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp23_ = _data_->self->priv->_machine;
#line 280 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			if (G_TYPE_CHECK_INSTANCE_TYPE (_data_->_tmp23_, BOXES_TYPE_REMOTE_MACHINE)) {
#line 281 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->result = TRUE;
#line 281 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				block99_data_unref (_data_->_data99_);
#line 281 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_data99_ = NULL;
#line 281 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 281 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				if (_data_->_state_ != 0) {
#line 281 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 281 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 2020 "wizard.c"
					}
				}
#line 281 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_object_unref (_data_->_async_result);
#line 281 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				return FALSE;
#line 2027 "wizard.c"
			}
		} else {
#line 283 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp24_ = _data_->self->priv->wizard_source;
#line 283 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp25_ = _data_->_tmp24_->libvirt_sys_import;
#line 283 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			if (_data_->_tmp25_) {
#line 284 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp26_ = _data_->self->priv->wizard_source;
#line 284 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp27_ = boxes_wizard_source_get_libvirt_sys_importer (_data_->_tmp26_);
#line 284 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp28_ = _data_->_tmp27_;
#line 284 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				boxes_libvirt_system_importer_import (_data_->_tmp28_, NULL, NULL);
#line 2044 "wizard.c"
			} else {
#line 286 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_return_val_if_reached (FALSE);
#line 2048 "wizard.c"
			}
		}
	}
#line 289 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_set_machine (_data_->self, NULL);
#line 290 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->result = TRUE;
#line 290 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	block99_data_unref (_data_->_data99_);
#line 290 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_data99_ = NULL;
#line 290 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 290 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_data_->_state_ != 0) {
#line 290 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 290 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 2068 "wizard.c"
		}
	}
#line 290 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_object_unref (_data_->_async_result);
#line 290 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return FALSE;
#line 2075 "wizard.c"
}


static gboolean
string_contains (const gchar* self,
                 const gchar* needle)
{
	gboolean result = FALSE;
	gchar* _tmp0_;
#line 1417 "/home/fborges/jhbuild/install/share/vala-0.40/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, FALSE);
#line 1417 "/home/fborges/jhbuild/install/share/vala-0.40/vapi/glib-2.0.vapi"
	g_return_val_if_fail (needle != NULL, FALSE);
#line 1418 "/home/fborges/jhbuild/install/share/vala-0.40/vapi/glib-2.0.vapi"
	_tmp0_ = strstr ((gchar*) self, (gchar*) needle);
#line 1418 "/home/fborges/jhbuild/install/share/vala-0.40/vapi/glib-2.0.vapi"
	result = _tmp0_ != NULL;
#line 1418 "/home/fborges/jhbuild/install/share/vala-0.40/vapi/glib-2.0.vapi"
	return result;
#line 2095 "wizard.c"
}


static const gchar**
_vala_array_dup7 (const gchar** self,
                  int length)
{
#line 310 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return g_memdup (self, length * sizeof (const gchar*));
#line 2105 "wizard.c"
}


static void
_vala_array_add24 (const gchar** * array,
                   int* length,
                   int* size,
                   const gchar* value)
{
#line 311 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if ((*length) == (*size)) {
#line 311 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 311 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		*array = g_renew (const gchar*, *array, (*size) + 1);
#line 2121 "wizard.c"
	}
#line 311 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	(*array)[(*length)++] = value;
#line 311 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	(*array)[*length] = NULL;
#line 2127 "wizard.c"
}


static void
boxes_wizard_prepare_for_location (BoxesWizard* self,
                                   const gchar* location,
                                   const gchar* filename,
                                   gboolean probing,
                                   BoxesActivityProgress* progress,
                                   GError** error)
{
	GFile* _tmp1_ = NULL;
	GFile* file = NULL;
	GFile* _tmp4_;
	gchar* path = NULL;
	GFile* _tmp5_;
	gchar* _tmp6_;
	gboolean _tmp7_ = FALSE;
	const gchar* _tmp8_;
	GFile* _tmp31_;
	gchar* _tmp32_;
	gchar* _tmp33_;
	GError * _inner_error_ = NULL;
#line 293 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (self != NULL);
#line 293 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (location != NULL);
#line 293 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_vala_return_if_fail (probing || (progress != NULL), "probing || progress != null");
#line 299 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (g_strcmp0 (location, "") == 0) {
#line 2159 "wizard.c"
		GError* _tmp0_;
#line 300 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp0_ = g_error_new_literal (BOXES_ERROR, BOXES_ERROR_INVALID, _ ("Empty location"));
#line 300 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_inner_error_ = _tmp0_;
#line 300 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_propagate_error (error, _inner_error_);
#line 300 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		return;
#line 2169 "wizard.c"
	}
#line 302 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (string_contains (location, "://")) {
#line 2173 "wizard.c"
		GFile* _tmp2_;
#line 302 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp2_ = g_file_new_for_uri (location);
#line 302 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_object_unref0 (_tmp1_);
#line 302 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp1_ = _tmp2_;
#line 2181 "wizard.c"
	} else {
		GFile* _tmp3_;
#line 302 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp3_ = g_file_new_for_path (location);
#line 302 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_object_unref0 (_tmp1_);
#line 302 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp1_ = _tmp3_;
#line 2190 "wizard.c"
	}
#line 302 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp4_ = _g_object_ref0 (_tmp1_);
#line 302 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	file = _tmp4_;
#line 303 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp5_ = file;
#line 303 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp6_ = g_file_get_path (_tmp5_);
#line 303 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	path = _tmp6_;
#line 305 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp8_ = path;
#line 305 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_tmp8_ != NULL) {
#line 2206 "wizard.c"
		gboolean _tmp9_ = FALSE;
		GFile* _tmp10_;
#line 305 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp10_ = file;
#line 305 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (g_file_has_uri_scheme (_tmp10_, "file")) {
#line 305 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp9_ = TRUE;
#line 2215 "wizard.c"
		} else {
			GFile* _tmp11_;
#line 305 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp11_ = file;
#line 305 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp9_ = g_file_has_uri_scheme (_tmp11_, "smb");
#line 2222 "wizard.c"
		}
#line 305 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp7_ = _tmp9_;
#line 2226 "wizard.c"
	} else {
#line 305 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp7_ = FALSE;
#line 2230 "wizard.c"
	}
#line 305 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_tmp7_) {
#line 306 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (!probing) {
#line 2236 "wizard.c"
			const gchar* _tmp12_;
#line 307 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp12_ = path;
#line 307 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			boxes_wizard_prepare_for_installer (self, _tmp12_, progress, &_inner_error_);
#line 307 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 307 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_propagate_error (error, _inner_error_);
#line 307 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_g_free0 (path);
#line 307 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_g_object_unref0 (file);
#line 307 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_g_object_unref0 (_tmp1_);
#line 307 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				return;
#line 2254 "wizard.c"
			}
		} else {
			gboolean supported = FALSE;
			const gchar** extensions = NULL;
			const gchar** _tmp13_;
			gint _tmp13__length1;
			gint extensions_length1;
			gint _extensions_size_;
			const gchar** _tmp14_;
			gint _tmp14__length1;
			const gchar** _tmp15_;
			gint _tmp15__length1;
			gboolean _tmp22_;
			GFileInfo* info = NULL;
			GFile* _tmp24_;
			GFileInfo* _tmp25_;
			GFileType file_type = 0;
			GFileInfo* _tmp26_;
			gboolean _tmp27_ = FALSE;
			GFileType _tmp28_;
#line 309 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			supported = FALSE;
#line 310 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp13_ = (BOXES_INSTALLED_MEDIA_supported_extensions != NULL) ? _vala_array_dup7 (BOXES_INSTALLED_MEDIA_supported_extensions, G_N_ELEMENTS (BOXES_INSTALLED_MEDIA_supported_extensions)) : ((gpointer) BOXES_INSTALLED_MEDIA_supported_extensions);
#line 310 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp13__length1 = G_N_ELEMENTS (BOXES_INSTALLED_MEDIA_supported_extensions);
#line 310 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			extensions = _tmp13_;
#line 310 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			extensions_length1 = _tmp13__length1;
#line 310 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_extensions_size_ = extensions_length1;
#line 311 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp14_ = extensions;
#line 311 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp14__length1 = extensions_length1;
#line 311 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_vala_array_add24 (&extensions, &extensions_length1, &_extensions_size_, "iso");
#line 312 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp15_ = extensions;
#line 312 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp15__length1 = extensions_length1;
#line 2297 "wizard.c"
			{
				const gchar** extension_collection = NULL;
				gint extension_collection_length1 = 0;
				gint _extension_collection_size_ = 0;
				gint extension_it = 0;
#line 312 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				extension_collection = _tmp15_;
#line 312 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				extension_collection_length1 = _tmp15__length1;
#line 312 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				for (extension_it = 0; extension_it < _tmp15__length1; extension_it = extension_it + 1) {
#line 2309 "wizard.c"
					const gchar* extension = NULL;
#line 312 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					extension = extension_collection[extension_it];
#line 2313 "wizard.c"
					{
						gchar* path_casefolded = NULL;
						const gchar* _tmp16_;
						gchar* _tmp17_;
						gchar* extension_casefolded = NULL;
						const gchar* _tmp18_;
						gchar* _tmp19_;
						const gchar* _tmp20_;
						const gchar* _tmp21_;
#line 313 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_tmp16_ = path;
#line 313 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_tmp17_ = g_utf8_casefold (_tmp16_, (gssize) -1);
#line 313 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						path_casefolded = _tmp17_;
#line 314 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_tmp18_ = extension;
#line 314 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_tmp19_ = g_utf8_casefold (_tmp18_, (gssize) -1);
#line 314 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						extension_casefolded = _tmp19_;
#line 316 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_tmp20_ = path_casefolded;
#line 316 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_tmp21_ = extension_casefolded;
#line 316 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						if (g_str_has_suffix (_tmp20_, _tmp21_)) {
#line 317 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
							supported = TRUE;
#line 319 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
							_g_free0 (extension_casefolded);
#line 319 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
							_g_free0 (path_casefolded);
#line 319 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
							break;
#line 2349 "wizard.c"
						}
#line 312 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_g_free0 (extension_casefolded);
#line 312 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_g_free0 (path_casefolded);
#line 2355 "wizard.c"
					}
				}
			}
#line 322 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp22_ = supported;
#line 322 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			if (!_tmp22_) {
#line 2363 "wizard.c"
				GError* _tmp23_;
#line 323 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp23_ = g_error_new_literal (BOXES_ERROR, BOXES_ERROR_INVALID, _ ("Unsupported file"));
#line 323 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_inner_error_ = _tmp23_;
#line 323 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_propagate_error (error, _inner_error_);
#line 323 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				extensions = (g_free (extensions), NULL);
#line 323 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_g_free0 (path);
#line 323 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_g_object_unref0 (file);
#line 323 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_g_object_unref0 (_tmp1_);
#line 323 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				return;
#line 2381 "wizard.c"
			}
#line 325 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp24_ = file;
#line 325 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp25_ = g_file_query_info (_tmp24_, G_FILE_ATTRIBUTE_STANDARD_TYPE, G_FILE_QUERY_INFO_NONE, NULL, &_inner_error_);
#line 325 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			info = _tmp25_;
#line 325 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 325 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_propagate_error (error, _inner_error_);
#line 325 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				extensions = (g_free (extensions), NULL);
#line 325 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_g_free0 (path);
#line 325 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_g_object_unref0 (file);
#line 325 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_g_object_unref0 (_tmp1_);
#line 325 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				return;
#line 2403 "wizard.c"
			}
#line 326 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp26_ = info;
#line 326 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			file_type = g_file_info_get_file_type (_tmp26_);
#line 328 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp28_ = file_type;
#line 328 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			if (_tmp28_ != G_FILE_TYPE_REGULAR) {
#line 2413 "wizard.c"
				GFileType _tmp29_;
#line 328 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp29_ = file_type;
#line 328 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp27_ = _tmp29_ != G_FILE_TYPE_SYMBOLIC_LINK;
#line 2419 "wizard.c"
			} else {
#line 328 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp27_ = FALSE;
#line 2423 "wizard.c"
			}
#line 328 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			if (_tmp27_) {
#line 2427 "wizard.c"
				GError* _tmp30_;
#line 329 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp30_ = g_error_new_literal (BOXES_ERROR, BOXES_ERROR_INVALID, _ ("Invalid file"));
#line 329 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_inner_error_ = _tmp30_;
#line 329 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_propagate_error (error, _inner_error_);
#line 329 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_g_object_unref0 (info);
#line 329 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				extensions = (g_free (extensions), NULL);
#line 329 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_g_free0 (path);
#line 329 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_g_object_unref0 (file);
#line 329 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_g_object_unref0 (_tmp1_);
#line 329 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				return;
#line 2447 "wizard.c"
			}
#line 306 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_g_object_unref0 (info);
#line 306 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			extensions = (g_free (extensions), NULL);
#line 2453 "wizard.c"
		}
#line 332 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_free0 (path);
#line 332 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_object_unref0 (file);
#line 332 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_object_unref0 (_tmp1_);
#line 332 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		return;
#line 2463 "wizard.c"
	}
#line 335 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp31_ = file;
#line 335 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp32_ = g_file_get_uri (_tmp31_);
#line 335 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp33_ = _tmp32_;
#line 335 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_prepare_for_uri (self, _tmp33_, filename, &_inner_error_);
#line 335 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_free0 (_tmp33_);
#line 335 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 335 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_propagate_error (error, _inner_error_);
#line 335 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_free0 (path);
#line 335 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_object_unref0 (file);
#line 335 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_object_unref0 (_tmp1_);
#line 335 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		return;
#line 2487 "wizard.c"
	}
#line 293 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_free0 (path);
#line 293 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (file);
#line 293 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (_tmp1_);
#line 2495 "wizard.c"
}


static void
boxes_wizard_prepare_for_uri (BoxesWizard* self,
                              const gchar* uri_as_text,
                              const gchar* filename,
                              GError** error)
{
	xmlURI* uri = NULL;
	xmlURI* _tmp0_;
	gboolean _tmp1_ = FALSE;
	xmlURI* _tmp2_;
	BoxesWizardSource* _tmp6_;
	gboolean _tmp7_;
	gboolean _tmp8_;
	const gchar* _tmp19_ = NULL;
	xmlURI* _tmp20_;
	const gchar* _tmp21_;
	xmlURI* _tmp22_;
	const gchar* _tmp23_;
	BoxesCollectionSource* _tmp24_;
	xmlURI* _tmp25_;
	const gchar* _tmp26_;
	GError * _inner_error_ = NULL;
#line 338 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (self != NULL);
#line 338 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (uri_as_text != NULL);
#line 339 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = xmlParseURI (uri_as_text);
#line 339 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	uri = _tmp0_;
#line 340 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp2_ = uri;
#line 340 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_tmp2_ == NULL) {
#line 340 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp1_ = TRUE;
#line 2535 "wizard.c"
	} else {
		xmlURI* _tmp3_;
		const gchar* _tmp4_;
#line 340 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp3_ = uri;
#line 340 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp4_ = _tmp3_->scheme;
#line 340 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp1_ = _tmp4_ == NULL;
#line 2545 "wizard.c"
	}
#line 340 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_tmp1_) {
#line 2549 "wizard.c"
		GError* _tmp5_;
#line 341 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp5_ = g_error_new_literal (BOXES_ERROR, BOXES_ERROR_INVALID, _ ("Invalid URL"));
#line 341 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_inner_error_ = _tmp5_;
#line 341 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (_inner_error_->domain == BOXES_ERROR) {
#line 341 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			g_propagate_error (error, _inner_error_);
#line 341 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_xmlFreeURI0 (uri);
#line 341 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			return;
#line 2563 "wizard.c"
		} else {
#line 341 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_xmlFreeURI0 (uri);
#line 341 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 341 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			g_clear_error (&_inner_error_);
#line 341 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			return;
#line 2573 "wizard.c"
		}
	}
#line 343 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp6_ = self->priv->wizard_source;
#line 343 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp7_ = boxes_wizard_source_get_download_required (_tmp6_);
#line 343 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp8_ = _tmp7_;
#line 343 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_tmp8_) {
#line 2584 "wizard.c"
		gchar* basename = NULL;
		gboolean _tmp13_ = FALSE;
		gboolean _tmp14_ = FALSE;
		const gchar* _tmp15_;
#line 344 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		basename = NULL;
#line 346 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (filename == NULL) {
#line 2593 "wizard.c"
			GFile* file = NULL;
			GFile* _tmp9_;
			GFile* _tmp10_;
			gchar* _tmp11_;
#line 347 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp9_ = g_file_new_for_uri (uri_as_text);
#line 347 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			file = _tmp9_;
#line 348 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp10_ = file;
#line 348 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp11_ = g_file_get_basename (_tmp10_);
#line 348 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_g_free0 (basename);
#line 348 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			basename = _tmp11_;
#line 346 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_g_object_unref0 (file);
#line 2612 "wizard.c"
		} else {
			gchar* _tmp12_;
#line 350 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp12_ = g_strdup (filename);
#line 350 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_g_free0 (basename);
#line 350 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			basename = _tmp12_;
#line 2621 "wizard.c"
		}
#line 353 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp15_ = basename;
#line 353 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (_tmp15_ == NULL) {
#line 353 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp14_ = TRUE;
#line 2629 "wizard.c"
		} else {
			const gchar* _tmp16_;
#line 353 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp16_ = basename;
#line 353 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp14_ = g_strcmp0 (_tmp16_, "") == 0;
#line 2636 "wizard.c"
		}
#line 353 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (_tmp14_) {
#line 353 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp13_ = TRUE;
#line 2642 "wizard.c"
		} else {
			const gchar* _tmp17_;
#line 353 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp17_ = basename;
#line 353 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp13_ = g_strcmp0 (_tmp17_, "/") == 0;
#line 2649 "wizard.c"
		}
#line 353 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (_tmp13_) {
#line 2653 "wizard.c"
			GError* _tmp18_;
#line 354 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp18_ = g_error_new_literal (BOXES_ERROR, BOXES_ERROR_INVALID, _ ("Invalid URL"));
#line 354 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_inner_error_ = _tmp18_;
#line 354 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			if (_inner_error_->domain == BOXES_ERROR) {
#line 354 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_propagate_error (error, _inner_error_);
#line 354 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_g_free0 (basename);
#line 354 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_xmlFreeURI0 (uri);
#line 354 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				return;
#line 2669 "wizard.c"
			} else {
#line 354 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_g_free0 (basename);
#line 354 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_xmlFreeURI0 (uri);
#line 354 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 354 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_clear_error (&_inner_error_);
#line 354 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				return;
#line 2681 "wizard.c"
			}
		}
#line 356 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_free0 (basename);
#line 356 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_xmlFreeURI0 (uri);
#line 356 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		return;
#line 2690 "wizard.c"
	}
#line 359 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp20_ = uri;
#line 359 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp21_ = _tmp20_->server;
#line 359 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp19_ = _tmp21_;
#line 359 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_tmp19_ == NULL) {
#line 359 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp19_ = uri_as_text;
#line 2702 "wizard.c"
	}
#line 359 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp22_ = uri;
#line 359 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp23_ = _tmp22_->scheme;
#line 359 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp24_ = boxes_collection_source_new (_tmp19_, _tmp23_, uri_as_text);
#line 359 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (self->priv->source);
#line 359 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self->priv->source = _tmp24_;
#line 361 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp25_ = uri;
#line 361 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp26_ = _tmp25_->scheme;
#line 361 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (g_str_has_prefix (_tmp26_, "spice")) {
#line 2720 "wizard.c"
		BoxesCollectionSource* _tmp27_;
#line 362 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		spice_validate_uri (uri_as_text, NULL, NULL, &_inner_error_);
#line 362 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 362 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			if (_inner_error_->domain == BOXES_ERROR) {
#line 362 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_propagate_error (error, _inner_error_);
#line 362 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_xmlFreeURI0 (uri);
#line 362 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				return;
#line 2734 "wizard.c"
			} else {
#line 362 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_xmlFreeURI0 (uri);
#line 362 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 362 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_clear_error (&_inner_error_);
#line 362 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				return;
#line 2744 "wizard.c"
			}
		}
#line 363 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp27_ = self->priv->source;
#line 363 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_collection_source_set_source_type (_tmp27_, "spice");
#line 2751 "wizard.c"
	} else {
		xmlURI* _tmp28_;
		const gchar* _tmp29_;
#line 364 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp28_ = uri;
#line 364 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp29_ = _tmp28_->scheme;
#line 364 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (g_strcmp0 (_tmp29_, "vnc") == 0) {
#line 2761 "wizard.c"
		} else {
			xmlURI* _tmp30_;
			const gchar* _tmp31_;
#line 366 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp30_ = uri;
#line 366 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp31_ = _tmp30_->scheme;
#line 366 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			if (g_str_has_prefix (_tmp31_, "qemu")) {
#line 2771 "wizard.c"
				BoxesCollectionSource* _tmp32_;
#line 368 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp32_ = self->priv->source;
#line 368 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				boxes_collection_source_set_source_type (_tmp32_, "libvirt");
#line 2777 "wizard.c"
			} else {
				BoxesApp* _tmp33_;
				xmlURI* _tmp34_;
				const gchar* _tmp35_;
#line 369 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp33_ = boxes_app_app;
#line 369 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp34_ = uri;
#line 369 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp35_ = _tmp34_->scheme;
#line 369 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				if (boxes_app_has_broker_for_source_type (_tmp33_, _tmp35_)) {
#line 2790 "wizard.c"
					BoxesCollectionSource* _tmp36_;
					xmlURI* _tmp37_;
					const gchar* _tmp38_;
#line 370 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_tmp36_ = self->priv->source;
#line 370 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_tmp37_ = uri;
#line 370 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_tmp38_ = _tmp37_->scheme;
#line 370 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					boxes_collection_source_set_source_type (_tmp36_, _tmp38_);
#line 2802 "wizard.c"
				} else {
					xmlURI* _tmp39_;
					const gchar* _tmp40_;
					gchar* _tmp41_;
					gchar* _tmp42_;
					GError* _tmp43_;
					GError* _tmp44_;
#line 372 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_tmp39_ = uri;
#line 372 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_tmp40_ = _tmp39_->scheme;
#line 372 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_tmp41_ = g_strdup_printf (_ ("Unsupported protocol “%s”"), _tmp40_);
#line 372 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_tmp42_ = _tmp41_;
#line 372 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_tmp43_ = g_error_new_literal (BOXES_ERROR, BOXES_ERROR_INVALID, _tmp42_);
#line 372 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_tmp44_ = _tmp43_;
#line 372 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_g_free0 (_tmp42_);
#line 372 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_inner_error_ = _tmp44_;
#line 372 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					if (_inner_error_->domain == BOXES_ERROR) {
#line 372 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						g_propagate_error (error, _inner_error_);
#line 372 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_xmlFreeURI0 (uri);
#line 372 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						return;
#line 2834 "wizard.c"
					} else {
#line 372 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_xmlFreeURI0 (uri);
#line 372 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 372 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						g_clear_error (&_inner_error_);
#line 372 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						return;
#line 2844 "wizard.c"
					}
				}
			}
		}
	}
#line 338 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_xmlFreeURI0 (uri);
#line 2852 "wizard.c"
}


static Block100Data*
block100_data_ref (Block100Data* _data100_)
{
#line 375 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_atomic_int_inc (&_data100_->_ref_count_);
#line 375 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return _data100_;
#line 2863 "wizard.c"
}


static void
block100_data_unref (void * _userdata_)
{
	Block100Data* _data100_;
	_data100_ = (Block100Data*) _userdata_;
#line 375 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (g_atomic_int_dec_and_test (&_data100_->_ref_count_)) {
#line 2874 "wizard.c"
		BoxesWizard* self;
#line 375 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		self = _data100_->self;
#line 375 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_object_unref0 (_data100_->progress);
#line 375 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_object_unref0 (self);
#line 375 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_slice_free (Block100Data, _data100_);
#line 2884 "wizard.c"
	}
}


static void
__lambda165_ (Block100Data* _data100_,
              GObject* obj,
              GAsyncResult* res)
{
	BoxesWizard* self;
#line 382 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self = _data100_->self;
#line 382 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (res != NULL);
#line 383 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_on_installer_media_instantiated (self, res, _data100_->progress);
#line 2901 "wizard.c"
}


static void
___lambda165__gasync_ready_callback (GObject* source_object,
                                     GAsyncResult* res,
                                     gpointer self)
{
#line 382 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	__lambda165_ (self, source_object, res);
#line 382 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	block100_data_unref (self);
#line 2914 "wizard.c"
}


static void
boxes_wizard_prepare_for_installer (BoxesWizard* self,
                                    const gchar* path,
                                    BoxesActivityProgress* progress,
                                    GError** error)
{
	Block100Data* _data100_;
	BoxesActivityProgress* _tmp0_;
	GtkButton* _tmp1_;
	GtkLabel* _tmp2_;
	GtkLabel* _tmp3_;
	BoxesMediaManager* _tmp4_;
#line 375 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (self != NULL);
#line 375 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (path != NULL);
#line 375 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (progress != NULL);
#line 375 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data100_ = g_slice_new0 (Block100Data);
#line 375 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data100_->_ref_count_ = 1;
#line 375 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data100_->self = g_object_ref (self);
#line 375 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = _g_object_ref0 (progress);
#line 375 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (_data100_->progress);
#line 375 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data100_->progress = _tmp0_;
#line 376 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp1_ = self->priv->next_button;
#line 376 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp1_, FALSE);
#line 378 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp2_ = self->priv->prep_media_label;
#line 378 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_label_set_label (_tmp2_, _ ("Unknown installer media"));
#line 380 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp3_ = self->priv->prep_status_label;
#line 380 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_label_set_label (_tmp3_, _ ("Analyzing…"));
#line 382 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp4_ = self->priv->media_manager;
#line 382 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_media_manager_create_installer_media_for_path (_tmp4_, path, NULL, ___lambda165__gasync_ready_callback, block100_data_ref (_data100_));
#line 375 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	block100_data_unref (_data100_);
#line 375 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data100_ = NULL;
#line 2968 "wizard.c"
}


static void
boxes_wizard_on_installer_media_instantiated (BoxesWizard* self,
                                              GAsyncResult* _result_,
                                              BoxesActivityProgress* progress)
{
	GError * _inner_error_ = NULL;
#line 387 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (self != NULL);
#line 387 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (_result_ != NULL);
#line 387 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (progress != NULL);
#line 2984 "wizard.c"
	{
		BoxesInstallerMedia* install_media = NULL;
		BoxesMediaManager* _tmp0_;
		BoxesInstallerMedia* _tmp1_;
		BoxesInstallerMedia* _tmp2_;
#line 389 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp0_ = self->priv->media_manager;
#line 389 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp1_ = boxes_media_manager_create_installer_media_for_path_finish (_tmp0_, _result_, &_inner_error_);
#line 389 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		install_media = _tmp1_;
#line 389 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 389 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			if (g_error_matches (_inner_error_, G_IO_ERROR, G_IO_ERROR_CANCELLED)) {
#line 3000 "wizard.c"
				goto __catch143_g_io_error_cancelled;
			}
			goto __catch143_g_error;
		}
#line 390 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp2_ = install_media;
#line 390 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_wizard_prepare_media (self, _tmp2_, progress, NULL, NULL);
#line 388 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_object_unref0 (install_media);
#line 3011 "wizard.c"
	}
	goto __finally143;
	__catch143_g_io_error_cancelled:
	{
		GError* cancel_error = NULL;
#line 388 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		cancel_error = _inner_error_;
#line 388 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_inner_error_ = NULL;
#line 388 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_error_free0 (cancel_error);
#line 3023 "wizard.c"
	}
	goto __finally143;
	__catch143_g_error:
	{
		GError* _error_ = NULL;
		GError* _tmp3_;
		const gchar* _tmp4_;
		gchar* msg = NULL;
		gchar* _tmp5_;
		BoxesAppWindow* _tmp6_;
		BoxesNotificationbar* _tmp7_;
		BoxesNotificationbar* _tmp8_;
		const gchar* _tmp9_;
		BoxesNotification* _tmp10_;
		BoxesNotification* _tmp11_;
#line 388 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_error_ = _inner_error_;
#line 388 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_inner_error_ = NULL;
#line 393 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp3_ = _error_;
#line 393 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp4_ = _tmp3_->message;
#line 393 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_debug ("wizard.vala:393: Failed to analyze installer image: %s", _tmp4_);
#line 394 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp5_ = g_strdup (_ ("Failed to analyze installer media. Corrupted or incomplete media?"));
#line 394 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		msg = _tmp5_;
#line 395 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp6_ = self->priv->window;
#line 395 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp7_ = boxes_app_window_get_notificationbar (_tmp6_);
#line 395 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp8_ = _tmp7_;
#line 395 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp9_ = msg;
#line 395 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp10_ = boxes_notificationbar_display_error (_tmp8_, _tmp9_, BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT);
#line 395 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp11_ = _tmp10_;
#line 395 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_object_unref0 (_tmp11_);
#line 396 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_wizard_set_page (self, BOXES_WIZARD_PAGE_SOURCE);
#line 388 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_free0 (msg);
#line 388 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_error_free0 (_error_);
#line 3073 "wizard.c"
	}
	__finally143:
#line 388 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 388 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 388 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_clear_error (&_inner_error_);
#line 388 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		return;
#line 3084 "wizard.c"
	}
}


static void
boxes_wizard_prepare_media_data_free (gpointer _data)
{
	BoxesWizardPrepareMediaData* _data_;
	_data_ = _data;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (_data_->install_media);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (_data_->progress);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (_data_->self);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_slice_free (BoxesWizardPrepareMediaData, _data_);
#line 3102 "wizard.c"
}


static void
boxes_wizard_prepare_media (BoxesWizard* self,
                            BoxesInstallerMedia* install_media,
                            BoxesActivityProgress* progress,
                            GAsyncReadyCallback _callback_,
                            gpointer _user_data_)
{
	BoxesWizardPrepareMediaData* _data_;
	BoxesWizard* _tmp0_;
	BoxesInstallerMedia* _tmp1_;
	BoxesActivityProgress* _tmp2_;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_ = g_slice_new0 (BoxesWizardPrepareMediaData);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_task_set_task_data (_data_->_async_result, _data_, boxes_wizard_prepare_media_data_free);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->self = _tmp0_;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp1_ = _g_object_ref0 (install_media);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (_data_->install_media);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->install_media = _tmp1_;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp2_ = _g_object_ref0 (progress);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (_data_->progress);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->progress = _tmp2_;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_prepare_media_co (_data_);
#line 3141 "wizard.c"
}


static void
boxes_wizard_prepare_media_finish (BoxesWizard* self,
                                   GAsyncResult* _res_)
{
	BoxesWizardPrepareMediaData* _data_;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 3152 "wizard.c"
}


static void
boxes_wizard_prepare_media_ready (GObject* source_object,
                                  GAsyncResult* _res_,
                                  gpointer _user_data_)
{
	BoxesWizardPrepareMediaData* _data_;
#line 412 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_ = _user_data_;
#line 412 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_source_object_ = source_object;
#line 412 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_res_ = _res_;
#line 412 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_prepare_media_co (_data_);
#line 3170 "wizard.c"
}


static gboolean
boxes_wizard_prepare_media_co (BoxesWizardPrepareMediaData* _data_)
{
#line 400 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	switch (_data_->_state_) {
#line 400 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		case 0:
#line 3181 "wizard.c"
		goto _state_0;
#line 400 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		case 1:
#line 3185 "wizard.c"
		goto _state_1;
		default:
#line 400 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_assert_not_reached ();
#line 3190 "wizard.c"
	}
	_state_0:
#line 401 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_tmp0_ = _data_->install_media->os;
#line 401 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_data_->_tmp0_ != NULL) {
#line 402 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp1_ = _data_->self->priv->prep_media_label;
#line 402 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp2_ = _data_->install_media->os;
#line 402 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp3_ = osinfo_product_get_name ((OsinfoProduct*) _data_->_tmp2_);
#line 402 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp4_ = _data_->_tmp3_;
#line 402 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		gtk_label_set_label (_data_->_tmp1_, _data_->_tmp4_);
#line 403 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp5_ = _data_->self->priv->installer_image;
#line 403 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp6_ = _data_->install_media->os;
#line 403 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_downloader_fetch_os_logo (_data_->_tmp5_, _data_->_tmp6_, 128, NULL, NULL);
#line 3213 "wizard.c"
	}
#line 407 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_tmp7_ = _data_->self->priv->wizard_source;
#line 407 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_tmp8_ = boxes_wizard_source_get_download_required (_data_->_tmp7_);
#line 407 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_tmp9_ = _data_->_tmp8_;
#line 407 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_data_->_tmp9_) {
#line 408 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp10_ = boxes_activity_progress_add_child_activity (_data_->progress, BOXES_WIZARD_PREPARE_PROGRESS_SCALE);
#line 408 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_object_unref0 (_data_->prepare_media_progress);
#line 408 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->prepare_media_progress = _data_->_tmp10_;
#line 3229 "wizard.c"
	} else {
#line 410 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp11_ = _g_object_ref0 (_data_->progress);
#line 410 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_object_unref0 (_data_->prepare_media_progress);
#line 410 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->prepare_media_progress = _data_->_tmp11_;
#line 3237 "wizard.c"
	}
#line 411 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_tmp12_ = _data_->prepare_media_progress;
#line 411 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_tmp13_ = _data_->self->priv->prep_status_label;
#line 411 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_object_bind_property_with_closures ((GObject*) _data_->_tmp12_, "info", (GObject*) _data_->_tmp13_, "label", G_BINDING_DEFAULT, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)));
#line 412 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_tmp14_ = _data_->prepare_media_progress;
#line 412 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_tmp15_ = _data_->self->priv->prepare_cancellable;
#line 412 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_state_ = 1;
#line 412 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_installer_media_prepare (_data_->install_media, _data_->_tmp14_, _data_->_tmp15_, boxes_wizard_prepare_media_ready, _data_);
#line 412 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return FALSE;
#line 3255 "wizard.c"
	_state_1:
#line 412 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (!boxes_installer_media_prepare_finish (_data_->install_media, _data_->_res_)) {
#line 413 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_object_unref0 (_data_->prepare_media_progress);
#line 413 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 413 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (_data_->_state_ != 0) {
#line 413 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 413 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 3269 "wizard.c"
			}
		}
#line 413 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_object_unref (_data_->_async_result);
#line 413 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		return FALSE;
#line 3276 "wizard.c"
	}
#line 415 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_tmp16_ = boxes_installer_media_get_vm_creator (_data_->install_media);
#line 415 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_boxes_vm_creator_unref0 (_data_->self->priv->vm_creator);
#line 415 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->self->priv->vm_creator = _data_->_tmp16_;
#line 416 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_tmp17_ = _data_->self->priv->prep_progress;
#line 416 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_progress_bar_set_fraction (_data_->_tmp17_, 1.0);
#line 417 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_set_page (_data_->self, BOXES_WIZARD_PAGE_SETUP);
#line 400 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (_data_->prepare_media_progress);
#line 400 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 400 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_data_->_state_ != 0) {
#line 400 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 400 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 3300 "wizard.c"
		}
	}
#line 400 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_object_unref (_data_->_async_result);
#line 400 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return FALSE;
#line 3307 "wizard.c"
}


static gboolean
boxes_wizard_prepare (BoxesWizard* self,
                      BoxesActivityProgress* progress)
{
	gboolean result = FALSE;
	BoxesWizardSource* _tmp0_;
	gboolean _tmp1_;
	GCancellable* _tmp17_;
	BoxesWizardSource* _tmp18_;
	gboolean _tmp19_;
	gboolean _tmp20_;
	BoxesWizardSource* _tmp39_;
	BoxesInstallerMedia* _tmp40_;
	BoxesInstallerMedia* _tmp41_;
	GError * _inner_error_ = NULL;
#line 420 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 420 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_val_if_fail (progress != NULL, FALSE);
#line 421 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = self->priv->wizard_source;
#line 421 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp1_ = _tmp0_->libvirt_sys_import;
#line 421 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_tmp1_) {
#line 3336 "wizard.c"
		GCancellable* _tmp2_;
#line 422 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp2_ = self->priv->prepare_cancellable;
#line 422 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_cancellable_reset (_tmp2_);
#line 424 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		result = TRUE;
#line 424 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		return result;
#line 3346 "wizard.c"
	}
	{
		BoxesWizardSource* _tmp3_;
		const gchar* _tmp4_;
		const gchar* _tmp5_;
		BoxesWizardSource* _tmp6_;
		const gchar* _tmp7_;
		const gchar* _tmp8_;
#line 429 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp3_ = self->priv->wizard_source;
#line 429 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp4_ = boxes_wizard_source_get_uri (_tmp3_);
#line 429 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp5_ = _tmp4_;
#line 429 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp6_ = self->priv->wizard_source;
#line 429 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp7_ = boxes_wizard_source_get_filename (_tmp6_);
#line 429 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp8_ = _tmp7_;
#line 429 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_wizard_prepare_for_location (self, _tmp5_, _tmp8_, TRUE, NULL, &_inner_error_);
#line 429 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 3371 "wizard.c"
			goto __catch144_g_error;
		}
	}
	goto __finally144;
	__catch144_g_error:
	{
		GError* _error_ = NULL;
		BoxesAppWindow* _tmp9_;
		BoxesNotificationbar* _tmp10_;
		BoxesNotificationbar* _tmp11_;
		GError* _tmp12_;
		const gchar* _tmp13_;
		BoxesNotification* _tmp14_;
		BoxesNotification* _tmp15_;
#line 427 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_error_ = _inner_error_;
#line 427 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_inner_error_ = NULL;
#line 431 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp9_ = self->priv->window;
#line 431 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp10_ = boxes_app_window_get_notificationbar (_tmp9_);
#line 431 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp11_ = _tmp10_;
#line 431 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp12_ = _error_;
#line 431 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp13_ = _tmp12_->message;
#line 431 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp14_ = boxes_notificationbar_display_error (_tmp11_, _tmp13_, BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT);
#line 431 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp15_ = _tmp14_;
#line 431 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_object_unref0 (_tmp15_);
#line 433 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		result = FALSE;
#line 433 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_error_free0 (_error_);
#line 433 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		return result;
#line 3412 "wizard.c"
	}
	__finally144:
#line 427 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 3417 "wizard.c"
		gboolean _tmp16_ = FALSE;
#line 427 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 427 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_clear_error (&_inner_error_);
#line 427 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		return _tmp16_;
#line 3425 "wizard.c"
	}
#line 436 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp17_ = self->priv->prepare_cancellable;
#line 436 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_cancellable_reset (_tmp17_);
#line 438 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp18_ = self->priv->wizard_source;
#line 438 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp19_ = boxes_wizard_source_get_download_required (_tmp18_);
#line 438 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp20_ = _tmp19_;
#line 438 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_tmp20_) {
#line 3439 "wizard.c"
		GtkButton* _tmp21_;
		BoxesWizardSource* _tmp22_;
		const gchar* _tmp23_;
		const gchar* _tmp24_;
		BoxesWizardSource* _tmp25_;
		const gchar* _tmp26_;
		const gchar* _tmp27_;
		OsinfoOs* os = NULL;
		BoxesWizardSource* _tmp28_;
		BoxesWizardSource* _tmp29_;
		const gchar* _tmp30_;
		const gchar* _tmp31_;
		OsinfoOs* _tmp32_;
		OsinfoOs* _tmp33_;
#line 439 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp21_ = self->priv->continue_button;
#line 439 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		gtk_widget_set_sensitive ((GtkWidget*) _tmp21_, FALSE);
#line 440 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp22_ = self->priv->wizard_source;
#line 440 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp23_ = boxes_wizard_source_get_uri (_tmp22_);
#line 440 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp24_ = _tmp23_;
#line 440 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp25_ = self->priv->wizard_source;
#line 440 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp26_ = boxes_wizard_source_get_filename (_tmp25_);
#line 440 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp27_ = _tmp26_;
#line 440 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_wizard_download_media (self, _tmp24_, _tmp27_, progress, NULL, NULL);
#line 442 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp28_ = self->priv->wizard_source;
#line 442 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp29_ = self->priv->wizard_source;
#line 442 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp30_ = boxes_wizard_source_get_uri (_tmp29_);
#line 442 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp31_ = _tmp30_;
#line 442 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp32_ = boxes_wizard_source_get_os_from_uri (_tmp28_, _tmp31_);
#line 442 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		os = _tmp32_;
#line 443 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp33_ = os;
#line 443 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (_tmp33_ == NULL) {
#line 3488 "wizard.c"
			BoxesWizardSource* _tmp34_;
			const gchar* _tmp35_;
			const gchar* _tmp36_;
#line 444 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp34_ = self->priv->wizard_source;
#line 444 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp35_ = boxes_wizard_source_get_uri (_tmp34_);
#line 444 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp36_ = _tmp35_;
#line 444 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			g_debug ("wizard.vala:444: Failed to find Osinfo.Os for %s", _tmp36_);
#line 3500 "wizard.c"
		} else {
			GtkImage* _tmp37_;
			OsinfoOs* _tmp38_;
#line 446 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp37_ = self->priv->installer_image;
#line 446 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp38_ = os;
#line 446 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			boxes_downloader_fetch_os_logo (_tmp37_, _tmp38_, 128, NULL, NULL);
#line 3510 "wizard.c"
		}
#line 448 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		result = TRUE;
#line 448 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_object_unref0 (os);
#line 448 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		return result;
#line 3518 "wizard.c"
	}
#line 451 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp39_ = self->priv->wizard_source;
#line 451 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp40_ = boxes_wizard_source_get_install_media (_tmp39_);
#line 451 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp41_ = _tmp40_;
#line 451 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_tmp41_ != NULL) {
#line 3528 "wizard.c"
		GtkLabel* _tmp42_;
		GtkLabel* _tmp43_;
		BoxesWizardSource* _tmp44_;
		BoxesInstallerMedia* _tmp45_;
		BoxesInstallerMedia* _tmp46_;
#line 452 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp42_ = self->priv->prep_media_label;
#line 452 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		gtk_label_set_label (_tmp42_, _ ("Unknown installer media"));
#line 453 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp43_ = self->priv->prep_status_label;
#line 453 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		gtk_label_set_label (_tmp43_, _ ("Analyzing…"));
#line 454 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp44_ = self->priv->wizard_source;
#line 454 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp45_ = boxes_wizard_source_get_install_media (_tmp44_);
#line 454 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp46_ = _tmp45_;
#line 454 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_wizard_prepare_media (self, _tmp46_, progress, NULL, NULL);
#line 456 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		result = TRUE;
#line 456 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		return result;
#line 3554 "wizard.c"
	}
	{
		BoxesWizardSource* _tmp47_;
		const gchar* _tmp48_;
		const gchar* _tmp49_;
#line 460 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp47_ = self->priv->wizard_source;
#line 460 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp48_ = boxes_wizard_source_get_uri (_tmp47_);
#line 460 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp49_ = _tmp48_;
#line 460 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_wizard_prepare_for_location (self, _tmp49_, NULL, FALSE, progress, &_inner_error_);
#line 460 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 3570 "wizard.c"
			goto __catch145_g_error;
		}
	}
	goto __finally145;
	__catch145_g_error:
	{
		GError* _error_ = NULL;
		BoxesAppWindow* _tmp50_;
		BoxesNotificationbar* _tmp51_;
		BoxesNotificationbar* _tmp52_;
		GError* _tmp53_;
		const gchar* _tmp54_;
		BoxesNotification* _tmp55_;
		BoxesNotification* _tmp56_;
#line 459 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_error_ = _inner_error_;
#line 459 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_inner_error_ = NULL;
#line 462 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp50_ = self->priv->window;
#line 462 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp51_ = boxes_app_window_get_notificationbar (_tmp50_);
#line 462 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp52_ = _tmp51_;
#line 462 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp53_ = _error_;
#line 462 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp54_ = _tmp53_->message;
#line 462 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp55_ = boxes_notificationbar_display_error (_tmp52_, _tmp54_, BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT);
#line 462 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp56_ = _tmp55_;
#line 462 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_object_unref0 (_tmp56_);
#line 464 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		result = FALSE;
#line 464 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_error_free0 (_error_);
#line 464 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		return result;
#line 3611 "wizard.c"
	}
	__finally145:
#line 459 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 3616 "wizard.c"
		gboolean _tmp57_ = FALSE;
#line 459 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 459 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_clear_error (&_inner_error_);
#line 459 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		return _tmp57_;
#line 3624 "wizard.c"
	}
#line 467 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	result = TRUE;
#line 467 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return result;
#line 3630 "wizard.c"
}


static void
__lambda166_ (BoxesWizard* self)
{
	BoxesVMCreator* _tmp0_;
	BoxesInstallerMedia* _tmp1_;
	BoxesInstallerMedia* _tmp2_;
	gboolean _tmp3_;
	gboolean _tmp4_;
#line 482 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = self->priv->vm_creator;
#line 482 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp1_ = boxes_vm_creator_get_install_media (_tmp0_);
#line 482 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp2_ = _tmp1_;
#line 482 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp3_ = boxes_installer_media_get_ready_to_create (_tmp2_);
#line 482 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp4_ = _tmp3_;
#line 482 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_tmp4_) {
#line 3654 "wizard.c"
		BoxesWizardPage _tmp5_;
		BoxesWizardPage _tmp6_;
#line 483 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp5_ = boxes_wizard_get_page (self);
#line 483 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp6_ = _tmp5_;
#line 483 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_wizard_set_page (self, _tmp6_ + 1);
#line 3663 "wizard.c"
	}
}


static void
___lambda166__boxes_installer_media_user_wants_to_create (BoxesInstallerMedia* _sender,
                                                          gpointer self)
{
#line 481 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	__lambda166_ ((BoxesWizard*) self);
#line 3674 "wizard.c"
}


static gboolean
boxes_wizard_setup (BoxesWizard* self)
{
	gboolean result = FALSE;
	gboolean _tmp0_ = FALSE;
	BoxesCollectionSource* _tmp1_;
	BoxesVMCreator* _tmp4_;
	BoxesVMCreator* _tmp5_;
	BoxesInstallerMedia* _tmp6_;
	BoxesInstallerMedia* _tmp7_;
	GtkButton* _tmp8_;
	BoxesVMCreator* _tmp9_;
	BoxesInstallerMedia* _tmp10_;
	BoxesInstallerMedia* _tmp11_;
	GtkBox* _tmp12_;
	BoxesVMCreator* _tmp13_;
	BoxesInstallerMedia* _tmp14_;
	BoxesInstallerMedia* _tmp15_;
#line 470 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 472 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp1_ = self->priv->source;
#line 472 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_tmp1_ != NULL) {
#line 472 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp0_ = TRUE;
#line 3704 "wizard.c"
	} else {
		BoxesWizardSource* _tmp2_;
		gboolean _tmp3_;
#line 472 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp2_ = self->priv->wizard_source;
#line 472 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp3_ = _tmp2_->libvirt_sys_import;
#line 472 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp0_ = _tmp3_;
#line 3714 "wizard.c"
	}
#line 472 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_tmp0_) {
#line 473 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		result = TRUE;
#line 473 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		return result;
#line 3722 "wizard.c"
	}
#line 475 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp4_ = self->priv->vm_creator;
#line 475 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_val_if_fail (_tmp4_ != NULL, FALSE);
#line 477 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp5_ = self->priv->vm_creator;
#line 477 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp6_ = boxes_vm_creator_get_install_media (_tmp5_);
#line 477 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp7_ = _tmp6_;
#line 477 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp8_ = self->priv->continue_button;
#line 477 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp7_, "ready-to-create", (GObject*) _tmp8_, "sensitive", G_BINDING_SYNC_CREATE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)));
#line 480 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp9_ = self->priv->vm_creator;
#line 480 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp10_ = boxes_vm_creator_get_install_media (_tmp9_);
#line 480 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp11_ = _tmp10_;
#line 480 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp12_ = self->priv->setup_box;
#line 480 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_installer_media_populate_setup_box (_tmp11_, _tmp12_);
#line 481 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp13_ = self->priv->vm_creator;
#line 481 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp14_ = boxes_vm_creator_get_install_media (_tmp13_);
#line 481 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp15_ = _tmp14_;
#line 481 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_signal_connect_object (_tmp15_, "user-wants-to-create", (GCallback) ___lambda166__boxes_installer_media_user_wants_to_create, self, 0);
#line 486 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	result = TRUE;
#line 486 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return result;
#line 3760 "wizard.c"
}


static void
boxes_wizard_do_review_cancellable_data_free (gpointer _data)
{
	BoxesWizardDoReviewCancellableData* _data_;
	_data_ = _data;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (_data_->self);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_slice_free (BoxesWizardDoReviewCancellableData, _data_);
#line 3773 "wizard.c"
}


static void
boxes_wizard_do_review_cancellable (BoxesWizard* self,
                                    GAsyncReadyCallback _callback_,
                                    gpointer _user_data_)
{
	BoxesWizardDoReviewCancellableData* _data_;
	BoxesWizard* _tmp0_;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_ = g_slice_new0 (BoxesWizardDoReviewCancellableData);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_task_set_task_data (_data_->_async_result, _data_, boxes_wizard_do_review_cancellable_data_free);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->self = _tmp0_;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_do_review_cancellable_co (_data_);
#line 3796 "wizard.c"
}


static gboolean
boxes_wizard_do_review_cancellable_finish (BoxesWizard* self,
                                           GAsyncResult* _res_)
{
	gboolean result;
	BoxesWizardDoReviewCancellableData* _data_;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	result = _data_->result;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return result;
#line 3812 "wizard.c"
}


static void
boxes_wizard_do_review_cancellable_ready (GObject* source_object,
                                          GAsyncResult* _res_,
                                          gpointer _user_data_)
{
	BoxesWizardDoReviewCancellableData* _data_;
#line 503 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_ = _user_data_;
#line 503 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_source_object_ = source_object;
#line 503 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_res_ = _res_;
#line 503 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_do_review_cancellable_co (_data_);
#line 3830 "wizard.c"
}


static gpointer
_boxes_pair_ref0 (gpointer self)
{
#line 558 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return self ? boxes_pair_ref (self) : NULL;
#line 3839 "wizard.c"
}


static void
_boxes_pair_unref0_ (gpointer var)
{
#line 558 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	(var == NULL) ? NULL : (var = (boxes_pair_unref (var), NULL));
#line 3848 "wizard.c"
}


static inline void
_g_list_free__boxes_pair_unref0_ (GList* self)
{
#line 558 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_list_free_full (self, (GDestroyNotify) _boxes_pair_unref0_);
#line 3857 "wizard.c"
}


static Block101Data*
block101_data_ref (Block101Data* _data101_)
{
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_atomic_int_inc (&_data101_->_ref_count_);
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return _data101_;
#line 3868 "wizard.c"
}


static void
block101_data_unref (void * _userdata_)
{
	Block101Data* _data101_;
	_data101_ = (Block101Data*) _userdata_;
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (g_atomic_int_dec_and_test (&_data101_->_ref_count_)) {
#line 3879 "wizard.c"
		BoxesWizard* self;
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		self = _data101_->self;
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_object_unref0 (_data101_->config);
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_object_unref0 (self);
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_slice_free (Block101Data, _data101_);
#line 3889 "wizard.c"
	}
}


static void
_____lambda116_ (Block101Data* _data101_,
                 GError** error)
{
	BoxesWizard* self;
	GVirConfigDomain* _tmp0_ = NULL;
	BoxesLibvirtMachine* _tmp1_;
	BoxesLibvirtMachine* _tmp2_;
	GVirDomain* _tmp3_;
	GVirDomain* _tmp4_;
	GVirConfigDomain* _tmp5_;
	GVirConfigDomain* _tmp6_;
	GError * _inner_error_ = NULL;
#line 563 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self = _data101_->self;
#line 564 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp1_ = boxes_wizard_get_libvirt_machine (self);
#line 564 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp2_ = _tmp1_;
#line 564 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp3_ = boxes_libvirt_machine_get_domain (_tmp2_);
#line 564 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp4_ = _tmp3_;
#line 564 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp5_ = gvir_domain_get_config (_tmp4_, (guint) GVIR_DOMAIN_XML_INACTIVE, &_inner_error_);
#line 564 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = _tmp5_;
#line 564 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 564 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_propagate_error (error, _inner_error_);
#line 564 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		return;
#line 3927 "wizard.c"
	}
#line 564 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp6_ = _tmp0_;
#line 564 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = NULL;
#line 564 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (_data101_->config);
#line 564 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data101_->config = _tmp6_;
#line 563 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (_tmp0_);
#line 3939 "wizard.c"
}


static void
______lambda116__boxes_async_launcher_run_in_thread_func (gpointer self,
                                                          GError** error)
{
#line 563 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_____lambda116_ (self, error);
#line 3949 "wizard.c"
}


static void
_vala_GVirStorageVolInfo_free (GVirStorageVolInfo* self)
{
#line 574 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_boxed_free (gvir_storage_vol_info_get_type (), self);
#line 3958 "wizard.c"
}


static void
___lambda117_ (BoxesWizard* self)
{
	BoxesWizardWindow* _tmp0_;
	BoxesLibvirtMachine* _tmp1_;
	BoxesLibvirtMachine* _tmp2_;
#line 594 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = self->priv->wizard_window;
#line 594 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp1_ = boxes_wizard_get_libvirt_machine (self);
#line 594 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp2_ = _tmp1_;
#line 594 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_window_show_customization_page (_tmp0_, _tmp2_);
#line 3976 "wizard.c"
}


static void
____lambda117__boxes_wizard_summary_customize_func (gpointer self)
{
#line 593 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	___lambda117_ ((BoxesWizard*) self);
#line 3985 "wizard.c"
}


static gboolean
boxes_wizard_do_review_cancellable_co (BoxesWizardDoReviewCancellableData* _data_)
{
#line 489 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	switch (_data_->_state_) {
#line 489 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		case 0:
#line 3996 "wizard.c"
		goto _state_0;
#line 489 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		case 1:
#line 4000 "wizard.c"
		goto _state_1;
#line 489 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		case 2:
#line 4004 "wizard.c"
		goto _state_2;
		default:
#line 489 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_assert_not_reached ();
#line 4009 "wizard.c"
	}
	_state_0:
#line 490 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_tmp0_ = _data_->self->priv->review_cancellable;
#line 490 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_val_if_fail (_data_->_tmp0_ != NULL, FALSE);
#line 492 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_tmp1_ = _data_->self->priv->nokvm_infobar;
#line 492 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_widget_hide ((GtkWidget*) _data_->_tmp1_);
#line 493 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_tmp2_ = _data_->self->priv->summary;
#line 493 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_summary_clear (_data_->_tmp2_);
#line 495 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_tmp3_ = _data_->self->priv->source;
#line 495 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_data_->_tmp3_ != NULL) {
#line 4028 "wizard.c"
		{
#line 497 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp5_ = _data_->self->priv->source;
#line 497 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp6_ = boxes_remote_machine_new (_data_->_tmp5_, &_data_->_inner_error_);
#line 497 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp4_ = _data_->_tmp6_;
#line 497 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 497 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				if (_data_->_inner_error_->domain == BOXES_ERROR) {
#line 4040 "wizard.c"
					goto __catch146_boxes_error;
				}
#line 497 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 497 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_clear_error (&_data_->_inner_error_);
#line 497 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_object_unref (_data_->_async_result);
#line 497 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				return FALSE;
#line 4051 "wizard.c"
			}
#line 497 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			boxes_wizard_set_machine (_data_->self, (BoxesMachine*) _data_->_tmp4_);
#line 496 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_g_object_unref0 (_data_->_tmp4_);
#line 4057 "wizard.c"
		}
		goto __finally146;
		__catch146_boxes_error:
		{
#line 496 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_error_ = _data_->_inner_error_;
#line 496 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_inner_error_ = NULL;
#line 499 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp7_ = _data_->_error_;
#line 499 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp8_ = _data_->_tmp7_->message;
#line 499 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			g_warning ("wizard.vala:499: %s", _data_->_tmp8_);
#line 496 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_g_error_free0 (_data_->_error_);
#line 4074 "wizard.c"
		}
		__finally146:
#line 496 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 496 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 496 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			g_clear_error (&_data_->_inner_error_);
#line 496 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			g_object_unref (_data_->_async_result);
#line 496 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			return FALSE;
#line 4087 "wizard.c"
		}
	} else {
#line 501 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp10_ = _data_->self->priv->vm_creator;
#line 501 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (_data_->_tmp10_ != NULL) {
#line 501 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp11_ = boxes_wizard_get_libvirt_machine (_data_->self);
#line 501 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp12_ = _data_->_tmp11_;
#line 501 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp9_ = _data_->_tmp12_ == NULL;
#line 4100 "wizard.c"
		} else {
#line 501 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp9_ = FALSE;
#line 4104 "wizard.c"
		}
#line 501 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (_data_->_tmp9_) {
#line 4108 "wizard.c"
			{
#line 503 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp14_ = _data_->self->priv->vm_creator;
#line 503 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp15_ = _data_->self->priv->review_cancellable;
#line 503 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_state_ = 1;
#line 503 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				boxes_vm_creator_create_vm (_data_->_tmp14_, _data_->_tmp15_, boxes_wizard_do_review_cancellable_ready, _data_);
#line 503 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				return FALSE;
#line 4120 "wizard.c"
				_state_1:
#line 503 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp16_ = boxes_vm_creator_create_vm_finish (_data_->_tmp14_, _data_->_res_, &_data_->_inner_error_);
#line 503 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp13_ = _data_->_tmp16_;
#line 503 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 503 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					if (g_error_matches (_data_->_inner_error_, G_IO_ERROR, G_IO_ERROR_CANCELLED)) {
#line 4130 "wizard.c"
						goto __catch147_g_io_error_cancelled;
					}
					goto __catch147_g_error;
				}
#line 503 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				boxes_wizard_set_machine (_data_->self, (BoxesMachine*) _data_->_tmp13_);
#line 502 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_g_object_unref0 (_data_->_tmp13_);
#line 4139 "wizard.c"
			}
			goto __finally147;
			__catch147_g_io_error_cancelled:
			{
#line 502 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->cancel_error = _data_->_inner_error_;
#line 502 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_inner_error_ = NULL;
#line 502 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_g_error_free0 (_data_->cancel_error);
#line 4150 "wizard.c"
			}
			goto __finally147;
			__catch147_g_error:
			{
#line 502 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_vala1__error_ = _data_->_inner_error_;
#line 502 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_inner_error_ = NULL;
#line 506 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp17_ = _data_->self->priv->window;
#line 506 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp18_ = boxes_app_window_get_notificationbar (_data_->_tmp17_);
#line 506 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp19_ = _data_->_tmp18_;
#line 506 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp20_ = boxes_notificationbar_display_error (_data_->_tmp19_, _ ("Box setup failed"), BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT);
#line 506 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp21_ = _data_->_tmp20_;
#line 506 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_g_object_unref0 (_data_->_tmp21_);
#line 507 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp22_ = _data_->_vala1__error_;
#line 507 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp23_ = _data_->_tmp22_->message;
#line 507 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_warning ("wizard.vala:507: %s", _data_->_tmp23_);
#line 502 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_g_error_free0 (_data_->_vala1__error_);
#line 4179 "wizard.c"
			}
			__finally147:
#line 502 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 502 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 502 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_clear_error (&_data_->_inner_error_);
#line 502 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_object_unref (_data_->_async_result);
#line 502 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				return FALSE;
#line 4192 "wizard.c"
			}
#line 510 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp24_ = boxes_wizard_get_libvirt_machine (_data_->self);
#line 510 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp25_ = _data_->_tmp24_;
#line 510 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			if (_data_->_tmp25_ == NULL) {
#line 512 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_object_notify ((GObject*) _data_->self, "machine");
#line 513 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->result = FALSE;
#line 513 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 513 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				if (_data_->_state_ != 0) {
#line 513 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 513 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 4212 "wizard.c"
					}
				}
#line 513 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_object_unref (_data_->_async_result);
#line 513 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				return FALSE;
#line 4219 "wizard.c"
			}
		}
	}
#line 517 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_tmp26_ = _data_->self->priv->review_cancellable;
#line 517 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (g_cancellable_is_cancelled (_data_->_tmp26_)) {
#line 518 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->result = FALSE;
#line 518 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 518 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (_data_->_state_ != 0) {
#line 518 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 518 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 4237 "wizard.c"
			}
		}
#line 518 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_object_unref (_data_->_async_result);
#line 518 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		return FALSE;
#line 4244 "wizard.c"
	}
#line 520 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_tmp27_ = _data_->self->priv->review_label;
#line 520 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_label_set_text (_data_->_tmp27_, _ ("Boxes will create a new box with the following properties:"));
#line 522 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_tmp28_ = _data_->self->priv->source;
#line 522 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_data_->_tmp28_ != NULL) {
#line 532 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		static GQuark _tmp59_label0 = 0;
#line 532 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		static GQuark _tmp59_label1 = 0;
#line 523 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp29_ = _data_->self->priv->source;
#line 523 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp30_ = boxes_collection_source_get_uri (_data_->_tmp29_);
#line 523 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp31_ = _data_->_tmp30_;
#line 523 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp32_ = _data_->_tmp31_;
#line 523 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp33_ = xmlParseURI (_data_->_tmp32_);
#line 523 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp34_ = _data_->_tmp33_;
#line 523 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_free0 (_data_->_tmp32_);
#line 523 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->uri = _data_->_tmp34_;
#line 525 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp35_ = _data_->self->priv->summary;
#line 525 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp36_ = _data_->self->priv->source;
#line 525 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp37_ = boxes_collection_source_get_source_type (_data_->_tmp36_);
#line 525 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp38_ = _data_->_tmp37_;
#line 525 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp39_ = _data_->_tmp38_;
#line 525 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_wizard_summary_add_property (_data_->_tmp35_, _ ("Type"), _data_->_tmp39_);
#line 525 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_free0 (_data_->_tmp39_);
#line 527 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp41_ = _data_->uri;
#line 527 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (_data_->_tmp41_ != NULL) {
#line 527 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp42_ = _data_->uri;
#line 527 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp43_ = _data_->_tmp42_->server;
#line 527 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp40_ = _data_->_tmp43_ != NULL;
#line 4298 "wizard.c"
		} else {
#line 527 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp40_ = FALSE;
#line 4302 "wizard.c"
		}
#line 527 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (_data_->_tmp40_) {
#line 528 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp44_ = _data_->self->priv->summary;
#line 528 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp45_ = _data_->uri;
#line 528 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp46_ = _data_->_tmp45_->server;
#line 528 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp47_ = g_utf8_strdown (_data_->_tmp46_, (gssize) -1);
#line 528 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp48_ = _data_->_tmp47_;
#line 528 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			boxes_wizard_summary_add_property (_data_->_tmp44_, _ ("Host"), _data_->_tmp48_);
#line 528 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_g_free0 (_data_->_tmp48_);
#line 4320 "wizard.c"
		} else {
#line 530 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp49_ = _data_->self->priv->summary;
#line 530 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp50_ = _data_->self->priv->source;
#line 530 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp51_ = boxes_collection_source_get_uri (_data_->_tmp50_);
#line 530 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp52_ = _data_->_tmp51_;
#line 530 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp53_ = _data_->_tmp52_;
#line 530 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp54_ = g_utf8_strdown (_data_->_tmp53_, (gssize) -1);
#line 530 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp55_ = _data_->_tmp54_;
#line 530 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			boxes_wizard_summary_add_property (_data_->_tmp49_, _ ("URL"), _data_->_tmp55_);
#line 530 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_g_free0 (_data_->_tmp55_);
#line 530 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_g_free0 (_data_->_tmp53_);
#line 4342 "wizard.c"
		}
#line 532 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp56_ = _data_->uri;
#line 532 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp57_ = _data_->_tmp56_->scheme;
#line 532 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp60_ = 0U;
#line 532 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp58_ = _data_->_tmp57_;
#line 532 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp60_ = (NULL == _data_->_tmp58_) ? 0 : g_quark_from_string (_data_->_tmp58_);
#line 532 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (_data_->_tmp60_ == ((0 != _tmp59_label0) ? _tmp59_label0 : (_tmp59_label0 = g_quark_from_static_string ("spice")))) {
#line 532 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			switch (0) {
#line 4358 "wizard.c"
				default:
				{
					{
#line 535 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_data_->port = 0;
#line 535 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_data_->tls_port = 0;
#line 537 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_data_->_tmp61_ = _data_->self->priv->source;
#line 537 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_data_->_tmp62_ = boxes_collection_source_get_uri (_data_->_tmp61_);
#line 537 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_data_->_tmp63_ = _data_->_tmp62_;
#line 537 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_data_->_tmp64_ = _data_->_tmp63_;
#line 537 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_data_->_tmp65_ = NULL;
#line 537 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_data_->_tmp66_ = NULL;
#line 537 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						spice_validate_uri (_data_->_tmp64_, &_data_->_tmp65_, &_data_->_tmp66_, &_data_->_inner_error_);
#line 537 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_data_->_tmp67_ = _data_->_tmp65_;
#line 537 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_data_->port = *_data_->_tmp67_;
#line 537 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_data_->_tmp68_ = _data_->_tmp66_;
#line 537 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_data_->tls_port = *_data_->_tmp68_;
#line 537 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_g_free0 (_data_->_tmp68_);
#line 537 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_g_free0 (_data_->_tmp67_);
#line 537 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_g_free0 (_data_->_tmp64_);
#line 537 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 537 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
							if (_data_->_inner_error_->domain == BOXES_ERROR) {
#line 4398 "wizard.c"
								goto __catch148_boxes_error;
							}
#line 537 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
							_xmlFreeURI0 (_data_->uri);
#line 537 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
							g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 537 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
							g_clear_error (&_data_->_inner_error_);
#line 537 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
							g_object_unref (_data_->_async_result);
#line 537 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
							return FALSE;
#line 4411 "wizard.c"
						}
#line 538 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_data_->_tmp69_ = _data_->port;
#line 538 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						if (_data_->_tmp69_ > 0) {
#line 539 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
							_data_->_tmp70_ = _data_->self->priv->summary;
#line 539 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
							_data_->_tmp71_ = _data_->port;
#line 539 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
							_data_->_tmp72_ = g_strdup_printf ("%i", _data_->_tmp71_);
#line 539 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
							_data_->_tmp73_ = _data_->_tmp72_;
#line 539 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
							boxes_wizard_summary_add_property (_data_->_tmp70_, _ ("Port"), _data_->_tmp73_);
#line 539 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
							_g_free0 (_data_->_tmp73_);
#line 4429 "wizard.c"
						}
#line 540 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_data_->_tmp74_ = _data_->tls_port;
#line 540 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						if (_data_->_tmp74_ > 0) {
#line 541 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
							_data_->_tmp75_ = _data_->self->priv->summary;
#line 541 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
							_data_->_tmp76_ = _data_->tls_port;
#line 541 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
							_data_->_tmp77_ = g_strdup_printf ("%i", _data_->_tmp76_);
#line 541 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
							_data_->_tmp78_ = _data_->_tmp77_;
#line 541 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
							boxes_wizard_summary_add_property (_data_->_tmp75_, _ ("TLS Port"), _data_->_tmp78_);
#line 541 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
							_g_free0 (_data_->_tmp78_);
#line 4447 "wizard.c"
						}
					}
					goto __finally148;
					__catch148_boxes_error:
					{
#line 534 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_data_->_vala2__error_ = _data_->_inner_error_;
#line 534 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_data_->_inner_error_ = NULL;
#line 544 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_data_->_tmp79_ = _data_->_vala2__error_;
#line 544 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_data_->_tmp80_ = _data_->_tmp79_->message;
#line 544 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						g_critical ("wizard.vala:544: %s", _data_->_tmp80_);
#line 534 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_g_error_free0 (_data_->_vala2__error_);
#line 4465 "wizard.c"
					}
					__finally148:
#line 534 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 534 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_xmlFreeURI0 (_data_->uri);
#line 534 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 534 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						g_clear_error (&_data_->_inner_error_);
#line 534 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						g_object_unref (_data_->_async_result);
#line 534 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						return FALSE;
#line 4480 "wizard.c"
					}
#line 546 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					break;
#line 4484 "wizard.c"
				}
			}
		} else if (_data_->_tmp60_ == ((0 != _tmp59_label1) ? _tmp59_label1 : (_tmp59_label1 = g_quark_from_static_string ("vnc")))) {
#line 532 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			switch (0) {
#line 4490 "wizard.c"
				default:
				{
#line 549 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_data_->_tmp81_ = _data_->uri;
#line 549 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_data_->_tmp82_ = _data_->_tmp81_->port;
#line 549 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					if (_data_->_tmp82_ > 0) {
#line 550 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_data_->_tmp83_ = _data_->self->priv->summary;
#line 550 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_data_->_tmp84_ = _data_->uri;
#line 550 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_data_->_tmp85_ = _data_->_tmp84_->port;
#line 550 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_data_->_tmp86_ = g_strdup_printf ("%i", _data_->_tmp85_);
#line 550 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_data_->_tmp87_ = _data_->_tmp86_;
#line 550 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						boxes_wizard_summary_add_property (_data_->_tmp83_, _ ("Port"), _data_->_tmp87_);
#line 550 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_g_free0 (_data_->_tmp87_);
#line 4513 "wizard.c"
					}
#line 551 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					break;
#line 4517 "wizard.c"
				}
			}
		}
#line 554 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp88_ = boxes_app_app;
#line 554 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp89_ = _data_->self->priv->source;
#line 554 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp90_ = boxes_collection_source_get_source_type (_data_->_tmp89_);
#line 554 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp91_ = _data_->_tmp90_;
#line 554 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp92_ = _data_->_tmp91_;
#line 554 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp93_ = boxes_app_has_broker_for_source_type (_data_->_tmp88_, _data_->_tmp92_);
#line 554 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_free0 (_data_->_tmp92_);
#line 554 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (_data_->_tmp93_) {
#line 555 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp94_ = _data_->self->priv->review_label;
#line 555 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			gtk_label_set_text (_data_->_tmp94_, _ ("Will add boxes for all systems available from this account:"));
#line 4541 "wizard.c"
		}
#line 522 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_xmlFreeURI0 (_data_->uri);
#line 4545 "wizard.c"
	} else {
#line 557 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp95_ = boxes_wizard_get_libvirt_machine (_data_->self);
#line 557 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp96_ = _data_->_tmp95_;
#line 557 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (_data_->_tmp96_ != NULL) {
#line 558 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp97_ = _data_->self->priv->vm_creator;
#line 558 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp98_ = boxes_vm_creator_get_install_media (_data_->_tmp97_);
#line 558 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp99_ = _data_->_tmp98_;
#line 558 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp100_ = boxes_installer_media_get_vm_properties (_data_->_tmp99_);
#line 4561 "wizard.c"
			{
#line 558 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->property_collection = _data_->_tmp100_;
#line 558 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				for (_data_->property_it = _data_->property_collection; _data_->property_it != NULL; _data_->property_it = _data_->property_it->next) {
#line 558 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_data_->_tmp101_ = _boxes_pair_ref0 ((BoxesPair*) _data_->property_it->data);
#line 558 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_data_->property = _data_->_tmp101_;
#line 4571 "wizard.c"
					{
#line 559 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_data_->_tmp102_ = _data_->self->priv->summary;
#line 559 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_data_->_tmp103_ = _data_->property;
#line 559 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_data_->_tmp104_ = _data_->_tmp103_->first;
#line 559 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_data_->_tmp105_ = _data_->property;
#line 559 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_data_->_tmp106_ = _data_->_tmp105_->second;
#line 559 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						boxes_wizard_summary_add_property (_data_->_tmp102_, (const gchar*) _data_->_tmp104_, (const gchar*) _data_->_tmp106_);
#line 558 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_boxes_pair_unref0 (_data_->property);
#line 4587 "wizard.c"
					}
				}
#line 558 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				__g_list_free__boxes_pair_unref0_0 (_data_->property_collection);
#line 4592 "wizard.c"
			}
			{
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_data101_ = g_slice_new0 (Block101Data);
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_data101_->_ref_count_ = 1;
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_data101_->self = g_object_ref (_data_->self);
#line 562 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp107_ = NULL;
#line 562 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp108_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_data_->_tmp107_, gvir_config_domain_get_type ()) ? ((GVirConfigDomain*) _data_->_tmp107_) : NULL);
#line 562 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_data101_->config = _data_->_tmp108_;
#line 563 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp109_ = boxes_app_app;
#line 563 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp110_ = _data_->_tmp109_->async_launcher;
#line 563 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_state_ = 2;
#line 563 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				boxes_async_launcher_launch (_data_->_tmp110_, ______lambda116__boxes_async_launcher_run_in_thread_func, block101_data_ref (_data_->_data101_), block101_data_unref, boxes_wizard_do_review_cancellable_ready, _data_);
#line 563 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				return FALSE;
#line 4617 "wizard.c"
				_state_2:
#line 563 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				boxes_async_launcher_launch_finish (_data_->_tmp110_, _data_->_res_, &_data_->_inner_error_);
#line 563 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 563 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					block101_data_unref (_data_->_data101_);
#line 563 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_data_->_data101_ = NULL;
#line 4627 "wizard.c"
					goto __catch149_g_error;
				}
#line 567 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp111_ = _data_->_data101_->config;
#line 567 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp112_ = gvir_config_domain_get_memory (_data_->_tmp111_);
#line 567 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp113_ = _data_->_tmp112_;
#line 567 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp114_ = g_format_size_full (_data_->_tmp113_ * OSINFO_KIBIBYTES, G_FORMAT_SIZE_IEC_UNITS);
#line 567 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->memory = _data_->_tmp114_;
#line 568 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp115_ = _data_->self->priv->summary;
#line 568 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp116_ = _data_->memory;
#line 568 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				boxes_wizard_summary_add_property (_data_->_tmp115_, _ ("Memory"), _data_->_tmp116_);
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_g_free0 (_data_->memory);
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				block101_data_unref (_data_->_data101_);
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_data101_ = NULL;
#line 4652 "wizard.c"
			}
			goto __finally149;
			__catch149_g_error:
			{
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_vala3__error_ = _data_->_inner_error_;
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_inner_error_ = NULL;
#line 570 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp117_ = boxes_wizard_get_libvirt_machine (_data_->self);
#line 570 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp118_ = _data_->_tmp117_;
#line 570 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp119_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _data_->_tmp118_);
#line 570 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp120_ = _data_->_tmp119_;
#line 570 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp121_ = _data_->_vala3__error_;
#line 570 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp122_ = _data_->_tmp121_->message;
#line 570 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_warning ("wizard.vala:570: Failed to get configuration for machine '%s': %s", _data_->_tmp120_, _data_->_tmp122_);
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_g_error_free0 (_data_->_vala3__error_);
#line 4677 "wizard.c"
			}
			__finally149:
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_clear_error (&_data_->_inner_error_);
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				g_object_unref (_data_->_async_result);
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				return FALSE;
#line 4690 "wizard.c"
			}
#line 573 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp124_ = boxes_wizard_get_libvirt_machine (_data_->self);
#line 573 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp125_ = _data_->_tmp124_;
#line 573 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp126_ = boxes_libvirt_machine_get_importing (_data_->_tmp125_);
#line 573 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp127_ = _data_->_tmp126_;
#line 573 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			if (!_data_->_tmp127_) {
#line 573 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp128_ = boxes_wizard_get_libvirt_machine (_data_->self);
#line 573 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp129_ = _data_->_tmp128_;
#line 573 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp130_ = boxes_libvirt_machine_get_storage_volume (_data_->_tmp129_);
#line 573 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp131_ = _data_->_tmp130_;
#line 573 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp123_ = _data_->_tmp131_ != NULL;
#line 4712 "wizard.c"
			} else {
#line 573 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp123_ = FALSE;
#line 4716 "wizard.c"
			}
#line 573 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			if (_data_->_tmp123_) {
#line 4720 "wizard.c"
				{
#line 575 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_data_->_tmp132_ = boxes_wizard_get_libvirt_machine (_data_->self);
#line 575 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_data_->_tmp133_ = _data_->_tmp132_;
#line 575 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_data_->_tmp134_ = boxes_libvirt_machine_get_storage_volume (_data_->_tmp133_);
#line 575 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_data_->_tmp135_ = _data_->_tmp134_;
#line 575 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_data_->_tmp136_ = gvir_storage_vol_get_info (_data_->_tmp135_, &_data_->_inner_error_);
#line 575 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_data_->volume_info = _data_->_tmp136_;
#line 575 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 4736 "wizard.c"
						goto __catch150_g_error;
					}
#line 576 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_data_->_tmp137_ = _data_->volume_info;
#line 576 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_data_->_tmp138_ = _data_->_tmp137_->capacity;
#line 576 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_data_->_tmp139_ = g_format_size_full (_data_->_tmp138_, G_FORMAT_SIZE_DEFAULT);
#line 576 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_data_->capacity = _data_->_tmp139_;
#line 577 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_data_->_tmp140_ = _data_->self->priv->summary;
#line 577 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_data_->_tmp141_ = _data_->capacity;
#line 577 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_data_->_tmp142_ = g_strdup_printf (_ ("%s maximum"), _data_->_tmp141_);
#line 577 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_data_->_tmp143_ = _data_->_tmp142_;
#line 577 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					boxes_wizard_summary_add_property (_data_->_tmp140_, _ ("Disk"), _data_->_tmp143_);
#line 577 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_g_free0 (_data_->_tmp143_);
#line 574 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_g_free0 (_data_->capacity);
#line 574 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					__vala_GVirStorageVolInfo_free0 (_data_->volume_info);
#line 4763 "wizard.c"
				}
				goto __finally150;
				__catch150_g_error:
				{
#line 574 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_data_->_vala4__error_ = _data_->_inner_error_;
#line 574 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_data_->_inner_error_ = NULL;
#line 581 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_data_->_tmp144_ = boxes_wizard_get_libvirt_machine (_data_->self);
#line 581 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_data_->_tmp145_ = _data_->_tmp144_;
#line 581 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_data_->_tmp146_ = boxes_libvirt_machine_get_storage_volume (_data_->_tmp145_);
#line 581 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_data_->_tmp147_ = _data_->_tmp146_;
#line 581 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_data_->_tmp148_ = gvir_storage_vol_get_name (_data_->_tmp147_);
#line 581 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_data_->_tmp149_ = _data_->_vala4__error_;
#line 581 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_data_->_tmp150_ = _data_->_tmp149_->message;
#line 581 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					g_warning ("wizard.vala:581: Failed to get information on volume '%s': %s", _data_->_tmp148_, _data_->_tmp150_);
#line 574 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_g_error_free0 (_data_->_vala4__error_);
#line 4790 "wizard.c"
				}
				__finally150:
#line 574 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 574 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 574 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					g_clear_error (&_data_->_inner_error_);
#line 574 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					g_object_unref (_data_->_async_result);
#line 574 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					return FALSE;
#line 4803 "wizard.c"
				}
			}
#line 587 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp151_ = _data_->self->priv->nokvm_infobar;
#line 587 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp152_ = boxes_wizard_get_libvirt_machine (_data_->self);
#line 587 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp153_ = _data_->_tmp152_;
#line 587 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp154_ = boxes_libvirt_machine_get_domain_config (_data_->_tmp153_);
#line 587 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp155_ = _data_->_tmp154_;
#line 587 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			gtk_widget_set_visible ((GtkWidget*) _data_->_tmp151_, gvir_config_domain_get_virt_type (_data_->_tmp155_) != GVIR_CONFIG_DOMAIN_VIRT_KVM);
#line 4818 "wizard.c"
		} else {
#line 588 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp156_ = _data_->self->priv->wizard_source;
#line 588 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_data_->_tmp157_ = _data_->_tmp156_->libvirt_sys_import;
#line 588 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			if (_data_->_tmp157_) {
#line 589 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp158_ = _data_->self->priv->review_label;
#line 589 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp159_ = _data_->self->priv->wizard_source;
#line 589 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp160_ = boxes_wizard_source_get_libvirt_sys_importer (_data_->_tmp159_);
#line 589 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp161_ = _data_->_tmp160_;
#line 589 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp162_ = boxes_libvirt_system_importer_get_wizard_review_label (_data_->_tmp161_);
#line 589 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp163_ = _data_->_tmp162_;
#line 589 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_data_->_tmp164_ = _data_->_tmp163_;
#line 589 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				gtk_label_set_text (_data_->_tmp158_, _data_->_tmp164_);
#line 589 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_g_free0 (_data_->_tmp164_);
#line 4844 "wizard.c"
			}
		}
	}
#line 592 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_tmp165_ = boxes_wizard_get_libvirt_machine (_data_->self);
#line 592 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_tmp166_ = _data_->_tmp165_;
#line 592 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_data_->_tmp166_ != NULL) {
#line 593 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp167_ = _data_->self->priv->summary;
#line 593 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_wizard_summary_append_customize_button (_data_->_tmp167_, ____lambda117__boxes_wizard_summary_customize_func, _data_->self);
#line 4858 "wizard.c"
	}
#line 597 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->result = TRUE;
#line 597 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 597 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_data_->_state_ != 0) {
#line 597 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 597 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 4870 "wizard.c"
		}
	}
#line 597 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_object_unref (_data_->_async_result);
#line 597 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return FALSE;
#line 4877 "wizard.c"
}


static gboolean
boxes_wizard_skip_page (BoxesWizard* self,
                        BoxesWizardPage page)
{
	gboolean result = FALSE;
	gboolean forwards = FALSE;
	BoxesWizardPage _tmp0_;
	BoxesWizardPage _tmp1_;
	BoxesWizardPage skip_to = 0;
	gboolean _tmp2_ = FALSE;
	BoxesCollectionSource* _tmp3_;
	gboolean _tmp7_ = FALSE;
	gboolean _tmp8_;
	BoxesVMCreator* _tmp9_;
	BoxesWizardPage _tmp35_;
#line 600 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 601 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = boxes_wizard_get_page (self);
#line 601 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp1_ = _tmp0_;
#line 601 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	forwards = page > _tmp1_;
#line 602 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	skip_to = page;
#line 605 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp3_ = self->priv->source;
#line 605 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_tmp3_ != NULL) {
#line 4910 "wizard.c"
		BoxesWizardPage _tmp4_;
#line 606 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp4_ = page;
#line 606 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp2_ = (BOXES_WIZARD_PAGE_SOURCE < _tmp4_) && (_tmp4_ < BOXES_WIZARD_PAGE_REVIEW);
#line 4916 "wizard.c"
	} else {
#line 605 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp2_ = FALSE;
#line 4920 "wizard.c"
	}
#line 605 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_tmp2_) {
#line 4924 "wizard.c"
		BoxesWizardPage _tmp5_ = 0;
		gboolean _tmp6_;
#line 607 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp6_ = forwards;
#line 607 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (_tmp6_) {
#line 607 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp5_ = page + 1;
#line 4933 "wizard.c"
		} else {
#line 607 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp5_ = page - 1;
#line 4937 "wizard.c"
		}
#line 607 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		skip_to = _tmp5_;
#line 4941 "wizard.c"
	}
#line 610 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp8_ = forwards;
#line 610 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (!_tmp8_) {
#line 611 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp7_ = page == BOXES_WIZARD_PAGE_PREPARATION;
#line 4949 "wizard.c"
	} else {
#line 610 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp7_ = FALSE;
#line 4953 "wizard.c"
	}
#line 610 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_tmp7_) {
#line 612 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		skip_to = page - 1;
#line 4959 "wizard.c"
	}
#line 614 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp9_ = self->priv->vm_creator;
#line 614 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_tmp9_ != NULL) {
#line 4965 "wizard.c"
		gboolean _tmp10_ = FALSE;
		gboolean _tmp18_ = FALSE;
		gboolean _tmp19_ = FALSE;
		gboolean _tmp20_ = FALSE;
#line 616 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (page == BOXES_WIZARD_PAGE_SETUP) {
#line 4972 "wizard.c"
			BoxesVMCreator* _tmp11_;
			BoxesInstallerMedia* _tmp12_;
			BoxesInstallerMedia* _tmp13_;
			gboolean _tmp14_;
			gboolean _tmp15_;
#line 617 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp11_ = self->priv->vm_creator;
#line 617 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp12_ = boxes_vm_creator_get_install_media (_tmp11_);
#line 617 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp13_ = _tmp12_;
#line 617 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp14_ = boxes_installer_media_get_need_user_input_for_vm_creation (_tmp13_);
#line 617 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp15_ = _tmp14_;
#line 617 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp10_ = !_tmp15_;
#line 4990 "wizard.c"
		} else {
#line 616 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp10_ = FALSE;
#line 4994 "wizard.c"
		}
#line 616 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (_tmp10_) {
#line 4998 "wizard.c"
			BoxesWizardPage _tmp16_ = 0;
			gboolean _tmp17_;
#line 618 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp17_ = forwards;
#line 618 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			if (_tmp17_) {
#line 618 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp16_ = page + 1;
#line 5007 "wizard.c"
			} else {
#line 618 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp16_ = page - 1;
#line 5011 "wizard.c"
			}
#line 618 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			skip_to = _tmp16_;
#line 5015 "wizard.c"
		}
#line 621 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (page == BOXES_WIZARD_PAGE_REVIEW) {
#line 5019 "wizard.c"
			gboolean _tmp21_;
#line 621 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp21_ = forwards;
#line 621 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp20_ = _tmp21_;
#line 5025 "wizard.c"
		} else {
#line 621 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp20_ = FALSE;
#line 5029 "wizard.c"
		}
#line 621 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (_tmp20_) {
#line 5033 "wizard.c"
			BoxesVMCreator* _tmp22_;
			BoxesInstallerMedia* _tmp23_;
			BoxesInstallerMedia* _tmp24_;
			gboolean _tmp25_;
			gboolean _tmp26_;
#line 622 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp22_ = self->priv->vm_creator;
#line 622 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp23_ = boxes_vm_creator_get_install_media (_tmp22_);
#line 622 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp24_ = _tmp23_;
#line 622 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp25_ = boxes_installer_media_get_live (_tmp24_);
#line 622 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp26_ = _tmp25_;
#line 622 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp19_ = _tmp26_;
#line 5051 "wizard.c"
		} else {
#line 621 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp19_ = FALSE;
#line 5055 "wizard.c"
		}
#line 621 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (_tmp19_) {
#line 5059 "wizard.c"
			gboolean _tmp27_;
#line 623 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp27_ = self->priv->skip_review_for_live;
#line 623 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp18_ = _tmp27_;
#line 5065 "wizard.c"
		} else {
#line 621 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp18_ = FALSE;
#line 5069 "wizard.c"
		}
#line 621 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (_tmp18_) {
#line 5073 "wizard.c"
			BoxesWizardPage _tmp28_;
#line 624 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp28_ = skip_to;
#line 624 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			skip_to = _tmp28_ + 1;
#line 5079 "wizard.c"
		}
	} else {
		BoxesWizardSource* _tmp29_;
		gboolean _tmp30_;
#line 625 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp29_ = self->priv->wizard_source;
#line 625 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp30_ = _tmp29_->libvirt_sys_import;
#line 625 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (_tmp30_) {
#line 626 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			if (page == BOXES_WIZARD_PAGE_PREPARATION) {
#line 5092 "wizard.c"
				BoxesWizardPage _tmp31_ = 0;
				gboolean _tmp32_;
#line 627 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp32_ = forwards;
#line 627 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				if (_tmp32_) {
#line 627 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_tmp31_ = page + 2;
#line 5101 "wizard.c"
				} else {
#line 627 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_tmp31_ = page - 1;
#line 5105 "wizard.c"
				}
#line 627 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				skip_to = _tmp31_;
#line 5109 "wizard.c"
			} else {
#line 628 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				if (page == BOXES_WIZARD_PAGE_SETUP) {
#line 5113 "wizard.c"
					BoxesWizardPage _tmp33_ = 0;
					gboolean _tmp34_;
#line 629 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_tmp34_ = forwards;
#line 629 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					if (_tmp34_) {
#line 629 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_tmp33_ = page + 1;
#line 5122 "wizard.c"
					} else {
#line 629 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
						_tmp33_ = page - 2;
#line 5126 "wizard.c"
					}
#line 629 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					skip_to = _tmp33_;
#line 5130 "wizard.c"
				}
			}
		}
	}
#line 632 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp35_ = skip_to;
#line 632 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_tmp35_ != page) {
#line 5139 "wizard.c"
		BoxesWizardPage _tmp36_;
#line 633 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp36_ = skip_to;
#line 633 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_wizard_set_page (self, _tmp36_);
#line 634 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		result = TRUE;
#line 634 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		return result;
#line 5149 "wizard.c"
	}
#line 637 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	result = FALSE;
#line 637 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return result;
#line 5155 "wizard.c"
}


static void
boxes_wizard_download_media_data_free (gpointer _data)
{
	BoxesWizardDownloadMediaData* _data_;
	_data_ = _data;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_free0 (_data_->uri);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_free0 (_data_->filename);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (_data_->progress);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (_data_->self);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_slice_free (BoxesWizardDownloadMediaData, _data_);
#line 5174 "wizard.c"
}


static void
boxes_wizard_download_media (BoxesWizard* self,
                             const gchar* uri,
                             const gchar* filename,
                             BoxesActivityProgress* progress,
                             GAsyncReadyCallback _callback_,
                             gpointer _user_data_)
{
	BoxesWizardDownloadMediaData* _data_;
	BoxesWizard* _tmp0_;
	gchar* _tmp1_;
	gchar* _tmp2_;
	BoxesActivityProgress* _tmp3_;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_ = g_slice_new0 (BoxesWizardDownloadMediaData);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_task_set_task_data (_data_->_async_result, _data_, boxes_wizard_download_media_data_free);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->self = _tmp0_;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp1_ = g_strdup (uri);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_free0 (_data_->uri);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->uri = _tmp1_;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp2_ = g_strdup (filename);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_free0 (_data_->filename);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->filename = _tmp2_;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp3_ = _g_object_ref0 (progress);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (_data_->progress);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->progress = _tmp3_;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_download_media_co (_data_);
#line 5221 "wizard.c"
}


static void
boxes_wizard_download_media_finish (BoxesWizard* self,
                                    GAsyncResult* _res_)
{
	BoxesWizardDownloadMediaData* _data_;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 5232 "wizard.c"
}


static void
boxes_wizard_download_media_ready (GObject* source_object,
                                   GAsyncResult* _res_,
                                   gpointer _user_data_)
{
	BoxesWizardDownloadMediaData* _data_;
#line 645 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_ = _user_data_;
#line 645 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_source_object_ = source_object;
#line 645 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_res_ = _res_;
#line 645 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_download_media_co (_data_);
#line 5250 "wizard.c"
}


static gboolean
boxes_wizard_download_media_co (BoxesWizardDownloadMediaData* _data_)
{
#line 640 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	switch (_data_->_state_) {
#line 640 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		case 0:
#line 5261 "wizard.c"
		goto _state_0;
#line 640 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		case 1:
#line 5265 "wizard.c"
		goto _state_1;
		default:
#line 640 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_assert_not_reached ();
#line 5270 "wizard.c"
	}
	_state_0:
#line 641 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_tmp0_ = boxes_activity_progress_add_child_activity (_data_->progress, BOXES_WIZARD_DOWNLOAD_PROGRESS_SCALE);
#line 641 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->download_progress = _data_->_tmp0_;
#line 642 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data_->_tmp1_ = _data_->self->priv->prep_status_label;
#line 642 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_label_set_label (_data_->_tmp1_, _ ("Downloading media…"));
#line 5281 "wizard.c"
	{
#line 645 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp2_ = _data_->download_progress;
#line 645 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp3_ = _data_->self->priv->prepare_cancellable;
#line 645 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_state_ = 1;
#line 645 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_downloader_fetch_media (_data_->uri, _data_->filename, _data_->_tmp2_, _data_->_tmp3_, boxes_wizard_download_media_ready, _data_);
#line 645 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		return FALSE;
#line 5293 "wizard.c"
		_state_1:
#line 645 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp4_ = boxes_downloader_fetch_media_finish (_data_->_res_, &_data_->_inner_error_);
#line 645 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->cache_path = _data_->_tmp4_;
#line 645 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 645 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			if (g_error_matches (_data_->_inner_error_, G_IO_ERROR, G_IO_ERROR_CANCELLED)) {
#line 5303 "wizard.c"
				goto __catch151_g_io_error_cancelled;
			}
			goto __catch151_g_error;
		}
#line 646 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp5_ = _data_->cache_path;
#line 646 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_wizard_prepare_downloaded_media (_data_->self, _data_->_tmp5_, _data_->progress);
#line 644 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_free0 (_data_->cache_path);
#line 5314 "wizard.c"
	}
	goto __finally151;
	__catch151_g_io_error_cancelled:
	{
#line 644 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->e = _data_->_inner_error_;
#line 644 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_inner_error_ = NULL;
#line 648 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_debug ("wizard.vala:648: Cancelled downloading media '%s'!", _data_->uri);
#line 649 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_wizard_set_page (_data_->self, BOXES_WIZARD_PAGE_SOURCE);
#line 644 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_error_free0 (_data_->e);
#line 5329 "wizard.c"
	}
	goto __finally151;
	__catch151_g_error:
	{
#line 644 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_vala1_e = _data_->_inner_error_;
#line 644 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_inner_error_ = NULL;
#line 651 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp6_ = _data_->_vala1_e;
#line 651 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp7_ = _data_->_tmp6_->message;
#line 651 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_warning ("wizard.vala:651: Failed downloading media '%s'! %s", _data_->uri, _data_->_tmp7_);
#line 652 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp8_ = _data_->self->priv->window;
#line 652 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp9_ = boxes_app_window_get_notificationbar (_data_->_tmp8_);
#line 652 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp10_ = _data_->_tmp9_;
#line 652 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp11_ = boxes_notificationbar_display_error (_data_->_tmp10_, _ ("Download failed."), BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT);
#line 652 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data_->_tmp12_ = _data_->_tmp11_;
#line 652 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_object_unref0 (_data_->_tmp12_);
#line 653 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_wizard_set_page (_data_->self, BOXES_WIZARD_PAGE_SOURCE);
#line 644 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_error_free0 (_data_->_vala1_e);
#line 5360 "wizard.c"
	}
	__finally151:
#line 644 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 644 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_object_unref0 (_data_->download_progress);
#line 644 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 644 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_clear_error (&_data_->_inner_error_);
#line 644 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_object_unref (_data_->_async_result);
#line 644 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		return FALSE;
#line 5375 "wizard.c"
	}
#line 640 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (_data_->download_progress);
#line 640 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 640 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_data_->_state_ != 0) {
#line 640 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 640 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 5387 "wizard.c"
		}
	}
#line 640 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_object_unref (_data_->_async_result);
#line 640 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return FALSE;
#line 5394 "wizard.c"
}


static void
boxes_wizard_prepare_downloaded_media (BoxesWizard* self,
                                       const gchar* cache_path,
                                       BoxesActivityProgress* progress)
{
	BoxesWizardSource* _tmp0_;
	gchar* _tmp1_;
	gchar* _tmp2_;
#line 657 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (self != NULL);
#line 657 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (cache_path != NULL);
#line 657 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (progress != NULL);
#line 658 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_cleanup (self);
#line 661 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = self->priv->wizard_source;
#line 661 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp1_ = g_strconcat ("file://", cache_path, NULL);
#line 661 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp2_ = _tmp1_;
#line 661 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_source_set_uri (_tmp0_, _tmp2_);
#line 661 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_free0 (_tmp2_);
#line 662 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_prepare (self, progress);
#line 5426 "wizard.c"
}


static void
_boxes_wizard_cancel_gtk_button_clicked (GtkButton* _sender,
                                         gpointer self)
{
#line 670 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_cancel ((BoxesWizard*) self);
#line 5436 "wizard.c"
}


static void
__lambda170_ (BoxesWizard* self)
{
	BoxesWizardPage _tmp0_;
	BoxesWizardPage _tmp1_;
#line 673 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = boxes_wizard_get_page (self);
#line 673 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp1_ = _tmp0_;
#line 673 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_tmp1_ == BOXES_WIZARD_PAGE_SOURCE) {
#line 5451 "wizard.c"
		gboolean _tmp2_ = FALSE;
		BoxesWizardSource* _tmp3_;
		BoxesSourcePage _tmp4_;
		BoxesSourcePage _tmp5_;
		BoxesWizardSource* _tmp9_;
		BoxesWizardSource* _tmp10_;
#line 674 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp3_ = self->priv->wizard_source;
#line 674 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp4_ = boxes_wizard_source_get_page (_tmp3_);
#line 674 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp5_ = _tmp4_;
#line 674 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (_tmp5_ == BOXES_SOURCE_PAGE_RHEL_WEB_VIEW) {
#line 674 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp2_ = TRUE;
#line 5468 "wizard.c"
		} else {
			BoxesWizardSource* _tmp6_;
			BoxesSourcePage _tmp7_;
			BoxesSourcePage _tmp8_;
#line 675 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp6_ = self->priv->wizard_source;
#line 675 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp7_ = boxes_wizard_source_get_page (_tmp6_);
#line 675 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp8_ = _tmp7_;
#line 675 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp2_ = _tmp8_ == BOXES_SOURCE_PAGE_DOWNLOADS;
#line 5481 "wizard.c"
		}
#line 674 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_return_if_fail (_tmp2_);
#line 676 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp9_ = self->priv->wizard_source;
#line 676 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_wizard_source_set_page (_tmp9_, BOXES_SOURCE_PAGE_MAIN);
#line 677 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp10_ = self->priv->wizard_source;
#line 677 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_wizard_source_cleanup (_tmp10_);
#line 5493 "wizard.c"
	} else {
		GCancellable* _tmp11_;
		BoxesWizardPage _tmp12_;
		BoxesWizardPage _tmp13_;
#line 679 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp11_ = self->priv->prepare_cancellable;
#line 679 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_cancellable_cancel (_tmp11_);
#line 680 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp12_ = boxes_wizard_get_page (self);
#line 680 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp13_ = _tmp12_;
#line 680 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_wizard_set_page (self, _tmp13_ - 1);
#line 5508 "wizard.c"
	}
}


static void
___lambda170__gtk_button_clicked (GtkButton* _sender,
                                  gpointer self)
{
#line 672 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	__lambda170_ ((BoxesWizard*) self);
#line 5519 "wizard.c"
}


static void
__lambda171_ (BoxesWizard* self)
{
	BoxesWizardPage _tmp0_;
	BoxesWizardPage _tmp1_;
#line 685 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = boxes_wizard_get_page (self);
#line 685 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp1_ = _tmp0_;
#line 685 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_set_page (self, _tmp1_ + 1);
#line 5534 "wizard.c"
}


static void
___lambda171__gtk_button_clicked (GtkButton* _sender,
                                  gpointer self)
{
#line 684 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	__lambda171_ ((BoxesWizard*) self);
#line 5544 "wizard.c"
}


static void
__lambda172_ (BoxesWizard* self)
{
#line 690 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_set_page (self, BOXES_WIZARD_PAGE_LAST);
#line 5553 "wizard.c"
}


static void
___lambda172__gtk_button_clicked (GtkButton* _sender,
                                  gpointer self)
{
#line 689 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	__lambda172_ ((BoxesWizard*) self);
#line 5563 "wizard.c"
}


void
boxes_wizard_setup_ui (BoxesWizard* self,
                       BoxesAppWindow* window,
                       BoxesWizardWindow* wizard_window)
{
	BoxesAppWindow* _tmp0_;
	BoxesWizardToolbar* _tmp1_;
	GtkButton* _tmp2_;
	GtkButton* _tmp3_;
	GtkButton* _tmp4_;
	BoxesWizardToolbar* _tmp5_;
	GtkButton* _tmp6_;
	GtkButton* _tmp7_;
	GtkButton* _tmp8_;
	BoxesWizardToolbar* _tmp9_;
	GtkButton* _tmp10_;
	GtkButton* _tmp11_;
	GtkButton* _tmp12_;
	GtkButton* _tmp13_;
	GtkButton* _tmp14_;
	BoxesWizardToolbar* _tmp15_;
	GtkButton* _tmp16_;
	GtkButton* _tmp17_;
	GtkButton* _tmp18_;
	BoxesWizardSource* _tmp19_;
#line 665 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (self != NULL);
#line 665 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (window != NULL);
#line 665 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (wizard_window != NULL);
#line 666 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = _g_object_ref0 (window);
#line 666 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (self->priv->window);
#line 666 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self->priv->window = _tmp0_;
#line 667 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self->priv->wizard_window = wizard_window;
#line 669 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp1_ = wizard_window->topbar;
#line 669 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp2_ = _tmp1_->cancel_btn;
#line 669 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 669 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (self->priv->cancel_button);
#line 669 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self->priv->cancel_button = _tmp3_;
#line 670 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp4_ = self->priv->cancel_button;
#line 670 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_signal_connect_object (_tmp4_, "clicked", (GCallback) _boxes_wizard_cancel_gtk_button_clicked, self, 0);
#line 671 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp5_ = wizard_window->topbar;
#line 671 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp6_ = _tmp5_->back_btn;
#line 671 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp7_ = _g_object_ref0 (_tmp6_);
#line 671 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (self->priv->back_button);
#line 671 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self->priv->back_button = _tmp7_;
#line 672 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp8_ = self->priv->back_button;
#line 672 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_signal_connect_object (_tmp8_, "clicked", (GCallback) ___lambda170__gtk_button_clicked, self, 0);
#line 683 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp9_ = wizard_window->topbar;
#line 683 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp10_ = _tmp9_->continue_btn;
#line 683 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp11_ = _g_object_ref0 (_tmp10_);
#line 683 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (self->priv->continue_button);
#line 683 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self->priv->continue_button = _tmp11_;
#line 684 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp12_ = self->priv->continue_button;
#line 684 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_signal_connect_object (_tmp12_, "clicked", (GCallback) ___lambda171__gtk_button_clicked, self, 0);
#line 687 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp13_ = self->priv->continue_button;
#line 687 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp14_ = _g_object_ref0 (_tmp13_);
#line 687 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (self->priv->next_button);
#line 687 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self->priv->next_button = _tmp14_;
#line 688 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp15_ = wizard_window->topbar;
#line 688 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp16_ = _tmp15_->create_btn;
#line 688 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp17_ = _g_object_ref0 (_tmp16_);
#line 688 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (self->priv->create_button);
#line 688 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self->priv->create_button = _tmp17_;
#line 689 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp18_ = self->priv->create_button;
#line 689 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_signal_connect_object (_tmp18_, "clicked", (GCallback) ___lambda172__gtk_button_clicked, self, 0);
#line 693 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp19_ = self->priv->wizard_source;
#line 693 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_source_setup_ui (_tmp19_, window);
#line 5674 "wizard.c"
}


void
boxes_wizard_open_with_uri (BoxesWizard* self,
                            const gchar* uri,
                            gboolean skip_review_for_live)
{
	BoxesAppWindow* _tmp0_;
	BoxesWizardSource* _tmp1_;
	BoxesWizardSource* _tmp2_;
#line 696 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (self != NULL);
#line 696 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (uri != NULL);
#line 697 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = self->priv->window;
#line 697 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_ui_set_state ((BoxesUI*) _tmp0_, BOXES_UI_STATE_WIZARD);
#line 698 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self->priv->skip_review_for_live = skip_review_for_live;
#line 700 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_set_page (self, BOXES_WIZARD_PAGE_SOURCE);
#line 701 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp1_ = self->priv->wizard_source;
#line 701 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_source_set_page (_tmp1_, BOXES_SOURCE_PAGE_URL);
#line 702 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp2_ = self->priv->wizard_source;
#line 702 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_source_set_uri (_tmp2_, uri);
#line 703 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_set_page (self, BOXES_WIZARD_PAGE_PREPARATION);
#line 5708 "wizard.c"
}


void
boxes_wizard_cancel (BoxesWizard* self)
{
	BoxesWizardSource* _tmp0_;
	BoxesAppWindow* _tmp1_;
#line 706 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (self != NULL);
#line 707 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_cleanup (self);
#line 708 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = self->priv->wizard_source;
#line 708 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_source_set_page (_tmp0_, BOXES_SOURCE_PAGE_MAIN);
#line 709 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp1_ = self->priv->window;
#line 709 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_ui_set_state ((BoxesUI*) _tmp1_, BOXES_UI_STATE_COLLECTION);
#line 5729 "wizard.c"
}


static void
boxes_wizard_ui_state_changed (BoxesWizard* self)
{
	BoxesUIState _tmp0_;
	BoxesUIState _tmp1_;
	BoxesWizardSource* _tmp2_;
	BoxesWizardSource* _tmp3_;
#line 712 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (self != NULL);
#line 713 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 713 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp1_ = _tmp0_;
#line 713 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_tmp1_ != BOXES_UI_STATE_WIZARD) {
#line 714 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		return;
#line 5750 "wizard.c"
	}
#line 716 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp2_ = self->priv->wizard_source;
#line 716 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_source_set_uri (_tmp2_, "");
#line 717 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp3_ = self->priv->wizard_source;
#line 717 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp3_->libvirt_sys_import = FALSE;
#line 718 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_set_page (self, BOXES_WIZARD_PAGE_SOURCE);
#line 5762 "wizard.c"
}


static void
boxes_wizard_destroy_machine (BoxesWizard* self)
{
	GCancellable* _tmp0_;
	BoxesMachine* _tmp2_;
#line 721 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (self != NULL);
#line 722 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = self->priv->review_cancellable;
#line 722 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_tmp0_ != NULL) {
#line 5777 "wizard.c"
		GCancellable* _tmp1_;
#line 723 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp1_ = self->priv->review_cancellable;
#line 723 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_cancellable_cancel (_tmp1_);
#line 5783 "wizard.c"
	}
#line 725 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp2_ = self->priv->_machine;
#line 725 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_tmp2_ != NULL) {
#line 5789 "wizard.c"
		BoxesApp* _tmp3_;
		BoxesMachine* _tmp4_;
#line 726 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp3_ = boxes_app_app;
#line 726 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp4_ = self->priv->_machine;
#line 726 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_app_delete_machine (_tmp3_, _tmp4_, TRUE);
#line 727 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_wizard_set_machine (self, NULL);
#line 5800 "wizard.c"
	}
}


BoxesWizard*
boxes_wizard_construct (GType object_type)
{
	BoxesWizard * self = NULL;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self = (BoxesWizard*) g_object_new (object_type, NULL);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return self;
#line 5813 "wizard.c"
}


BoxesWizard*
boxes_wizard_new (void)
{
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return boxes_wizard_construct (BOXES_TYPE_WIZARD);
#line 5822 "wizard.c"
}


static BoxesUIState
boxes_wizard_real_get_previous_ui_state (BoxesUI* base)
{
	BoxesUIState result;
	BoxesWizard* self;
	BoxesUIState _tmp0_;
#line 18 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self = (BoxesWizard*) base;
#line 18 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = self->priv->_previous_ui_state;
#line 18 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	result = _tmp0_;
#line 18 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return result;
#line 5840 "wizard.c"
}


static void
boxes_wizard_real_set_previous_ui_state (BoxesUI* base,
                                         BoxesUIState value)
{
	BoxesWizard* self;
#line 18 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self = (BoxesWizard*) base;
#line 18 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (boxes_wizard_real_get_previous_ui_state (base) != value) {
#line 18 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		self->priv->_previous_ui_state = value;
#line 18 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_object_notify_by_pspec ((GObject *) self, boxes_wizard_properties[BOXES_WIZARD_PREVIOUS_UI_STATE_PROPERTY]);
#line 5857 "wizard.c"
	}
}


static BoxesUIState
boxes_wizard_real_get_ui_state (BoxesUI* base)
{
	BoxesUIState result;
	BoxesWizard* self;
	BoxesUIState _tmp0_;
#line 19 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self = (BoxesWizard*) base;
#line 19 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = self->priv->_ui_state;
#line 19 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	result = _tmp0_;
#line 19 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return result;
#line 5876 "wizard.c"
}


static void
boxes_wizard_real_set_ui_state (BoxesUI* base,
                                BoxesUIState value)
{
	BoxesWizard* self;
#line 19 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self = (BoxesWizard*) base;
#line 19 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (boxes_wizard_real_get_ui_state (base) != value) {
#line 19 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		self->priv->_ui_state = value;
#line 19 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_object_notify_by_pspec ((GObject *) self, boxes_wizard_properties[BOXES_WIZARD_UI_STATE_PROPERTY]);
#line 5893 "wizard.c"
	}
}


BoxesMachine*
boxes_wizard_get_machine (BoxesWizard* self)
{
	BoxesMachine* result;
	BoxesMachine* _tmp0_;
#line 53 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 53 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = self->priv->_machine;
#line 53 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	result = _tmp0_;
#line 53 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return result;
#line 5911 "wizard.c"
}


void
boxes_wizard_set_machine (BoxesWizard* self,
                          BoxesMachine* value)
{
#line 53 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (self != NULL);
#line 53 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (boxes_wizard_get_machine (self) != value) {
#line 5923 "wizard.c"
		BoxesMachine* _tmp0_;
#line 53 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp0_ = _g_object_ref0 (value);
#line 53 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_object_unref0 (self->priv->_machine);
#line 53 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		self->priv->_machine = _tmp0_;
#line 53 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_object_notify_by_pspec ((GObject *) self, boxes_wizard_properties[BOXES_WIZARD_MACHINE_PROPERTY]);
#line 5933 "wizard.c"
	}
}


static BoxesLibvirtMachine*
boxes_wizard_get_libvirt_machine (BoxesWizard* self)
{
	BoxesLibvirtMachine* result;
	BoxesMachine* _tmp0_;
#line 54 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 54 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = self->priv->_machine;
#line 54 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	result = G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, BOXES_TYPE_LIBVIRT_MACHINE) ? ((BoxesLibvirtMachine*) _tmp0_) : NULL;
#line 54 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return result;
#line 5951 "wizard.c"
}


BoxesWizardPage
boxes_wizard_get_page (BoxesWizard* self)
{
	BoxesWizardPage result;
	BoxesWizardPage _tmp0_;
#line 62 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 62 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = self->priv->_page;
#line 62 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	result = _tmp0_;
#line 62 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return result;
#line 5968 "wizard.c"
}


static void
_boxes_wizard_page_____lambda167_ (BoxesWizard* self,
                                   GObject* obj,
                                   GAsyncResult* _result_)
{
	GtkButton* _tmp0_;
	GtkButton* _tmp1_;
#line 102 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (_result_ != NULL);
#line 103 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = self->priv->next_button;
#line 103 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp0_, TRUE);
#line 104 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp1_ = self->priv->create_button;
#line 104 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_widget_grab_focus ((GtkWidget*) _tmp1_);
#line 105 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (!boxes_wizard_review_finish (self, _result_)) {
#line 5991 "wizard.c"
		BoxesWizardPage _tmp2_;
		BoxesWizardPage _tmp3_;
#line 106 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp2_ = boxes_wizard_get_page (self);
#line 106 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp3_ = _tmp2_;
#line 106 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_wizard_set_page (self, _tmp3_ - 1);
#line 6000 "wizard.c"
	}
}


static void
__boxes_wizard_page_____lambda167__gasync_ready_callback (GObject* source_object,
                                                          GAsyncResult* res,
                                                          gpointer self)
{
#line 102 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_boxes_wizard_page_____lambda167_ ((BoxesWizard*) self, source_object, res);
#line 102 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_object_unref (self);
#line 6014 "wizard.c"
}


static void
_boxes_wizard_page_____lambda169_ (BoxesWizard* self,
                                   GObject* obj,
                                   GAsyncResult* _result_)
{
#line 111 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (_result_ != NULL);
#line 112 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (boxes_wizard_create_finish (self, _result_)) {
#line 6027 "wizard.c"
		BoxesAppWindow* _tmp0_;
		BoxesWizardSource* _tmp1_;
		gboolean _tmp2_ = FALSE;
		BoxesMachine* _tmp3_;
#line 113 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp0_ = self->priv->window;
#line 113 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_ui_set_state ((BoxesUI*) _tmp0_, BOXES_UI_STATE_COLLECTION);
#line 114 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp1_ = self->priv->wizard_source;
#line 114 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_wizard_source_set_page (_tmp1_, BOXES_SOURCE_PAGE_MAIN);
#line 116 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp3_ = self->priv->_machine;
#line 116 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (_tmp3_ != NULL) {
#line 6044 "wizard.c"
			BoxesMachine* _tmp4_;
#line 116 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp4_ = self->priv->_machine;
#line 116 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, BOXES_TYPE_REMOTE_MACHINE);
#line 6050 "wizard.c"
		} else {
#line 116 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp2_ = FALSE;
#line 6054 "wizard.c"
		}
#line 116 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		if (_tmp2_) {
#line 6058 "wizard.c"
			BoxesAppWindow* _tmp5_;
			BoxesMachine* _tmp6_;
#line 117 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp5_ = self->priv->window;
#line 117 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp6_ = self->priv->_machine;
#line 117 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			boxes_app_window_connect_to (_tmp5_, _tmp6_);
#line 118 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			boxes_wizard_set_machine (self, NULL);
#line 6069 "wizard.c"
		}
	} else {
		BoxesAppWindow* _tmp7_;
		BoxesNotificationbar* _tmp8_;
		BoxesNotificationbar* _tmp9_;
		BoxesNotification* _tmp10_;
		BoxesNotification* _tmp11_;
#line 121 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp7_ = self->priv->window;
#line 121 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp8_ = boxes_app_window_get_notificationbar (_tmp7_);
#line 121 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp9_ = _tmp8_;
#line 121 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp10_ = boxes_notificationbar_display_error (_tmp9_, _ ("Box creation failed"), BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT);
#line 121 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp11_ = _tmp10_;
#line 121 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_object_unref0 (_tmp11_);
#line 6089 "wizard.c"
	}
}


static void
__boxes_wizard_page_____lambda169__gasync_ready_callback (GObject* source_object,
                                                          GAsyncResult* res,
                                                          gpointer self)
{
#line 111 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_boxes_wizard_page_____lambda169_ ((BoxesWizard*) self, source_object, res);
#line 111 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_object_unref (self);
#line 6103 "wizard.c"
}


void
boxes_wizard_set_page (BoxesWizard* self,
                       BoxesWizardPage value)
{
	gboolean forwards = FALSE;
	BoxesWizardPage _tmp0_;
	BoxesWizardPage _tmp1_;
	gboolean _tmp12_;
	BoxesWizardWindow* _tmp37_;
	BoxesWizardToolbar* _tmp38_;
	const gchar* _tmp39_;
#line 63 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (self != NULL);
#line 64 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = boxes_wizard_get_page (self);
#line 64 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp1_ = _tmp0_;
#line 64 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	forwards = value > _tmp1_;
#line 66 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	switch (value) {
#line 66 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		case BOXES_WIZARD_PAGE_SOURCE:
#line 6130 "wizard.c"
		{
			GtkButton* _tmp2_;
			GtkButton* _tmp3_;
			GtkButton* _tmp4_;
			GtkButton* _tmp5_;
			GtkButton* _tmp6_;
			GtkButton* _tmp7_;
			BoxesWizardSource* _tmp8_;
			BoxesWizardSource* _tmp9_;
			BoxesSourcePage _tmp10_;
			BoxesSourcePage _tmp11_;
#line 69 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp2_ = self->priv->create_button;
#line 69 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			gtk_widget_set_visible ((GtkWidget*) _tmp2_, FALSE);
#line 70 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp3_ = self->priv->continue_button;
#line 70 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			gtk_widget_set_visible ((GtkWidget*) _tmp3_, TRUE);
#line 71 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp4_ = self->priv->continue_button;
#line 71 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp5_ = _g_object_ref0 (_tmp4_);
#line 71 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_g_object_unref0 (self->priv->next_button);
#line 71 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			self->priv->next_button = _tmp5_;
#line 72 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp6_ = self->priv->next_button;
#line 72 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			gtk_widget_set_sensitive ((GtkWidget*) _tmp6_, TRUE);
#line 73 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp7_ = self->priv->next_button;
#line 73 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			gtk_widget_grab_focus ((GtkWidget*) _tmp7_);
#line 74 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp8_ = self->priv->wizard_source;
#line 74 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp9_ = self->priv->wizard_source;
#line 74 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp10_ = boxes_wizard_source_get_page (_tmp9_);
#line 74 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			_tmp11_ = _tmp10_;
#line 74 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			boxes_wizard_source_set_page (_tmp8_, _tmp11_);
#line 75 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			boxes_wizard_cleanup (self);
#line 76 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			break;
#line 6180 "wizard.c"
		}
		default:
#line 66 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		break;
#line 6185 "wizard.c"
	}
#line 79 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp12_ = forwards;
#line 79 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_tmp12_) {
#line 80 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		switch (value) {
#line 80 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			case BOXES_WIZARD_PAGE_SOURCE:
#line 6195 "wizard.c"
			{
				BoxesWizardSource* _tmp13_;
#line 82 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp13_ = self->priv->wizard_source;
#line 82 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				boxes_wizard_source_set_page (_tmp13_, BOXES_SOURCE_PAGE_MAIN);
#line 83 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				break;
#line 6204 "wizard.c"
			}
#line 80 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			case BOXES_WIZARD_PAGE_PREPARATION:
#line 6208 "wizard.c"
			{
				GtkImage* _tmp14_;
				BoxesActivityProgress* _tmp15_;
				BoxesActivityProgress* _tmp16_;
				gboolean _tmp17_;
#line 86 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp14_ = self->priv->installer_image;
#line 86 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				gtk_image_set_from_icon_name (_tmp14_, "media-optical", (GtkIconSize) 0);
#line 87 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp15_ = boxes_wizard_create_preparation_progress (self);
#line 87 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp16_ = _tmp15_;
#line 87 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp17_ = !boxes_wizard_prepare (self, _tmp16_);
#line 87 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_g_object_unref0 (_tmp16_);
#line 87 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				if (_tmp17_) {
#line 88 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					return;
#line 6230 "wizard.c"
				}
#line 89 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				break;
#line 6234 "wizard.c"
			}
#line 80 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			case BOXES_WIZARD_PAGE_SETUP:
#line 6238 "wizard.c"
			{
#line 92 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				if (!boxes_wizard_setup (self)) {
#line 93 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					return;
#line 6244 "wizard.c"
				}
#line 94 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				break;
#line 6248 "wizard.c"
			}
#line 80 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			case BOXES_WIZARD_PAGE_REVIEW:
#line 6252 "wizard.c"
			{
				GtkButton* _tmp18_;
				GtkButton* _tmp19_;
				GtkButton* _tmp20_;
				GtkButton* _tmp21_;
				GtkButton* _tmp22_;
#line 97 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp18_ = self->priv->continue_button;
#line 97 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				gtk_widget_set_visible ((GtkWidget*) _tmp18_, FALSE);
#line 98 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp19_ = self->priv->create_button;
#line 98 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				gtk_widget_set_visible ((GtkWidget*) _tmp19_, TRUE);
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp20_ = self->priv->create_button;
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp21_ = _g_object_ref0 (_tmp20_);
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_g_object_unref0 (self->priv->next_button);
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				self->priv->next_button = _tmp21_;
#line 100 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp22_ = self->priv->next_button;
#line 100 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				gtk_widget_set_sensitive ((GtkWidget*) _tmp22_, FALSE);
#line 102 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				boxes_wizard_review (self, __boxes_wizard_page_____lambda167__gasync_ready_callback, g_object_ref (self));
#line 108 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				break;
#line 6283 "wizard.c"
			}
#line 80 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			case BOXES_WIZARD_PAGE_LAST:
#line 6287 "wizard.c"
			{
#line 111 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				boxes_wizard_create (self, __boxes_wizard_page_____lambda169__gasync_ready_callback, g_object_ref (self));
#line 124 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				return;
#line 6293 "wizard.c"
			}
			default:
#line 80 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			break;
#line 6298 "wizard.c"
		}
	} else {
		BoxesWizardPage _tmp31_;
		BoxesWizardPage _tmp32_;
#line 127 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		switch (value) {
#line 127 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			case BOXES_WIZARD_PAGE_SOURCE:
#line 6307 "wizard.c"
			{
				gboolean _tmp23_ = FALSE;
				BoxesWizardSource* _tmp24_;
				BoxesSourcePage _tmp25_;
				BoxesSourcePage _tmp26_;
#line 129 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp24_ = self->priv->wizard_source;
#line 129 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp25_ = boxes_wizard_source_get_page (_tmp24_);
#line 129 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp26_ = _tmp25_;
#line 129 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				if (_tmp26_ == BOXES_SOURCE_PAGE_RHEL_WEB_VIEW) {
#line 129 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_tmp23_ = TRUE;
#line 6323 "wizard.c"
				} else {
					BoxesWizardSource* _tmp27_;
					BoxesSourcePage _tmp28_;
					BoxesSourcePage _tmp29_;
#line 130 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_tmp27_ = self->priv->wizard_source;
#line 130 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_tmp28_ = boxes_wizard_source_get_page (_tmp27_);
#line 130 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_tmp29_ = _tmp28_;
#line 130 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_tmp23_ = _tmp29_ == BOXES_SOURCE_PAGE_DOWNLOADS;
#line 6336 "wizard.c"
				}
#line 129 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				if (_tmp23_) {
#line 6340 "wizard.c"
					BoxesWizardSource* _tmp30_;
#line 131 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					_tmp30_ = self->priv->wizard_source;
#line 131 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
					boxes_wizard_source_set_page (_tmp30_, BOXES_SOURCE_PAGE_MAIN);
#line 6346 "wizard.c"
				}
#line 132 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				break;
#line 6350 "wizard.c"
			}
			default:
#line 127 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			break;
#line 6355 "wizard.c"
		}
#line 135 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp31_ = boxes_wizard_get_page (self);
#line 135 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_tmp32_ = _tmp31_;
#line 135 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		switch (_tmp32_) {
#line 135 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			case BOXES_WIZARD_PAGE_REVIEW:
#line 6365 "wizard.c"
			{
				GtkButton* _tmp33_;
				GtkButton* _tmp34_;
				GtkButton* _tmp35_;
				GtkButton* _tmp36_;
#line 137 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp33_ = self->priv->create_button;
#line 137 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				gtk_widget_set_visible ((GtkWidget*) _tmp33_, FALSE);
#line 138 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp34_ = self->priv->continue_button;
#line 138 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				gtk_widget_set_visible ((GtkWidget*) _tmp34_, TRUE);
#line 139 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp35_ = self->priv->continue_button;
#line 139 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp36_ = _g_object_ref0 (_tmp35_);
#line 139 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_g_object_unref0 (self->priv->next_button);
#line 139 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				self->priv->next_button = _tmp36_;
#line 140 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				boxes_wizard_destroy_machine (self);
#line 141 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				break;
#line 6391 "wizard.c"
			}
			default:
#line 135 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			break;
#line 6396 "wizard.c"
		}
	}
#line 145 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (boxes_wizard_skip_page (self, value)) {
#line 146 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		return;
#line 6403 "wizard.c"
	}
#line 148 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self->priv->_page = value;
#line 149 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_update_back_button_sensitivity (self);
#line 150 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp37_ = self->priv->wizard_window;
#line 150 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp38_ = _tmp37_->topbar;
#line 150 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_toolbar_set_title_for_page (_tmp38_, value);
#line 151 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp39_ = BOXES_WIZARD_page_names[value];
#line 151 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_stack_set_visible_child_name ((GtkStack*) self, _tmp39_);
#line 153 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (value == BOXES_WIZARD_PAGE_SOURCE) {
#line 154 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_wizard_wizard_source_update_buttons (self);
#line 6423 "wizard.c"
	}
#line 63 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_object_notify_by_pspec ((GObject *) self, boxes_wizard_properties[BOXES_WIZARD_PAGE_PROPERTY]);
#line 6427 "wizard.c"
}


static void
_boxes_wizard_wizard_source_update_buttons_g_object_notify (GObject* _sender,
                                                            GParamSpec* pspec,
                                                            gpointer self)
{
#line 219 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_wizard_source_update_buttons ((BoxesWizard*) self);
#line 6438 "wizard.c"
}


static void
_boxes_wizard_wizard_source_update_buttons_gtk_editable_changed (GtkEditable* _sender,
                                                                 gpointer self)
{
#line 221 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_wizard_source_update_buttons ((BoxesWizard*) self);
#line 6448 "wizard.c"
}


static void
_boxes_wizard_ui_state_changed_g_object_notify (GObject* _sender,
                                                GParamSpec* pspec,
                                                gpointer self)
{
#line 222 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_ui_state_changed ((BoxesWizard*) self);
#line 6459 "wizard.c"
}


static void
_boxes_wizard___lambda173_ (BoxesWizard* self)
{
#line 225 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_set_page (self, BOXES_WIZARD_PAGE_PREPARATION);
#line 6468 "wizard.c"
}


static void
__boxes_wizard___lambda173__boxes_wizard_source_activated (BoxesWizardSource* _sender,
                                                           gpointer self)
{
#line 224 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_boxes_wizard___lambda173_ ((BoxesWizard*) self);
#line 6478 "wizard.c"
}


static GObject *
boxes_wizard_constructor (GType type,
                          guint n_construct_properties,
                          GObjectConstructParam * construct_properties)
{
	GObject * obj;
	GObjectClass * parent_class;
	BoxesWizard * self;
	BoxesMediaManager* _tmp0_;
	BoxesWizardSource* _tmp1_;
	BoxesWizardSource* _tmp2_;
	BoxesWizardSource* _tmp3_;
	GtkEntry* _tmp4_;
	BoxesWizardSource* _tmp5_;
#line 217 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	parent_class = G_OBJECT_CLASS (boxes_wizard_parent_class);
#line 217 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 217 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_WIZARD, BoxesWizard);
#line 218 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = boxes_media_manager_get_instance ();
#line 218 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (self->priv->media_manager);
#line 218 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self->priv->media_manager = _tmp0_;
#line 219 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp1_ = self->priv->wizard_source;
#line 219 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_signal_connect_object ((GObject*) _tmp1_, "notify::page", (GCallback) _boxes_wizard_wizard_source_update_buttons_g_object_notify, self, 0);
#line 220 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp2_ = self->priv->wizard_source;
#line 220 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_signal_connect_object ((GObject*) _tmp2_, "notify::selected", (GCallback) _boxes_wizard_wizard_source_update_buttons_g_object_notify, self, 0);
#line 221 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp3_ = self->priv->wizard_source;
#line 221 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp4_ = _tmp3_->url_entry;
#line 221 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_signal_connect_object ((GtkEditable*) _tmp4_, "changed", (GCallback) _boxes_wizard_wizard_source_update_buttons_gtk_editable_changed, self, 0);
#line 222 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_signal_connect_object ((GObject*) self, "notify::ui-state", (GCallback) _boxes_wizard_ui_state_changed_g_object_notify, self, 0);
#line 224 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp5_ = self->priv->wizard_source;
#line 224 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_signal_connect_object (_tmp5_, "activated", (GCallback) __boxes_wizard___lambda173__boxes_wizard_source_activated, self, 0);
#line 217 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return obj;
#line 6530 "wizard.c"
}


static void
boxes_wizard_class_init (BoxesWizardClass * klass)
{
	gint BoxesWizard_private_offset;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_parent_class = g_type_class_peek_parent (klass);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_type_class_add_private (klass, sizeof (BoxesWizardPrivate));
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_wizard_get_property;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_boxes_wizard_set_property;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	G_OBJECT_CLASS (klass)->constructor = boxes_wizard_constructor;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_wizard_finalize;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_WIZARD_PREVIOUS_UI_STATE_PROPERTY, boxes_wizard_properties[BOXES_WIZARD_PREVIOUS_UI_STATE_PROPERTY] = g_param_spec_enum ("previous-ui-state", "previous-ui-state", "previous-ui-state", BOXES_TYPE_UI_STATE, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_WIZARD_UI_STATE_PROPERTY, boxes_wizard_properties[BOXES_WIZARD_UI_STATE_PROPERTY] = g_param_spec_enum ("ui-state", "ui-state", "ui-state", BOXES_TYPE_UI_STATE, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_WIZARD_MACHINE_PROPERTY, boxes_wizard_properties[BOXES_WIZARD_MACHINE_PROPERTY] = g_param_spec_object ("machine", "machine", "machine", BOXES_TYPE_MACHINE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_WIZARD_PAGE_PROPERTY, boxes_wizard_properties[BOXES_WIZARD_PAGE_PROPERTY] = g_param_spec_enum ("page", "page", "page", BOXES_TYPE_WIZARD_PAGE, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	BoxesWizard_private_offset = g_type_class_get_instance_private_offset (klass);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/Boxes/ui/wizard.ui");
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "wizard_source", FALSE, BoxesWizard_private_offset + G_STRUCT_OFFSET (BoxesWizardPrivate, wizard_source));
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "summary", FALSE, BoxesWizard_private_offset + G_STRUCT_OFFSET (BoxesWizardPrivate, summary));
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "prep_progress", FALSE, BoxesWizard_private_offset + G_STRUCT_OFFSET (BoxesWizardPrivate, prep_progress));
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "prep_media_label", FALSE, BoxesWizard_private_offset + G_STRUCT_OFFSET (BoxesWizardPrivate, prep_media_label));
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "prep_status_label", FALSE, BoxesWizard_private_offset + G_STRUCT_OFFSET (BoxesWizardPrivate, prep_status_label));
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "setup_box", FALSE, BoxesWizard_private_offset + G_STRUCT_OFFSET (BoxesWizardPrivate, setup_box));
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "review_label", FALSE, BoxesWizard_private_offset + G_STRUCT_OFFSET (BoxesWizardPrivate, review_label));
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "nokvm_infobar", FALSE, BoxesWizard_private_offset + G_STRUCT_OFFSET (BoxesWizardPrivate, nokvm_infobar));
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "installer_image", FALSE, BoxesWizard_private_offset + G_STRUCT_OFFSET (BoxesWizardPrivate, installer_image));
#line 6580 "wizard.c"
}


static void
boxes_wizard_boxes_ui_interface_init (BoxesUIIface * iface)
{
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_boxes_ui_parent_iface = g_type_interface_peek_parent (iface);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	iface->get_previous_ui_state = boxes_wizard_real_get_previous_ui_state;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	iface->set_previous_ui_state = boxes_wizard_real_set_previous_ui_state;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	iface->get_ui_state = boxes_wizard_real_get_ui_state;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	iface->set_ui_state = boxes_wizard_real_set_ui_state;
#line 6597 "wizard.c"
}


static void
boxes_wizard_instance_init (BoxesWizard * self)
{
	GCancellable* _tmp0_;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self->priv = BOXES_WIZARD_GET_PRIVATE (self);
#line 56 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = g_cancellable_new ();
#line 56 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self->priv->prepare_cancellable = _tmp0_;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_type_ensure (BOXES_TYPE_WIZARD_SOURCE);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_type_ensure (BOXES_TYPE_WIZARD_SUMMARY);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_widget_init_template (GTK_WIDGET (self));
#line 6617 "wizard.c"
}


static void
boxes_wizard_finalize (GObject * obj)
{
	BoxesWizard * self;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_WIZARD, BoxesWizard);
#line 21 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (self->priv->cancel_button);
#line 22 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (self->priv->back_button);
#line 23 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (self->priv->next_button);
#line 24 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (self->priv->continue_button);
#line 25 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (self->priv->create_button);
#line 26 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (self->priv->source);
#line 29 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (self->priv->wizard_source);
#line 31 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (self->priv->summary);
#line 33 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (self->priv->prep_progress);
#line 35 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (self->priv->prep_media_label);
#line 37 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (self->priv->prep_status_label);
#line 39 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (self->priv->setup_box);
#line 41 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (self->priv->review_label);
#line 43 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (self->priv->nokvm_infobar);
#line 45 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (self->priv->installer_image);
#line 47 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (self->priv->window);
#line 50 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (self->priv->media_manager);
#line 52 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_boxes_vm_creator_unref0 (self->priv->vm_creator);
#line 53 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (self->priv->_machine);
#line 56 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (self->priv->prepare_cancellable);
#line 57 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (self->priv->review_cancellable);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	G_OBJECT_CLASS (boxes_wizard_parent_class)->finalize (obj);
#line 6671 "wizard.c"
}


GType
boxes_wizard_get_type (void)
{
	static volatile gsize boxes_wizard_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_wizard_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesWizardClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_wizard_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesWizard), 0, (GInstanceInitFunc) boxes_wizard_instance_init, NULL };
		static const GInterfaceInfo boxes_ui_info = { (GInterfaceInitFunc) boxes_wizard_boxes_ui_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType boxes_wizard_type_id;
		boxes_wizard_type_id = g_type_register_static (gtk_stack_get_type (), "BoxesWizard", &g_define_type_info, 0);
		g_type_add_interface_static (boxes_wizard_type_id, BOXES_TYPE_UI, &boxes_ui_info);
		g_once_init_leave (&boxes_wizard_type_id__volatile, boxes_wizard_type_id);
	}
	return boxes_wizard_type_id__volatile;
}


static void
_vala_boxes_wizard_get_property (GObject * object,
                                 guint property_id,
                                 GValue * value,
                                 GParamSpec * pspec)
{
	BoxesWizard * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_WIZARD, BoxesWizard);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	switch (property_id) {
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		case BOXES_WIZARD_PREVIOUS_UI_STATE_PROPERTY:
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_value_set_enum (value, boxes_ui_get_previous_ui_state ((BoxesUI*) self));
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		break;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		case BOXES_WIZARD_UI_STATE_PROPERTY:
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_value_set_enum (value, boxes_ui_get_ui_state ((BoxesUI*) self));
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		break;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		case BOXES_WIZARD_MACHINE_PROPERTY:
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_value_set_object (value, boxes_wizard_get_machine (self));
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		break;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		case BOXES_WIZARD_PAGE_PROPERTY:
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_value_set_enum (value, boxes_wizard_get_page (self));
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		break;
#line 6725 "wizard.c"
		default:
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		break;
#line 6731 "wizard.c"
	}
}


static void
_vala_boxes_wizard_set_property (GObject * object,
                                 guint property_id,
                                 const GValue * value,
                                 GParamSpec * pspec)
{
	BoxesWizard * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_WIZARD, BoxesWizard);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	switch (property_id) {
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		case BOXES_WIZARD_PREVIOUS_UI_STATE_PROPERTY:
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_ui_set_previous_ui_state ((BoxesUI*) self, g_value_get_enum (value));
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		break;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		case BOXES_WIZARD_UI_STATE_PROPERTY:
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_ui_set_ui_state ((BoxesUI*) self, g_value_get_enum (value));
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		break;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		case BOXES_WIZARD_MACHINE_PROPERTY:
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_wizard_set_machine (self, g_value_get_object (value));
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		break;
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		case BOXES_WIZARD_PAGE_PROPERTY:
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		boxes_wizard_set_page (self, g_value_get_enum (value));
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		break;
#line 6770 "wizard.c"
		default:
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 13 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		break;
#line 6776 "wizard.c"
	}
}


void
boxes_wizard_summary_add_property (BoxesWizardSummary* self,
                                   const gchar* name,
                                   const gchar* value)
{
	GtkLabel* label_name = NULL;
	GtkLabel* _tmp0_;
	GtkLabel* _tmp1_;
	GtkStyleContext* _tmp2_;
	GtkLabel* _tmp3_;
	GtkLabel* _tmp4_;
	gint _tmp5_;
	GtkLabel* label_value = NULL;
	GtkLabel* _tmp6_;
	GtkLabel* _tmp7_;
	GtkLabel* _tmp8_;
	GtkLabel* _tmp9_;
	GtkLabel* _tmp10_;
	gint _tmp11_;
	gint _tmp12_;
#line 742 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (self != NULL);
#line 742 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (name != NULL);
#line 743 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (value == NULL) {
#line 744 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		return;
#line 6809 "wizard.c"
	}
#line 746 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = (GtkLabel*) gtk_label_new (name);
#line 746 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_object_ref_sink (_tmp0_);
#line 746 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	label_name = _tmp0_;
#line 747 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp1_ = label_name;
#line 747 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp2_ = gtk_widget_get_style_context ((GtkWidget*) _tmp1_);
#line 747 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_style_context_add_class (_tmp2_, "dim-label");
#line 748 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp3_ = label_name;
#line 748 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp3_, GTK_ALIGN_END);
#line 749 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp4_ = label_name;
#line 749 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp5_ = self->priv->current_row;
#line 749 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_grid_attach ((GtkGrid*) self, (GtkWidget*) _tmp4_, 0, _tmp5_, 1, 1);
#line 751 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp6_ = (GtkLabel*) gtk_label_new (value);
#line 751 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_object_ref_sink (_tmp6_);
#line 751 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	label_value = _tmp6_;
#line 752 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp7_ = label_value;
#line 752 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_label_set_ellipsize (_tmp7_, PANGO_ELLIPSIZE_END);
#line 753 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp8_ = label_value;
#line 753 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_label_set_max_width_chars (_tmp8_, 32);
#line 754 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp9_ = label_value;
#line 754 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp9_, GTK_ALIGN_START);
#line 755 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp10_ = label_value;
#line 755 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp11_ = self->priv->current_row;
#line 755 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_grid_attach ((GtkGrid*) self, (GtkWidget*) _tmp10_, 1, _tmp11_, 1, 1);
#line 757 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp12_ = self->priv->current_row;
#line 757 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self->priv->current_row = _tmp12_ + 1;
#line 758 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_widget_show_all ((GtkWidget*) self);
#line 742 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (label_value);
#line 742 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (label_name);
#line 6867 "wizard.c"
}


static Block102Data*
block102_data_ref (Block102Data* _data102_)
{
#line 761 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_atomic_int_inc (&_data102_->_ref_count_);
#line 761 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return _data102_;
#line 6878 "wizard.c"
}


static void
block102_data_unref (void * _userdata_)
{
	Block102Data* _data102_;
	_data102_ = (Block102Data*) _userdata_;
#line 761 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (g_atomic_int_dec_and_test (&_data102_->_ref_count_)) {
#line 6889 "wizard.c"
		BoxesWizardSummary* self;
#line 761 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		self = _data102_->self;
#line 761 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_object_unref0 (self);
#line 761 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		g_slice_free (Block102Data, _data102_);
#line 6897 "wizard.c"
	}
}


static void
__lambda76_ (Block102Data* _data102_)
{
	BoxesWizardSummary* self;
#line 772 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self = _data102_->self;
#line 772 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data102_->customize_func (_data102_->customize_func_target);
#line 6910 "wizard.c"
}


static void
___lambda76__gtk_button_clicked (GtkButton* _sender,
                                 gpointer self)
{
#line 772 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	__lambda76_ (self);
#line 6920 "wizard.c"
}


void
boxes_wizard_summary_append_customize_button (BoxesWizardSummary* self,
                                              BoxesWizardSummaryCustomizeFunc customize_func,
                                              void* customize_func_target)
{
	Block102Data* _data102_;
	gint _tmp0_;
	GtkButton* button = NULL;
	GtkButton* _tmp1_;
	GtkButton* _tmp2_;
	GtkButton* _tmp3_;
	GtkButton* _tmp4_;
	gint _tmp5_;
	GtkButton* _tmp6_;
	GtkButton* _tmp7_;
#line 761 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (self != NULL);
#line 761 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data102_ = g_slice_new0 (Block102Data);
#line 761 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data102_->_ref_count_ = 1;
#line 761 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data102_->self = g_object_ref (self);
#line 761 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data102_->customize_func = customize_func;
#line 761 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data102_->customize_func_target = customize_func_target;
#line 763 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = self->priv->current_row;
#line 763 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	if (_tmp0_ == 0) {
#line 764 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		block102_data_unref (_data102_);
#line 764 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_data102_ = NULL;
#line 764 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		return;
#line 6961 "wizard.c"
	}
#line 766 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp1_ = (GtkButton*) gtk_button_new_with_mnemonic (_ ("C_ustomize…"));
#line 766 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_object_ref_sink (_tmp1_);
#line 766 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	button = _tmp1_;
#line 767 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp2_ = button;
#line 767 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_widget_set_hexpand ((GtkWidget*) _tmp2_, TRUE);
#line 768 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp3_ = button;
#line 768 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_widget_set_margin_top ((GtkWidget*) _tmp3_, 20);
#line 769 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp4_ = button;
#line 769 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp5_ = self->priv->current_row;
#line 769 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_grid_attach ((GtkGrid*) self, (GtkWidget*) _tmp4_, 0, _tmp5_, 2, 1);
#line 770 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp6_ = button;
#line 770 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_widget_show ((GtkWidget*) _tmp6_);
#line 772 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp7_ = button;
#line 772 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_signal_connect_data (_tmp7_, "clicked", (GCallback) ___lambda76__gtk_button_clicked, block102_data_ref (_data102_), (GClosureNotify) block102_data_unref, 0);
#line 761 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_g_object_unref0 (button);
#line 761 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	block102_data_unref (_data102_);
#line 761 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_data102_ = NULL;
#line 6997 "wizard.c"
}


void
boxes_wizard_summary_clear (BoxesWizardSummary* self)
{
	GList* _tmp0_;
#line 775 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_return_if_fail (self != NULL);
#line 776 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	_tmp0_ = gtk_container_get_children ((GtkContainer*) self);
#line 7009 "wizard.c"
	{
		GList* child_collection = NULL;
		GList* child_it = NULL;
#line 776 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		child_collection = _tmp0_;
#line 776 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		for (child_it = child_collection; child_it != NULL; child_it = child_it->next) {
#line 7017 "wizard.c"
			GtkWidget* child = NULL;
#line 776 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
			child = (GtkWidget*) child_it->data;
#line 7021 "wizard.c"
			{
				GtkWidget* _tmp1_;
#line 777 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				_tmp1_ = child;
#line 777 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
				gtk_container_remove ((GtkContainer*) self, _tmp1_);
#line 7028 "wizard.c"
			}
		}
#line 776 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
		_g_list_free0 (child_collection);
#line 7033 "wizard.c"
	}
#line 780 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self->priv->current_row = 0;
#line 7037 "wizard.c"
}


BoxesWizardSummary*
boxes_wizard_summary_construct (GType object_type)
{
	BoxesWizardSummary * self = NULL;
#line 733 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self = (BoxesWizardSummary*) g_object_new (object_type, NULL);
#line 733 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return self;
#line 7049 "wizard.c"
}


BoxesWizardSummary*
boxes_wizard_summary_new (void)
{
#line 733 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return boxes_wizard_summary_construct (BOXES_TYPE_WIZARD_SUMMARY);
#line 7058 "wizard.c"
}


static GObject *
boxes_wizard_summary_constructor (GType type,
                                  guint n_construct_properties,
                                  GObjectConstructParam * construct_properties)
{
	GObject * obj;
	GObjectClass * parent_class;
	BoxesWizardSummary * self;
#line 738 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	parent_class = G_OBJECT_CLASS (boxes_wizard_summary_parent_class);
#line 738 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 738 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_WIZARD_SUMMARY, BoxesWizardSummary);
#line 739 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self->priv->current_row = 0;
#line 738 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	return obj;
#line 7080 "wizard.c"
}


static void
boxes_wizard_summary_class_init (BoxesWizardSummaryClass * klass)
{
	gint BoxesWizardSummary_private_offset;
#line 733 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	boxes_wizard_summary_parent_class = g_type_class_peek_parent (klass);
#line 733 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	g_type_class_add_private (klass, sizeof (BoxesWizardSummaryPrivate));
#line 733 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	G_OBJECT_CLASS (klass)->constructor = boxes_wizard_summary_constructor;
#line 733 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_wizard_summary_finalize;
#line 733 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	BoxesWizardSummary_private_offset = g_type_class_get_instance_private_offset (klass);
#line 733 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/Boxes/ui/wizard-summary.ui");
#line 7100 "wizard.c"
}


static void
boxes_wizard_summary_instance_init (BoxesWizardSummary * self)
{
#line 733 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self->priv = BOXES_WIZARD_SUMMARY_GET_PRIVATE (self);
#line 733 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	gtk_widget_init_template (GTK_WIDGET (self));
#line 7111 "wizard.c"
}


static void
boxes_wizard_summary_finalize (GObject * obj)
{
	BoxesWizardSummary * self;
#line 733 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_WIZARD_SUMMARY, BoxesWizardSummary);
#line 733 "/home/fborges/checkout/gnome-boxes/src/wizard.vala"
	G_OBJECT_CLASS (boxes_wizard_summary_parent_class)->finalize (obj);
#line 7123 "wizard.c"
}


GType
boxes_wizard_summary_get_type (void)
{
	static volatile gsize boxes_wizard_summary_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_wizard_summary_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesWizardSummaryClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_wizard_summary_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesWizardSummary), 0, (GInstanceInitFunc) boxes_wizard_summary_instance_init, NULL };
		GType boxes_wizard_summary_type_id;
		boxes_wizard_summary_type_id = g_type_register_static (gtk_grid_get_type (), "BoxesWizardSummary", &g_define_type_info, 0);
		g_once_init_leave (&boxes_wizard_summary_type_id__volatile, boxes_wizard_summary_type_id);
	}
	return boxes_wizard_summary_type_id__volatile;
}



