/* wizard-source.c generated by valac 0.38.2, the Vala compiler
 * generated from wizard-source.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 <libvirt-gconfig/libvirt-gconfig.h>
#include <gio/gio.h>
#include <libcommon.h>
#include <stdlib.h>
#include <string.h>
#include <osinfo/osinfo.h>
#include <glib/gi18n-lib.h>
#include <webkit2/webkit2.h>
#include <gdk/gdk.h>
#include <float.h>
#include <math.h>
#include <pango/pango.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <json-glib/json-glib.h>
#include <glib/gstdio.h>
#include <libsoup/soup.h>


#define BOXES_TYPE_SOURCE_PAGE (boxes_source_page_get_type ())

#define BOXES_TYPE_WIZARD_SCROLLED (boxes_wizard_scrolled_get_type ())
#define BOXES_WIZARD_SCROLLED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_WIZARD_SCROLLED, BoxesWizardScrolled))
#define BOXES_WIZARD_SCROLLED_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_WIZARD_SCROLLED, BoxesWizardScrolledClass))
#define BOXES_IS_WIZARD_SCROLLED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_WIZARD_SCROLLED))
#define BOXES_IS_WIZARD_SCROLLED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_WIZARD_SCROLLED))
#define BOXES_WIZARD_SCROLLED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_WIZARD_SCROLLED, BoxesWizardScrolledClass))

typedef struct _BoxesWizardScrolled BoxesWizardScrolled;
typedef struct _BoxesWizardScrolledClass BoxesWizardScrolledClass;
typedef struct _BoxesWizardScrolledPrivate BoxesWizardScrolledPrivate;
enum  {
	BOXES_WIZARD_SCROLLED_DUMMY_PROPERTY,
	BOXES_WIZARD_SCROLLED_LAST_PROPERTY
};
static GParamSpec* boxes_wizard_scrolled_properties[BOXES_WIZARD_SCROLLED_LAST_PROPERTY];
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_list_free0(var) ((var == NULL) ? NULL : (var = (g_list_free (var), NULL)))

#define BOXES_TYPE_WIZARD_MEDIA_ENTRY (boxes_wizard_media_entry_get_type ())
#define BOXES_WIZARD_MEDIA_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_WIZARD_MEDIA_ENTRY, BoxesWizardMediaEntry))
#define BOXES_WIZARD_MEDIA_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_WIZARD_MEDIA_ENTRY, BoxesWizardMediaEntryClass))
#define BOXES_IS_WIZARD_MEDIA_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_WIZARD_MEDIA_ENTRY))
#define BOXES_IS_WIZARD_MEDIA_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_WIZARD_MEDIA_ENTRY))
#define BOXES_WIZARD_MEDIA_ENTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_WIZARD_MEDIA_ENTRY, BoxesWizardMediaEntryClass))

typedef struct _BoxesWizardMediaEntry BoxesWizardMediaEntry;
typedef struct _BoxesWizardMediaEntryClass BoxesWizardMediaEntryClass;
typedef struct _BoxesWizardMediaEntryPrivate BoxesWizardMediaEntryPrivate;

#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;
enum  {
	BOXES_WIZARD_MEDIA_ENTRY_DUMMY_PROPERTY,
	BOXES_WIZARD_MEDIA_ENTRY_LAST_PROPERTY
};
static GParamSpec* boxes_wizard_media_entry_properties[BOXES_WIZARD_MEDIA_ENTRY_LAST_PROPERTY];
typedef struct _BoxesInstallerMediaPrivate BoxesInstallerMediaPrivate;

#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 _g_free0(var) (var = (g_free (var), NULL))

#define BOXES_TYPE_WIZARD_WEB_VIEW (boxes_wizard_web_view_get_type ())
#define BOXES_WIZARD_WEB_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_WIZARD_WEB_VIEW, BoxesWizardWebView))
#define BOXES_WIZARD_WEB_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_WIZARD_WEB_VIEW, BoxesWizardWebViewClass))
#define BOXES_IS_WIZARD_WEB_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_WIZARD_WEB_VIEW))
#define BOXES_IS_WIZARD_WEB_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_WIZARD_WEB_VIEW))
#define BOXES_WIZARD_WEB_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_WIZARD_WEB_VIEW, BoxesWizardWebViewClass))

typedef struct _BoxesWizardWebView BoxesWizardWebView;
typedef struct _BoxesWizardWebViewClass BoxesWizardWebViewClass;
typedef struct _BoxesWizardWebViewPrivate BoxesWizardWebViewPrivate;
enum  {
	BOXES_WIZARD_WEB_VIEW_DUMMY_PROPERTY,
	BOXES_WIZARD_WEB_VIEW_VIEW_PROPERTY,
	BOXES_WIZARD_WEB_VIEW_LAST_PROPERTY
};
static GParamSpec* boxes_wizard_web_view_properties[BOXES_WIZARD_WEB_VIEW_LAST_PROPERTY];
#define __g_list_free__g_object_unref0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__g_object_unref0_ (var), NULL)))

#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;
typedef struct _BoxesWizardSourcePrivate BoxesWizardSourcePrivate;

#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_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;

#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;
enum  {
	BOXES_WIZARD_SOURCE_DUMMY_PROPERTY,
	BOXES_WIZARD_SOURCE_SELECTED_PROPERTY,
	BOXES_WIZARD_SOURCE_URI_PROPERTY,
	BOXES_WIZARD_SOURCE_INSTALL_MEDIA_PROPERTY,
	BOXES_WIZARD_SOURCE_LIBVIRT_SYS_IMPORTER_PROPERTY,
	BOXES_WIZARD_SOURCE_FILENAME_PROPERTY,
	BOXES_WIZARD_SOURCE_DOWNLOAD_REQUIRED_PROPERTY,
	BOXES_WIZARD_SOURCE_PAGE_PROPERTY,
	BOXES_WIZARD_SOURCE_LAST_PROPERTY
};
static GParamSpec* boxes_wizard_source_properties[BOXES_WIZARD_SOURCE_LAST_PROPERTY];
#define _gtk_tree_row_reference_free0(var) ((var == NULL) ? NULL : (var = (gtk_tree_row_reference_free (var), NULL)))
typedef struct _Block96Data Block96Data;

#define BOXES_OS_DATABASE_TYPE_MEDIA_UR_LS_COLUMNS (boxes_os_database_media_ur_ls_columns_get_type ())

#define BOXES_TYPE_OS_DATABASE (boxes_os_database_get_type ())
#define BOXES_OS_DATABASE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_OS_DATABASE, BoxesOSDatabase))
#define BOXES_OS_DATABASE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_OS_DATABASE, BoxesOSDatabaseClass))
#define BOXES_IS_OS_DATABASE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_OS_DATABASE))
#define BOXES_IS_OS_DATABASE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_OS_DATABASE))
#define BOXES_OS_DATABASE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_OS_DATABASE, BoxesOSDatabaseClass))

typedef struct _BoxesOSDatabase BoxesOSDatabase;
typedef struct _BoxesOSDatabaseClass BoxesOSDatabaseClass;
typedef struct _Block97Data Block97Data;
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
typedef struct _BoxesWizardSourceAddMediaEntriesData BoxesWizardSourceAddMediaEntriesData;
typedef struct _Block98Data Block98Data;
typedef struct _BoxesWizardSourceUpdateLibvirtSytemEntryVisibilityData BoxesWizardSourceUpdateLibvirtSytemEntryVisibilityData;

#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 ())
typedef struct _BoxesAppWindowPrivate BoxesAppWindowPrivate;

#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_PROPERTIES_WINDOW (boxes_properties_window_get_type ())
#define BOXES_PROPERTIES_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_PROPERTIES_WINDOW, BoxesPropertiesWindow))
#define BOXES_PROPERTIES_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_PROPERTIES_WINDOW, BoxesPropertiesWindowClass))
#define BOXES_IS_PROPERTIES_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_PROPERTIES_WINDOW))
#define BOXES_IS_PROPERTIES_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_PROPERTIES_WINDOW))
#define BOXES_PROPERTIES_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_PROPERTIES_WINDOW, BoxesPropertiesWindowClass))

typedef struct _BoxesPropertiesWindow BoxesPropertiesWindow;
typedef struct _BoxesPropertiesWindowClass BoxesPropertiesWindowClass;

#define BOXES_TYPE_SEARCHBAR (boxes_searchbar_get_type ())
#define BOXES_SEARCHBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_SEARCHBAR, BoxesSearchbar))
#define BOXES_SEARCHBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_SEARCHBAR, BoxesSearchbarClass))
#define BOXES_IS_SEARCHBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_SEARCHBAR))
#define BOXES_IS_SEARCHBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_SEARCHBAR))
#define BOXES_SEARCHBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_SEARCHBAR, BoxesSearchbarClass))

typedef struct _BoxesSearchbar BoxesSearchbar;
typedef struct _BoxesSearchbarClass BoxesSearchbarClass;

#define BOXES_TYPE_TOPBAR (boxes_topbar_get_type ())
#define BOXES_TOPBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_TOPBAR, BoxesTopbar))
#define BOXES_TOPBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_TOPBAR, BoxesTopbarClass))
#define BOXES_IS_TOPBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_TOPBAR))
#define BOXES_IS_TOPBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_TOPBAR))
#define BOXES_TOPBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_TOPBAR, BoxesTopbarClass))

typedef struct _BoxesTopbar BoxesTopbar;
typedef struct _BoxesTopbarClass BoxesTopbarClass;

#define BOXES_TYPE_SELECTIONBAR (boxes_selectionbar_get_type ())
#define BOXES_SELECTIONBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_SELECTIONBAR, BoxesSelectionbar))
#define BOXES_SELECTIONBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_SELECTIONBAR, BoxesSelectionbarClass))
#define BOXES_IS_SELECTIONBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_SELECTIONBAR))
#define BOXES_IS_SELECTIONBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_SELECTIONBAR))
#define BOXES_SELECTIONBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_SELECTIONBAR, BoxesSelectionbarClass))

typedef struct _BoxesSelectionbar BoxesSelectionbar;
typedef struct _BoxesSelectionbarClass BoxesSelectionbarClass;

#define BOXES_TYPE_DISPLAY_PAGE (boxes_display_page_get_type ())
#define BOXES_DISPLAY_PAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_DISPLAY_PAGE, BoxesDisplayPage))
#define BOXES_DISPLAY_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_DISPLAY_PAGE, BoxesDisplayPageClass))
#define BOXES_IS_DISPLAY_PAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_DISPLAY_PAGE))
#define BOXES_IS_DISPLAY_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_DISPLAY_PAGE))
#define BOXES_DISPLAY_PAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_DISPLAY_PAGE, BoxesDisplayPageClass))

typedef struct _BoxesDisplayPage BoxesDisplayPage;
typedef struct _BoxesDisplayPageClass BoxesDisplayPageClass;

#define BOXES_TYPE_EMPTY_BOXES (boxes_empty_boxes_get_type ())
#define BOXES_EMPTY_BOXES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_EMPTY_BOXES, BoxesEmptyBoxes))
#define BOXES_EMPTY_BOXES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_EMPTY_BOXES, BoxesEmptyBoxesClass))
#define BOXES_IS_EMPTY_BOXES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_EMPTY_BOXES))
#define BOXES_IS_EMPTY_BOXES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_EMPTY_BOXES))
#define BOXES_EMPTY_BOXES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_EMPTY_BOXES, BoxesEmptyBoxesClass))

typedef struct _BoxesEmptyBoxes BoxesEmptyBoxes;
typedef struct _BoxesEmptyBoxesClass BoxesEmptyBoxesClass;
#define __vala_JsonNode_free0(var) ((var == NULL) ? NULL : (var = (_vala_JsonNode_free (var), NULL)))
#define _json_array_unref0(var) ((var == NULL) ? NULL : (var = (json_array_unref (var), NULL)))
#define _json_object_unref0(var) ((var == NULL) ? NULL : (var = (json_object_unref (var), NULL)))

#define BOXES_TYPE_DOWNLOADER (boxes_downloader_get_type ())
#define BOXES_DOWNLOADER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_DOWNLOADER, BoxesDownloader))
#define BOXES_DOWNLOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_DOWNLOADER, BoxesDownloaderClass))
#define BOXES_IS_DOWNLOADER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_DOWNLOADER))
#define BOXES_IS_DOWNLOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_DOWNLOADER))
#define BOXES_DOWNLOADER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_DOWNLOADER, BoxesDownloaderClass))

typedef struct _BoxesDownloader BoxesDownloader;
typedef struct _BoxesDownloaderClass BoxesDownloaderClass;
typedef struct _Block99Data Block99Data;

#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 _Block100Data Block100Data;
#define _g_date_time_unref0(var) ((var == NULL) ? NULL : (var = (g_date_time_unref (var), NULL)))
#define __vala_WebKitNavigationAction_free0(var) ((var == NULL) ? NULL : (var = (_vala_WebKitNavigationAction_free (var), NULL)))
#define __vala_SoupURI_free0(var) ((var == NULL) ? NULL : (var = (_vala_SoupURI_free (var), NULL)))
#define _g_hash_table_unref0(var) ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))
#define _gtk_tree_path_free0(var) ((var == NULL) ? NULL : (var = (gtk_tree_path_free (var), NULL)))
enum  {
	BOXES_WIZARD_SOURCE_ACTIVATED_SIGNAL,
	BOXES_WIZARD_SOURCE_LAST_SIGNAL
};
static guint boxes_wizard_source_signals[BOXES_WIZARD_SOURCE_LAST_SIGNAL] = {0};
#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_SOURCE_PAGE_MAIN,
	BOXES_SOURCE_PAGE_RHEL_WEB_VIEW,
	BOXES_SOURCE_PAGE_URL,
	BOXES_SOURCE_PAGE_LAST
} BoxesSourcePage;

typedef gboolean (*ClickedFunc) (void* user_data);
struct _BoxesWizardScrolled {
	GtkScrolledWindow parent_instance;
	BoxesWizardScrolledPrivate * priv;
	GtkBox* vbox;
};

struct _BoxesWizardScrolledClass {
	GtkScrolledWindowClass parent_class;
};

struct _BoxesWizardScrolledPrivate {
	gint _num_visible;
};

struct _BoxesWizardMediaEntry {
	GtkButton parent_instance;
	BoxesWizardMediaEntryPrivate * priv;
	BoxesInstallerMedia* media;
};

struct _BoxesWizardMediaEntryClass {
	GtkButtonClass parent_class;
};

struct _BoxesWizardMediaEntryPrivate {
	GtkImage* media_image;
	GtkLabel* title_label;
	GtkLabel* details_label;
};

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 _BoxesWizardWebView {
	GtkBin parent_instance;
	BoxesWizardWebViewPrivate * priv;
};

struct _BoxesWizardWebViewClass {
	GtkBinClass parent_class;
};

struct _BoxesWizardWebViewPrivate {
	GtkProgressBar* progress_bar;
	WebKitWebView* web_view;
	guint hide_progress_bar_id;
};

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

struct _BoxesWizardSourceClass {
	GtkStackClass parent_class;
};

struct _BoxesWizardSourcePrivate {
	GtkWidget* _selected;
	BoxesInstallerMedia* _install_media;
	BoxesLibvirtSystemImporter* _libvirt_sys_importer;
	GtkBox* main_vbox;
	BoxesWizardScrolled* media_scrolled;
	GtkBox* url_entry_vbox;
	GtkButton* select_file_button;
	GtkButton* libvirt_sys_import_button;
	GtkLabel* libvirt_sys_import_label;
	GtkButton* install_rhel_button;
	GtkImage* install_rhel_image;
	BoxesWizardWebView* rhel_web_view;
	GtkSpinner* rhel_web_view_spinner;
	GtkStack* rhel_web_view_stack;
	BoxesAppWindow* window;
	GtkBox* media_vbox;
	GtkListStore* media_urls_store;
	GCancellable* rhel_cancellable;
	GtkTreeRowReference* rhel_os_row_reference;
	OsinfoOs* rhel_os;
	gchar* _filename;
	BoxesSourcePage _page;
};

struct _Block96Data {
	int _ref_count_;
	BoxesWizardSource* self;
	OsinfoOs* os;
	gchar* uri;
};

typedef enum  {
	BOXES_OS_DATABASE_MEDIA_UR_LS_COLUMNS_URL = 0,
	BOXES_OS_DATABASE_MEDIA_UR_LS_COLUMNS_OS = 1,
	BOXES_OS_DATABASE_MEDIA_UR_LS_COLUMNS_LAST
} BoxesOSDatabaseMediaURLsColumns;

struct _Block97Data {
	int _ref_count_;
	BoxesWizardSource* self;
	BoxesOSDatabase* os_db;
	gchar* rhel_id;
};

typedef enum  {
	BOXES_OS_DATABASE_ERROR_NON_BOOTABLE,
	BOXES_OS_DATABASE_ERROR_DB_LOADING_FAILED,
	BOXES_OS_DATABASE_ERROR_UNKNOWN_OS_ID,
	BOXES_OS_DATABASE_ERROR_UNKNOWN_MEDIA_ID
} BoxesOSDatabaseError;
#define BOXES_OS_DATABASE_ERROR boxes_os_database_error_quark ()
struct _BoxesWizardSourceAddMediaEntriesData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	BoxesWizardSource* self;
	GList* medias;
	BoxesMediaManager* _tmp0_;
	GList* _tmp1_;
	GtkBox* _tmp2_;
	GList* _tmp3_;
	GList* child_collection;
	GList* child_it;
	GtkWidget* child;
	BoxesInstallerMedia* child_media;
	GtkWidget* _tmp4_;
	BoxesInstallerMedia* _tmp5_;
	BoxesInstallerMedia* _tmp6_;
	gboolean obsolete;
	GList* _tmp7_;
	GList* media_collection;
	GList* media_it;
	BoxesInstallerMedia* _tmp8_;
	BoxesInstallerMedia* media;
	BoxesInstallerMedia* _tmp9_;
	const gchar* _tmp10_;
	BoxesInstallerMedia* _tmp11_;
	const gchar* _tmp12_;
	gboolean _tmp13_;
	GtkBox* _tmp14_;
	GtkWidget* _tmp15_;
	GList* _tmp16_;
	GList* _vala1_media_collection;
	GList* _vala1_media_it;
	BoxesInstallerMedia* _tmp17_;
	BoxesInstallerMedia* _vala1_media;
	gboolean nouveau;
	GtkBox* _tmp18_;
	GList* _tmp19_;
	GList* _vala1_child_collection;
	GList* _vala1_child_it;
	GtkWidget* _vala1_child;
	BoxesInstallerMedia* _vala1_child_media;
	GtkWidget* _tmp20_;
	BoxesInstallerMedia* _tmp21_;
	BoxesInstallerMedia* _tmp22_;
	BoxesInstallerMedia* _tmp23_;
	const gchar* _tmp24_;
	BoxesInstallerMedia* _tmp25_;
	const gchar* _tmp26_;
	gboolean _tmp27_;
	BoxesInstallerMedia* _tmp28_;
	GtkBox* _tmp29_;
	GList* _tmp30_;
	GList* _tmp31_;
	guint _tmp32_;
	gboolean _tmp33_;
	BoxesWizardScrolled* _tmp34_;
};

struct _Block98Data {
	int _ref_count_;
	BoxesWizardSource* self;
	BoxesWizardMediaEntry* entry;
	BoxesInstallerMedia* media;
};

struct _BoxesWizardSourceUpdateLibvirtSytemEntryVisibilityData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	BoxesWizardSource* self;
	BoxesLibvirtSystemImporter* _tmp0_;
	BoxesLibvirtSystemImporter* _tmp1_;
	GError* _error_;
	GError* _tmp2_;
	const gchar* _tmp3_;
	GtkLabel* _tmp4_;
	BoxesLibvirtSystemImporter* _tmp5_;
	gchar* _tmp6_;
	gchar* _tmp7_;
	gchar* _tmp8_;
	GtkButton* _tmp9_;
	GError * _inner_error_;
};

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
} 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 _BoxesAppWindow {
	GtkApplicationWindow parent_instance;
	BoxesAppWindowPrivate * priv;
	BoxesWizardWindow* wizard_window;
	BoxesPropertiesWindow* props_window;
	BoxesSearchbar* searchbar;
	BoxesTopbar* topbar;
	BoxesSelectionbar* selectionbar;
	BoxesDisplayPage* display_page;
	BoxesEmptyBoxes* empty_boxes;
	GtkStack* below_bin;
	GSettings* settings;
};

struct _BoxesAppWindowClass {
	GtkApplicationWindowClass parent_class;
};

typedef void (*BoxesWizardWindowFileChosenFunc) (const gchar* uri, void* user_data);
struct _Block99Data {
	int _ref_count_;
	BoxesWizardSource* self;
	BoxesDownloader* downloader;
	GFile* file;
	gchar* cached_path;
	gboolean use_cache;
};

struct _Block100Data {
	int _ref_count_;
	BoxesWizardSource* self;
	gchar* cached_path;
	GFile* cached_file;
};


static gpointer boxes_wizard_scrolled_parent_class = NULL;
static gpointer boxes_wizard_media_entry_parent_class = NULL;
static gpointer boxes_wizard_web_view_parent_class = NULL;
static gpointer boxes_wizard_source_parent_class = NULL;

GType boxes_source_page_get_type (void) G_GNUC_CONST;
GType boxes_wizard_scrolled_get_type (void) G_GNUC_CONST;
#define BOXES_WIZARD_SCROLLED_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_WIZARD_SCROLLED, BoxesWizardScrolledPrivate))
void boxes_wizard_scrolled_setup (BoxesWizardScrolled* self, gint num_visible);
static void boxes_wizard_scrolled_set_num_visible (BoxesWizardScrolled* self, gint value);
static void __lambda58_ (BoxesWizardScrolled* self);
static void ___lambda58__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void __lambda59_ (BoxesWizardScrolled* self);
static void ___lambda59__gtk_widget_show (GtkWidget* _sender, gpointer self);
static void __lambda60_ (BoxesWizardScrolled* self);
static void ___lambda60__gtk_widget_hide (GtkWidget* _sender, gpointer self);
static void boxes_wizard_scrolled_real_get_preferred_height (GtkWidget* base, gint* minimum_height, gint* natural_height);
static gint boxes_wizard_scrolled_get_num_visible (BoxesWizardScrolled* self);
BoxesWizardScrolled* boxes_wizard_scrolled_new (void);
BoxesWizardScrolled* boxes_wizard_scrolled_construct (GType object_type);
static void boxes_wizard_scrolled_finalize (GObject * obj);
static void _vala_boxes_wizard_scrolled_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_boxes_wizard_scrolled_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
GType boxes_wizard_media_entry_get_type (void) G_GNUC_CONST;
GType boxes_installer_media_get_type (void) G_GNUC_CONST;
#define BOXES_WIZARD_MEDIA_ENTRY_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_WIZARD_MEDIA_ENTRY, BoxesWizardMediaEntryPrivate))
BoxesWizardMediaEntry* boxes_wizard_media_entry_new (BoxesInstallerMedia* media);
BoxesWizardMediaEntry* boxes_wizard_media_entry_construct (GType object_type, BoxesInstallerMedia* media);
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;
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_);
static void boxes_wizard_media_entry_finalize (GObject * obj);
GType boxes_wizard_web_view_get_type (void) G_GNUC_CONST;
#define BOXES_WIZARD_WEB_VIEW_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_WIZARD_WEB_VIEW, BoxesWizardWebViewPrivate))
#define BOXES_WIZARD_WEB_VIEW_progress_bar_id_timeout ((guint) 500)
static void boxes_wizard_web_view_real_dispose (GObject* base);
static gboolean boxes_wizard_web_view_on_context_menu (BoxesWizardWebView* self, WebKitWebView* web_view, WebKitContextMenu* context_menu, GdkEvent* event, WebKitHitTestResult* hit_test_result);
static void _g_object_unref0_ (gpointer var);
static inline void _g_list_free__g_object_unref0_ (GList* self);
static gboolean _boxes_wizard_web_view_on_context_menu_webkit_web_view_context_menu (WebKitWebView* _sender, WebKitContextMenu* context_menu, GdkEvent* event, WebKitHitTestResult* hit_test_result, gpointer self);
static void boxes_wizard_web_view_on_notify_estimated_load_progress (BoxesWizardWebView* self);
static gboolean ___lambda61_ (BoxesWizardWebView* self);
static gboolean ____lambda61__gsource_func (gpointer self);
static void _boxes_wizard_web_view_on_notify_estimated_load_progress_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
BoxesWizardWebView* boxes_wizard_web_view_new (void);
BoxesWizardWebView* boxes_wizard_web_view_construct (GType object_type);
WebKitWebView* boxes_wizard_web_view_get_view (BoxesWizardWebView* self);
static GObject * boxes_wizard_web_view_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
static gchar** _vala_array_dup6 (gchar** self, int length);
static void boxes_wizard_web_view_finalize (GObject * obj);
static void _vala_boxes_wizard_web_view_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
GType boxes_wizard_source_get_type (void) G_GNUC_CONST;
GType boxes_media_manager_get_type (void) G_GNUC_CONST;
GType boxes_libvirt_system_importer_get_type (void) G_GNUC_CONST;
GType boxes_app_window_get_type (void) G_GNUC_CONST;
#define BOXES_WIZARD_SOURCE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_WIZARD_SOURCE, BoxesWizardSourcePrivate))
OsinfoOs* boxes_wizard_source_get_os_from_uri (BoxesWizardSource* self, const gchar* uri);
static Block96Data* block96_data_ref (Block96Data* _data96_);
static void block96_data_unref (void * _userdata_);
static gboolean __lambda62_ (Block96Data* _data96_, GtkTreeModel* store, GtkTreePath* path, GtkTreeIter* iter);
GType boxes_os_database_media_ur_ls_columns_get_type (void) G_GNUC_CONST;
static gboolean ___lambda62__gtk_tree_model_foreach_func (GtkTreeModel* model, GtkTreePath* path, GtkTreeIter* iter, gpointer self);
static void boxes_wizard_source_real_dispose (GObject* base);
void boxes_wizard_source_setup_ui (BoxesWizardSource* self, BoxesAppWindow* window);
GType boxes_os_database_get_type (void) G_GNUC_CONST;
static Block97Data* block97_data_ref (Block97Data* _data97_);
static void block97_data_unref (void * _userdata_);
BoxesOSDatabase* boxes_media_manager_get_os_db (BoxesMediaManager* self);
void boxes_os_database_get_all_media_urls_as_store (BoxesOSDatabase* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
GQuark boxes_os_database_error_quark (void);
GtkListStore* boxes_os_database_get_all_media_urls_as_store_finish (BoxesOSDatabase* self, GAsyncResult* _res_, GError** error);
static void __lambda63_ (Block97Data* _data97_, GObject* db, GAsyncResult* _result_);
static gboolean ___lambda64_ (BoxesWizardSource* self, GtkEntryCompletion* store, const gchar* key, GtkTreeIter* iter);
static gboolean ____lambda64__gtk_entry_completion_match_func (GtkEntryCompletion* completion, const gchar* key, GtkTreeIter* iter, gpointer self);
static void ___lambda63__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
void boxes_os_database_get_os_by_id (BoxesOSDatabase* self, const gchar* id, GAsyncReadyCallback _callback_, gpointer _user_data_);
OsinfoOs* boxes_os_database_get_os_by_id_finish (BoxesOSDatabase* self, GAsyncResult* _res_, GError** error);
static void __lambda65_ (Block97Data* _data97_, GObject* obj, GAsyncResult* res);
static void __lambda73_ (BoxesWizardSource* self, GObject* obj, GAsyncResult* res);
static void ___lambda73__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void ___lambda65__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
void boxes_wizard_source_cleanup (BoxesWizardSource* self);
void boxes_wizard_source_set_filename (BoxesWizardSource* self, const gchar* value);
static void boxes_wizard_source_set_install_media (BoxesWizardSource* self, BoxesInstallerMedia* value);
void boxes_wizard_source_set_selected (BoxesWizardSource* self, GtkWidget* value);
BoxesSourcePage boxes_wizard_source_get_page (BoxesWizardSource* self);
void boxes_wizard_source_set_uri (BoxesWizardSource* self, const gchar* value);
static void boxes_wizard_source_on_enter_url_button_clicked (BoxesWizardSource* self);
void boxes_wizard_source_set_page (BoxesWizardSource* self, BoxesSourcePage value);
static void _boxes_wizard_source_on_enter_url_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self);
static void boxes_wizard_source_on_url_entry_activated (BoxesWizardSource* self);
static void _boxes_wizard_source_on_url_entry_activated_gtk_entry_activate (GtkEntry* _sender, gpointer self);
static void boxes_wizard_source_on_url_back_button_clicked (BoxesWizardSource* self);
static void _boxes_wizard_source_on_url_back_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self);
static void boxes_wizard_source_add_media_entries_data_free (gpointer _data);
static void boxes_wizard_source_add_media_entries (BoxesWizardSource* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void boxes_wizard_source_add_media_entries_finish (BoxesWizardSource* self, GAsyncResult* _res_);
static gboolean boxes_wizard_source_add_media_entries_co (BoxesWizardSourceAddMediaEntriesData* _data_);
void boxes_media_manager_list_installer_medias (BoxesMediaManager* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
GList* boxes_media_manager_list_installer_medias_finish (BoxesMediaManager* self, GAsyncResult* _res_);
static void boxes_wizard_source_add_media_entries_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void boxes_wizard_source_add_media_entry (BoxesWizardSource* self, BoxesInstallerMedia* media);
static Block98Data* block98_data_ref (Block98Data* _data98_);
static void block98_data_unref (void * _userdata_);
static void __lambda74_ (Block98Data* _data98_);
static void boxes_wizard_source_on_media_selected (BoxesWizardSource* self, BoxesInstallerMedia* media);
static void ___lambda74__gtk_button_clicked (GtkButton* _sender, gpointer self);
static void boxes_wizard_source_update_libvirt_sytem_entry_visibility_data_free (gpointer _data);
static void boxes_wizard_source_update_libvirt_sytem_entry_visibility (BoxesWizardSource* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void boxes_wizard_source_update_libvirt_sytem_entry_visibility_finish (BoxesWizardSource* self, GAsyncResult* _res_);
static gboolean boxes_wizard_source_update_libvirt_sytem_entry_visibility_co (BoxesWizardSourceUpdateLibvirtSytemEntryVisibilityData* _data_);
void boxes_libvirt_system_importer_new (GAsyncReadyCallback _callback_, gpointer _user_data_);
BoxesLibvirtSystemImporter* boxes_libvirt_system_importer_new_finish (GAsyncResult* _res_, GError** error);
void boxes_libvirt_system_importer_construct (GType object_type, GAsyncReadyCallback _callback_, gpointer _user_data_);
BoxesLibvirtSystemImporter* boxes_libvirt_system_importer_construct_finish (GAsyncResult* _res_, GError** error);
static void boxes_wizard_source_update_libvirt_sytem_entry_visibility_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void boxes_wizard_source_set_libvirt_sys_importer (BoxesWizardSource* self, BoxesLibvirtSystemImporter* value);
BoxesLibvirtSystemImporter* boxes_wizard_source_get_libvirt_sys_importer (BoxesWizardSource* self);
gchar* boxes_libvirt_system_importer_get_wizard_menu_label (BoxesLibvirtSystemImporter* self);
static void boxes_wizard_source_on_select_file_button_clicked (BoxesWizardSource* self);
GType boxes_ui_state_get_type (void) G_GNUC_CONST;
GType boxes_ui_get_type (void) G_GNUC_CONST;
GType boxes_wizard_window_get_type (void) G_GNUC_CONST;
GType boxes_properties_window_get_type (void) G_GNUC_CONST;
GType boxes_searchbar_get_type (void) G_GNUC_CONST;
GType boxes_topbar_get_type (void) G_GNUC_CONST;
GType boxes_selectionbar_get_type (void) G_GNUC_CONST;
GType boxes_display_page_get_type (void) G_GNUC_CONST;
GType boxes_empty_boxes_get_type (void) G_GNUC_CONST;
void boxes_wizard_window_show_file_chooser (BoxesWizardWindow* self, BoxesWizardWindowFileChosenFunc file_chosen_func, void* file_chosen_func_target, GDestroyNotify file_chosen_func_target_destroy_notify);
static void __lambda145_ (BoxesWizardSource* self, const gchar* uri);
static void ___lambda145__boxes_wizard_window_file_chosen_func (const gchar* uri, gpointer self);
static void _boxes_wizard_source_on_select_file_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self);
static void boxes_wizard_source_on_libvirt_sys_import_button_clicked (BoxesWizardSource* self);
static void _boxes_wizard_source_on_libvirt_sys_import_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self);
BoxesInstallerMedia* boxes_media_manager_create_installer_media_from_media (BoxesMediaManager* self, BoxesInstallerMedia* media, GError** error);
static gchar* boxes_wizard_source_rhel_get_authentication_uri_from_json (BoxesWizardSource* self, const gchar* contents, GError** error);
static JsonNode* _vala_JsonNode_copy (JsonNode* self);
static void _vala_JsonNode_free (JsonNode* self);
static gchar* boxes_wizard_source_rhel_get_authentication_uri_from_xml (BoxesWizardSource* self, const gchar* contents, GError** error);
gchar* boxes_extract_xpath (const gchar* xmldoc, const gchar* xpath, gboolean required, GError** error);
static void boxes_wizard_source_rhel_show_web_view (BoxesWizardSource* self, const gchar* cached_path, gboolean use_cache);
GType boxes_downloader_get_type (void) G_GNUC_CONST;
static Block99Data* block99_data_ref (Block99Data* _data99_);
static void block99_data_unref (void * _userdata_);
BoxesDownloader* boxes_downloader_get_instance (void);
void boxes_downloader_download (BoxesDownloader* self, GFile* remote_file, gchar** cached_paths, int cached_paths_length1, BoxesActivityProgress* progress, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
GFile* boxes_downloader_download_finish (BoxesDownloader* self, GAsyncResult* _res_, GError** error);
static void __lambda146_ (Block99Data* _data99_, GObject* obj, 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
static void __lambda147_ (Block99Data* _data99_, GObject* obj, GAsyncResult* res);
static void __lambda148_ (BoxesWizardSource* self);
static void ___lambda148__gfunc (gconstpointer data, gpointer self);
static void ___lambda147__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void ___lambda146__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void boxes_wizard_source_on_install_rhel_button_clicked (BoxesWizardSource* self);
static Block100Data* block100_data_ref (Block100Data* _data100_);
static void block100_data_unref (void * _userdata_);
static void __lambda149_ (Block100Data* _data100_, GObject* obj, GAsyncResult* res);
static void ___lambda149__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void _boxes_wizard_source_on_install_rhel_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self);
static gboolean boxes_wizard_source_on_rhel_web_view_decide_policy (BoxesWizardSource* self, WebKitWebView* web_view, WebKitPolicyDecision* decision, WebKitPolicyDecisionType decision_type);
static WebKitNavigationAction* _vala_WebKitNavigationAction_copy (WebKitNavigationAction* self);
static void _vala_WebKitNavigationAction_free (WebKitNavigationAction* self);
static void _vala_SoupURI_free (SoupURI* self);
BoxesWizardSource* boxes_wizard_source_new (void);
BoxesWizardSource* boxes_wizard_source_construct (GType object_type);
GtkWidget* boxes_wizard_source_get_selected (BoxesWizardSource* self);
const gchar* boxes_wizard_source_get_uri (BoxesWizardSource* self);
BoxesInstallerMedia* boxes_wizard_source_get_install_media (BoxesWizardSource* self);
const gchar* boxes_wizard_source_get_filename (BoxesWizardSource* self);
gboolean boxes_wizard_source_get_download_required (BoxesWizardSource* self);
static gboolean _vala_string_array_contains (const gchar* * stack, int stack_length, const gchar* needle);
static GObject * boxes_wizard_source_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
BoxesMediaManager* boxes_media_manager_get_instance (void);
void boxes_draw_as_css_box (GtkWidget* widget);
static gboolean _boxes_wizard_source_on_rhel_web_view_decide_policy_webkit_web_view_decide_policy (WebKitWebView* _sender, WebKitPolicyDecision* decision, WebKitPolicyDecisionType type, gpointer self);
static void boxes_wizard_source_finalize (GObject * obj);
static void _vala_boxes_wizard_source_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_boxes_wizard_source_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);
static gint _vala_array_length (gpointer array);

static const gchar* BOXES_WIZARD_SOURCE_page_names[3] = {"main-page", "rhel-web-view-page", "url-page"};

GType boxes_source_page_get_type (void) {
	static volatile gsize boxes_source_page_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_source_page_type_id__volatile)) {
		static const GEnumValue values[] = {{BOXES_SOURCE_PAGE_MAIN, "BOXES_SOURCE_PAGE_MAIN", "main"}, {BOXES_SOURCE_PAGE_RHEL_WEB_VIEW, "BOXES_SOURCE_PAGE_RHEL_WEB_VIEW", "rhel-web-view"}, {BOXES_SOURCE_PAGE_URL, "BOXES_SOURCE_PAGE_URL", "url"}, {BOXES_SOURCE_PAGE_LAST, "BOXES_SOURCE_PAGE_LAST", "last"}, {0, NULL, NULL}};
		GType boxes_source_page_type_id;
		boxes_source_page_type_id = g_enum_register_static ("BoxesSourcePage", values);
		g_once_init_leave (&boxes_source_page_type_id__volatile, boxes_source_page_type_id);
	}
	return boxes_source_page_type_id__volatile;
}


static void __lambda58_ (BoxesWizardScrolled* self) {
#line 28 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_queue_resize ((GtkWidget*) self);
#line 810 "wizard-source.c"
}


static void ___lambda58__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 27 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	__lambda58_ ((BoxesWizardScrolled*) self);
#line 817 "wizard-source.c"
}


static void __lambda59_ (BoxesWizardScrolled* self) {
	GtkStyleContext* _tmp0_;
#line 31 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = gtk_widget_get_style_context ((GtkWidget*) self);
#line 31 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_style_context_add_class (_tmp0_, "boxes-menu-scrolled");
#line 32 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_reset_style ((GtkWidget*) self);
#line 829 "wizard-source.c"
}


static void ___lambda59__gtk_widget_show (GtkWidget* _sender, gpointer self) {
#line 30 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	__lambda59_ ((BoxesWizardScrolled*) self);
#line 836 "wizard-source.c"
}


static void __lambda60_ (BoxesWizardScrolled* self) {
	GtkStyleContext* _tmp0_;
#line 35 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = gtk_widget_get_style_context ((GtkWidget*) self);
#line 35 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_style_context_remove_class (_tmp0_, "boxes-menu-scrolled");
#line 36 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_reset_style ((GtkWidget*) self);
#line 848 "wizard-source.c"
}


static void ___lambda60__gtk_widget_hide (GtkWidget* _sender, gpointer self) {
#line 34 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	__lambda60_ ((BoxesWizardScrolled*) self);
#line 855 "wizard-source.c"
}


void boxes_wizard_scrolled_setup (BoxesWizardScrolled* self, gint num_visible) {
	gint _tmp0_;
	GtkWidget* _tmp1_;
	GtkWidget* _tmp2_;
#line 24 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (self != NULL);
#line 25 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = num_visible;
#line 25 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_scrolled_set_num_visible (self, _tmp0_);
#line 27 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_signal_connect_object ((GObject*) self, "notify::num-visible", (GCallback) ___lambda58__g_object_notify, self, 0);
#line 30 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = gtk_scrolled_window_get_vscrollbar ((GtkScrolledWindow*) self);
#line 30 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_signal_connect_object (_tmp1_, "show", (GCallback) ___lambda59__gtk_widget_show, self, 0);
#line 34 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp2_ = gtk_scrolled_window_get_vscrollbar ((GtkScrolledWindow*) self);
#line 34 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_signal_connect_object (_tmp2_, "hide", (GCallback) ___lambda60__gtk_widget_hide, self, 0);
#line 879 "wizard-source.c"
}


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


static void boxes_wizard_scrolled_real_get_preferred_height (GtkWidget* base, gint* minimum_height, gint* natural_height) {
	BoxesWizardScrolled * self;
	gint _vala_minimum_height = 0;
	gint _vala_natural_height = 0;
	gint _tmp0_ = 0;
	gint _tmp1_ = 0;
	GtkViewport* viewport = NULL;
	GtkWidget* _tmp2_;
	GtkViewport* _tmp3_;
	GtkBox* box = NULL;
	GtkViewport* _tmp4_;
	GtkWidget* _tmp5_;
	GtkBox* _tmp6_;
	gint height = 0;
	gint i = 0;
	GtkBox* _tmp7_;
	GList* _tmp8_;
	gint _tmp18_;
	gint _tmp19_;
	gint _tmp20_;
	gint _tmp21_;
	gint _tmp22_;
	gint _tmp23_;
#line 40 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self = (BoxesWizardScrolled*) base;
#line 41 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	GTK_WIDGET_CLASS (boxes_wizard_scrolled_parent_class)->get_preferred_height ((GtkWidget*) G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow), &_tmp0_, &_tmp1_);
#line 41 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_vala_minimum_height = _tmp0_;
#line 41 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_vala_natural_height = _tmp1_;
#line 42 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp2_ = gtk_bin_get_child ((GtkBin*) self);
#line 42 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp3_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, gtk_viewport_get_type ()) ? ((GtkViewport*) _tmp2_) : NULL);
#line 42 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	viewport = _tmp3_;
#line 43 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp4_ = viewport;
#line 43 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp5_ = gtk_bin_get_child ((GtkBin*) _tmp4_);
#line 43 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp6_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, gtk_box_get_type ()) ? ((GtkBox*) _tmp5_) : NULL);
#line 43 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	box = _tmp6_;
#line 45 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	height = 0;
#line 46 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	i = 0;
#line 47 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp7_ = box;
#line 47 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp8_ = gtk_container_get_children ((GtkContainer*) _tmp7_);
#line 943 "wizard-source.c"
	{
		GList* w_collection = NULL;
		GList* w_it = NULL;
#line 47 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		w_collection = _tmp8_;
#line 47 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		for (w_it = w_collection; w_it != NULL; w_it = w_it->next) {
#line 951 "wizard-source.c"
			GtkWidget* w = NULL;
#line 47 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			w = (GtkWidget*) w_it->data;
#line 955 "wizard-source.c"
			{
				GtkWidget* _tmp9_;
				gboolean _tmp10_;
				gint child_height = 0;
				GtkWidget* _tmp11_;
				gint _tmp12_ = 0;
				gint _tmp13_;
				gint _tmp14_;
				gint _tmp15_;
				gint _tmp16_;
				gint _tmp17_;
#line 48 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_tmp9_ = w;
#line 48 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_tmp10_ = gtk_widget_get_visible (_tmp9_);
#line 48 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				if (!_tmp10_) {
#line 49 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					continue;
#line 975 "wizard-source.c"
				}
#line 51 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_tmp11_ = w;
#line 51 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				gtk_widget_get_preferred_height (_tmp11_, NULL, &_tmp12_);
#line 51 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				child_height = _tmp12_;
#line 52 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_tmp13_ = height;
#line 52 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_tmp14_ = child_height;
#line 52 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				height = _tmp13_ + _tmp14_;
#line 53 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_tmp15_ = i;
#line 53 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				i = _tmp15_ + 1;
#line 54 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_tmp16_ = i;
#line 54 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_tmp17_ = self->priv->_num_visible;
#line 54 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				if (_tmp16_ == _tmp17_) {
#line 55 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					break;
#line 1001 "wizard-source.c"
				}
			}
		}
#line 47 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_list_free0 (w_collection);
#line 1007 "wizard-source.c"
	}
#line 57 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp18_ = _vala_minimum_height;
#line 57 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp19_ = height;
#line 57 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp20_ = MAX (_tmp18_, _tmp19_);
#line 57 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_vala_minimum_height = _tmp20_;
#line 58 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp21_ = _vala_natural_height;
#line 58 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp22_ = height;
#line 58 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp23_ = MAX (_tmp21_, _tmp22_);
#line 58 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_vala_natural_height = _tmp23_;
#line 40 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (box);
#line 40 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (viewport);
#line 40 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (minimum_height) {
#line 40 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		*minimum_height = _vala_minimum_height;
#line 1033 "wizard-source.c"
	}
#line 40 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (natural_height) {
#line 40 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		*natural_height = _vala_natural_height;
#line 1039 "wizard-source.c"
	}
}


BoxesWizardScrolled* boxes_wizard_scrolled_construct (GType object_type) {
	BoxesWizardScrolled * self = NULL;
#line 16 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self = (BoxesWizardScrolled*) g_object_new (object_type, NULL);
#line 16 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return self;
#line 1050 "wizard-source.c"
}


BoxesWizardScrolled* boxes_wizard_scrolled_new (void) {
#line 16 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return boxes_wizard_scrolled_construct (BOXES_TYPE_WIZARD_SCROLLED);
#line 1057 "wizard-source.c"
}


static gint boxes_wizard_scrolled_get_num_visible (BoxesWizardScrolled* self) {
	gint result;
	gint _tmp0_;
#line 20 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 20 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = self->priv->_num_visible;
#line 20 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	result = _tmp0_;
#line 20 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return result;
#line 1072 "wizard-source.c"
}


static void boxes_wizard_scrolled_set_num_visible (BoxesWizardScrolled* self, gint value) {
	gint _tmp0_;
#line 20 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (self != NULL);
#line 20 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = value;
#line 20 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self->priv->_num_visible = _tmp0_;
#line 1084 "wizard-source.c"
}


static void boxes_wizard_scrolled_class_init (BoxesWizardScrolledClass * klass) {
	gint BoxesWizardScrolled_private_offset;
#line 16 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_scrolled_parent_class = g_type_class_peek_parent (klass);
#line 16 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_type_class_add_private (klass, sizeof (BoxesWizardScrolledPrivate));
#line 16 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	((GtkWidgetClass *) klass)->get_preferred_height = (void (*) (GtkWidget *, gint*, gint*)) boxes_wizard_scrolled_real_get_preferred_height;
#line 16 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_wizard_scrolled_get_property;
#line 16 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_boxes_wizard_scrolled_set_property;
#line 16 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_wizard_scrolled_finalize;
#line 16 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	BoxesWizardScrolled_private_offset = g_type_class_get_instance_private_offset (klass);
#line 16 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/Boxes/ui/wizard-scrolled.ui");
#line 16 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "vbox", FALSE, G_STRUCT_OFFSET (BoxesWizardScrolled, vbox));
#line 1108 "wizard-source.c"
}


static void boxes_wizard_scrolled_instance_init (BoxesWizardScrolled * self) {
#line 16 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self->priv = BOXES_WIZARD_SCROLLED_GET_PRIVATE (self);
#line 16 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_init_template (GTK_WIDGET (self));
#line 1117 "wizard-source.c"
}


static void boxes_wizard_scrolled_finalize (GObject * obj) {
	BoxesWizardScrolled * self;
#line 16 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_WIZARD_SCROLLED, BoxesWizardScrolled);
#line 18 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->vbox);
#line 16 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	G_OBJECT_CLASS (boxes_wizard_scrolled_parent_class)->finalize (obj);
#line 1129 "wizard-source.c"
}


GType boxes_wizard_scrolled_get_type (void) {
	static volatile gsize boxes_wizard_scrolled_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_wizard_scrolled_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesWizardScrolledClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_wizard_scrolled_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesWizardScrolled), 0, (GInstanceInitFunc) boxes_wizard_scrolled_instance_init, NULL };
		GType boxes_wizard_scrolled_type_id;
		boxes_wizard_scrolled_type_id = g_type_register_static (gtk_scrolled_window_get_type (), "BoxesWizardScrolled", &g_define_type_info, 0);
		g_once_init_leave (&boxes_wizard_scrolled_type_id__volatile, boxes_wizard_scrolled_type_id);
	}
	return boxes_wizard_scrolled_type_id__volatile;
}


static void _vala_boxes_wizard_scrolled_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	BoxesWizardScrolled * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_WIZARD_SCROLLED, BoxesWizardScrolled);
#line 16 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	switch (property_id) {
#line 1150 "wizard-source.c"
		default:
#line 16 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 16 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		break;
#line 1156 "wizard-source.c"
	}
}


static void _vala_boxes_wizard_scrolled_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	BoxesWizardScrolled * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_WIZARD_SCROLLED, BoxesWizardScrolled);
#line 16 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	switch (property_id) {
#line 1166 "wizard-source.c"
		default:
#line 16 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 16 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		break;
#line 1172 "wizard-source.c"
	}
}


BoxesWizardMediaEntry* boxes_wizard_media_entry_construct (GType object_type, BoxesInstallerMedia* media) {
	BoxesWizardMediaEntry * self = NULL;
	BoxesInstallerMedia* _tmp0_;
	BoxesInstallerMedia* _tmp1_;
	BoxesInstallerMedia* _tmp2_;
	OsinfoOs* _tmp3_;
	GtkLabel* _tmp7_;
	BoxesInstallerMedia* _tmp8_;
	const gchar* _tmp9_;
	gboolean _tmp10_ = FALSE;
	BoxesInstallerMedia* _tmp11_;
	OsinfoMedia* _tmp12_;
	BoxesInstallerMedia* _tmp27_;
	OsinfoMedia* _tmp28_;
#line 73 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (media != NULL, NULL);
#line 73 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self = (BoxesWizardMediaEntry*) g_object_new (object_type, NULL);
#line 74 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = media;
#line 74 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 74 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->media);
#line 74 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self->media = _tmp1_;
#line 76 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp2_ = media;
#line 76 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp3_ = _tmp2_->os;
#line 76 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp3_ != NULL) {
#line 1209 "wizard-source.c"
		GtkImage* _tmp4_;
		BoxesInstallerMedia* _tmp5_;
		OsinfoOs* _tmp6_;
#line 77 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp4_ = self->priv->media_image;
#line 77 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp5_ = media;
#line 77 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp6_ = _tmp5_->os;
#line 77 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		boxes_downloader_fetch_os_logo (_tmp4_, _tmp6_, 64, NULL, NULL);
#line 1221 "wizard-source.c"
	}
#line 79 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp7_ = self->priv->title_label;
#line 79 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp8_ = media;
#line 79 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp9_ = _tmp8_->label;
#line 79 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_label_set_label (_tmp7_, _tmp9_);
#line 80 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp11_ = media;
#line 80 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp12_ = _tmp11_->os_media;
#line 80 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp12_ != NULL) {
#line 1237 "wizard-source.c"
		BoxesInstallerMedia* _tmp13_;
		OsinfoMedia* _tmp14_;
		gboolean _tmp15_;
		gboolean _tmp16_;
#line 80 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp13_ = media;
#line 80 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp14_ = _tmp13_->os_media;
#line 80 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_object_get (_tmp14_, "live", &_tmp15_, NULL);
#line 80 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp16_ = _tmp15_;
#line 80 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp10_ = _tmp16_;
#line 1252 "wizard-source.c"
	} else {
#line 80 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp10_ = FALSE;
#line 1256 "wizard-source.c"
	}
#line 80 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp10_) {
#line 1260 "wizard-source.c"
		GtkLabel* _tmp17_;
		GtkLabel* _tmp18_;
		const gchar* _tmp19_;
		const gchar* _tmp20_;
		gchar* _tmp21_;
		gchar* _tmp22_;
		gchar* _tmp23_;
		gchar* _tmp24_;
		gchar* _tmp25_;
		gchar* _tmp26_;
#line 83 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp17_ = self->priv->title_label;
#line 83 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp18_ = self->priv->title_label;
#line 83 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp19_ = gtk_label_get_label (_tmp18_);
#line 83 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp20_ = _tmp19_;
#line 83 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp21_ = g_strconcat (" (", _ ("Live"), NULL);
#line 83 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp22_ = _tmp21_;
#line 83 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp23_ = g_strconcat (_tmp22_, ")", NULL);
#line 83 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp24_ = _tmp23_;
#line 83 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp25_ = g_strconcat (_tmp20_, _tmp24_, NULL);
#line 83 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp26_ = _tmp25_;
#line 83 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		gtk_label_set_label (_tmp18_, _tmp26_);
#line 83 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (_tmp26_);
#line 83 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (_tmp24_);
#line 83 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (_tmp22_);
#line 1299 "wizard-source.c"
	}
#line 85 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp27_ = media;
#line 85 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp28_ = _tmp27_->os_media;
#line 85 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp28_ != NULL) {
#line 1307 "wizard-source.c"
		const gchar* _tmp29_ = NULL;
		gboolean _tmp30_ = FALSE;
		BoxesInstallerMedia* _tmp31_;
		OsinfoMedia* _tmp32_;
		gchar* _tmp33_;
		gchar* _tmp34_;
		gchar* _tmp35_;
		gboolean _tmp36_;
		gchar* architecture = NULL;
		gchar* _tmp42_;
		GtkLabel* _tmp43_;
		const gchar* _tmp44_;
		BoxesInstallerMedia* _tmp45_;
		OsinfoOs* _tmp46_;
		const gchar* _tmp47_;
		const gchar* _tmp48_;
#line 86 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp31_ = media;
#line 86 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp32_ = _tmp31_->os_media;
#line 86 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_object_get (_tmp32_, "architecture", &_tmp33_, NULL);
#line 86 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp34_ = _tmp33_;
#line 86 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp35_ = _tmp34_;
#line 86 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp36_ = g_strcmp0 (_tmp35_, "i386") == 0;
#line 86 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (_tmp35_);
#line 86 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		if (_tmp36_) {
#line 86 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp30_ = TRUE;
#line 1342 "wizard-source.c"
		} else {
			BoxesInstallerMedia* _tmp37_;
			OsinfoMedia* _tmp38_;
			gchar* _tmp39_;
			gchar* _tmp40_;
			gchar* _tmp41_;
#line 86 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp37_ = media;
#line 86 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp38_ = _tmp37_->os_media;
#line 86 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			g_object_get (_tmp38_, "architecture", &_tmp39_, NULL);
#line 86 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp40_ = _tmp39_;
#line 86 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp41_ = _tmp40_;
#line 86 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp30_ = g_strcmp0 (_tmp41_, "i686") == 0;
#line 86 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_g_free0 (_tmp41_);
#line 1363 "wizard-source.c"
		}
#line 86 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		if (_tmp30_) {
#line 87 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp29_ = _ ("32-bit x86 system");
#line 1369 "wizard-source.c"
		} else {
#line 88 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp29_ = _ ("64-bit x86 system");
#line 1373 "wizard-source.c"
		}
#line 86 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp42_ = g_strdup (_tmp29_);
#line 86 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		architecture = _tmp42_;
#line 89 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp43_ = self->priv->details_label;
#line 89 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp44_ = architecture;
#line 89 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		gtk_label_set_label (_tmp43_, _tmp44_);
#line 91 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp45_ = media;
#line 91 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp46_ = _tmp45_->os;
#line 91 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp47_ = osinfo_product_get_vendor ((OsinfoProduct*) _tmp46_);
#line 91 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp48_ = _tmp47_;
#line 91 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		if (_tmp48_ != NULL) {
#line 1395 "wizard-source.c"
			GtkLabel* _tmp49_;
			GtkLabel* _tmp50_;
			const gchar* _tmp51_;
			const gchar* _tmp52_;
			BoxesInstallerMedia* _tmp53_;
			OsinfoOs* _tmp54_;
			const gchar* _tmp55_;
			const gchar* _tmp56_;
			gchar* _tmp57_;
			gchar* _tmp58_;
			gchar* _tmp59_;
			gchar* _tmp60_;
#line 93 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp49_ = self->priv->details_label;
#line 93 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp50_ = self->priv->details_label;
#line 93 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp51_ = gtk_label_get_label (_tmp50_);
#line 93 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp52_ = _tmp51_;
#line 93 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp53_ = media;
#line 93 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp54_ = _tmp53_->os;
#line 93 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp55_ = osinfo_product_get_vendor ((OsinfoProduct*) _tmp54_);
#line 93 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp56_ = _tmp55_;
#line 93 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp57_ = g_strdup_printf (_ (" from %s"), _tmp56_);
#line 93 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp58_ = _tmp57_;
#line 93 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp59_ = g_strconcat (_tmp52_, _tmp58_, NULL);
#line 93 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp60_ = _tmp59_;
#line 93 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			gtk_label_set_label (_tmp50_, _tmp60_);
#line 93 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_g_free0 (_tmp60_);
#line 93 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_g_free0 (_tmp58_);
#line 1438 "wizard-source.c"
		}
#line 85 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (architecture);
#line 1442 "wizard-source.c"
	}
#line 73 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return self;
#line 1446 "wizard-source.c"
}


BoxesWizardMediaEntry* boxes_wizard_media_entry_new (BoxesInstallerMedia* media) {
#line 73 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return boxes_wizard_media_entry_construct (BOXES_TYPE_WIZARD_MEDIA_ENTRY, media);
#line 1453 "wizard-source.c"
}


static void boxes_wizard_media_entry_class_init (BoxesWizardMediaEntryClass * klass) {
	gint BoxesWizardMediaEntry_private_offset;
#line 63 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_media_entry_parent_class = g_type_class_peek_parent (klass);
#line 63 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_type_class_add_private (klass, sizeof (BoxesWizardMediaEntryPrivate));
#line 63 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_wizard_media_entry_finalize;
#line 63 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	BoxesWizardMediaEntry_private_offset = g_type_class_get_instance_private_offset (klass);
#line 63 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/Boxes/ui/wizard-media-entry.ui");
#line 63 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "media_image", FALSE, BoxesWizardMediaEntry_private_offset + G_STRUCT_OFFSET (BoxesWizardMediaEntryPrivate, media_image));
#line 63 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "title_label", FALSE, BoxesWizardMediaEntry_private_offset + G_STRUCT_OFFSET (BoxesWizardMediaEntryPrivate, title_label));
#line 63 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "details_label", FALSE, BoxesWizardMediaEntry_private_offset + G_STRUCT_OFFSET (BoxesWizardMediaEntryPrivate, details_label));
#line 1475 "wizard-source.c"
}


static void boxes_wizard_media_entry_instance_init (BoxesWizardMediaEntry * self) {
#line 63 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self->priv = BOXES_WIZARD_MEDIA_ENTRY_GET_PRIVATE (self);
#line 63 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_init_template (GTK_WIDGET (self));
#line 1484 "wizard-source.c"
}


static void boxes_wizard_media_entry_finalize (GObject * obj) {
	BoxesWizardMediaEntry * self;
#line 63 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_WIZARD_MEDIA_ENTRY, BoxesWizardMediaEntry);
#line 64 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->media);
#line 67 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->media_image);
#line 69 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->title_label);
#line 71 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->details_label);
#line 63 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	G_OBJECT_CLASS (boxes_wizard_media_entry_parent_class)->finalize (obj);
#line 1502 "wizard-source.c"
}


GType boxes_wizard_media_entry_get_type (void) {
	static volatile gsize boxes_wizard_media_entry_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_wizard_media_entry_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesWizardMediaEntryClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_wizard_media_entry_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesWizardMediaEntry), 0, (GInstanceInitFunc) boxes_wizard_media_entry_instance_init, NULL };
		GType boxes_wizard_media_entry_type_id;
		boxes_wizard_media_entry_type_id = g_type_register_static (gtk_button_get_type (), "BoxesWizardMediaEntry", &g_define_type_info, 0);
		g_once_init_leave (&boxes_wizard_media_entry_type_id__volatile, boxes_wizard_media_entry_type_id);
	}
	return boxes_wizard_media_entry_type_id__volatile;
}


static void boxes_wizard_web_view_real_dispose (GObject* base) {
	BoxesWizardWebView * self;
	guint _tmp0_;
#line 118 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self = (BoxesWizardWebView*) base;
#line 119 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = self->priv->hide_progress_bar_id;
#line 119 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp0_ != ((guint) 0)) {
#line 1527 "wizard-source.c"
		guint _tmp1_;
#line 120 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp1_ = self->priv->hide_progress_bar_id;
#line 120 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_source_remove (_tmp1_);
#line 121 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		self->priv->hide_progress_bar_id = (guint) 0;
#line 1535 "wizard-source.c"
	}
#line 124 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	G_OBJECT_CLASS (boxes_wizard_web_view_parent_class)->dispose ((GObject*) G_TYPE_CHECK_INSTANCE_CAST (self, gtk_bin_get_type (), GtkBin));
#line 1539 "wizard-source.c"
}


static void _g_object_unref0_ (gpointer var) {
#line 173 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	(var == NULL) ? NULL : (var = (g_object_unref (var), NULL));
#line 1546 "wizard-source.c"
}


static inline void _g_list_free__g_object_unref0_ (GList* self) {
#line 173 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_list_free_full (self, (GDestroyNotify) _g_object_unref0_);
#line 1553 "wizard-source.c"
}


static gboolean boxes_wizard_web_view_on_context_menu (BoxesWizardWebView* self, WebKitWebView* web_view, WebKitContextMenu* context_menu, GdkEvent* event, WebKitHitTestResult* hit_test_result) {
	gboolean result = FALSE;
	GList* items_to_remove = NULL;
	WebKitContextMenu* _tmp0_;
	GList* _tmp1_;
	GList* _tmp32_;
	GList* separators_to_remove = NULL;
	WebKitContextMenuAction previous_action = 0;
	WebKitContextMenu* _tmp36_;
	GList* _tmp37_;
	GList* _tmp48_;
	guint n_items = 0U;
	WebKitContextMenu* _tmp52_;
	guint _tmp53_;
#line 128 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 128 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (web_view != NULL, FALSE);
#line 128 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (context_menu != NULL, FALSE);
#line 128 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 128 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (hit_test_result != NULL, FALSE);
#line 132 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	items_to_remove = NULL;
#line 134 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = context_menu;
#line 134 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = webkit_context_menu_get_items (_tmp0_);
#line 1587 "wizard-source.c"
	{
		GList* item_collection = NULL;
		GList* item_it = NULL;
#line 134 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		item_collection = _tmp1_;
#line 134 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		for (item_it = item_collection; item_it != NULL; item_it = item_it->next) {
#line 1595 "wizard-source.c"
			WebKitContextMenuItem* _tmp2_;
			WebKitContextMenuItem* item = NULL;
#line 134 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp2_ = _g_object_ref0 ((WebKitContextMenuItem*) item_it->data);
#line 134 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			item = _tmp2_;
#line 1602 "wizard-source.c"
			{
				WebKitContextMenuAction action = 0;
				WebKitContextMenuItem* _tmp3_;
				WebKitContextMenuAction _tmp4_;
				gboolean _tmp5_ = FALSE;
				gboolean _tmp6_ = FALSE;
				gboolean _tmp7_ = FALSE;
				gboolean _tmp8_ = FALSE;
				gboolean _tmp9_ = FALSE;
				gboolean _tmp10_ = FALSE;
				gboolean _tmp11_ = FALSE;
				gboolean _tmp12_ = FALSE;
				gboolean _tmp13_ = FALSE;
				gboolean _tmp14_ = FALSE;
				gboolean _tmp15_ = FALSE;
				gboolean _tmp16_ = FALSE;
				WebKitContextMenuAction _tmp17_;
#line 135 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_tmp3_ = item;
#line 135 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_tmp4_ = webkit_context_menu_item_get_stock_action (_tmp3_);
#line 135 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				action = _tmp4_;
#line 136 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_tmp17_ = action;
#line 136 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				if (_tmp17_ == WEBKIT_CONTEXT_MENU_ACTION_GO_BACK) {
#line 136 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp16_ = TRUE;
#line 1632 "wizard-source.c"
				} else {
					WebKitContextMenuAction _tmp18_;
#line 137 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp18_ = action;
#line 137 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp16_ = _tmp18_ == WEBKIT_CONTEXT_MENU_ACTION_GO_FORWARD;
#line 1639 "wizard-source.c"
				}
#line 136 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				if (_tmp16_) {
#line 136 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp15_ = TRUE;
#line 1645 "wizard-source.c"
				} else {
					WebKitContextMenuAction _tmp19_;
#line 138 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp19_ = action;
#line 138 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp15_ = _tmp19_ == WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_AUDIO_TO_DISK;
#line 1652 "wizard-source.c"
				}
#line 136 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				if (_tmp15_) {
#line 136 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp14_ = TRUE;
#line 1658 "wizard-source.c"
				} else {
					WebKitContextMenuAction _tmp20_;
#line 139 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp20_ = action;
#line 139 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp14_ = _tmp20_ == WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_IMAGE_TO_DISK;
#line 1665 "wizard-source.c"
				}
#line 136 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				if (_tmp14_) {
#line 136 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp13_ = TRUE;
#line 1671 "wizard-source.c"
				} else {
					WebKitContextMenuAction _tmp21_;
#line 140 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp21_ = action;
#line 140 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp13_ = _tmp21_ == WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_LINK_TO_DISK;
#line 1678 "wizard-source.c"
				}
#line 136 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				if (_tmp13_) {
#line 136 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp12_ = TRUE;
#line 1684 "wizard-source.c"
				} else {
					WebKitContextMenuAction _tmp22_;
#line 141 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp22_ = action;
#line 141 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp12_ = _tmp22_ == WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_VIDEO_TO_DISK;
#line 1691 "wizard-source.c"
				}
#line 136 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				if (_tmp12_) {
#line 136 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp11_ = TRUE;
#line 1697 "wizard-source.c"
				} else {
					WebKitContextMenuAction _tmp23_;
#line 142 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp23_ = action;
#line 142 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp11_ = _tmp23_ == WEBKIT_CONTEXT_MENU_ACTION_OPEN_AUDIO_IN_NEW_WINDOW;
#line 1704 "wizard-source.c"
				}
#line 136 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				if (_tmp11_) {
#line 136 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp10_ = TRUE;
#line 1710 "wizard-source.c"
				} else {
					WebKitContextMenuAction _tmp24_;
#line 143 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp24_ = action;
#line 143 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp10_ = _tmp24_ == WEBKIT_CONTEXT_MENU_ACTION_OPEN_FRAME_IN_NEW_WINDOW;
#line 1717 "wizard-source.c"
				}
#line 136 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				if (_tmp10_) {
#line 136 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp9_ = TRUE;
#line 1723 "wizard-source.c"
				} else {
					WebKitContextMenuAction _tmp25_;
#line 144 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp25_ = action;
#line 144 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp9_ = _tmp25_ == WEBKIT_CONTEXT_MENU_ACTION_OPEN_IMAGE_IN_NEW_WINDOW;
#line 1730 "wizard-source.c"
				}
#line 136 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				if (_tmp9_) {
#line 136 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp8_ = TRUE;
#line 1736 "wizard-source.c"
				} else {
					WebKitContextMenuAction _tmp26_;
#line 145 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp26_ = action;
#line 145 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp8_ = _tmp26_ == WEBKIT_CONTEXT_MENU_ACTION_OPEN_LINK_IN_NEW_WINDOW;
#line 1743 "wizard-source.c"
				}
#line 136 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				if (_tmp8_) {
#line 136 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp7_ = TRUE;
#line 1749 "wizard-source.c"
				} else {
					WebKitContextMenuAction _tmp27_;
#line 146 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp27_ = action;
#line 146 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp7_ = _tmp27_ == WEBKIT_CONTEXT_MENU_ACTION_OPEN_VIDEO_IN_NEW_WINDOW;
#line 1756 "wizard-source.c"
				}
#line 136 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				if (_tmp7_) {
#line 136 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp6_ = TRUE;
#line 1762 "wizard-source.c"
				} else {
					WebKitContextMenuAction _tmp28_;
#line 147 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp28_ = action;
#line 147 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp6_ = _tmp28_ == WEBKIT_CONTEXT_MENU_ACTION_RELOAD;
#line 1769 "wizard-source.c"
				}
#line 136 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				if (_tmp6_) {
#line 136 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp5_ = TRUE;
#line 1775 "wizard-source.c"
				} else {
					WebKitContextMenuAction _tmp29_;
#line 148 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp29_ = action;
#line 148 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp5_ = _tmp29_ == WEBKIT_CONTEXT_MENU_ACTION_STOP;
#line 1782 "wizard-source.c"
				}
#line 136 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				if (_tmp5_) {
#line 1786 "wizard-source.c"
					WebKitContextMenuItem* _tmp30_;
					WebKitContextMenuItem* _tmp31_;
#line 149 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp30_ = item;
#line 149 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp31_ = _g_object_ref0 (_tmp30_);
#line 149 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					items_to_remove = g_list_prepend (items_to_remove, _tmp31_);
#line 1795 "wizard-source.c"
				}
#line 134 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_g_object_unref0 (item);
#line 1799 "wizard-source.c"
			}
		}
	}
#line 153 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp32_ = items_to_remove;
#line 1805 "wizard-source.c"
	{
		GList* item_collection = NULL;
		GList* item_it = NULL;
#line 153 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		item_collection = _tmp32_;
#line 153 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		for (item_it = item_collection; item_it != NULL; item_it = item_it->next) {
#line 1813 "wizard-source.c"
			WebKitContextMenuItem* _tmp33_;
			WebKitContextMenuItem* item = NULL;
#line 153 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp33_ = _g_object_ref0 ((WebKitContextMenuItem*) item_it->data);
#line 153 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			item = _tmp33_;
#line 1820 "wizard-source.c"
			{
				WebKitContextMenu* _tmp34_;
				WebKitContextMenuItem* _tmp35_;
#line 154 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_tmp34_ = context_menu;
#line 154 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_tmp35_ = item;
#line 154 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				webkit_context_menu_remove (_tmp34_, _tmp35_);
#line 153 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_g_object_unref0 (item);
#line 1832 "wizard-source.c"
			}
		}
	}
#line 157 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	separators_to_remove = NULL;
#line 158 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	previous_action = WEBKIT_CONTEXT_MENU_ACTION_NO_ACTION;
#line 160 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp36_ = context_menu;
#line 160 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp37_ = webkit_context_menu_get_items (_tmp36_);
#line 1844 "wizard-source.c"
	{
		GList* item_collection = NULL;
		GList* item_it = NULL;
#line 160 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		item_collection = _tmp37_;
#line 160 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		for (item_it = item_collection; item_it != NULL; item_it = item_it->next) {
#line 1852 "wizard-source.c"
			WebKitContextMenuItem* _tmp38_;
			WebKitContextMenuItem* item = NULL;
#line 160 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp38_ = _g_object_ref0 ((WebKitContextMenuItem*) item_it->data);
#line 160 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			item = _tmp38_;
#line 1859 "wizard-source.c"
			{
				WebKitContextMenuAction action = 0;
				WebKitContextMenuItem* _tmp39_;
				WebKitContextMenuAction _tmp40_;
				gboolean _tmp41_ = FALSE;
				WebKitContextMenuAction _tmp42_;
				WebKitContextMenuAction _tmp47_;
#line 161 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_tmp39_ = item;
#line 161 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_tmp40_ = webkit_context_menu_item_get_stock_action (_tmp39_);
#line 161 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				action = _tmp40_;
#line 162 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_tmp42_ = action;
#line 162 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				if (_tmp42_ == WEBKIT_CONTEXT_MENU_ACTION_NO_ACTION) {
#line 1877 "wizard-source.c"
					WebKitContextMenuAction _tmp43_;
					WebKitContextMenuAction _tmp44_;
#line 162 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp43_ = action;
#line 162 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp44_ = previous_action;
#line 162 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp41_ = _tmp43_ == _tmp44_;
#line 1886 "wizard-source.c"
				} else {
#line 162 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp41_ = FALSE;
#line 1890 "wizard-source.c"
				}
#line 162 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				if (_tmp41_) {
#line 1894 "wizard-source.c"
					WebKitContextMenuItem* _tmp45_;
					WebKitContextMenuItem* _tmp46_;
#line 163 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp45_ = item;
#line 163 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_tmp46_ = _g_object_ref0 (_tmp45_);
#line 163 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					separators_to_remove = g_list_prepend (separators_to_remove, _tmp46_);
#line 1903 "wizard-source.c"
				}
#line 165 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_tmp47_ = action;
#line 165 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				previous_action = _tmp47_;
#line 160 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_g_object_unref0 (item);
#line 1911 "wizard-source.c"
			}
		}
	}
#line 168 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp48_ = separators_to_remove;
#line 1917 "wizard-source.c"
	{
		GList* item_collection = NULL;
		GList* item_it = NULL;
#line 168 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		item_collection = _tmp48_;
#line 168 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		for (item_it = item_collection; item_it != NULL; item_it = item_it->next) {
#line 1925 "wizard-source.c"
			WebKitContextMenuItem* _tmp49_;
			WebKitContextMenuItem* item = NULL;
#line 168 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp49_ = _g_object_ref0 ((WebKitContextMenuItem*) item_it->data);
#line 168 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			item = _tmp49_;
#line 1932 "wizard-source.c"
			{
				WebKitContextMenu* _tmp50_;
				WebKitContextMenuItem* _tmp51_;
#line 169 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_tmp50_ = context_menu;
#line 169 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_tmp51_ = item;
#line 169 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				webkit_context_menu_remove (_tmp50_, _tmp51_);
#line 168 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_g_object_unref0 (item);
#line 1944 "wizard-source.c"
			}
		}
	}
#line 172 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp52_ = context_menu;
#line 172 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp53_ = webkit_context_menu_get_n_items (_tmp52_);
#line 172 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	n_items = _tmp53_;
#line 173 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	result = n_items == ((guint) 0);
#line 173 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	__g_list_free__g_object_unref0_0 (separators_to_remove);
#line 173 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	__g_list_free__g_object_unref0_0 (items_to_remove);
#line 173 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return result;
#line 1962 "wizard-source.c"
}


static gboolean _boxes_wizard_web_view_on_context_menu_webkit_web_view_context_menu (WebKitWebView* _sender, WebKitContextMenu* context_menu, GdkEvent* event, WebKitHitTestResult* hit_test_result, gpointer self) {
	gboolean result;
	result = boxes_wizard_web_view_on_context_menu ((BoxesWizardWebView*) self, _sender, context_menu, event, hit_test_result);
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return result;
#line 1971 "wizard-source.c"
}


static gboolean ___lambda61_ (BoxesWizardWebView* self) {
	gboolean result = FALSE;
	GtkProgressBar* _tmp0_;
#line 192 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = self->priv->progress_bar;
#line 192 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_hide ((GtkWidget*) _tmp0_);
#line 193 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self->priv->hide_progress_bar_id = (guint) 0;
#line 194 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	result = G_SOURCE_REMOVE;
#line 194 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return result;
#line 1988 "wizard-source.c"
}


static gboolean ____lambda61__gsource_func (gpointer self) {
	gboolean result;
	result = ___lambda61_ ((BoxesWizardWebView*) self);
#line 191 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return result;
#line 1997 "wizard-source.c"
}


static void boxes_wizard_web_view_on_notify_estimated_load_progress (BoxesWizardWebView* self) {
	guint _tmp0_;
	gchar* uri = NULL;
	WebKitWebView* _tmp2_;
	const gchar* _tmp3_;
	gchar* _tmp4_;
	gboolean _tmp5_ = FALSE;
	const gchar* _tmp6_;
	gdouble progress = 0.0;
	WebKitWebView* _tmp8_;
	gdouble _tmp9_;
	gboolean loading = FALSE;
	WebKitWebView* _tmp10_;
	gboolean _tmp11_;
	gboolean _tmp12_;
	gboolean _tmp13_ = FALSE;
	gdouble _tmp14_;
	gdouble _tmp18_ = 0.0;
	gboolean _tmp19_ = FALSE;
	gboolean _tmp20_;
	GtkProgressBar* _tmp23_;
#line 177 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (self != NULL);
#line 178 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = self->priv->hide_progress_bar_id;
#line 178 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp0_ != ((guint) 0)) {
#line 2028 "wizard-source.c"
		guint _tmp1_;
#line 179 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp1_ = self->priv->hide_progress_bar_id;
#line 179 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_source_remove (_tmp1_);
#line 180 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		self->priv->hide_progress_bar_id = (guint) 0;
#line 2036 "wizard-source.c"
	}
#line 183 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp2_ = self->priv->web_view;
#line 183 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp3_ = webkit_web_view_get_uri (_tmp2_);
#line 183 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp4_ = g_strdup (_tmp3_);
#line 183 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	uri = _tmp4_;
#line 184 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp6_ = uri;
#line 184 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp6_ == NULL) {
#line 184 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp5_ = TRUE;
#line 2052 "wizard-source.c"
	} else {
		const gchar* _tmp7_;
#line 184 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp7_ = uri;
#line 184 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp5_ = g_strcmp0 (_tmp7_, "about:blank") == 0;
#line 2059 "wizard-source.c"
	}
#line 184 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp5_) {
#line 185 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (uri);
#line 185 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return;
#line 2067 "wizard-source.c"
	}
#line 187 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp8_ = self->priv->web_view;
#line 187 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp9_ = webkit_web_view_get_estimated_load_progress (_tmp8_);
#line 187 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	progress = _tmp9_;
#line 188 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp10_ = self->priv->web_view;
#line 188 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_object_get (_tmp10_, "is-loading", &_tmp11_, NULL);
#line 188 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp12_ = _tmp11_;
#line 188 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	loading = _tmp12_;
#line 190 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp14_ = progress;
#line 190 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp14_ == 1.0) {
#line 190 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp13_ = TRUE;
#line 2089 "wizard-source.c"
	} else {
		gboolean _tmp15_;
#line 190 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp15_ = loading;
#line 190 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp13_ = !_tmp15_;
#line 2096 "wizard-source.c"
	}
#line 190 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp13_) {
#line 2100 "wizard-source.c"
		guint _tmp16_;
#line 191 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp16_ = g_timeout_add_full (G_PRIORITY_DEFAULT, BOXES_WIZARD_WEB_VIEW_progress_bar_id_timeout, ____lambda61__gsource_func, g_object_ref (self), g_object_unref);
#line 191 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		self->priv->hide_progress_bar_id = _tmp16_;
#line 2106 "wizard-source.c"
	} else {
		GtkProgressBar* _tmp17_;
#line 197 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp17_ = self->priv->progress_bar;
#line 197 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		gtk_widget_show ((GtkWidget*) _tmp17_);
#line 2113 "wizard-source.c"
	}
#line 200 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp20_ = loading;
#line 200 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp20_) {
#line 200 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp19_ = TRUE;
#line 2121 "wizard-source.c"
	} else {
		gdouble _tmp21_;
#line 200 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp21_ = progress;
#line 200 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp19_ = _tmp21_ == 1.0;
#line 2128 "wizard-source.c"
	}
#line 200 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp19_) {
#line 2132 "wizard-source.c"
		gdouble _tmp22_;
#line 200 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp22_ = progress;
#line 200 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp18_ = _tmp22_;
#line 2138 "wizard-source.c"
	} else {
#line 200 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp18_ = 0.0;
#line 2142 "wizard-source.c"
	}
#line 200 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp23_ = self->priv->progress_bar;
#line 200 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_progress_bar_set_fraction (_tmp23_, _tmp18_);
#line 177 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_free0 (uri);
#line 2150 "wizard-source.c"
}


static void _boxes_wizard_web_view_on_notify_estimated_load_progress_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_web_view_on_notify_estimated_load_progress ((BoxesWizardWebView*) self);
#line 2157 "wizard-source.c"
}


BoxesWizardWebView* boxes_wizard_web_view_construct (GType object_type) {
	BoxesWizardWebView * self = NULL;
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self = (BoxesWizardWebView*) g_object_new (object_type, NULL);
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return self;
#line 2167 "wizard-source.c"
}


BoxesWizardWebView* boxes_wizard_web_view_new (void) {
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return boxes_wizard_web_view_construct (BOXES_TYPE_WIZARD_WEB_VIEW);
#line 2174 "wizard-source.c"
}


WebKitWebView* boxes_wizard_web_view_get_view (BoxesWizardWebView* self) {
	WebKitWebView* result;
	WebKitWebView* _tmp0_;
#line 115 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 115 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = self->priv->web_view;
#line 115 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	result = _tmp0_;
#line 115 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return result;
#line 2189 "wizard-source.c"
}


static gchar** _vala_array_dup6 (gchar** self, int length) {
	gchar** result;
	int i;
#line 110 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	result = g_new0 (gchar*, length + 1);
#line 110 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	for (i = 0; i < length; i++) {
#line 2200 "wizard-source.c"
		gchar* _tmp0_;
#line 110 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp0_ = g_strdup (self[i]);
#line 110 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		result[i] = _tmp0_;
#line 2206 "wizard-source.c"
	}
#line 110 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return result;
#line 2210 "wizard-source.c"
}


static GObject * boxes_wizard_web_view_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) {
	GObject * obj;
	GObjectClass * parent_class;
	BoxesWizardWebView * self;
	WebKitWebContext* context = NULL;
	WebKitWebView* _tmp0_;
	WebKitWebContext* _tmp1_;
	WebKitWebContext* _tmp2_;
	gchar** language_names = NULL;
	gchar** _tmp3_;
	gchar** _tmp4_;
	gchar** _tmp5_;
	gint _tmp5__length1;
	gint language_names_length1;
	gint _language_names_size_;
	WebKitWebContext* _tmp6_;
	gchar** _tmp7_;
	gint _tmp7__length1;
#line 108 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	parent_class = G_OBJECT_CLASS (boxes_wizard_web_view_parent_class);
#line 108 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 108 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_WIZARD_WEB_VIEW, BoxesWizardWebView);
#line 109 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = self->priv->web_view;
#line 109 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = webkit_web_view_get_context (_tmp0_);
#line 109 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 109 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	context = _tmp2_;
#line 110 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp4_ = _tmp3_ = g_get_language_names ();
#line 110 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp5_ = (_tmp4_ != NULL) ? _vala_array_dup6 (_tmp4_, _vala_array_length (_tmp3_)) : ((gpointer) _tmp4_);
#line 110 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp5__length1 = _vala_array_length (_tmp3_);
#line 110 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	language_names = _tmp5_;
#line 110 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	language_names_length1 = _tmp5__length1;
#line 110 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_language_names_size_ = language_names_length1;
#line 111 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp6_ = context;
#line 111 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp7_ = language_names;
#line 111 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp7__length1 = language_names_length1;
#line 111 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	webkit_web_context_set_preferred_languages (_tmp6_, _tmp7_);
#line 108 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	language_names = (_vala_array_free (language_names, language_names_length1, (GDestroyNotify) g_free), NULL);
#line 108 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (context);
#line 108 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return obj;
#line 2272 "wizard-source.c"
}


static void boxes_wizard_web_view_class_init (BoxesWizardWebViewClass * klass) {
	gint BoxesWizardWebView_private_offset;
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_web_view_parent_class = g_type_class_peek_parent (klass);
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_type_class_add_private (klass, sizeof (BoxesWizardWebViewPrivate));
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	((GObjectClass *) klass)->dispose = (void (*) (GObject *)) boxes_wizard_web_view_real_dispose;
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_wizard_web_view_get_property;
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	G_OBJECT_CLASS (klass)->constructor = boxes_wizard_web_view_constructor;
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_wizard_web_view_finalize;
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_WIZARD_WEB_VIEW_VIEW_PROPERTY, boxes_wizard_web_view_properties[BOXES_WIZARD_WEB_VIEW_VIEW_PROPERTY] = g_param_spec_object ("view", "view", "view", webkit_web_view_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	BoxesWizardWebView_private_offset = g_type_class_get_instance_private_offset (klass);
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/Boxes/ui/wizard-web-view.ui");
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "progress_bar", FALSE, BoxesWizardWebView_private_offset + G_STRUCT_OFFSET (BoxesWizardWebViewPrivate, progress_bar));
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "web_view", FALSE, BoxesWizardWebView_private_offset + G_STRUCT_OFFSET (BoxesWizardWebViewPrivate, web_view));
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "on_context_menu", G_CALLBACK(_boxes_wizard_web_view_on_context_menu_webkit_web_view_context_menu));
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "on_notify_estimated_load_progress", G_CALLBACK(_boxes_wizard_web_view_on_notify_estimated_load_progress_g_object_notify));
#line 2304 "wizard-source.c"
}


static void boxes_wizard_web_view_instance_init (BoxesWizardWebView * self) {
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self->priv = BOXES_WIZARD_WEB_VIEW_GET_PRIVATE (self);
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_init_template (GTK_WIDGET (self));
#line 2313 "wizard-source.c"
}


static void boxes_wizard_web_view_finalize (GObject * obj) {
	BoxesWizardWebView * self;
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_WIZARD_WEB_VIEW, BoxesWizardWebView);
#line 101 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->progress_bar);
#line 103 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->web_view);
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	G_OBJECT_CLASS (boxes_wizard_web_view_parent_class)->finalize (obj);
#line 2327 "wizard-source.c"
}


GType boxes_wizard_web_view_get_type (void) {
	static volatile gsize boxes_wizard_web_view_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_wizard_web_view_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesWizardWebViewClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_wizard_web_view_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesWizardWebView), 0, (GInstanceInitFunc) boxes_wizard_web_view_instance_init, NULL };
		GType boxes_wizard_web_view_type_id;
		boxes_wizard_web_view_type_id = g_type_register_static (gtk_bin_get_type (), "BoxesWizardWebView", &g_define_type_info, 0);
		g_once_init_leave (&boxes_wizard_web_view_type_id__volatile, boxes_wizard_web_view_type_id);
	}
	return boxes_wizard_web_view_type_id__volatile;
}


static void _vala_boxes_wizard_web_view_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	BoxesWizardWebView * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_WIZARD_WEB_VIEW, BoxesWizardWebView);
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	switch (property_id) {
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		case BOXES_WIZARD_WEB_VIEW_VIEW_PROPERTY:
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_value_set_object (value, boxes_wizard_web_view_get_view (self));
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		break;
#line 2354 "wizard-source.c"
		default:
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 99 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		break;
#line 2360 "wizard-source.c"
	}
}


static Block96Data* block96_data_ref (Block96Data* _data96_) {
#line 267 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_atomic_int_inc (&_data96_->_ref_count_);
#line 267 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return _data96_;
#line 2370 "wizard-source.c"
}


static void block96_data_unref (void * _userdata_) {
	Block96Data* _data96_;
	_data96_ = (Block96Data*) _userdata_;
#line 267 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (g_atomic_int_dec_and_test (&_data96_->_ref_count_)) {
#line 2379 "wizard-source.c"
		BoxesWizardSource* self;
#line 267 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		self = _data96_->self;
#line 267 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (_data96_->os);
#line 267 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (_data96_->uri);
#line 267 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (self);
#line 267 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_slice_free (Block96Data, _data96_);
#line 2391 "wizard-source.c"
	}
}


static gboolean __lambda62_ (Block96Data* _data96_, GtkTreeModel* store, GtkTreePath* path, GtkTreeIter* iter) {
	BoxesWizardSource* self;
	gboolean result = FALSE;
	gchar* os_uri = NULL;
	GtkListStore* _tmp0_;
	GtkTreeIter _tmp1_;
	const gchar* _tmp2_;
#line 270 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self = _data96_->self;
#line 270 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (store != NULL, FALSE);
#line 270 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (path != NULL, FALSE);
#line 270 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (iter != NULL, FALSE);
#line 272 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = self->priv->media_urls_store;
#line 272 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = *iter;
#line 272 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_tree_model_get ((GtkTreeModel*) _tmp0_, &_tmp1_, BOXES_OS_DATABASE_MEDIA_UR_LS_COLUMNS_URL, &os_uri, BOXES_OS_DATABASE_MEDIA_UR_LS_COLUMNS_OS, &_data96_->os, -1);
#line 275 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp2_ = _data96_->uri;
#line 275 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	result = g_strcmp0 (os_uri, _tmp2_) == 0;
#line 275 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_free0 (os_uri);
#line 275 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return result;
#line 2425 "wizard-source.c"
}


static gboolean ___lambda62__gtk_tree_model_foreach_func (GtkTreeModel* model, GtkTreePath* path, GtkTreeIter* iter, gpointer self) {
	gboolean result;
	result = __lambda62_ (self, model, path, iter);
#line 270 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return result;
#line 2434 "wizard-source.c"
}


OsinfoOs* boxes_wizard_source_get_os_from_uri (BoxesWizardSource* self, const gchar* uri) {
	OsinfoOs* result = NULL;
	Block96Data* _data96_;
	const gchar* _tmp0_;
	gchar* _tmp1_;
	GtkListStore* _tmp2_;
	OsinfoOs* _tmp3_;
#line 267 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 267 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (uri != NULL, NULL);
#line 267 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data96_ = g_slice_new0 (Block96Data);
#line 267 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data96_->_ref_count_ = 1;
#line 267 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data96_->self = g_object_ref (self);
#line 267 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = uri;
#line 267 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 267 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_free0 (_data96_->uri);
#line 267 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data96_->uri = _tmp1_;
#line 268 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data96_->os = NULL;
#line 270 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp2_ = self->priv->media_urls_store;
#line 270 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_tree_model_foreach ((GtkTreeModel*) _tmp2_, ___lambda62__gtk_tree_model_foreach_func, _data96_);
#line 278 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp3_ = _g_object_ref0 (_data96_->os);
#line 278 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	result = _tmp3_;
#line 278 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	block96_data_unref (_data96_);
#line 278 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data96_ = NULL;
#line 278 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return result;
#line 2479 "wizard-source.c"
}


static void boxes_wizard_source_real_dispose (GObject* base) {
	BoxesWizardSource * self;
	GCancellable* _tmp0_;
#line 330 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self = (BoxesWizardSource*) base;
#line 331 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = self->priv->rhel_cancellable;
#line 331 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp0_ != NULL) {
#line 2492 "wizard-source.c"
		GCancellable* _tmp1_;
#line 332 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp1_ = self->priv->rhel_cancellable;
#line 332 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_cancellable_cancel (_tmp1_);
#line 333 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (self->priv->rhel_cancellable);
#line 333 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		self->priv->rhel_cancellable = NULL;
#line 2502 "wizard-source.c"
	}
#line 336 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	G_OBJECT_CLASS (boxes_wizard_source_parent_class)->dispose ((GObject*) G_TYPE_CHECK_INSTANCE_CAST (self, gtk_stack_get_type (), GtkStack));
#line 2506 "wizard-source.c"
}


static Block97Data* block97_data_ref (Block97Data* _data97_) {
#line 339 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_atomic_int_inc (&_data97_->_ref_count_);
#line 339 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return _data97_;
#line 2515 "wizard-source.c"
}


static void block97_data_unref (void * _userdata_) {
	Block97Data* _data97_;
	_data97_ = (Block97Data*) _userdata_;
#line 339 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (g_atomic_int_dec_and_test (&_data97_->_ref_count_)) {
#line 2524 "wizard-source.c"
		BoxesWizardSource* self;
#line 339 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		self = _data97_->self;
#line 339 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (_data97_->rhel_id);
#line 339 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (_data97_->os_db);
#line 339 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (self);
#line 339 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_slice_free (Block97Data, _data97_);
#line 2536 "wizard-source.c"
	}
}


static gboolean string_contains (const gchar* self, const gchar* needle) {
	gboolean result = FALSE;
	const gchar* _tmp0_;
	gchar* _tmp1_;
#line 1411 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, FALSE);
#line 1411 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	g_return_val_if_fail (needle != NULL, FALSE);
#line 1412 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	_tmp0_ = needle;
#line 1412 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	_tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_);
#line 1412 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	result = _tmp1_ != NULL;
#line 1412 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	return result;
#line 2557 "wizard-source.c"
}


static gboolean ___lambda64_ (BoxesWizardSource* self, GtkEntryCompletion* store, const gchar* key, GtkTreeIter* iter) {
	gboolean result = FALSE;
	gchar* url = NULL;
	GtkListStore* _tmp0_;
	GtkTreeIter _tmp1_;
	const gchar* _tmp2_;
	gboolean _tmp3_;
#line 354 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (store != NULL, FALSE);
#line 354 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (key != NULL, FALSE);
#line 354 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (iter != NULL, FALSE);
#line 357 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = self->priv->media_urls_store;
#line 357 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = *iter;
#line 357 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_tree_model_get ((GtkTreeModel*) _tmp0_, &_tmp1_, BOXES_OS_DATABASE_MEDIA_UR_LS_COLUMNS_URL, &url, -1);
#line 359 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp2_ = key;
#line 359 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp3_ = string_contains (url, _tmp2_);
#line 359 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	result = _tmp3_;
#line 359 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_free0 (url);
#line 359 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return result;
#line 2590 "wizard-source.c"
}


static gboolean ____lambda64__gtk_entry_completion_match_func (GtkEntryCompletion* completion, const gchar* key, GtkTreeIter* iter, gpointer self) {
	gboolean result;
	result = ___lambda64_ ((BoxesWizardSource*) self, completion, key, iter);
#line 354 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return result;
#line 2599 "wizard-source.c"
}


static void __lambda63_ (Block97Data* _data97_, GObject* db, GAsyncResult* _result_) {
	BoxesWizardSource* self;
	GError * _inner_error_ = NULL;
#line 346 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self = _data97_->self;
#line 346 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (_result_ != NULL);
#line 2610 "wizard-source.c"
	{
		GtkListStore* _tmp0_ = NULL;
		GAsyncResult* _tmp1_;
		GtkListStore* _tmp2_;
		GtkListStore* _tmp3_;
		GtkEntryCompletion* completion = NULL;
		GtkEntryCompletion* _tmp4_;
		GtkEntryCompletion* _tmp5_;
		GtkEntryCompletion* _tmp6_;
		GtkListStore* _tmp7_;
		GtkCellRendererText* cell = NULL;
		GtkEntryCompletion* _tmp8_;
		GList* _tmp9_;
		GList* _tmp10_;
		gconstpointer _tmp11_;
		GtkCellRenderer* _tmp12_;
		GtkCellRendererText* _tmp13_;
		GtkCellRendererText* _tmp14_;
		GtkEntryCompletion* _tmp15_;
		GtkEntry* _tmp16_;
		GtkEntryCompletion* _tmp17_;
#line 348 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp1_ = _result_;
#line 348 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp2_ = boxes_os_database_get_all_media_urls_as_store_finish (_data97_->os_db, _tmp1_, &_inner_error_);
#line 348 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp0_ = _tmp2_;
#line 348 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 348 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			if (_inner_error_->domain == BOXES_OS_DATABASE_ERROR) {
#line 2642 "wizard-source.c"
				goto __catch133_boxes_os_database_error;
			}
#line 348 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 348 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			g_clear_error (&_inner_error_);
#line 348 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			return;
#line 2651 "wizard-source.c"
		}
#line 348 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp3_ = _tmp0_;
#line 348 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp0_ = NULL;
#line 348 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (self->priv->media_urls_store);
#line 348 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		self->priv->media_urls_store = _tmp3_;
#line 349 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp4_ = gtk_entry_completion_new ();
#line 349 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		completion = _tmp4_;
#line 350 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp5_ = completion;
#line 350 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		gtk_entry_completion_set_text_column (_tmp5_, (gint) BOXES_OS_DATABASE_MEDIA_UR_LS_COLUMNS_URL);
#line 351 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp6_ = completion;
#line 351 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp7_ = self->priv->media_urls_store;
#line 351 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		gtk_entry_completion_set_model (_tmp6_, (GtkTreeModel*) _tmp7_);
#line 352 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp8_ = completion;
#line 352 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp9_ = gtk_cell_layout_get_cells ((GtkCellLayout*) _tmp8_);
#line 352 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp10_ = _tmp9_;
#line 352 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp11_ = g_list_nth_data (_tmp10_, (guint) 0);
#line 352 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp12_ = (GtkCellRenderer*) _tmp11_;
#line 352 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp13_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp12_, gtk_cell_renderer_text_get_type ()) ? ((GtkCellRendererText*) _tmp12_) : NULL;
#line 352 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_list_free0 (_tmp10_);
#line 352 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		cell = _tmp13_;
#line 353 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp14_ = cell;
#line 353 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_object_set (_tmp14_, "ellipsize", PANGO_ELLIPSIZE_MIDDLE, NULL);
#line 354 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp15_ = completion;
#line 354 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		gtk_entry_completion_set_match_func (_tmp15_, ____lambda64__gtk_entry_completion_match_func, g_object_ref (self), g_object_unref);
#line 361 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp16_ = self->url_entry;
#line 361 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp17_ = completion;
#line 361 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		gtk_entry_set_completion (_tmp16_, _tmp17_);
#line 347 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (completion);
#line 347 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (_tmp0_);
#line 2709 "wizard-source.c"
	}
	goto __finally133;
	__catch133_boxes_os_database_error:
	{
		GError* _error_ = NULL;
		GError* _tmp18_;
		const gchar* _tmp19_;
#line 347 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_error_ = _inner_error_;
#line 347 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_inner_error_ = NULL;
#line 363 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp18_ = _error_;
#line 363 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp19_ = _tmp18_->message;
#line 363 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_debug ("wizard-source.vala:363: Failed to get all known media URLs: %s", _tmp19_);
#line 347 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_error_free0 (_error_);
#line 2729 "wizard-source.c"
	}
	__finally133:
#line 347 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 347 "/home/fborges/checkout/gnome-boxes/src/wizard-source.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 347 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_clear_error (&_inner_error_);
#line 347 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return;
#line 2740 "wizard-source.c"
	}
}


static void ___lambda63__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 346 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	__lambda63_ (self, source_object, res);
#line 346 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	block97_data_unref (self);
#line 2750 "wizard-source.c"
}


static void __lambda73_ (BoxesWizardSource* self, GObject* obj, GAsyncResult* res) {
	GAsyncResult* _tmp0_;
	GdkPixbuf* pixbuf = NULL;
	GtkImage* _tmp1_;
	GdkPixbuf* _tmp2_;
	GdkPixbuf* _tmp3_;
	GtkImage* _tmp4_;
#line 388 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (res != NULL);
#line 389 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = res;
#line 389 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_downloader_fetch_os_logo_finish (_tmp0_);
#line 390 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = self->priv->install_rhel_image;
#line 390 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_object_get (_tmp1_, "pixbuf", &_tmp2_, NULL);
#line 390 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp3_ = _tmp2_;
#line 390 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	pixbuf = _tmp3_;
#line 391 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp4_ = self->priv->install_rhel_image;
#line 391 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp4_, pixbuf != NULL);
#line 388 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (pixbuf);
#line 2781 "wizard-source.c"
}


static void ___lambda73__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 388 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	__lambda73_ ((BoxesWizardSource*) self, source_object, res);
#line 388 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_object_unref (self);
#line 2790 "wizard-source.c"
}


static void __lambda65_ (Block97Data* _data97_, GObject* obj, GAsyncResult* res) {
	BoxesWizardSource* self;
	GtkImage* _tmp6_;
	OsinfoOs* _tmp7_;
	GError * _inner_error_ = NULL;
#line 380 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self = _data97_->self;
#line 380 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (res != NULL);
#line 2803 "wizard-source.c"
	{
		OsinfoOs* _tmp0_ = NULL;
		GAsyncResult* _tmp1_;
		OsinfoOs* _tmp2_;
		OsinfoOs* _tmp3_;
#line 382 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp1_ = res;
#line 382 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp2_ = boxes_os_database_get_os_by_id_finish (_data97_->os_db, _tmp1_, &_inner_error_);
#line 382 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp0_ = _tmp2_;
#line 382 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 382 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			if (_inner_error_->domain == BOXES_OS_DATABASE_ERROR) {
#line 2819 "wizard-source.c"
				goto __catch134_boxes_os_database_error;
			}
#line 382 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 382 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			g_clear_error (&_inner_error_);
#line 382 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			return;
#line 2828 "wizard-source.c"
		}
#line 382 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp3_ = _tmp0_;
#line 382 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp0_ = NULL;
#line 382 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (self->priv->rhel_os);
#line 382 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		self->priv->rhel_os = _tmp3_;
#line 381 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (_tmp0_);
#line 2840 "wizard-source.c"
	}
	goto __finally134;
	__catch134_boxes_os_database_error:
	{
		GError* _error_ = NULL;
		GError* _tmp4_;
		const gchar* _tmp5_;
#line 381 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_error_ = _inner_error_;
#line 381 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_inner_error_ = NULL;
#line 384 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp4_ = _error_;
#line 384 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp5_ = _tmp4_->message;
#line 384 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_warning ("wizard-source.vala:384: Failed to find OS with ID '%s': %s", _data97_->rhel_id, _tmp5_);
#line 385 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_error_free0 (_error_);
#line 385 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return;
#line 2862 "wizard-source.c"
	}
	__finally134:
#line 381 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 381 "/home/fborges/checkout/gnome-boxes/src/wizard-source.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 381 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_clear_error (&_inner_error_);
#line 381 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return;
#line 2873 "wizard-source.c"
	}
#line 388 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp6_ = self->priv->install_rhel_image;
#line 388 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp7_ = self->priv->rhel_os;
#line 388 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_downloader_fetch_os_logo (_tmp6_, _tmp7_, 64, ___lambda73__gasync_ready_callback, g_object_ref (self));
#line 2881 "wizard-source.c"
}


static void ___lambda65__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 380 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	__lambda65_ (self, source_object, res);
#line 380 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	block97_data_unref (self);
#line 2890 "wizard-source.c"
}


void boxes_wizard_source_setup_ui (BoxesWizardSource* self, BoxesAppWindow* window) {
	Block97Data* _data97_;
	BoxesAppWindow* _tmp0_;
	BoxesAppWindow* _tmp1_;
	BoxesAppWindow* _tmp2_;
	BoxesMediaManager* _tmp3_;
	BoxesOSDatabase* _tmp4_;
	BoxesOSDatabase* _tmp5_;
	BoxesOSDatabase* _tmp6_;
	gchar* _tmp7_;
#line 339 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (self != NULL);
#line 339 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (window != NULL);
#line 339 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data97_ = g_slice_new0 (Block97Data);
#line 339 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data97_->_ref_count_ = 1;
#line 339 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data97_->self = g_object_ref (self);
#line 340 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = window;
#line 340 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_vala_assert (_tmp0_ != NULL, "window != null");
#line 342 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = window;
#line 342 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 342 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->window);
#line 342 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self->priv->window = _tmp2_;
#line 344 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp3_ = self->media_manager;
#line 344 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp4_ = boxes_media_manager_get_os_db (_tmp3_);
#line 344 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp5_ = _tmp4_;
#line 344 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp6_ = _g_object_ref0 (_tmp5_);
#line 344 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data97_->os_db = _tmp6_;
#line 346 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_os_database_get_all_media_urls_as_store (_data97_->os_db, ___lambda63__gasync_ready_callback, block97_data_ref (_data97_));
#line 378 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp7_ = g_strdup ("http://redhat.com/rhel/7.4");
#line 378 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data97_->rhel_id = _tmp7_;
#line 380 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_os_database_get_os_by_id (_data97_->os_db, _data97_->rhel_id, ___lambda65__gasync_ready_callback, block97_data_ref (_data97_));
#line 339 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	block97_data_unref (_data97_);
#line 339 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data97_ = NULL;
#line 2948 "wizard-source.c"
}


void boxes_wizard_source_cleanup (BoxesWizardSource* self) {
	BoxesSourcePage _tmp0_;
	BoxesSourcePage _tmp1_;
	GCancellable* _tmp2_;
#line 396 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (self != NULL);
#line 397 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_set_filename (self, NULL);
#line 398 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_set_install_media (self, NULL);
#line 399 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self->libvirt_sys_import = FALSE;
#line 400 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_set_selected (self, NULL);
#line 401 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = boxes_wizard_source_get_page (self);
#line 401 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = _tmp0_;
#line 401 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp1_ != BOXES_SOURCE_PAGE_URL) {
#line 402 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		boxes_wizard_source_set_uri (self, "");
#line 2974 "wizard-source.c"
	}
#line 404 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp2_ = self->priv->rhel_cancellable;
#line 404 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp2_ != NULL) {
#line 2980 "wizard-source.c"
		GCancellable* _tmp3_;
#line 405 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp3_ = self->priv->rhel_cancellable;
#line 405 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_cancellable_cancel (_tmp3_);
#line 406 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (self->priv->rhel_cancellable);
#line 406 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		self->priv->rhel_cancellable = NULL;
#line 2990 "wizard-source.c"
	}
}


static void boxes_wizard_source_on_enter_url_button_clicked (BoxesWizardSource* self) {
#line 411 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (self != NULL);
#line 412 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_set_page (self, BOXES_SOURCE_PAGE_URL);
#line 3000 "wizard-source.c"
}


static void _boxes_wizard_source_on_enter_url_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_on_enter_url_button_clicked ((BoxesWizardSource*) self);
#line 3007 "wizard-source.c"
}


static void boxes_wizard_source_on_url_entry_activated (BoxesWizardSource* self) {
#line 416 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (self != NULL);
#line 417 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_signal_emit (self, boxes_wizard_source_signals[BOXES_WIZARD_SOURCE_ACTIVATED_SIGNAL], 0);
#line 3016 "wizard-source.c"
}


static void _boxes_wizard_source_on_url_entry_activated_gtk_entry_activate (GtkEntry* _sender, gpointer self) {
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_on_url_entry_activated ((BoxesWizardSource*) self);
#line 3023 "wizard-source.c"
}


static void boxes_wizard_source_on_url_back_button_clicked (BoxesWizardSource* self) {
#line 421 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (self != NULL);
#line 422 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_set_selected (self, NULL);
#line 423 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_set_page (self, BOXES_SOURCE_PAGE_MAIN);
#line 3034 "wizard-source.c"
}


static void _boxes_wizard_source_on_url_back_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_on_url_back_button_clicked ((BoxesWizardSource*) self);
#line 3041 "wizard-source.c"
}


static void boxes_wizard_source_add_media_entries_data_free (gpointer _data) {
	BoxesWizardSourceAddMediaEntriesData* _data_;
	_data_ = _data;
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (_data_->self);
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_slice_free (BoxesWizardSourceAddMediaEntriesData, _data_);
#line 3052 "wizard-source.c"
}


static void boxes_wizard_source_add_media_entries (BoxesWizardSource* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesWizardSourceAddMediaEntriesData* _data_;
	BoxesWizardSource* _tmp0_;
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_ = g_slice_new0 (BoxesWizardSourceAddMediaEntriesData);
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_task_set_task_data (_data_->_async_result, _data_, boxes_wizard_source_add_media_entries_data_free);
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_->self = _tmp0_;
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_add_media_entries_co (_data_);
#line 3071 "wizard-source.c"
}


static void boxes_wizard_source_add_media_entries_finish (BoxesWizardSource* self, GAsyncResult* _res_) {
	BoxesWizardSourceAddMediaEntriesData* _data_;
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 3079 "wizard-source.c"
}


static void boxes_wizard_source_add_media_entries_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesWizardSourceAddMediaEntriesData* _data_;
#line 427 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_ = _user_data_;
#line 427 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_->_source_object_ = source_object;
#line 427 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_->_res_ = _res_;
#line 427 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_add_media_entries_co (_data_);
#line 3093 "wizard-source.c"
}


static gboolean boxes_wizard_source_add_media_entries_co (BoxesWizardSourceAddMediaEntriesData* _data_) {
#line 426 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	switch (_data_->_state_) {
#line 426 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		case 0:
#line 3102 "wizard-source.c"
		goto _state_0;
#line 426 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		case 1:
#line 3106 "wizard-source.c"
		goto _state_1;
		default:
#line 426 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_assert_not_reached ();
#line 3111 "wizard-source.c"
	}
	_state_0:
#line 427 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp0_ = _data_->self->media_manager;
#line 427 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_->_state_ = 1;
#line 427 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_media_manager_list_installer_medias (_data_->_tmp0_, boxes_wizard_source_add_media_entries_ready, _data_);
#line 427 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return FALSE;
#line 3122 "wizard-source.c"
	_state_1:
#line 427 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp1_ = boxes_media_manager_list_installer_medias_finish (_data_->_tmp0_, _data_->_res_);
#line 427 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_->medias = _data_->_tmp1_;
#line 429 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp2_ = _data_->self->priv->media_vbox;
#line 429 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp3_ = gtk_container_get_children ((GtkContainer*) _data_->_tmp2_);
#line 3132 "wizard-source.c"
	{
#line 429 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_data_->child_collection = _data_->_tmp3_;
#line 429 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		for (_data_->child_it = _data_->child_collection; _data_->child_it != NULL; _data_->child_it = _data_->child_it->next) {
#line 429 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_data_->child = (GtkWidget*) _data_->child_it->data;
#line 3140 "wizard-source.c"
			{
#line 430 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_data_->_tmp4_ = _data_->child;
#line 430 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_data_->_tmp5_ = (G_TYPE_CHECK_INSTANCE_TYPE (_data_->_tmp4_, BOXES_TYPE_WIZARD_MEDIA_ENTRY) ? ((BoxesWizardMediaEntry*) _data_->_tmp4_) : NULL)->media;
#line 430 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_data_->_tmp6_ = _g_object_ref0 (_data_->_tmp5_);
#line 430 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_data_->child_media = _data_->_tmp6_;
#line 432 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_data_->obsolete = TRUE;
#line 433 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_data_->_tmp7_ = _data_->medias;
#line 3154 "wizard-source.c"
				{
#line 433 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_data_->media_collection = _data_->_tmp7_;
#line 433 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					for (_data_->media_it = _data_->media_collection; _data_->media_it != NULL; _data_->media_it = _data_->media_it->next) {
#line 433 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
						_data_->_tmp8_ = _g_object_ref0 ((BoxesInstallerMedia*) _data_->media_it->data);
#line 433 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
						_data_->media = _data_->_tmp8_;
#line 3164 "wizard-source.c"
						{
#line 434 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
							_data_->_tmp9_ = _data_->child_media;
#line 434 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
							_data_->_tmp10_ = _data_->_tmp9_->device_file;
#line 434 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
							_data_->_tmp11_ = _data_->media;
#line 434 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
							_data_->_tmp12_ = _data_->_tmp11_->device_file;
#line 434 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
							if (g_strcmp0 (_data_->_tmp10_, _data_->_tmp12_) == 0) {
#line 435 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
								_data_->obsolete = FALSE;
#line 437 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
								_g_object_unref0 (_data_->media);
#line 437 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
								break;
#line 3182 "wizard-source.c"
							}
#line 433 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
							_g_object_unref0 (_data_->media);
#line 3186 "wizard-source.c"
						}
					}
				}
#line 440 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_data_->_tmp13_ = _data_->obsolete;
#line 440 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				if (_data_->_tmp13_) {
#line 441 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_data_->_tmp14_ = _data_->self->priv->media_vbox;
#line 441 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_data_->_tmp15_ = _data_->child;
#line 441 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					gtk_container_remove ((GtkContainer*) _data_->_tmp14_, _data_->_tmp15_);
#line 3200 "wizard-source.c"
				}
#line 429 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_g_object_unref0 (_data_->child_media);
#line 3204 "wizard-source.c"
			}
		}
#line 429 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_list_free0 (_data_->child_collection);
#line 3209 "wizard-source.c"
	}
#line 444 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp16_ = _data_->medias;
#line 3213 "wizard-source.c"
	{
#line 444 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_data_->_vala1_media_collection = _data_->_tmp16_;
#line 444 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		for (_data_->_vala1_media_it = _data_->_vala1_media_collection; _data_->_vala1_media_it != NULL; _data_->_vala1_media_it = _data_->_vala1_media_it->next) {
#line 444 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_data_->_tmp17_ = _g_object_ref0 ((BoxesInstallerMedia*) _data_->_vala1_media_it->data);
#line 444 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_data_->_vala1_media = _data_->_tmp17_;
#line 3223 "wizard-source.c"
			{
#line 445 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_data_->nouveau = TRUE;
#line 446 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_data_->_tmp18_ = _data_->self->priv->media_vbox;
#line 446 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_data_->_tmp19_ = gtk_container_get_children ((GtkContainer*) _data_->_tmp18_);
#line 3231 "wizard-source.c"
				{
#line 446 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_data_->_vala1_child_collection = _data_->_tmp19_;
#line 446 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					for (_data_->_vala1_child_it = _data_->_vala1_child_collection; _data_->_vala1_child_it != NULL; _data_->_vala1_child_it = _data_->_vala1_child_it->next) {
#line 446 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
						_data_->_vala1_child = (GtkWidget*) _data_->_vala1_child_it->data;
#line 3239 "wizard-source.c"
						{
#line 447 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
							_data_->_tmp20_ = _data_->_vala1_child;
#line 447 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
							_data_->_tmp21_ = (G_TYPE_CHECK_INSTANCE_TYPE (_data_->_tmp20_, BOXES_TYPE_WIZARD_MEDIA_ENTRY) ? ((BoxesWizardMediaEntry*) _data_->_tmp20_) : NULL)->media;
#line 447 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
							_data_->_tmp22_ = _g_object_ref0 (_data_->_tmp21_);
#line 447 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
							_data_->_vala1_child_media = _data_->_tmp22_;
#line 448 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
							_data_->_tmp23_ = _data_->_vala1_child_media;
#line 448 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
							_data_->_tmp24_ = _data_->_tmp23_->device_file;
#line 448 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
							_data_->_tmp25_ = _data_->_vala1_media;
#line 448 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
							_data_->_tmp26_ = _data_->_tmp25_->device_file;
#line 448 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
							if (g_strcmp0 (_data_->_tmp24_, _data_->_tmp26_) == 0) {
#line 449 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
								_data_->nouveau = FALSE;
#line 451 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
								_g_object_unref0 (_data_->_vala1_child_media);
#line 451 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
								break;
#line 3265 "wizard-source.c"
							}
#line 446 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
							_g_object_unref0 (_data_->_vala1_child_media);
#line 3269 "wizard-source.c"
						}
					}
#line 446 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_g_list_free0 (_data_->_vala1_child_collection);
#line 3274 "wizard-source.c"
				}
#line 455 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_data_->_tmp27_ = _data_->nouveau;
#line 455 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				if (_data_->_tmp27_) {
#line 456 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					_data_->_tmp28_ = _data_->_vala1_media;
#line 456 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
					boxes_wizard_source_add_media_entry (_data_->self, _data_->_tmp28_);
#line 3284 "wizard-source.c"
				}
#line 444 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_g_object_unref0 (_data_->_vala1_media);
#line 3288 "wizard-source.c"
			}
		}
	}
#line 460 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp29_ = _data_->self->priv->media_vbox;
#line 460 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp30_ = gtk_container_get_children ((GtkContainer*) _data_->_tmp29_);
#line 460 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp31_ = _data_->_tmp30_;
#line 460 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp32_ = g_list_length (_data_->_tmp31_);
#line 460 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp33_ = _data_->_tmp32_ == ((guint) 0);
#line 460 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_list_free0 (_data_->_tmp31_);
#line 460 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_data_->_tmp33_) {
#line 461 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_data_->_tmp34_ = _data_->self->priv->media_scrolled;
#line 461 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		gtk_widget_hide ((GtkWidget*) _data_->_tmp34_);
#line 3310 "wizard-source.c"
	}
#line 426 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	__g_list_free__g_object_unref0_0 (_data_->medias);
#line 426 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 426 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_data_->_state_ != 0) {
#line 426 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 426 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 3322 "wizard-source.c"
		}
	}
#line 426 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_object_unref (_data_->_async_result);
#line 426 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return FALSE;
#line 3329 "wizard-source.c"
}


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


static void block98_data_unref (void * _userdata_) {
	Block98Data* _data98_;
	_data98_ = (Block98Data*) _userdata_;
#line 464 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (g_atomic_int_dec_and_test (&_data98_->_ref_count_)) {
#line 3347 "wizard-source.c"
		BoxesWizardSource* self;
#line 464 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		self = _data98_->self;
#line 464 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (_data98_->entry);
#line 464 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (_data98_->media);
#line 464 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (self);
#line 464 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_slice_free (Block98Data, _data98_);
#line 3359 "wizard-source.c"
	}
}


static void __lambda74_ (Block98Data* _data98_) {
	BoxesWizardSource* self;
	BoxesInstallerMedia* _tmp0_;
#line 467 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self = _data98_->self;
#line 468 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = _data98_->media;
#line 468 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_on_media_selected (self, _tmp0_);
#line 470 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_set_selected (self, (GtkWidget*) _data98_->entry);
#line 3375 "wizard-source.c"
}


static void ___lambda74__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 467 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	__lambda74_ (self);
#line 3382 "wizard-source.c"
}


static void boxes_wizard_source_add_media_entry (BoxesWizardSource* self, BoxesInstallerMedia* media) {
	Block98Data* _data98_;
	BoxesInstallerMedia* _tmp0_;
	BoxesInstallerMedia* _tmp1_;
	BoxesInstallerMedia* _tmp2_;
	BoxesWizardMediaEntry* _tmp3_;
	GtkBox* _tmp4_;
	BoxesWizardScrolled* _tmp5_;
#line 464 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (self != NULL);
#line 464 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (media != NULL);
#line 464 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data98_ = g_slice_new0 (Block98Data);
#line 464 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data98_->_ref_count_ = 1;
#line 464 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data98_->self = g_object_ref (self);
#line 464 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = media;
#line 464 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 464 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (_data98_->media);
#line 464 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data98_->media = _tmp1_;
#line 465 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp2_ = _data98_->media;
#line 465 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp3_ = boxes_wizard_media_entry_new (_tmp2_);
#line 465 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_object_ref_sink (_tmp3_);
#line 465 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data98_->entry = _tmp3_;
#line 466 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp4_ = self->priv->media_vbox;
#line 466 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_container_add ((GtkContainer*) _tmp4_, (GtkWidget*) _data98_->entry);
#line 467 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_signal_connect_data ((GtkButton*) _data98_->entry, "clicked", (GCallback) ___lambda74__gtk_button_clicked, block98_data_ref (_data98_), (GClosureNotify) block98_data_unref, 0);
#line 473 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp5_ = self->priv->media_scrolled;
#line 473 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_show ((GtkWidget*) _tmp5_);
#line 464 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	block98_data_unref (_data98_);
#line 464 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data98_ = NULL;
#line 3434 "wizard-source.c"
}


static void boxes_wizard_source_update_libvirt_sytem_entry_visibility_data_free (gpointer _data) {
	BoxesWizardSourceUpdateLibvirtSytemEntryVisibilityData* _data_;
	_data_ = _data;
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (_data_->self);
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_slice_free (BoxesWizardSourceUpdateLibvirtSytemEntryVisibilityData, _data_);
#line 3445 "wizard-source.c"
}


static void boxes_wizard_source_update_libvirt_sytem_entry_visibility (BoxesWizardSource* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesWizardSourceUpdateLibvirtSytemEntryVisibilityData* _data_;
	BoxesWizardSource* _tmp0_;
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_ = g_slice_new0 (BoxesWizardSourceUpdateLibvirtSytemEntryVisibilityData);
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_task_set_task_data (_data_->_async_result, _data_, boxes_wizard_source_update_libvirt_sytem_entry_visibility_data_free);
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_->self = _tmp0_;
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_update_libvirt_sytem_entry_visibility_co (_data_);
#line 3464 "wizard-source.c"
}


static void boxes_wizard_source_update_libvirt_sytem_entry_visibility_finish (BoxesWizardSource* self, GAsyncResult* _res_) {
	BoxesWizardSourceUpdateLibvirtSytemEntryVisibilityData* _data_;
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 3472 "wizard-source.c"
}


static void boxes_wizard_source_update_libvirt_sytem_entry_visibility_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesWizardSourceUpdateLibvirtSytemEntryVisibilityData* _data_;
#line 478 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_ = _user_data_;
#line 478 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_->_source_object_ = source_object;
#line 478 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_->_res_ = _res_;
#line 478 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_update_libvirt_sytem_entry_visibility_co (_data_);
#line 3486 "wizard-source.c"
}


static gboolean boxes_wizard_source_update_libvirt_sytem_entry_visibility_co (BoxesWizardSourceUpdateLibvirtSytemEntryVisibilityData* _data_) {
#line 476 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	switch (_data_->_state_) {
#line 476 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		case 0:
#line 3495 "wizard-source.c"
		goto _state_0;
#line 476 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		case 1:
#line 3499 "wizard-source.c"
		goto _state_1;
		default:
#line 476 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_assert_not_reached ();
#line 3504 "wizard-source.c"
	}
	_state_0:
	{
#line 478 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_data_->_state_ = 1;
#line 478 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		boxes_libvirt_system_importer_new (boxes_wizard_source_update_libvirt_sytem_entry_visibility_ready, _data_);
#line 478 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return FALSE;
#line 3514 "wizard-source.c"
		_state_1:
#line 478 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_data_->_tmp1_ = boxes_libvirt_system_importer_new_finish (_data_->_res_, &_data_->_inner_error_);
#line 478 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_data_->_tmp0_ = _data_->_tmp1_;
#line 478 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 3522 "wizard-source.c"
			goto __catch135_g_error;
		}
#line 478 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		boxes_wizard_source_set_libvirt_sys_importer (_data_->self, _data_->_tmp0_);
#line 477 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (_data_->_tmp0_);
#line 3529 "wizard-source.c"
	}
	goto __finally135;
	__catch135_g_error:
	{
#line 477 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 477 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_data_->_inner_error_ = NULL;
#line 480 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_data_->_tmp2_ = _data_->_error_;
#line 480 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_data_->_tmp3_ = _data_->_tmp2_->message;
#line 480 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_debug ("wizard-source.vala:480: %s", _data_->_tmp3_);
#line 482 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_error_free0 (_data_->_error_);
#line 482 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 482 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		if (_data_->_state_ != 0) {
#line 482 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 482 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 3554 "wizard-source.c"
			}
		}
#line 482 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_object_unref (_data_->_async_result);
#line 482 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return FALSE;
#line 3561 "wizard-source.c"
	}
	__finally135:
#line 477 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 477 "/home/fborges/checkout/gnome-boxes/src/wizard-source.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 477 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_clear_error (&_data_->_inner_error_);
#line 477 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_object_unref (_data_->_async_result);
#line 477 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return FALSE;
#line 3574 "wizard-source.c"
	}
#line 484 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp4_ = _data_->self->priv->libvirt_sys_import_label;
#line 484 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp5_ = _data_->self->priv->_libvirt_sys_importer;
#line 484 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp6_ = boxes_libvirt_system_importer_get_wizard_menu_label (_data_->_tmp5_);
#line 484 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp7_ = _data_->_tmp6_;
#line 484 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp8_ = _data_->_tmp7_;
#line 484 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_label_set_label (_data_->_tmp4_, _data_->_tmp8_);
#line 484 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_free0 (_data_->_tmp8_);
#line 485 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp9_ = _data_->self->priv->libvirt_sys_import_button;
#line 485 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_show_all ((GtkWidget*) _data_->_tmp9_);
#line 476 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 476 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_data_->_state_ != 0) {
#line 476 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 476 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 3602 "wizard-source.c"
		}
	}
#line 476 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_object_unref (_data_->_async_result);
#line 476 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return FALSE;
#line 3609 "wizard-source.c"
}


static void __lambda145_ (BoxesWizardSource* self, const gchar* uri) {
	const gchar* _tmp0_;
	GtkButton* _tmp1_;
#line 490 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (uri != NULL);
#line 491 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = uri;
#line 491 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_set_uri (self, _tmp0_);
#line 493 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_set_install_media (self, NULL);
#line 494 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_signal_emit (self, boxes_wizard_source_signals[BOXES_WIZARD_SOURCE_ACTIVATED_SIGNAL], 0);
#line 496 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = self->priv->select_file_button;
#line 496 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_set_selected (self, (GtkWidget*) _tmp1_);
#line 3630 "wizard-source.c"
}


static void ___lambda145__boxes_wizard_window_file_chosen_func (const gchar* uri, gpointer self) {
#line 490 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	__lambda145_ ((BoxesWizardSource*) self, uri);
#line 3637 "wizard-source.c"
}


static void boxes_wizard_source_on_select_file_button_clicked (BoxesWizardSource* self) {
	BoxesAppWindow* _tmp0_;
	BoxesWizardWindow* _tmp1_;
#line 489 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (self != NULL);
#line 490 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = self->priv->window;
#line 490 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = _tmp0_->wizard_window;
#line 490 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_window_show_file_chooser (_tmp1_, ___lambda145__boxes_wizard_window_file_chosen_func, g_object_ref (self), g_object_unref);
#line 3652 "wizard-source.c"
}


static void _boxes_wizard_source_on_select_file_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_on_select_file_button_clicked ((BoxesWizardSource*) self);
#line 3659 "wizard-source.c"
}


static void boxes_wizard_source_on_libvirt_sys_import_button_clicked (BoxesWizardSource* self) {
	GtkButton* _tmp0_;
#line 501 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (self != NULL);
#line 502 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self->libvirt_sys_import = TRUE;
#line 503 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_signal_emit (self, boxes_wizard_source_signals[BOXES_WIZARD_SOURCE_ACTIVATED_SIGNAL], 0);
#line 505 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = self->priv->libvirt_sys_import_button;
#line 505 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_set_selected (self, (GtkWidget*) _tmp0_);
#line 3675 "wizard-source.c"
}


static void _boxes_wizard_source_on_libvirt_sys_import_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_on_libvirt_sys_import_button_clicked ((BoxesWizardSource*) self);
#line 3682 "wizard-source.c"
}


static void boxes_wizard_source_on_media_selected (BoxesWizardSource* self, BoxesInstallerMedia* media) {
	GError * _inner_error_ = NULL;
#line 508 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (self != NULL);
#line 508 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (media != NULL);
#line 3692 "wizard-source.c"
	{
		BoxesInstallerMedia* _tmp0_ = NULL;
		BoxesMediaManager* _tmp1_;
		BoxesInstallerMedia* _tmp2_;
		BoxesInstallerMedia* _tmp3_;
		BoxesInstallerMedia* _tmp4_;
		const gchar* _tmp5_;
#line 510 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp1_ = self->media_manager;
#line 510 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp2_ = media;
#line 510 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp3_ = boxes_media_manager_create_installer_media_from_media (_tmp1_, _tmp2_, &_inner_error_);
#line 510 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp0_ = _tmp3_;
#line 510 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 3710 "wizard-source.c"
			goto __catch136_g_error;
		}
#line 510 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		boxes_wizard_source_set_install_media (self, _tmp0_);
#line 511 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp4_ = media;
#line 511 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp5_ = _tmp4_->device_file;
#line 511 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		boxes_wizard_source_set_uri (self, _tmp5_);
#line 512 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_signal_emit (self, boxes_wizard_source_signals[BOXES_WIZARD_SOURCE_ACTIVATED_SIGNAL], 0);
#line 509 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (_tmp0_);
#line 3725 "wizard-source.c"
	}
	goto __finally136;
	__catch136_g_error:
	{
		GError* _error_ = NULL;
		BoxesInstallerMedia* _tmp6_;
		const gchar* _tmp7_;
		GError* _tmp8_;
		const gchar* _tmp9_;
#line 509 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_error_ = _inner_error_;
#line 509 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_inner_error_ = NULL;
#line 515 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp6_ = media;
#line 515 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp7_ = _tmp6_->device_file;
#line 515 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp8_ = _error_;
#line 515 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp9_ = _tmp8_->message;
#line 515 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_warning ("wizard-source.vala:515: Failed to setup installation media '%s': %s", _tmp7_, _tmp9_);
#line 509 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_error_free0 (_error_);
#line 3751 "wizard-source.c"
	}
	__finally136:
#line 509 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 509 "/home/fborges/checkout/gnome-boxes/src/wizard-source.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 509 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_clear_error (&_inner_error_);
#line 509 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return;
#line 3762 "wizard-source.c"
	}
}


static JsonNode* _vala_JsonNode_copy (JsonNode* self) {
#line 527 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return g_boxed_copy (json_node_get_type (), self);
#line 3770 "wizard-source.c"
}


static gpointer __vala_JsonNode_copy0 (gpointer self) {
#line 527 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return self ? _vala_JsonNode_copy (self) : NULL;
#line 3777 "wizard-source.c"
}


static void _vala_JsonNode_free (JsonNode* self) {
#line 530 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_boxed_free (json_node_get_type (), self);
#line 3784 "wizard-source.c"
}


static gpointer _json_array_ref0 (gpointer self) {
#line 532 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return self ? json_array_ref (self) : NULL;
#line 3791 "wizard-source.c"
}


static gpointer _json_object_ref0 (gpointer self) {
#line 543 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return self ? json_object_ref (self) : NULL;
#line 3798 "wizard-source.c"
}


static gchar* boxes_wizard_source_rhel_get_authentication_uri_from_json (BoxesWizardSource* self, const gchar* contents, GError** error) {
	gchar* result = NULL;
	const gchar* _tmp0_;
	gint _tmp1_;
	gint _tmp2_;
	JsonParser* parser = NULL;
	JsonParser* _tmp3_;
	JsonParser* _tmp4_;
	const gchar* _tmp5_;
	JsonNodeType node_type = 0;
	JsonNode* root_node = NULL;
	JsonParser* _tmp6_;
	JsonNode* _tmp7_;
	JsonNode* _tmp8_;
	JsonNode* _tmp9_;
	JsonNodeType _tmp10_;
	JsonNodeType _tmp11_;
	JsonArray* root_array = NULL;
	JsonNode* _tmp13_;
	JsonArray* _tmp14_;
	JsonArray* _tmp15_;
	JsonArray* _tmp16_;
	JsonArray* _tmp18_;
	guint _tmp19_;
	JsonNode* root_array_node_0 = NULL;
	JsonArray* _tmp21_;
	JsonNode* _tmp22_;
	JsonNode* _tmp23_;
	JsonNode* _tmp24_;
	JsonNodeType _tmp25_;
	JsonNodeType _tmp26_;
	JsonObject* root_array_object_0 = NULL;
	JsonNode* _tmp28_;
	JsonObject* _tmp29_;
	JsonObject* _tmp30_;
	JsonNode* product_code_node = NULL;
	JsonObject* _tmp31_;
	JsonNode* _tmp32_;
	JsonNode* _tmp33_;
	JsonNode* _tmp34_;
	JsonNode* _tmp36_;
	JsonNodeType _tmp37_;
	JsonNodeType _tmp38_;
	gchar* product_code = NULL;
	JsonNode* _tmp40_;
	const gchar* _tmp41_;
	gchar* _tmp42_;
	const gchar* _tmp43_;
	JsonNode* featured_artifact_node = NULL;
	JsonObject* _tmp45_;
	JsonNode* _tmp46_;
	JsonNode* _tmp47_;
	JsonNode* _tmp48_;
	JsonNode* _tmp50_;
	JsonNodeType _tmp51_;
	JsonNodeType _tmp52_;
	JsonObject* featured_artifact_object = NULL;
	JsonNode* _tmp54_;
	JsonObject* _tmp55_;
	JsonObject* _tmp56_;
	JsonNode* url_node = NULL;
	JsonObject* _tmp57_;
	JsonNode* _tmp58_;
	JsonNode* _tmp59_;
	JsonNode* _tmp60_;
	JsonNode* _tmp62_;
	JsonNodeType _tmp63_;
	JsonNodeType _tmp64_;
	gchar* url = NULL;
	JsonNode* _tmp66_;
	const gchar* _tmp67_;
	gchar* _tmp68_;
	gboolean _tmp69_ = FALSE;
	const gchar* _tmp70_;
	GError * _inner_error_ = NULL;
#line 519 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 519 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (contents != NULL, NULL);
#line 519 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = contents;
#line 519 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = strlen (_tmp0_);
#line 519 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp2_ = _tmp1_;
#line 519 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_vala_return_val_if_fail (_tmp2_ > 0, "contents.length > 0", NULL);
#line 522 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp3_ = json_parser_new ();
#line 522 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	parser = _tmp3_;
#line 523 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp4_ = parser;
#line 523 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp5_ = contents;
#line 523 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	json_parser_load_from_data (_tmp4_, _tmp5_, (gssize) -1, &_inner_error_);
#line 523 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 523 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_propagate_error (error, _inner_error_);
#line 523 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (parser);
#line 523 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return NULL;
#line 3907 "wizard-source.c"
	}
#line 525 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	node_type = JSON_NODE_NULL;
#line 527 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp6_ = parser;
#line 527 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp7_ = json_parser_get_root (_tmp6_);
#line 527 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp8_ = __vala_JsonNode_copy0 (_tmp7_);
#line 527 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	root_node = _tmp8_;
#line 528 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp9_ = root_node;
#line 528 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp10_ = json_node_get_node_type (_tmp9_);
#line 528 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	node_type = _tmp10_;
#line 529 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp11_ = node_type;
#line 529 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp11_ != JSON_NODE_ARRAY) {
#line 3929 "wizard-source.c"
		GError* _tmp12_;
#line 530 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp12_ = g_error_new_literal (BOXES_ERROR, BOXES_ERROR_INVALID, "Failed to parse JSON: couldn’t find root array");
#line 530 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_inner_error_ = _tmp12_;
#line 530 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_propagate_error (error, _inner_error_);
#line 530 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (root_node);
#line 530 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (parser);
#line 530 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return NULL;
#line 3943 "wizard-source.c"
	}
#line 532 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp13_ = root_node;
#line 532 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp14_ = json_node_get_array (_tmp13_);
#line 532 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp15_ = _json_array_ref0 (_tmp14_);
#line 532 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	root_array = _tmp15_;
#line 533 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp16_ = root_array;
#line 533 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp16_ == NULL) {
#line 3957 "wizard-source.c"
		GError* _tmp17_;
#line 534 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp17_ = g_error_new_literal (BOXES_ERROR, BOXES_ERROR_INVALID, "Failed to parse JSON: couldn’t find root array");
#line 534 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_inner_error_ = _tmp17_;
#line 534 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_propagate_error (error, _inner_error_);
#line 534 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_json_array_unref0 (root_array);
#line 534 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (root_node);
#line 534 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (parser);
#line 534 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return NULL;
#line 3973 "wizard-source.c"
	}
#line 535 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp18_ = root_array;
#line 535 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp19_ = json_array_get_length (_tmp18_);
#line 535 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp19_ == ((guint) 0)) {
#line 3981 "wizard-source.c"
		GError* _tmp20_;
#line 536 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp20_ = g_error_new_literal (BOXES_ERROR, BOXES_ERROR_INVALID, "Failed to parse JSON: root array is empty");
#line 536 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_inner_error_ = _tmp20_;
#line 536 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_propagate_error (error, _inner_error_);
#line 536 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_json_array_unref0 (root_array);
#line 536 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (root_node);
#line 536 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (parser);
#line 536 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return NULL;
#line 3997 "wizard-source.c"
	}
#line 538 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp21_ = root_array;
#line 538 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp22_ = json_array_get_element (_tmp21_, (guint) 0);
#line 538 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp23_ = __vala_JsonNode_copy0 (_tmp22_);
#line 538 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	root_array_node_0 = _tmp23_;
#line 539 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp24_ = root_array_node_0;
#line 539 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp25_ = json_node_get_node_type (_tmp24_);
#line 539 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	node_type = _tmp25_;
#line 540 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp26_ = node_type;
#line 540 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp26_ != JSON_NODE_OBJECT) {
#line 4017 "wizard-source.c"
		GError* _tmp27_;
#line 541 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp27_ = g_error_new_literal (BOXES_ERROR, BOXES_ERROR_INVALID, "Failed to parse JSON: root array doesn’t have an object");
#line 541 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_inner_error_ = _tmp27_;
#line 541 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_propagate_error (error, _inner_error_);
#line 541 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (root_array_node_0);
#line 541 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_json_array_unref0 (root_array);
#line 541 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (root_node);
#line 541 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (parser);
#line 541 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return NULL;
#line 4035 "wizard-source.c"
	}
#line 543 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp28_ = root_array_node_0;
#line 543 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp29_ = json_node_get_object (_tmp28_);
#line 543 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp30_ = _json_object_ref0 (_tmp29_);
#line 543 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	root_array_object_0 = _tmp30_;
#line 545 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp31_ = root_array_object_0;
#line 545 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp32_ = json_object_get_member (_tmp31_, "productCode");
#line 545 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp33_ = __vala_JsonNode_copy0 (_tmp32_);
#line 545 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	product_code_node = _tmp33_;
#line 546 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp34_ = product_code_node;
#line 546 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp34_ == NULL) {
#line 4057 "wizard-source.c"
		GError* _tmp35_;
#line 547 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp35_ = g_error_new_literal (BOXES_ERROR, BOXES_ERROR_INVALID, "Failed to parse JSON: couldn’t find productCode");
#line 547 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_inner_error_ = _tmp35_;
#line 547 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_propagate_error (error, _inner_error_);
#line 547 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (product_code_node);
#line 547 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_json_object_unref0 (root_array_object_0);
#line 547 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (root_array_node_0);
#line 547 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_json_array_unref0 (root_array);
#line 547 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (root_node);
#line 547 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (parser);
#line 547 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return NULL;
#line 4079 "wizard-source.c"
	}
#line 548 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp36_ = product_code_node;
#line 548 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp37_ = json_node_get_node_type (_tmp36_);
#line 548 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	node_type = _tmp37_;
#line 549 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp38_ = node_type;
#line 549 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp38_ != JSON_NODE_VALUE) {
#line 4091 "wizard-source.c"
		GError* _tmp39_;
#line 550 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp39_ = g_error_new_literal (BOXES_ERROR, BOXES_ERROR_INVALID, "Failed to parse JSON: productCode is not a VALUE");
#line 550 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_inner_error_ = _tmp39_;
#line 550 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_propagate_error (error, _inner_error_);
#line 550 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (product_code_node);
#line 550 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_json_object_unref0 (root_array_object_0);
#line 550 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (root_array_node_0);
#line 550 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_json_array_unref0 (root_array);
#line 550 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (root_node);
#line 550 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (parser);
#line 550 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return NULL;
#line 4113 "wizard-source.c"
	}
#line 552 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp40_ = product_code_node;
#line 552 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp41_ = json_node_get_string (_tmp40_);
#line 552 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp42_ = g_strdup (_tmp41_);
#line 552 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	product_code = _tmp42_;
#line 553 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp43_ = product_code;
#line 553 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (g_strcmp0 (_tmp43_, "rhel") != 0) {
#line 4127 "wizard-source.c"
		GError* _tmp44_;
#line 554 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp44_ = g_error_new_literal (BOXES_ERROR, BOXES_ERROR_INVALID, "Failed to parse JSON: productCode is not rhel");
#line 554 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_inner_error_ = _tmp44_;
#line 554 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_propagate_error (error, _inner_error_);
#line 554 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (product_code);
#line 554 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (product_code_node);
#line 554 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_json_object_unref0 (root_array_object_0);
#line 554 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (root_array_node_0);
#line 554 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_json_array_unref0 (root_array);
#line 554 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (root_node);
#line 554 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (parser);
#line 554 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return NULL;
#line 4151 "wizard-source.c"
	}
#line 556 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp45_ = root_array_object_0;
#line 556 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp46_ = json_object_get_member (_tmp45_, "featuredArtifact");
#line 556 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp47_ = __vala_JsonNode_copy0 (_tmp46_);
#line 556 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	featured_artifact_node = _tmp47_;
#line 557 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp48_ = featured_artifact_node;
#line 557 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp48_ == NULL) {
#line 4165 "wizard-source.c"
		GError* _tmp49_;
#line 558 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp49_ = g_error_new_literal (BOXES_ERROR, BOXES_ERROR_INVALID, "Failed to parse JSON: couldn’t find featuredArtifact");
#line 558 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_inner_error_ = _tmp49_;
#line 558 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_propagate_error (error, _inner_error_);
#line 558 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (featured_artifact_node);
#line 558 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (product_code);
#line 558 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (product_code_node);
#line 558 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_json_object_unref0 (root_array_object_0);
#line 558 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (root_array_node_0);
#line 558 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_json_array_unref0 (root_array);
#line 558 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (root_node);
#line 558 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (parser);
#line 558 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return NULL;
#line 4191 "wizard-source.c"
	}
#line 559 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp50_ = featured_artifact_node;
#line 559 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp51_ = json_node_get_node_type (_tmp50_);
#line 559 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	node_type = _tmp51_;
#line 560 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp52_ = node_type;
#line 560 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp52_ != JSON_NODE_OBJECT) {
#line 4203 "wizard-source.c"
		GError* _tmp53_;
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp53_ = g_error_new_literal (BOXES_ERROR, BOXES_ERROR_INVALID, "Failed to parse JSON: featuredArtifact is not an OBJECT");
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_inner_error_ = _tmp53_;
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_propagate_error (error, _inner_error_);
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (featured_artifact_node);
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (product_code);
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (product_code_node);
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_json_object_unref0 (root_array_object_0);
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (root_array_node_0);
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_json_array_unref0 (root_array);
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (root_node);
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (parser);
#line 561 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return NULL;
#line 4229 "wizard-source.c"
	}
#line 563 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp54_ = featured_artifact_node;
#line 563 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp55_ = json_node_get_object (_tmp54_);
#line 563 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp56_ = _json_object_ref0 (_tmp55_);
#line 563 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	featured_artifact_object = _tmp56_;
#line 565 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp57_ = featured_artifact_object;
#line 565 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp58_ = json_object_get_member (_tmp57_, "url");
#line 565 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp59_ = __vala_JsonNode_copy0 (_tmp58_);
#line 565 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	url_node = _tmp59_;
#line 566 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp60_ = url_node;
#line 566 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp60_ == NULL) {
#line 4251 "wizard-source.c"
		GError* _tmp61_;
#line 567 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp61_ = g_error_new_literal (BOXES_ERROR, BOXES_ERROR_INVALID, "Failed to parse JSON: couldn’t find featuredArtifact.url");
#line 567 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_inner_error_ = _tmp61_;
#line 567 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_propagate_error (error, _inner_error_);
#line 567 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (url_node);
#line 567 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_json_object_unref0 (featured_artifact_object);
#line 567 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (featured_artifact_node);
#line 567 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (product_code);
#line 567 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (product_code_node);
#line 567 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_json_object_unref0 (root_array_object_0);
#line 567 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (root_array_node_0);
#line 567 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_json_array_unref0 (root_array);
#line 567 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (root_node);
#line 567 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (parser);
#line 567 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return NULL;
#line 4281 "wizard-source.c"
	}
#line 568 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp62_ = url_node;
#line 568 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp63_ = json_node_get_node_type (_tmp62_);
#line 568 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	node_type = _tmp63_;
#line 569 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp64_ = node_type;
#line 569 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp64_ != JSON_NODE_VALUE) {
#line 4293 "wizard-source.c"
		GError* _tmp65_;
#line 570 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp65_ = g_error_new_literal (BOXES_ERROR, BOXES_ERROR_INVALID, "Failed to parse JSON: featuredArtifact.url is not a VALUE");
#line 570 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_inner_error_ = _tmp65_;
#line 570 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_propagate_error (error, _inner_error_);
#line 570 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (url_node);
#line 570 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_json_object_unref0 (featured_artifact_object);
#line 570 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (featured_artifact_node);
#line 570 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (product_code);
#line 570 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (product_code_node);
#line 570 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_json_object_unref0 (root_array_object_0);
#line 570 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (root_array_node_0);
#line 570 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_json_array_unref0 (root_array);
#line 570 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (root_node);
#line 570 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (parser);
#line 570 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return NULL;
#line 4323 "wizard-source.c"
	}
#line 572 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp66_ = url_node;
#line 572 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp67_ = json_node_get_string (_tmp66_);
#line 572 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp68_ = g_strdup (_tmp67_);
#line 572 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	url = _tmp68_;
#line 573 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp70_ = url;
#line 573 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp70_ == NULL) {
#line 573 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp69_ = TRUE;
#line 4339 "wizard-source.c"
	} else {
		const gchar* _tmp71_;
		gint _tmp72_;
		gint _tmp73_;
#line 573 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp71_ = url;
#line 573 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp72_ = strlen (_tmp71_);
#line 573 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp73_ = _tmp72_;
#line 573 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp69_ = _tmp73_ == 0;
#line 4352 "wizard-source.c"
	}
#line 573 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp69_) {
#line 4356 "wizard-source.c"
		GError* _tmp74_;
#line 574 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp74_ = g_error_new_literal (BOXES_ERROR, BOXES_ERROR_INVALID, "Failed to parse JSON: featuredArtifact.url is empty");
#line 574 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_inner_error_ = _tmp74_;
#line 574 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_propagate_error (error, _inner_error_);
#line 574 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (url);
#line 574 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (url_node);
#line 574 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_json_object_unref0 (featured_artifact_object);
#line 574 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (featured_artifact_node);
#line 574 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (product_code);
#line 574 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (product_code_node);
#line 574 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_json_object_unref0 (root_array_object_0);
#line 574 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (root_array_node_0);
#line 574 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_json_array_unref0 (root_array);
#line 574 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_JsonNode_free0 (root_node);
#line 574 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (parser);
#line 574 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return NULL;
#line 4388 "wizard-source.c"
	}
#line 576 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	result = url;
#line 576 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	__vala_JsonNode_free0 (url_node);
#line 576 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_json_object_unref0 (featured_artifact_object);
#line 576 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	__vala_JsonNode_free0 (featured_artifact_node);
#line 576 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_free0 (product_code);
#line 576 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	__vala_JsonNode_free0 (product_code_node);
#line 576 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_json_object_unref0 (root_array_object_0);
#line 576 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	__vala_JsonNode_free0 (root_array_node_0);
#line 576 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_json_array_unref0 (root_array);
#line 576 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	__vala_JsonNode_free0 (root_node);
#line 576 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (parser);
#line 576 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return result;
#line 4414 "wizard-source.c"
}


static gchar* boxes_wizard_source_rhel_get_authentication_uri_from_xml (BoxesWizardSource* self, const gchar* contents, GError** error) {
	gchar* result = NULL;
	const gchar* _tmp0_;
	gint _tmp1_;
	gint _tmp2_;
	gchar* product_code = NULL;
	const gchar* _tmp3_;
	gchar* _tmp4_;
	const gchar* _tmp5_;
	gchar* url = NULL;
	const gchar* _tmp7_;
	gchar* _tmp8_;
	const gchar* _tmp9_;
	gint _tmp10_;
	gint _tmp11_;
	GError * _inner_error_ = NULL;
#line 579 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 579 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (contents != NULL, NULL);
#line 579 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = contents;
#line 579 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = strlen (_tmp0_);
#line 579 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp2_ = _tmp1_;
#line 579 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_vala_return_val_if_fail (_tmp2_ > 0, "contents.length > 0", NULL);
#line 582 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp3_ = contents;
#line 582 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp4_ = boxes_extract_xpath (_tmp3_, "string(/products/product/productCode)", TRUE, &_inner_error_);
#line 582 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	product_code = _tmp4_;
#line 582 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 582 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_propagate_error (error, _inner_error_);
#line 582 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return NULL;
#line 4458 "wizard-source.c"
	}
#line 583 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp5_ = product_code;
#line 583 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (g_strcmp0 (_tmp5_, "rhel") != 0) {
#line 4464 "wizard-source.c"
		GError* _tmp6_;
#line 584 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp6_ = g_error_new_literal (BOXES_ERROR, BOXES_ERROR_INVALID, "Failed to parse XML: productCode is not rhel");
#line 584 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_inner_error_ = _tmp6_;
#line 584 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_propagate_error (error, _inner_error_);
#line 584 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (product_code);
#line 584 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return NULL;
#line 4476 "wizard-source.c"
	}
#line 586 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp7_ = contents;
#line 586 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp8_ = boxes_extract_xpath (_tmp7_, "string(/products/product/featuredArtifact/url)", TRUE, &_inner_error_);
#line 586 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	url = _tmp8_;
#line 586 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 586 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_propagate_error (error, _inner_error_);
#line 586 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (product_code);
#line 586 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return NULL;
#line 4492 "wizard-source.c"
	}
#line 587 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp9_ = url;
#line 587 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp10_ = strlen (_tmp9_);
#line 587 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp11_ = _tmp10_;
#line 587 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp11_ == 0) {
#line 4502 "wizard-source.c"
		GError* _tmp12_;
#line 588 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp12_ = g_error_new_literal (BOXES_ERROR, BOXES_ERROR_INVALID, "Failed to parse XML: featuredArtifact.url is empty");
#line 588 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_inner_error_ = _tmp12_;
#line 588 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_propagate_error (error, _inner_error_);
#line 588 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (url);
#line 588 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (product_code);
#line 588 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return NULL;
#line 4516 "wizard-source.c"
	}
#line 590 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	result = url;
#line 590 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_free0 (product_code);
#line 590 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return result;
#line 4524 "wizard-source.c"
}


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


static void block99_data_unref (void * _userdata_) {
	Block99Data* _data99_;
	_data99_ = (Block99Data*) _userdata_;
#line 593 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (g_atomic_int_dec_and_test (&_data99_->_ref_count_)) {
#line 4542 "wizard-source.c"
		BoxesWizardSource* self;
#line 593 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		self = _data99_->self;
#line 593 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (_data99_->file);
#line 593 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (_data99_->downloader);
#line 593 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (_data99_->cached_path);
#line 593 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (self);
#line 593 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_slice_free (Block99Data, _data99_);
#line 4556 "wizard-source.c"
	}
}


static void __lambda148_ (BoxesWizardSource* self) {
	BoxesWizardWebView* _tmp0_;
	WebKitWebView* _tmp1_;
	WebKitWebView* _tmp2_;
	BoxesWizardWebView* _tmp3_;
	WebKitWebView* _tmp4_;
	WebKitWebView* _tmp5_;
	WebKitWebsiteDataManager* data_manager = NULL;
	BoxesWizardWebView* _tmp6_;
	WebKitWebView* _tmp7_;
	WebKitWebView* _tmp8_;
	WebKitWebsiteDataManager* _tmp9_;
	WebKitWebsiteDataManager* _tmp10_;
#line 671 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = self->priv->rhel_web_view;
#line 671 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = boxes_wizard_web_view_get_view (_tmp0_);
#line 671 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp2_ = _tmp1_;
#line 671 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	webkit_web_view_stop_loading (_tmp2_);
#line 672 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp3_ = self->priv->rhel_web_view;
#line 672 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp4_ = boxes_wizard_web_view_get_view (_tmp3_);
#line 672 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp5_ = _tmp4_;
#line 672 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	webkit_web_view_load_uri (_tmp5_, "about:blank");
#line 674 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp6_ = self->priv->rhel_web_view;
#line 674 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp7_ = boxes_wizard_web_view_get_view (_tmp6_);
#line 674 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp8_ = _tmp7_;
#line 674 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp9_ = webkit_web_view_get_website_data_manager (_tmp8_);
#line 674 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp10_ = _g_object_ref0 (_tmp9_);
#line 674 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	data_manager = _tmp10_;
#line 675 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	webkit_website_data_manager_clear (data_manager, WEBKIT_WEBSITE_DATA_COOKIES, (GTimeSpan) 0, NULL, NULL, NULL);
#line 670 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (data_manager);
#line 4606 "wizard-source.c"
}


static void ___lambda148__gfunc (gconstpointer data, gpointer self) {
#line 670 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	__lambda148_ ((BoxesWizardSource*) self);
#line 4613 "wizard-source.c"
}


static void __lambda147_ (Block99Data* _data99_, GObject* obj, GAsyncResult* res) {
	BoxesWizardSource* self;
	guint8* contents = NULL;
	gint contents_length1 = 0;
	gint _contents_size_ = 0;
	guint8* _tmp10_;
	gint _tmp10__length1;
	gchar* authentication_uri = NULL;
	const gchar* _tmp46_;
	GCancellable* _tmp47_;
	GCancellable* _tmp48_;
	GtkSpinner* _tmp49_;
	gboolean _tmp50_;
	gboolean _tmp51_;
	BoxesWizardWebView* _tmp55_;
	WebKitWebView* _tmp56_;
	WebKitWebView* _tmp57_;
	const gchar* _tmp58_;
	const gchar* _tmp59_;
	gchar* _tmp60_;
	gchar* _tmp61_;
	GError * _inner_error_ = NULL;
#line 615 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self = _data99_->self;
#line 615 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (res != NULL);
#line 4643 "wizard-source.c"
	{
		GAsyncResult* _tmp0_;
		guint8* _tmp1_ = NULL;
		gsize _tmp2_;
#line 618 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp0_ = res;
#line 618 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_file_load_contents_finish (_data99_->file, _tmp0_, &_tmp1_, &_tmp2_, NULL, &_inner_error_);
#line 618 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		contents = (g_free (contents), NULL);
#line 618 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		contents = _tmp1_;
#line 618 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		contents_length1 = _tmp2_;
#line 618 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_contents_size_ = contents_length1;
#line 618 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 618 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			if (g_error_matches (_inner_error_, G_IO_ERROR, G_IO_ERROR_CANCELLED)) {
#line 4664 "wizard-source.c"
				goto __catch138_g_io_error_cancelled;
			}
			goto __catch138_g_error;
		}
	}
	goto __finally138;
	__catch138_g_io_error_cancelled:
	{
		GError* _error_ = NULL;
#line 617 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_error_ = _inner_error_;
#line 617 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_inner_error_ = NULL;
#line 620 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_error_free0 (_error_);
#line 620 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		contents = (g_free (contents), NULL);
#line 620 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return;
#line 4684 "wizard-source.c"
	}
	goto __finally138;
	__catch138_g_error:
	{
		GError* _error_ = NULL;
		BoxesAppWindow* _tmp3_;
		BoxesNotificationbar* _tmp4_;
		BoxesNotificationbar* _tmp5_;
		BoxesNotification* _tmp6_;
		BoxesNotification* _tmp7_;
		GError* _tmp8_;
		const gchar* _tmp9_;
#line 617 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_error_ = _inner_error_;
#line 617 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_inner_error_ = NULL;
#line 622 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		boxes_wizard_source_set_page (self, BOXES_SOURCE_PAGE_MAIN);
#line 623 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp3_ = self->priv->window;
#line 623 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp4_ = boxes_app_window_get_notificationbar (_tmp3_);
#line 623 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp5_ = _tmp4_;
#line 623 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp6_ = boxes_notificationbar_display_error (_tmp5_, _ ("Failed to parse response from redhat.com"), BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT);
#line 623 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp7_ = _tmp6_;
#line 623 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (_tmp7_);
#line 624 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp8_ = _error_;
#line 624 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp9_ = _tmp8_->message;
#line 624 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_warning ("wizard-source.vala:624: %s", _tmp9_);
#line 625 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_error_free0 (_error_);
#line 625 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		contents = (g_free (contents), NULL);
#line 625 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return;
#line 4727 "wizard-source.c"
	}
	__finally138:
#line 617 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 617 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		contents = (g_free (contents), NULL);
#line 617 "/home/fborges/checkout/gnome-boxes/src/wizard-source.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 617 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_clear_error (&_inner_error_);
#line 617 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return;
#line 4740 "wizard-source.c"
	}
#line 628 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp10_ = contents;
#line 628 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp10__length1 = contents_length1;
#line 628 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp10__length1 <= 0) {
#line 4748 "wizard-source.c"
		gboolean _tmp11_;
#line 629 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp11_ = _data99_->use_cache;
#line 629 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		if (_tmp11_) {
#line 4754 "wizard-source.c"
			const gchar* _tmp12_;
#line 630 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp12_ = _data99_->cached_path;
#line 630 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			boxes_wizard_source_rhel_show_web_view (self, _tmp12_, FALSE);
#line 4760 "wizard-source.c"
		} else {
			BoxesAppWindow* _tmp13_;
			BoxesNotificationbar* _tmp14_;
			BoxesNotificationbar* _tmp15_;
			BoxesNotification* _tmp16_;
			BoxesNotification* _tmp17_;
#line 632 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			boxes_wizard_source_set_page (self, BOXES_SOURCE_PAGE_MAIN);
#line 633 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp13_ = self->priv->window;
#line 633 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp14_ = boxes_app_window_get_notificationbar (_tmp13_);
#line 633 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp15_ = _tmp14_;
#line 633 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp16_ = boxes_notificationbar_display_error (_tmp15_, _ ("Failed to parse response from redhat.com"), BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT);
#line 633 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp17_ = _tmp16_;
#line 633 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_g_object_unref0 (_tmp17_);
#line 634 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			g_warning ("wizard-source.vala:634: Empty response from redhat.com");
#line 4783 "wizard-source.c"
		}
#line 636 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		contents = (g_free (contents), NULL);
#line 636 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return;
#line 4789 "wizard-source.c"
	}
	{
		gchar* _tmp18_ = NULL;
		guint8* _tmp19_;
		gint _tmp19__length1;
		gchar* _tmp20_;
		gchar* _tmp21_;
#line 641 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp19_ = contents;
#line 641 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp19__length1 = contents_length1;
#line 641 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp20_ = boxes_wizard_source_rhel_get_authentication_uri_from_json (self, (const gchar*) _tmp19_, &_inner_error_);
#line 641 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp18_ = _tmp20_;
#line 641 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 641 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			if (_inner_error_->domain == BOXES_ERROR) {
#line 4809 "wizard-source.c"
				goto __catch139_boxes_error;
			}
			goto __catch139_g_error;
		}
#line 641 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp21_ = _tmp18_;
#line 641 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp18_ = NULL;
#line 641 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (authentication_uri);
#line 641 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		authentication_uri = _tmp21_;
#line 640 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (_tmp18_);
#line 4824 "wizard-source.c"
	}
	goto __finally139;
	__catch139_boxes_error:
	{
		GError* _error_ = NULL;
		gboolean _tmp22_;
#line 640 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_error_ = _inner_error_;
#line 640 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_inner_error_ = NULL;
#line 643 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp22_ = _data99_->use_cache;
#line 643 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		if (_tmp22_) {
#line 4839 "wizard-source.c"
			const gchar* _tmp23_;
#line 644 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp23_ = _data99_->cached_path;
#line 644 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			boxes_wizard_source_rhel_show_web_view (self, _tmp23_, FALSE);
#line 4845 "wizard-source.c"
		} else {
			BoxesAppWindow* _tmp24_;
			BoxesNotificationbar* _tmp25_;
			BoxesNotificationbar* _tmp26_;
			BoxesNotification* _tmp27_;
			BoxesNotification* _tmp28_;
			GError* _tmp29_;
			const gchar* _tmp30_;
#line 646 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			boxes_wizard_source_set_page (self, BOXES_SOURCE_PAGE_MAIN);
#line 647 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp24_ = self->priv->window;
#line 647 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp25_ = boxes_app_window_get_notificationbar (_tmp24_);
#line 647 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp26_ = _tmp25_;
#line 647 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp27_ = boxes_notificationbar_display_error (_tmp26_, _ ("Failed to parse response from redhat.com"), BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT);
#line 647 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp28_ = _tmp27_;
#line 647 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_g_object_unref0 (_tmp28_);
#line 648 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp29_ = _error_;
#line 648 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp30_ = _tmp29_->message;
#line 648 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			g_warning ("wizard-source.vala:648: %s", _tmp30_);
#line 4874 "wizard-source.c"
		}
#line 650 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_error_free0 (_error_);
#line 650 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (authentication_uri);
#line 650 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		contents = (g_free (contents), NULL);
#line 650 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return;
#line 4884 "wizard-source.c"
	}
	goto __finally139;
	__catch139_g_error:
	{
		GError* json_error = NULL;
		GError* _tmp31_;
		const gchar* _tmp32_;
#line 640 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		json_error = _inner_error_;
#line 640 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_inner_error_ = NULL;
#line 652 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp31_ = json_error;
#line 652 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp32_ = _tmp31_->message;
#line 652 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_debug ("wizard-source.vala:652: Failed to parse as JSON, could be XML: %s", _tmp32_);
#line 4902 "wizard-source.c"
		{
			gchar* _tmp33_ = NULL;
			guint8* _tmp34_;
			gint _tmp34__length1;
			gchar* _tmp35_;
			gchar* _tmp36_;
#line 654 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp34_ = contents;
#line 654 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp34__length1 = contents_length1;
#line 654 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp35_ = boxes_wizard_source_rhel_get_authentication_uri_from_xml (self, (const gchar*) _tmp34_, &_inner_error_);
#line 654 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp33_ = _tmp35_;
#line 654 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4919 "wizard-source.c"
				goto __catch140_g_error;
			}
#line 654 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp36_ = _tmp33_;
#line 654 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp33_ = NULL;
#line 654 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_g_free0 (authentication_uri);
#line 654 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			authentication_uri = _tmp36_;
#line 653 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_g_free0 (_tmp33_);
#line 4932 "wizard-source.c"
		}
		goto __finally140;
		__catch140_g_error:
		{
			GError* xml_error = NULL;
			gboolean _tmp37_;
#line 653 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			xml_error = _inner_error_;
#line 653 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_inner_error_ = NULL;
#line 656 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp37_ = _data99_->use_cache;
#line 656 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			if (_tmp37_) {
#line 4947 "wizard-source.c"
				const gchar* _tmp38_;
#line 657 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_tmp38_ = _data99_->cached_path;
#line 657 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				boxes_wizard_source_rhel_show_web_view (self, _tmp38_, FALSE);
#line 4953 "wizard-source.c"
			} else {
				BoxesAppWindow* _tmp39_;
				BoxesNotificationbar* _tmp40_;
				BoxesNotificationbar* _tmp41_;
				BoxesNotification* _tmp42_;
				BoxesNotification* _tmp43_;
				GError* _tmp44_;
				const gchar* _tmp45_;
#line 659 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				boxes_wizard_source_set_page (self, BOXES_SOURCE_PAGE_MAIN);
#line 660 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_tmp39_ = self->priv->window;
#line 660 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_tmp40_ = boxes_app_window_get_notificationbar (_tmp39_);
#line 660 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_tmp41_ = _tmp40_;
#line 660 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_tmp42_ = boxes_notificationbar_display_error (_tmp41_, _ ("Failed to parse response from redhat.com"), BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT);
#line 660 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_tmp43_ = _tmp42_;
#line 660 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_g_object_unref0 (_tmp43_);
#line 661 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_tmp44_ = xml_error;
#line 661 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				_tmp45_ = _tmp44_->message;
#line 661 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
				g_warning ("wizard-source.vala:661: %s", _tmp45_);
#line 4982 "wizard-source.c"
			}
#line 663 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_g_error_free0 (xml_error);
#line 663 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_g_error_free0 (json_error);
#line 663 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_g_free0 (authentication_uri);
#line 663 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			contents = (g_free (contents), NULL);
#line 663 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			return;
#line 4994 "wizard-source.c"
		}
		__finally140:
#line 653 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 653 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_g_error_free0 (json_error);
#line 653 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_g_error_free0 (json_error);
#line 653 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_g_free0 (authentication_uri);
#line 653 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			contents = (g_free (contents), NULL);
#line 653 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 653 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			g_clear_error (&_inner_error_);
#line 653 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			return;
#line 5013 "wizard-source.c"
		}
#line 640 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_error_free0 (json_error);
#line 5017 "wizard-source.c"
	}
	__finally139:
#line 640 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 640 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (authentication_uri);
#line 640 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		contents = (g_free (contents), NULL);
#line 640 "/home/fborges/checkout/gnome-boxes/src/wizard-source.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 640 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_clear_error (&_inner_error_);
#line 640 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return;
#line 5032 "wizard-source.c"
	}
#line 667 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp46_ = authentication_uri;
#line 667 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_debug ("wizard-source.vala:667: RHEL ISO authentication URI: %s", _tmp46_);
#line 669 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp47_ = g_cancellable_new ();
#line 669 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->rhel_cancellable);
#line 669 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self->priv->rhel_cancellable = _tmp47_;
#line 670 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp48_ = self->priv->rhel_cancellable;
#line 670 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_cancellable_connect (_tmp48_, (GCallback) ___lambda148__gfunc, g_object_ref (self), g_object_unref);
#line 678 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp49_ = self->priv->rhel_web_view_spinner;
#line 678 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_object_get (_tmp49_, "active", &_tmp50_, NULL);
#line 678 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp51_ = _tmp50_;
#line 678 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp51_) {
#line 5056 "wizard-source.c"
		GtkStack* _tmp52_;
		GtkSpinner* _tmp53_;
#line 679 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp52_ = self->priv->rhel_web_view_stack;
#line 679 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		gtk_stack_set_visible_child_full (_tmp52_, "web-view", GTK_STACK_TRANSITION_TYPE_CROSSFADE);
#line 680 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp53_ = self->priv->rhel_web_view_spinner;
#line 680 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		gtk_spinner_stop (_tmp53_);
#line 5067 "wizard-source.c"
	} else {
		GtkStack* _tmp54_;
#line 682 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp54_ = self->priv->rhel_web_view_stack;
#line 682 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		gtk_stack_set_visible_child_name (_tmp54_, "web-view");
#line 5074 "wizard-source.c"
	}
#line 685 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp55_ = self->priv->rhel_web_view;
#line 685 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp56_ = boxes_wizard_web_view_get_view (_tmp55_);
#line 685 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp57_ = _tmp56_;
#line 685 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp58_ = authentication_uri;
#line 685 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	webkit_web_view_load_uri (_tmp57_, _tmp58_);
#line 686 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp59_ = authentication_uri;
#line 686 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp60_ = g_path_get_basename (_tmp59_);
#line 686 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp61_ = _tmp60_;
#line 686 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_set_filename (self, _tmp61_);
#line 686 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_free0 (_tmp61_);
#line 615 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_free0 (authentication_uri);
#line 615 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	contents = (g_free (contents), NULL);
#line 5100 "wizard-source.c"
}


static void ___lambda147__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 615 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	__lambda147_ (self, source_object, res);
#line 615 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	block99_data_unref (self);
#line 5109 "wizard-source.c"
}


static void __lambda146_ (Block99Data* _data99_, GObject* obj, GAsyncResult* res) {
	BoxesWizardSource* self;
	GCancellable* _tmp11_;
	GError * _inner_error_ = NULL;
#line 603 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self = _data99_->self;
#line 603 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (res != NULL);
#line 5121 "wizard-source.c"
	{
		GFile* _tmp0_ = NULL;
		GAsyncResult* _tmp1_;
		GFile* _tmp2_;
		GFile* _tmp3_;
#line 605 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp1_ = res;
#line 605 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp2_ = boxes_downloader_download_finish (_data99_->downloader, _tmp1_, &_inner_error_);
#line 605 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp0_ = _tmp2_;
#line 605 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 605 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			if (g_error_matches (_inner_error_, G_IO_ERROR, G_IO_ERROR_CANCELLED)) {
#line 5137 "wizard-source.c"
				goto __catch137_g_io_error_cancelled;
			}
			goto __catch137_g_error;
		}
#line 605 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp3_ = _tmp0_;
#line 605 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp0_ = NULL;
#line 605 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (_data99_->file);
#line 605 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_data99_->file = _tmp3_;
#line 604 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (_tmp0_);
#line 5152 "wizard-source.c"
	}
	goto __finally137;
	__catch137_g_io_error_cancelled:
	{
		GError* _error_ = NULL;
#line 604 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_error_ = _inner_error_;
#line 604 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_inner_error_ = NULL;
#line 607 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_error_free0 (_error_);
#line 607 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return;
#line 5166 "wizard-source.c"
	}
	goto __finally137;
	__catch137_g_error:
	{
		GError* _error_ = NULL;
		BoxesAppWindow* _tmp4_;
		BoxesNotificationbar* _tmp5_;
		BoxesNotificationbar* _tmp6_;
		BoxesNotification* _tmp7_;
		BoxesNotification* _tmp8_;
		GError* _tmp9_;
		const gchar* _tmp10_;
#line 604 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_error_ = _inner_error_;
#line 604 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_inner_error_ = NULL;
#line 609 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		boxes_wizard_source_set_page (self, BOXES_SOURCE_PAGE_MAIN);
#line 610 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp4_ = self->priv->window;
#line 610 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp5_ = boxes_app_window_get_notificationbar (_tmp4_);
#line 610 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp6_ = _tmp5_;
#line 610 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp7_ = boxes_notificationbar_display_error (_tmp6_, _ ("Failed to get authentication URI"), BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT);
#line 610 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp8_ = _tmp7_;
#line 610 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (_tmp8_);
#line 611 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp9_ = _error_;
#line 611 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp10_ = _tmp9_->message;
#line 611 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_warning ("wizard-source.vala:611: %s", _tmp10_);
#line 612 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_error_free0 (_error_);
#line 612 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return;
#line 5207 "wizard-source.c"
	}
	__finally137:
#line 604 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 604 "/home/fborges/checkout/gnome-boxes/src/wizard-source.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 604 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_clear_error (&_inner_error_);
#line 604 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return;
#line 5218 "wizard-source.c"
	}
#line 615 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp11_ = self->priv->rhel_cancellable;
#line 615 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_file_load_contents_async (_data99_->file, _tmp11_, ___lambda147__gasync_ready_callback, block99_data_ref (_data99_));
#line 5224 "wizard-source.c"
}


static void ___lambda146__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 603 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	__lambda146_ (self, source_object, res);
#line 603 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	block99_data_unref (self);
#line 5233 "wizard-source.c"
}


static void boxes_wizard_source_rhel_show_web_view (BoxesWizardSource* self, const gchar* cached_path, gboolean use_cache) {
	Block99Data* _data99_;
	const gchar* _tmp0_;
	gchar* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
	BoxesDownloader* _tmp6_;
	GFile* _tmp7_;
	gchar** cached_paths = NULL;
	const gchar* _tmp8_;
	gchar* _tmp9_;
	gchar** _tmp10_;
	gint cached_paths_length1;
	gint _cached_paths_size_;
	BoxesActivityProgress* progress = NULL;
	BoxesActivityProgress* _tmp11_;
	GCancellable* _tmp12_;
#line 593 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (self != NULL);
#line 593 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (cached_path != NULL);
#line 593 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data99_ = g_slice_new0 (Block99Data);
#line 593 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data99_->_ref_count_ = 1;
#line 593 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data99_->self = g_object_ref (self);
#line 593 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = cached_path;
#line 593 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 593 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_free0 (_data99_->cached_path);
#line 593 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data99_->cached_path = _tmp1_;
#line 593 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp2_ = use_cache;
#line 593 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data99_->use_cache = _tmp2_;
#line 594 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp3_ = _data99_->use_cache;
#line 594 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (!_tmp3_) {
#line 5280 "wizard-source.c"
		const gchar* _tmp4_;
		GtkSpinner* _tmp5_;
#line 595 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp4_ = _data99_->cached_path;
#line 595 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_unlink (_tmp4_);
#line 596 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp5_ = self->priv->rhel_web_view_spinner;
#line 596 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		gtk_spinner_start (_tmp5_);
#line 5291 "wizard-source.c"
	}
#line 599 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp6_ = boxes_downloader_get_instance ();
#line 599 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data99_->downloader = _tmp6_;
#line 600 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp7_ = g_file_new_for_uri ("https://developers.redhat.com/download-manager/rest/available/rhel");
#line 600 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data99_->file = _tmp7_;
#line 601 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp8_ = _data99_->cached_path;
#line 601 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp9_ = g_strdup (_tmp8_);
#line 601 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp10_ = g_new0 (gchar*, 1 + 1);
#line 601 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp10_[0] = _tmp9_;
#line 601 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	cached_paths = _tmp10_;
#line 601 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	cached_paths_length1 = 1;
#line 601 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_cached_paths_size_ = cached_paths_length1;
#line 602 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp11_ = boxes_activity_progress_new ();
#line 602 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	progress = _tmp11_;
#line 603 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp12_ = self->priv->rhel_cancellable;
#line 603 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_downloader_download (_data99_->downloader, _data99_->file, cached_paths, cached_paths_length1, progress, _tmp12_, ___lambda146__gasync_ready_callback, block99_data_ref (_data99_));
#line 593 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (progress);
#line 593 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	cached_paths = (_vala_array_free (cached_paths, cached_paths_length1, (GDestroyNotify) g_free), NULL);
#line 593 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	block99_data_unref (_data99_);
#line 593 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data99_ = NULL;
#line 5331 "wizard-source.c"
}


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


static void block100_data_unref (void * _userdata_) {
	Block100Data* _data100_;
	_data100_ = (Block100Data*) _userdata_;
#line 692 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (g_atomic_int_dec_and_test (&_data100_->_ref_count_)) {
#line 5349 "wizard-source.c"
		BoxesWizardSource* self;
#line 692 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		self = _data100_->self;
#line 692 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (_data100_->cached_file);
#line 692 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (_data100_->cached_path);
#line 692 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (self);
#line 692 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_slice_free (Block100Data, _data100_);
#line 5361 "wizard-source.c"
	}
}


static void __lambda149_ (Block100Data* _data100_, GObject* obj, GAsyncResult* res) {
	BoxesWizardSource* self;
	GFileInfo* info = NULL;
	GTimeVal mtime_timeval = {0};
	GFileInfo* _tmp6_;
	GTimeVal _tmp7_ = {0};
	GDateTime* mtime = NULL;
	GTimeVal _tmp8_;
	GDateTime* _tmp9_;
	GDateTime* _tmp10_;
	GDateTime* now = NULL;
	GDateTime* _tmp11_;
	GDateTime* _tmp12_;
	GTimeSpan time_difference = 0LL;
	GDateTime* _tmp13_;
	GDateTime* _tmp14_;
	GTimeSpan _tmp15_;
	GTimeSpan _tmp16_;
	GError * _inner_error_ = NULL;
#line 702 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self = _data100_->self;
#line 702 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (res != NULL);
#line 5389 "wizard-source.c"
	{
		GFileInfo* _tmp0_ = NULL;
		GAsyncResult* _tmp1_;
		GFileInfo* _tmp2_;
		GFileInfo* _tmp3_;
#line 705 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp1_ = res;
#line 705 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp2_ = g_file_query_info_finish (_data100_->cached_file, _tmp1_, &_inner_error_);
#line 705 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp0_ = _tmp2_;
#line 705 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 705 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			if (g_error_matches (_inner_error_, G_IO_ERROR, G_IO_ERROR_CANCELLED)) {
#line 5405 "wizard-source.c"
				goto __catch141_g_io_error_cancelled;
			}
#line 705 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			if (g_error_matches (_inner_error_, G_IO_ERROR, G_IO_ERROR_NOT_FOUND)) {
#line 5410 "wizard-source.c"
				goto __catch141_g_io_error_not_found;
			}
			goto __catch141_g_error;
		}
#line 705 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp3_ = _tmp0_;
#line 705 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp0_ = NULL;
#line 705 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (info);
#line 705 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		info = _tmp3_;
#line 704 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (_tmp0_);
#line 5425 "wizard-source.c"
	}
	goto __finally141;
	__catch141_g_io_error_cancelled:
	{
		GError* _error_ = NULL;
#line 704 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_error_ = _inner_error_;
#line 704 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_inner_error_ = NULL;
#line 707 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_error_free0 (_error_);
#line 707 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (info);
#line 707 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return;
#line 5441 "wizard-source.c"
	}
	goto __finally141;
	__catch141_g_io_error_not_found:
	{
		GError* _error_ = NULL;
#line 704 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_error_ = _inner_error_;
#line 704 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_inner_error_ = NULL;
#line 709 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_debug ("wizard-source.vala:709: No cached response from redhat.com");
#line 710 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		boxes_wizard_source_rhel_show_web_view (self, _data100_->cached_path, FALSE);
#line 711 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_error_free0 (_error_);
#line 711 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (info);
#line 711 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return;
#line 5461 "wizard-source.c"
	}
	goto __finally141;
	__catch141_g_error:
	{
		GError* _error_ = NULL;
		GError* _tmp4_;
		const gchar* _tmp5_;
#line 704 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_error_ = _inner_error_;
#line 704 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_inner_error_ = NULL;
#line 713 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp4_ = _error_;
#line 713 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp5_ = _tmp4_->message;
#line 713 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_warning ("wizard-source.vala:713: Failed to find cached response from redhat.com" \
": %s", _tmp5_);
#line 714 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		boxes_wizard_source_rhel_show_web_view (self, _data100_->cached_path, FALSE);
#line 715 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_error_free0 (_error_);
#line 715 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (info);
#line 715 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return;
#line 5487 "wizard-source.c"
	}
	__finally141:
#line 704 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 704 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (info);
#line 704 "/home/fborges/checkout/gnome-boxes/src/wizard-source.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 704 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_clear_error (&_inner_error_);
#line 704 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return;
#line 5500 "wizard-source.c"
	}
#line 718 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp6_ = info;
#line 718 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_file_info_get_modification_time (_tmp6_, &_tmp7_);
#line 718 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	mtime_timeval = _tmp7_;
#line 719 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp8_ = mtime_timeval;
#line 719 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp9_ = g_date_time_new_from_timeval_utc (&_tmp8_);
#line 719 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	mtime = _tmp9_;
#line 720 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp10_ = mtime;
#line 720 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp10_ == NULL) {
#line 721 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_warning ("wizard-source.vala:721: Cached response from redhat.com has invalid mo" \
"dification time");
#line 722 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		boxes_wizard_source_rhel_show_web_view (self, _data100_->cached_path, FALSE);
#line 723 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_date_time_unref0 (mtime);
#line 723 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (info);
#line 723 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return;
#line 5528 "wizard-source.c"
	}
#line 726 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp11_ = g_date_time_new_now_utc ();
#line 726 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	now = _tmp11_;
#line 727 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp12_ = now;
#line 727 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp12_ == NULL) {
#line 728 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_warning ("wizard-source.vala:728: Failed to read current time");
#line 729 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		boxes_wizard_source_rhel_show_web_view (self, _data100_->cached_path, FALSE);
#line 730 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_date_time_unref0 (now);
#line 730 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_date_time_unref0 (mtime);
#line 730 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (info);
#line 730 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return;
#line 5550 "wizard-source.c"
	}
#line 733 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp13_ = now;
#line 733 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp14_ = mtime;
#line 733 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp15_ = g_date_time_difference (_tmp13_, _tmp14_);
#line 733 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	time_difference = _tmp15_;
#line 734 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp16_ = time_difference;
#line 734 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp16_ > G_TIME_SPAN_DAY) {
#line 735 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_debug ("wizard-source.vala:735: Cached response from redhat.com is more than a" \
" day old");
#line 736 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		boxes_wizard_source_rhel_show_web_view (self, _data100_->cached_path, FALSE);
#line 737 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_date_time_unref0 (now);
#line 737 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_date_time_unref0 (mtime);
#line 737 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (info);
#line 737 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return;
#line 5576 "wizard-source.c"
	}
#line 740 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_debug ("wizard-source.vala:740: Cached response from redhat.com is less than a" \
" day old");
#line 741 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_rhel_show_web_view (self, _data100_->cached_path, TRUE);
#line 702 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_date_time_unref0 (now);
#line 702 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_date_time_unref0 (mtime);
#line 702 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (info);
#line 5588 "wizard-source.c"
}


static void ___lambda149__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 698 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	__lambda149_ (self, source_object, res);
#line 698 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	block100_data_unref (self);
#line 5597 "wizard-source.c"
}


static void boxes_wizard_source_on_install_rhel_button_clicked (BoxesWizardSource* self) {
	Block100Data* _data100_;
	GCancellable* _tmp0_;
	gchar* _tmp1_;
	GFile* _tmp2_;
	GCancellable* _tmp3_;
#line 692 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (self != NULL);
#line 692 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data100_ = g_slice_new0 (Block100Data);
#line 692 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data100_->_ref_count_ = 1;
#line 692 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data100_->self = g_object_ref (self);
#line 693 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_set_page (self, BOXES_SOURCE_PAGE_RHEL_WEB_VIEW);
#line 694 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = g_cancellable_new ();
#line 694 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->rhel_cancellable);
#line 694 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self->priv->rhel_cancellable = _tmp0_;
#line 696 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = boxes_get_cache ("developers.redhat.com", "rhel");
#line 696 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data100_->cached_path = _tmp1_;
#line 697 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp2_ = g_file_new_for_path (_data100_->cached_path);
#line 697 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data100_->cached_file = _tmp2_;
#line 698 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp3_ = self->priv->rhel_cancellable;
#line 698 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_file_query_info_async (_data100_->cached_file, G_FILE_ATTRIBUTE_TIME_MODIFIED, G_FILE_QUERY_INFO_NONE, G_PRIORITY_DEFAULT, _tmp3_, ___lambda149__gasync_ready_callback, block100_data_ref (_data100_));
#line 692 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	block100_data_unref (_data100_);
#line 692 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_data100_ = NULL;
#line 5639 "wizard-source.c"
}


static void _boxes_wizard_source_on_install_rhel_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_on_install_rhel_button_clicked ((BoxesWizardSource*) self);
#line 5646 "wizard-source.c"
}


static WebKitNavigationAction* _vala_WebKitNavigationAction_copy (WebKitNavigationAction* self) {
#line 751 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return g_boxed_copy (webkit_navigation_action_get_type (), self);
#line 5653 "wizard-source.c"
}


static gpointer __vala_WebKitNavigationAction_copy0 (gpointer self) {
#line 751 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return self ? _vala_WebKitNavigationAction_copy (self) : NULL;
#line 5660 "wizard-source.c"
}


static void _vala_WebKitNavigationAction_free (WebKitNavigationAction* self) {
#line 755 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_boxed_free (webkit_navigation_action_get_type (), self);
#line 5667 "wizard-source.c"
}


static void _vala_SoupURI_free (SoupURI* self) {
#line 760 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_boxed_free (soup_uri_get_type (), self);
#line 5674 "wizard-source.c"
}


static gboolean boxes_wizard_source_on_rhel_web_view_decide_policy (BoxesWizardSource* self, WebKitWebView* web_view, WebKitPolicyDecision* decision, WebKitPolicyDecisionType decision_type) {
	gboolean result = FALSE;
	WebKitPolicyDecisionType _tmp0_;
	WebKitNavigationAction* action = NULL;
	WebKitPolicyDecision* _tmp1_;
	WebKitNavigationAction* _tmp2_;
	WebKitNavigationAction* _tmp3_;
	WebKitURIRequest* request = NULL;
	WebKitNavigationAction* _tmp4_;
	WebKitURIRequest* _tmp5_;
	WebKitURIRequest* _tmp6_;
	gchar* request_uri = NULL;
	WebKitURIRequest* _tmp7_;
	const gchar* _tmp8_;
	gchar* _tmp9_;
	const gchar* _tmp10_;
	gboolean _tmp11_;
	SoupURI* soup_uri = NULL;
	const gchar* _tmp12_;
	SoupURI* _tmp13_;
	gchar* query = NULL;
	SoupURI* _tmp14_;
	const gchar* _tmp15_;
	gchar* _tmp16_;
	const gchar* _tmp17_;
	GHashTable* key_value_pairs = NULL;
	const gchar* _tmp18_;
	GHashTable* _tmp19_;
	gchar* download_uri = NULL;
	GHashTable* _tmp20_;
	gconstpointer _tmp21_;
	gchar* _tmp22_;
	const gchar* _tmp23_;
	const gchar* _tmp24_;
	OsinfoOs* _tmp25_;
	const gchar* _tmp46_;
	GtkButton* _tmp47_;
	WebKitPolicyDecision* _tmp48_;
#line 745 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 745 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (web_view != NULL, FALSE);
#line 745 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (decision != NULL, FALSE);
#line 748 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = decision_type;
#line 748 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp0_ != WEBKIT_POLICY_DECISION_TYPE_NAVIGATION_ACTION) {
#line 749 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		result = FALSE;
#line 749 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return result;
#line 5730 "wizard-source.c"
	}
#line 751 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = decision;
#line 751 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp2_ = webkit_navigation_policy_decision_get_navigation_action (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, webkit_navigation_policy_decision_get_type ()) ? ((WebKitNavigationPolicyDecision*) _tmp1_) : NULL);
#line 751 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp3_ = __vala_WebKitNavigationAction_copy0 (_tmp2_);
#line 751 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	action = _tmp3_;
#line 752 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp4_ = action;
#line 752 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp5_ = webkit_navigation_action_get_request (_tmp4_);
#line 752 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp6_ = _g_object_ref0 (_tmp5_);
#line 752 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	request = _tmp6_;
#line 753 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp7_ = request;
#line 753 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp8_ = webkit_uri_request_get_uri (_tmp7_);
#line 753 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp9_ = g_strdup (_tmp8_);
#line 753 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	request_uri = _tmp9_;
#line 754 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp10_ = request_uri;
#line 754 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp11_ = g_str_has_prefix (_tmp10_, "https://developers.redhat.com/products/rhel");
#line 754 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (!_tmp11_) {
#line 755 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		result = FALSE;
#line 755 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (request_uri);
#line 755 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (request);
#line 755 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_WebKitNavigationAction_free0 (action);
#line 755 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return result;
#line 5772 "wizard-source.c"
	}
#line 757 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp12_ = request_uri;
#line 757 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp13_ = soup_uri_new (_tmp12_);
#line 757 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	soup_uri = _tmp13_;
#line 758 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp14_ = soup_uri;
#line 758 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp15_ = soup_uri_get_query (_tmp14_);
#line 758 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp16_ = g_strdup (_tmp15_);
#line 758 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	query = _tmp16_;
#line 759 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp17_ = query;
#line 759 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp17_ == NULL) {
#line 760 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		result = FALSE;
#line 760 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (query);
#line 760 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_SoupURI_free0 (soup_uri);
#line 760 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (request_uri);
#line 760 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (request);
#line 760 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_WebKitNavigationAction_free0 (action);
#line 760 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return result;
#line 5806 "wizard-source.c"
	}
#line 762 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp18_ = query;
#line 762 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp19_ = soup_form_decode (_tmp18_);
#line 762 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	key_value_pairs = _tmp19_;
#line 763 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp20_ = key_value_pairs;
#line 763 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp21_ = g_hash_table_lookup (_tmp20_, "tcDownloadURL");
#line 763 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp22_ = g_strdup ((const gchar*) _tmp21_);
#line 763 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	download_uri = _tmp22_;
#line 764 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp23_ = download_uri;
#line 764 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp23_ == NULL) {
#line 765 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		result = FALSE;
#line 765 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (download_uri);
#line 765 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_hash_table_unref0 (key_value_pairs);
#line 765 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (query);
#line 765 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_SoupURI_free0 (soup_uri);
#line 765 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (request_uri);
#line 765 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (request);
#line 765 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		__vala_WebKitNavigationAction_free0 (action);
#line 765 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		return result;
#line 5844 "wizard-source.c"
	}
#line 767 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp24_ = download_uri;
#line 767 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_debug ("wizard-source.vala:767: RHEL ISO download URI: %s", _tmp24_);
#line 769 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp25_ = self->priv->rhel_os;
#line 769 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp25_ != NULL) {
#line 5854 "wizard-source.c"
		GtkTreeIter iter = {0};
		GtkTreePath* path = NULL;
		gboolean iter_is_valid = FALSE;
		const GtkTreeRowReference* _tmp26_;
		gboolean _tmp41_;
#line 772 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		iter_is_valid = FALSE;
#line 774 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp26_ = self->priv->rhel_os_row_reference;
#line 774 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		if (_tmp26_ == NULL) {
#line 5866 "wizard-source.c"
			GtkListStore* _tmp27_;
			GtkTreeIter _tmp28_ = {0};
			GtkListStore* _tmp29_;
			GtkTreeIter _tmp30_;
			GtkTreePath* _tmp31_;
			GtkListStore* _tmp32_;
			GtkTreePath* _tmp33_;
			GtkTreeRowReference* _tmp34_;
#line 775 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp27_ = self->priv->media_urls_store;
#line 775 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			gtk_list_store_append (_tmp27_, &_tmp28_);
#line 775 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			iter = _tmp28_;
#line 776 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			iter_is_valid = TRUE;
#line 778 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp29_ = self->priv->media_urls_store;
#line 778 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp30_ = iter;
#line 778 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp31_ = gtk_tree_model_get_path ((GtkTreeModel*) _tmp29_, &_tmp30_);
#line 778 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_gtk_tree_path_free0 (path);
#line 778 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			path = _tmp31_;
#line 779 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp32_ = self->priv->media_urls_store;
#line 779 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp33_ = path;
#line 779 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp34_ = gtk_tree_row_reference_new ((GtkTreeModel*) _tmp32_, _tmp33_);
#line 779 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_gtk_tree_row_reference_free0 (self->priv->rhel_os_row_reference);
#line 779 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			self->priv->rhel_os_row_reference = _tmp34_;
#line 5903 "wizard-source.c"
		} else {
			const GtkTreeRowReference* _tmp35_;
			GtkTreePath* _tmp36_;
			GtkListStore* _tmp37_;
			GtkTreePath* _tmp38_;
			GtkTreeIter _tmp39_ = {0};
			gboolean _tmp40_;
#line 781 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp35_ = self->priv->rhel_os_row_reference;
#line 781 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp36_ = gtk_tree_row_reference_get_path (_tmp35_);
#line 781 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_gtk_tree_path_free0 (path);
#line 781 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			path = _tmp36_;
#line 782 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp37_ = self->priv->media_urls_store;
#line 782 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp38_ = path;
#line 782 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp40_ = gtk_tree_model_get_iter ((GtkTreeModel*) _tmp37_, &_tmp39_, _tmp38_);
#line 782 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			iter = _tmp39_;
#line 782 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			iter_is_valid = _tmp40_;
#line 5929 "wizard-source.c"
		}
#line 785 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp41_ = iter_is_valid;
#line 785 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		if (_tmp41_) {
#line 5935 "wizard-source.c"
			GtkListStore* _tmp42_;
			GtkTreeIter _tmp43_;
			const gchar* _tmp44_;
			OsinfoOs* _tmp45_;
#line 786 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp42_ = self->priv->media_urls_store;
#line 786 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp43_ = iter;
#line 786 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp44_ = download_uri;
#line 786 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp45_ = self->priv->rhel_os;
#line 786 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			gtk_list_store_set (_tmp42_, &_tmp43_, BOXES_OS_DATABASE_MEDIA_UR_LS_COLUMNS_URL, _tmp44_, BOXES_OS_DATABASE_MEDIA_UR_LS_COLUMNS_OS, _tmp45_, -1);
#line 5950 "wizard-source.c"
		}
#line 769 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_gtk_tree_path_free0 (path);
#line 5954 "wizard-source.c"
	}
#line 792 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp46_ = download_uri;
#line 792 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_set_uri (self, _tmp46_);
#line 793 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_signal_emit (self, boxes_wizard_source_signals[BOXES_WIZARD_SOURCE_ACTIVATED_SIGNAL], 0);
#line 795 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp47_ = self->priv->install_rhel_button;
#line 795 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_set_selected (self, (GtkWidget*) _tmp47_);
#line 797 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp48_ = decision;
#line 797 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	webkit_policy_decision_ignore (_tmp48_);
#line 798 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	result = TRUE;
#line 798 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_free0 (download_uri);
#line 798 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_hash_table_unref0 (key_value_pairs);
#line 798 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_free0 (query);
#line 798 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	__vala_SoupURI_free0 (soup_uri);
#line 798 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_free0 (request_uri);
#line 798 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (request);
#line 798 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	__vala_WebKitNavigationAction_free0 (action);
#line 798 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return result;
#line 5988 "wizard-source.c"
}


BoxesWizardSource* boxes_wizard_source_construct (GType object_type) {
	BoxesWizardSource * self = NULL;
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self = (BoxesWizardSource*) g_object_new (object_type, NULL);
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return self;
#line 5998 "wizard-source.c"
}


BoxesWizardSource* boxes_wizard_source_new (void) {
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return boxes_wizard_source_construct (BOXES_TYPE_WIZARD_SOURCE);
#line 6005 "wizard-source.c"
}


GtkWidget* boxes_wizard_source_get_selected (BoxesWizardSource* self) {
	GtkWidget* result;
	GtkWidget* _tmp0_;
#line 208 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 208 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = self->priv->_selected;
#line 208 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	result = _tmp0_;
#line 208 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return result;
#line 6020 "wizard-source.c"
}


void boxes_wizard_source_set_selected (BoxesWizardSource* self, GtkWidget* value) {
#line 208 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (self != NULL);
#line 208 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (boxes_wizard_source_get_selected (self) != value) {
#line 6029 "wizard-source.c"
		GtkWidget* _tmp0_;
		GtkWidget* _tmp1_;
#line 208 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp0_ = value;
#line 208 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 208 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (self->priv->_selected);
#line 208 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		self->priv->_selected = _tmp1_;
#line 208 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_object_notify_by_pspec ((GObject *) self, boxes_wizard_source_properties[BOXES_WIZARD_SOURCE_SELECTED_PROPERTY]);
#line 6042 "wizard-source.c"
	}
}


const gchar* boxes_wizard_source_get_uri (BoxesWizardSource* self) {
	const gchar* result;
	GtkEntry* _tmp0_;
	const gchar* _tmp1_;
#line 210 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 210 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = self->url_entry;
#line 210 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = gtk_entry_get_text (_tmp0_);
#line 210 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	result = _tmp1_;
#line 210 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return result;
#line 6061 "wizard-source.c"
}


void boxes_wizard_source_set_uri (BoxesWizardSource* self, const gchar* value) {
	GtkEntry* _tmp0_;
	const gchar* _tmp1_;
#line 211 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (self != NULL);
#line 211 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = self->url_entry;
#line 211 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = value;
#line 211 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_entry_set_text (_tmp0_, _tmp1_);
#line 211 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_object_notify_by_pspec ((GObject *) self, boxes_wizard_source_properties[BOXES_WIZARD_SOURCE_URI_PROPERTY]);
#line 6078 "wizard-source.c"
}


BoxesInstallerMedia* boxes_wizard_source_get_install_media (BoxesWizardSource* self) {
	BoxesInstallerMedia* result;
	BoxesInstallerMedia* _tmp0_;
#line 213 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 213 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = self->priv->_install_media;
#line 213 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	result = _tmp0_;
#line 213 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return result;
#line 6093 "wizard-source.c"
}


static void boxes_wizard_source_set_install_media (BoxesWizardSource* self, BoxesInstallerMedia* value) {
#line 213 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (self != NULL);
#line 213 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (boxes_wizard_source_get_install_media (self) != value) {
#line 6102 "wizard-source.c"
		BoxesInstallerMedia* _tmp0_;
		BoxesInstallerMedia* _tmp1_;
#line 213 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp0_ = value;
#line 213 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 213 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (self->priv->_install_media);
#line 213 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		self->priv->_install_media = _tmp1_;
#line 213 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_object_notify_by_pspec ((GObject *) self, boxes_wizard_source_properties[BOXES_WIZARD_SOURCE_INSTALL_MEDIA_PROPERTY]);
#line 6115 "wizard-source.c"
	}
}


BoxesLibvirtSystemImporter* boxes_wizard_source_get_libvirt_sys_importer (BoxesWizardSource* self) {
	BoxesLibvirtSystemImporter* result;
	BoxesLibvirtSystemImporter* _tmp0_;
#line 214 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 214 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = self->priv->_libvirt_sys_importer;
#line 214 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	result = _tmp0_;
#line 214 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return result;
#line 6131 "wizard-source.c"
}


static void boxes_wizard_source_set_libvirt_sys_importer (BoxesWizardSource* self, BoxesLibvirtSystemImporter* value) {
#line 214 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (self != NULL);
#line 214 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (boxes_wizard_source_get_libvirt_sys_importer (self) != value) {
#line 6140 "wizard-source.c"
		BoxesLibvirtSystemImporter* _tmp0_;
		BoxesLibvirtSystemImporter* _tmp1_;
#line 214 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp0_ = value;
#line 214 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 214 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (self->priv->_libvirt_sys_importer);
#line 214 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		self->priv->_libvirt_sys_importer = _tmp1_;
#line 214 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_object_notify_by_pspec ((GObject *) self, boxes_wizard_source_properties[BOXES_WIZARD_SOURCE_LIBVIRT_SYS_IMPORTER_PROPERTY]);
#line 6153 "wizard-source.c"
	}
}


const gchar* boxes_wizard_source_get_filename (BoxesWizardSource* self) {
	const gchar* result;
	const gchar* _tmp0_;
#line 256 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 256 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = self->priv->_filename;
#line 256 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	result = _tmp0_;
#line 256 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return result;
#line 6169 "wizard-source.c"
}


void boxes_wizard_source_set_filename (BoxesWizardSource* self, const gchar* value) {
#line 256 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (self != NULL);
#line 256 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (g_strcmp0 (value, boxes_wizard_source_get_filename (self)) != 0) {
#line 6178 "wizard-source.c"
		const gchar* _tmp0_;
		gchar* _tmp1_;
#line 256 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp0_ = value;
#line 256 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp1_ = g_strdup (_tmp0_);
#line 256 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_free0 (self->priv->_filename);
#line 256 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		self->priv->_filename = _tmp1_;
#line 256 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_object_notify_by_pspec ((GObject *) self, boxes_wizard_source_properties[BOXES_WIZARD_SOURCE_FILENAME_PROPERTY]);
#line 6191 "wizard-source.c"
	}
}


static gboolean _vala_string_array_contains (const gchar* * stack, int stack_length, const gchar* needle) {
	int i;
#line 263 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	for (i = 0; i < stack_length; i++) {
#line 263 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		if (g_strcmp0 (stack[i], needle) == 0) {
#line 263 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			return TRUE;
#line 6204 "wizard-source.c"
		}
	}
#line 263 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return FALSE;
#line 6209 "wizard-source.c"
}


gboolean boxes_wizard_source_get_download_required (BoxesWizardSource* self) {
	gboolean result;
#line 260 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	static const gchar* supported_schemes[] = {"http", "https"};
#line 6217 "wizard-source.c"
	gchar* scheme = NULL;
	const gchar* _tmp0_;
	const gchar* _tmp1_;
	gchar* _tmp2_;
	gboolean _tmp3_ = FALSE;
	const gchar* _tmp4_;
#line 259 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 261 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = boxes_wizard_source_get_uri (self);
#line 261 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = _tmp0_;
#line 261 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp2_ = g_uri_parse_scheme (_tmp1_);
#line 261 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	scheme = _tmp2_;
#line 263 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp4_ = scheme;
#line 263 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp4_ != NULL) {
#line 6238 "wizard-source.c"
		const gchar* _tmp5_;
#line 263 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp5_ = scheme;
#line 263 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp3_ = _vala_string_array_contains (supported_schemes, G_N_ELEMENTS (supported_schemes), _tmp5_);
#line 6244 "wizard-source.c"
	} else {
#line 263 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp3_ = FALSE;
#line 6248 "wizard-source.c"
	}
#line 263 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	result = _tmp3_;
#line 263 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_free0 (scheme);
#line 263 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return result;
#line 6256 "wizard-source.c"
}


BoxesSourcePage boxes_wizard_source_get_page (BoxesWizardSource* self) {
	BoxesSourcePage result;
	BoxesSourcePage _tmp0_;
#line 283 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 283 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = self->priv->_page;
#line 283 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	result = _tmp0_;
#line 283 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return result;
#line 6271 "wizard-source.c"
}


void boxes_wizard_source_set_page (BoxesWizardSource* self, BoxesSourcePage value) {
	BoxesSourcePage _tmp0_;
	GtkSpinner* _tmp1_;
	GCancellable* _tmp2_;
	BoxesSourcePage _tmp4_;
	const gchar* _tmp5_;
	GtkWidget* _tmp6_;
	BoxesSourcePage _tmp8_;
#line 284 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (self != NULL);
#line 285 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = value;
#line 285 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self->priv->_page = _tmp0_;
#line 287 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = self->priv->rhel_web_view_spinner;
#line 287 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_spinner_stop (_tmp1_);
#line 288 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp2_ = self->priv->rhel_cancellable;
#line 288 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp2_ != NULL) {
#line 6297 "wizard-source.c"
		GCancellable* _tmp3_;
#line 289 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp3_ = self->priv->rhel_cancellable;
#line 289 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_cancellable_cancel (_tmp3_);
#line 290 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (self->priv->rhel_cancellable);
#line 290 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		self->priv->rhel_cancellable = NULL;
#line 6307 "wizard-source.c"
	}
#line 293 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp4_ = value;
#line 293 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp5_ = BOXES_WIZARD_SOURCE_page_names[_tmp4_];
#line 293 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_stack_set_visible_child_name ((GtkStack*) self, _tmp5_);
#line 295 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp6_ = self->priv->_selected;
#line 295 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp6_ != NULL) {
#line 6319 "wizard-source.c"
		GtkWidget* _tmp7_;
#line 296 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp7_ = self->priv->_selected;
#line 296 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		gtk_widget_grab_focus (_tmp7_);
#line 6325 "wizard-source.c"
	}
#line 297 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp8_ = value;
#line 297 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	switch (_tmp8_) {
#line 297 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		case BOXES_SOURCE_PAGE_MAIN:
#line 6333 "wizard-source.c"
		{
			GtkBox* _tmp9_;
#line 299 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			boxes_wizard_source_add_media_entries (self, NULL, NULL);
#line 301 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp9_ = self->priv->main_vbox;
#line 301 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			gtk_widget_grab_focus ((GtkWidget*) _tmp9_);
#line 302 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			break;
#line 6344 "wizard-source.c"
		}
#line 297 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		case BOXES_SOURCE_PAGE_RHEL_WEB_VIEW:
#line 6348 "wizard-source.c"
		{
			GtkStack* _tmp10_;
#line 304 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp10_ = self->priv->rhel_web_view_stack;
#line 304 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			gtk_stack_set_visible_child_name (_tmp10_, "spinner");
#line 305 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			break;
#line 6357 "wizard-source.c"
		}
#line 297 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		case BOXES_SOURCE_PAGE_URL:
#line 6361 "wizard-source.c"
		{
			GtkEntry* _tmp11_;
			GtkEntry* _tmp12_;
#line 307 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp11_ = self->url_entry;
#line 307 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			g_signal_emit_by_name ((GtkEditable*) _tmp11_, "changed");
#line 308 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			_tmp12_ = self->url_entry;
#line 308 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			gtk_widget_grab_focus ((GtkWidget*) _tmp12_);
#line 309 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
			break;
#line 6375 "wizard-source.c"
		}
		default:
#line 297 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		break;
#line 6380 "wizard-source.c"
	}
#line 284 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_object_notify_by_pspec ((GObject *) self, boxes_wizard_source_properties[BOXES_WIZARD_SOURCE_PAGE_PROPERTY]);
#line 6384 "wizard-source.c"
}


static gboolean _boxes_wizard_source_on_rhel_web_view_decide_policy_webkit_web_view_decide_policy (WebKitWebView* _sender, WebKitPolicyDecision* decision, WebKitPolicyDecisionType type, gpointer self) {
	gboolean result;
	result = boxes_wizard_source_on_rhel_web_view_decide_policy ((BoxesWizardSource*) self, _sender, decision, type);
#line 327 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return result;
#line 6393 "wizard-source.c"
}


static GObject * boxes_wizard_source_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) {
	GObject * obj;
	GObjectClass * parent_class;
	BoxesWizardSource * self;
	BoxesMediaManager* _tmp0_;
	GtkBox* _tmp1_;
	gint _tmp2_ = 0;
	gint _tmp3_;
	gint num_visible = 0;
	BoxesWizardScrolled* _tmp4_;
	gint _tmp5_;
	BoxesWizardScrolled* _tmp6_;
	GtkBox* _tmp7_;
	GtkBox* _tmp8_;
	GtkBox* _tmp9_;
	BoxesWizardWebView* _tmp10_;
	WebKitWebView* _tmp11_;
	WebKitWebView* _tmp12_;
#line 314 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	parent_class = G_OBJECT_CLASS (boxes_wizard_source_parent_class);
#line 314 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 314 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_WIZARD_SOURCE, BoxesWizardSource);
#line 315 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = boxes_media_manager_get_instance ();
#line 315 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->media_manager);
#line 315 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self->media_manager = _tmp0_;
#line 316 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = self->priv->main_vbox;
#line 316 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_grab_focus ((GtkWidget*) _tmp1_);
#line 318 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp3_ = gdk_screen_height ();
#line 318 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	if (_tmp3_ > 800) {
#line 318 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp2_ = 3;
#line 6437 "wizard-source.c"
	} else {
#line 318 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		_tmp2_ = 2;
#line 6441 "wizard-source.c"
	}
#line 318 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	num_visible = _tmp2_;
#line 319 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp4_ = self->priv->media_scrolled;
#line 319 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp5_ = num_visible;
#line 319 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_scrolled_setup (_tmp4_, _tmp5_);
#line 320 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp6_ = self->priv->media_scrolled;
#line 320 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp7_ = _tmp6_->vbox;
#line 320 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp8_ = _g_object_ref0 (_tmp7_);
#line 320 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->media_vbox);
#line 320 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self->priv->media_vbox = _tmp8_;
#line 321 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp9_ = self->priv->url_entry_vbox;
#line 321 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_draw_as_css_box ((GtkWidget*) _tmp9_);
#line 323 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_update_libvirt_sytem_entry_visibility (self, NULL, NULL);
#line 324 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_add_media_entries (self, NULL, NULL);
#line 325 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_stack_set_transition_type ((GtkStack*) self, GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT);
#line 327 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp10_ = self->priv->rhel_web_view;
#line 327 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp11_ = boxes_wizard_web_view_get_view (_tmp10_);
#line 327 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_tmp12_ = _tmp11_;
#line 327 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_signal_connect_object (_tmp12_, "decide-policy", (GCallback) _boxes_wizard_source_on_rhel_web_view_decide_policy_webkit_web_view_decide_policy, self, 0);
#line 314 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	return obj;
#line 6481 "wizard-source.c"
}


static void boxes_wizard_source_class_init (BoxesWizardSourceClass * klass) {
	gint BoxesWizardSource_private_offset;
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_parent_class = g_type_class_peek_parent (klass);
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_type_class_add_private (klass, sizeof (BoxesWizardSourcePrivate));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	((GObjectClass *) klass)->dispose = (void (*) (GObject *)) boxes_wizard_source_real_dispose;
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_wizard_source_get_property;
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_boxes_wizard_source_set_property;
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	G_OBJECT_CLASS (klass)->constructor = boxes_wizard_source_constructor;
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_wizard_source_finalize;
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_WIZARD_SOURCE_SELECTED_PROPERTY, boxes_wizard_source_properties[BOXES_WIZARD_SOURCE_SELECTED_PROPERTY] = g_param_spec_object ("selected", "selected", "selected", gtk_widget_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_WIZARD_SOURCE_URI_PROPERTY, boxes_wizard_source_properties[BOXES_WIZARD_SOURCE_URI_PROPERTY] = g_param_spec_string ("uri", "uri", "uri", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_WIZARD_SOURCE_INSTALL_MEDIA_PROPERTY, boxes_wizard_source_properties[BOXES_WIZARD_SOURCE_INSTALL_MEDIA_PROPERTY] = g_param_spec_object ("install-media", "install-media", "install-media", BOXES_TYPE_INSTALLER_MEDIA, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_WIZARD_SOURCE_LIBVIRT_SYS_IMPORTER_PROPERTY, boxes_wizard_source_properties[BOXES_WIZARD_SOURCE_LIBVIRT_SYS_IMPORTER_PROPERTY] = g_param_spec_object ("libvirt-sys-importer", "libvirt-sys-importer", "libvirt-sys-importer", BOXES_TYPE_LIBVIRT_SYSTEM_IMPORTER, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_WIZARD_SOURCE_FILENAME_PROPERTY, boxes_wizard_source_properties[BOXES_WIZARD_SOURCE_FILENAME_PROPERTY] = g_param_spec_string ("filename", "filename", "filename", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_WIZARD_SOURCE_DOWNLOAD_REQUIRED_PROPERTY, boxes_wizard_source_properties[BOXES_WIZARD_SOURCE_DOWNLOAD_REQUIRED_PROPERTY] = g_param_spec_boolean ("download-required", "download-required", "download-required", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_WIZARD_SOURCE_PAGE_PROPERTY, boxes_wizard_source_properties[BOXES_WIZARD_SOURCE_PAGE_PROPERTY] = g_param_spec_enum ("page", "page", "page", BOXES_TYPE_SOURCE_PAGE, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	BoxesWizardSource_private_offset = g_type_class_get_instance_private_offset (klass);
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/Boxes/ui/wizard-source.ui");
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_signals[BOXES_WIZARD_SOURCE_ACTIVATED_SIGNAL] = g_signal_new ("activated", BOXES_TYPE_WIZARD_SOURCE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "main_vbox", FALSE, BoxesWizardSource_private_offset + G_STRUCT_OFFSET (BoxesWizardSourcePrivate, main_vbox));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "media_scrolled", FALSE, BoxesWizardSource_private_offset + G_STRUCT_OFFSET (BoxesWizardSourcePrivate, media_scrolled));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "url_entry_vbox", FALSE, BoxesWizardSource_private_offset + G_STRUCT_OFFSET (BoxesWizardSourcePrivate, url_entry_vbox));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "url_entry", FALSE, G_STRUCT_OFFSET (BoxesWizardSource, url_entry));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "select_file_button", FALSE, BoxesWizardSource_private_offset + G_STRUCT_OFFSET (BoxesWizardSourcePrivate, select_file_button));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "libvirt_sys_import_button", FALSE, BoxesWizardSource_private_offset + G_STRUCT_OFFSET (BoxesWizardSourcePrivate, libvirt_sys_import_button));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "libvirt_sys_import_label", FALSE, BoxesWizardSource_private_offset + G_STRUCT_OFFSET (BoxesWizardSourcePrivate, libvirt_sys_import_label));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "install_rhel_button", FALSE, BoxesWizardSource_private_offset + G_STRUCT_OFFSET (BoxesWizardSourcePrivate, install_rhel_button));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "install_rhel_image", FALSE, BoxesWizardSource_private_offset + G_STRUCT_OFFSET (BoxesWizardSourcePrivate, install_rhel_image));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "rhel_web_view", FALSE, BoxesWizardSource_private_offset + G_STRUCT_OFFSET (BoxesWizardSourcePrivate, rhel_web_view));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "rhel_web_view_spinner", FALSE, BoxesWizardSource_private_offset + G_STRUCT_OFFSET (BoxesWizardSourcePrivate, rhel_web_view_spinner));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "rhel_web_view_stack", FALSE, BoxesWizardSource_private_offset + G_STRUCT_OFFSET (BoxesWizardSourcePrivate, rhel_web_view_stack));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "on_enter_url_button_clicked", G_CALLBACK(_boxes_wizard_source_on_enter_url_button_clicked_gtk_button_clicked));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "on_url_entry_activated", G_CALLBACK(_boxes_wizard_source_on_url_entry_activated_gtk_entry_activate));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "on_url_back_button_clicked", G_CALLBACK(_boxes_wizard_source_on_url_back_button_clicked_gtk_button_clicked));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "on_select_file_button_clicked", G_CALLBACK(_boxes_wizard_source_on_select_file_button_clicked_gtk_button_clicked));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "on_libvirt_sys_import_button_clicked", G_CALLBACK(_boxes_wizard_source_on_libvirt_sys_import_button_clicked_gtk_button_clicked));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "on_install_rhel_button_clicked", G_CALLBACK(_boxes_wizard_source_on_install_rhel_button_clicked_gtk_button_clicked));
#line 6557 "wizard-source.c"
}


static void boxes_wizard_source_instance_init (BoxesWizardSource * self) {
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self->priv = BOXES_WIZARD_SOURCE_GET_PRIVATE (self);
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_type_ensure (BOXES_TYPE_WIZARD_SCROLLED);
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	g_type_ensure (BOXES_TYPE_WIZARD_WEB_VIEW);
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	gtk_widget_init_template (GTK_WIDGET (self));
#line 6570 "wizard-source.c"
}


static void boxes_wizard_source_finalize (GObject * obj) {
	BoxesWizardSource * self;
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_WIZARD_SOURCE, BoxesWizardSource);
#line 208 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->_selected);
#line 213 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->_install_media);
#line 214 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->_libvirt_sys_importer);
#line 220 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->main_vbox);
#line 222 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->media_scrolled);
#line 224 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->url_entry_vbox);
#line 226 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->url_entry);
#line 228 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->select_file_button);
#line 230 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->libvirt_sys_import_button);
#line 232 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->libvirt_sys_import_label);
#line 234 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->install_rhel_button);
#line 236 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->install_rhel_image);
#line 238 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->rhel_web_view);
#line 240 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->rhel_web_view_spinner);
#line 242 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->rhel_web_view_stack);
#line 244 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->window);
#line 246 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->media_vbox);
#line 248 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->media_urls_store);
#line 250 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->rhel_cancellable);
#line 251 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_gtk_tree_row_reference_free0 (self->priv->rhel_os_row_reference);
#line 252 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->rhel_os);
#line 254 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->media_manager);
#line 256 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	_g_free0 (self->priv->_filename);
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	G_OBJECT_CLASS (boxes_wizard_source_parent_class)->finalize (obj);
#line 6626 "wizard-source.c"
}


GType boxes_wizard_source_get_type (void) {
	static volatile gsize boxes_wizard_source_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_wizard_source_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesWizardSourceClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_wizard_source_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesWizardSource), 0, (GInstanceInitFunc) boxes_wizard_source_instance_init, NULL };
		GType boxes_wizard_source_type_id;
		boxes_wizard_source_type_id = g_type_register_static (gtk_stack_get_type (), "BoxesWizardSource", &g_define_type_info, 0);
		g_once_init_leave (&boxes_wizard_source_type_id__volatile, boxes_wizard_source_type_id);
	}
	return boxes_wizard_source_type_id__volatile;
}


static void _vala_boxes_wizard_source_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	BoxesWizardSource * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_WIZARD_SOURCE, BoxesWizardSource);
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	switch (property_id) {
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		case BOXES_WIZARD_SOURCE_SELECTED_PROPERTY:
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_value_set_object (value, boxes_wizard_source_get_selected (self));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		break;
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		case BOXES_WIZARD_SOURCE_URI_PROPERTY:
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_value_set_string (value, boxes_wizard_source_get_uri (self));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		break;
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		case BOXES_WIZARD_SOURCE_INSTALL_MEDIA_PROPERTY:
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_value_set_object (value, boxes_wizard_source_get_install_media (self));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		break;
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		case BOXES_WIZARD_SOURCE_LIBVIRT_SYS_IMPORTER_PROPERTY:
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_value_set_object (value, boxes_wizard_source_get_libvirt_sys_importer (self));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		break;
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		case BOXES_WIZARD_SOURCE_FILENAME_PROPERTY:
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_value_set_string (value, boxes_wizard_source_get_filename (self));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		break;
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		case BOXES_WIZARD_SOURCE_DOWNLOAD_REQUIRED_PROPERTY:
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_value_set_boolean (value, boxes_wizard_source_get_download_required (self));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		break;
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		case BOXES_WIZARD_SOURCE_PAGE_PROPERTY:
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		g_value_set_enum (value, boxes_wizard_source_get_page (self));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		break;
#line 6689 "wizard-source.c"
		default:
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		break;
#line 6695 "wizard-source.c"
	}
}


static void _vala_boxes_wizard_source_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	BoxesWizardSource * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_WIZARD_SOURCE, BoxesWizardSource);
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
	switch (property_id) {
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		case BOXES_WIZARD_SOURCE_SELECTED_PROPERTY:
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		boxes_wizard_source_set_selected (self, g_value_get_object (value));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		break;
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		case BOXES_WIZARD_SOURCE_URI_PROPERTY:
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		boxes_wizard_source_set_uri (self, g_value_get_string (value));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		break;
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		case BOXES_WIZARD_SOURCE_INSTALL_MEDIA_PROPERTY:
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		boxes_wizard_source_set_install_media (self, g_value_get_object (value));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		break;
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		case BOXES_WIZARD_SOURCE_LIBVIRT_SYS_IMPORTER_PROPERTY:
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		boxes_wizard_source_set_libvirt_sys_importer (self, g_value_get_object (value));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		break;
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		case BOXES_WIZARD_SOURCE_FILENAME_PROPERTY:
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		boxes_wizard_source_set_filename (self, g_value_get_string (value));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		break;
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		case BOXES_WIZARD_SOURCE_PAGE_PROPERTY:
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		boxes_wizard_source_set_page (self, g_value_get_enum (value));
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		break;
#line 6741 "wizard-source.c"
		default:
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 205 "/home/fborges/checkout/gnome-boxes/src/wizard-source.vala"
		break;
#line 6747 "wizard-source.c"
	}
}


static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) {
#line 535 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine.vala"
	if ((array != NULL) && (destroy_func != NULL)) {
#line 6755 "wizard-source.c"
		int i;
#line 535 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine.vala"
		for (i = 0; i < array_length; i = i + 1) {
#line 535 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine.vala"
			if (((gpointer*) array)[i] != NULL) {
#line 535 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine.vala"
				destroy_func (((gpointer*) array)[i]);
#line 6763 "wizard-source.c"
			}
		}
	}
}


static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) {
#line 535 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine.vala"
	_vala_array_destroy (array, array_length, destroy_func);
#line 535 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine.vala"
	g_free (array);
#line 6775 "wizard-source.c"
}


static gint _vala_array_length (gpointer array) {
	int length;
	length = 0;
#line 535 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine.vala"
	if (array) {
#line 535 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine.vala"
		while (((gpointer*) array)[length]) {
#line 535 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine.vala"
			length++;
#line 6788 "wizard-source.c"
		}
	}
#line 535 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine.vala"
	return length;
#line 6793 "wizard-source.c"
}



