/* wizard-source.c generated by valac 0.17.3.12-6a5ea3, 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 <stdlib.h>
#include <string.h>
#include <glib/gi18n-lib.h>
#include <gio/gio.h>
#include <libvirt-gconfig/libvirt-gconfig.h>
#include <osinfo/osinfo.h>
#include <pango/pango.h>
#include <float.h>
#include <math.h>
#include <clutter/clutter.h>
#include <clutter-gtk/clutter-gtk.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;
#define _g_list_free0(var) ((var == NULL) ? NULL : (var = (g_list_free (var), NULL)))
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (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_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;

#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 _g_free0(var) (var = (g_free (var), NULL))
typedef struct _BoxesInstallerMediaPrivate BoxesInstallerMediaPrivate;

#define BOXES_TYPE_PAIR (boxes_pair_get_type ())
#define BOXES_PAIR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_PAIR, BoxesPair))
#define BOXES_PAIR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_PAIR, BoxesPairClass))
#define BOXES_IS_PAIR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_PAIR))
#define BOXES_IS_PAIR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_PAIR))
#define BOXES_PAIR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_PAIR, BoxesPairClass))

typedef struct _BoxesPair BoxesPair;
typedef struct _BoxesPairClass BoxesPairClass;
#define __g_list_free__g_object_unref0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__g_object_unref0_ (var), NULL)))
typedef struct _BoxesWizardSourceAddMediaEntriesData BoxesWizardSourceAddMediaEntriesData;
typedef struct _Block41Data Block41Data;
typedef struct _Block42Data Block42Data;
typedef struct _Block43Data Block43Data;

#define BOXES_TYPE_UI (boxes_ui_get_type ())
#define BOXES_UI(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_UI, BoxesUI))
#define BOXES_UI_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_UI, BoxesUIClass))
#define BOXES_IS_UI(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UI))
#define BOXES_IS_UI_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_UI))
#define BOXES_UI_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_UI, BoxesUIClass))

typedef struct _BoxesUI BoxesUI;
typedef struct _BoxesUIClass BoxesUIClass;

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

typedef struct _BoxesApp BoxesApp;
typedef struct _BoxesAppClass BoxesAppClass;
typedef struct _BoxesUIPrivate BoxesUIPrivate;

#define BOXES_TYPE_UI_STATE (boxes_ui_state_get_type ())
typedef struct _BoxesAppPrivate BoxesAppPrivate;

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

typedef struct _BoxesCollectionItem BoxesCollectionItem;
typedef struct _BoxesCollectionItemClass BoxesCollectionItemClass;

#define BOXES_TYPE_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_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_REVEALER (boxes_revealer_get_type ())
#define BOXES_REVEALER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_REVEALER, BoxesRevealer))
#define BOXES_REVEALER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_REVEALER, BoxesRevealerClass))
#define BOXES_IS_REVEALER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_REVEALER))
#define BOXES_IS_REVEALER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_REVEALER))
#define BOXES_REVEALER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_REVEALER, BoxesRevealerClass))

typedef struct _BoxesRevealer BoxesRevealer;
typedef struct _BoxesRevealerClass BoxesRevealerClass;

#define BOXES_TYPE_SIDEBAR (boxes_sidebar_get_type ())
#define BOXES_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_SIDEBAR, BoxesSidebar))
#define BOXES_SIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_SIDEBAR, BoxesSidebarClass))
#define BOXES_IS_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_SIDEBAR))
#define BOXES_IS_SIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_SIDEBAR))
#define BOXES_SIDEBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_SIDEBAR, BoxesSidebarClass))

typedef struct _BoxesSidebar BoxesSidebar;
typedef struct _BoxesSidebarClass BoxesSidebarClass;

#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_WIZARD (boxes_wizard_get_type ())
#define BOXES_WIZARD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_WIZARD, BoxesWizard))
#define BOXES_WIZARD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_WIZARD, BoxesWizardClass))
#define BOXES_IS_WIZARD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_WIZARD))
#define BOXES_IS_WIZARD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_WIZARD))
#define BOXES_WIZARD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_WIZARD, BoxesWizardClass))

typedef struct _BoxesWizard BoxesWizard;
typedef struct _BoxesWizardClass BoxesWizardClass;

#define BOXES_TYPE_PROPERTIES (boxes_properties_get_type ())
#define BOXES_PROPERTIES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_PROPERTIES, BoxesProperties))
#define BOXES_PROPERTIES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_PROPERTIES, BoxesPropertiesClass))
#define BOXES_IS_PROPERTIES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_PROPERTIES))
#define BOXES_IS_PROPERTIES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_PROPERTIES))
#define BOXES_PROPERTIES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_PROPERTIES, BoxesPropertiesClass))

typedef struct _BoxesProperties BoxesProperties;
typedef struct _BoxesPropertiesClass BoxesPropertiesClass;

#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_COLLECTION (boxes_collection_get_type ())
#define BOXES_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_COLLECTION, BoxesCollection))
#define BOXES_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_COLLECTION, BoxesCollectionClass))
#define BOXES_IS_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_COLLECTION))
#define BOXES_IS_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_COLLECTION))
#define BOXES_COLLECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_COLLECTION, BoxesCollectionClass))

typedef struct _BoxesCollection BoxesCollection;
typedef struct _BoxesCollectionClass BoxesCollectionClass;

typedef enum  {
	BOXES_SOURCE_PAGE_MAIN,
	BOXES_SOURCE_PAGE_URL,
	BOXES_SOURCE_PAGE_LAST
} BoxesSourcePage;

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

struct _BoxesWizardScrolledClass {
	GtkScrolledWindowClass parent_class;
};

struct _BoxesWizardScrolledPrivate {
	gint num_visible;
};

struct _BoxesWizardSource {
	GObject parent_instance;
	BoxesWizardSourcePrivate * priv;
	GtkEntry* url_entry;
};

struct _BoxesWizardSourceClass {
	GObjectClass parent_class;
};

struct _BoxesWizardSourcePrivate {
	GtkWidget* _selected;
	BoxesSourcePage _page;
	BoxesInstallerMedia* _install_media;
	GtkBox* main_vbox;
	GtkBox* media_vbox;
	GtkScrolledWindow* media_scrolled;
	GtkNotebook* notebook;
	GtkLabel* url_label;
	GtkImage* url_image;
	BoxesMediaManager* media_manager;
};

typedef enum  {
	UNATTENDED_INSTALLER_ERROR_SETUP_INCOMPLETE
} UnattendedInstallerError;
#define UNATTENDED_INSTALLER_ERROR unattended_installer_error_quark ()
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_for_installation) (BoxesInstallerMedia* self, const gchar* vm_name, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*prepare_for_installation_finish) (BoxesInstallerMedia* self, GAsyncResult* _res_, GError** error);
	void (*setup_domain_config) (BoxesInstallerMedia* self, GVirConfigDomain* domain);
	void (*setup_spice_config) (BoxesInstallerMedia* self, GVirConfigDomainGraphicsSpice* graphics);
	void (*populate_setup_vbox) (BoxesInstallerMedia* self, GtkVBox* setup_vbox);
	void (*check_needed_info) (BoxesInstallerMedia* self, GError** error);
	GList* (*get_vm_properties) (BoxesInstallerMedia* self);
	gboolean (*get_need_user_input_for_vm_creation) (BoxesInstallerMedia* self);
};

struct _BoxesWizardSourceAddMediaEntriesData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesWizardSource* self;
	BoxesMediaManager* _tmp0_;
	GList* _tmp1_;
	GList* medias;
	GtkBox* _tmp2_;
	GList* _tmp3_;
	GList* child_collection;
	GList* child_it;
	GtkWidget* child;
	GtkWidget* _tmp4_;
	gconstpointer _tmp5_;
	gchar* _tmp6_;
	gchar* child_media;
	const gchar* _tmp7_;
	gboolean obsolete;
	GList* _tmp8_;
	GList* media_collection;
	GList* media_it;
	BoxesInstallerMedia* _tmp9_;
	BoxesInstallerMedia* media;
	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;
	GtkWidget* _tmp20_;
	gconstpointer _tmp21_;
	gchar* _tmp22_;
	gchar* _vala1_child_media;
	gboolean _tmp23_;
	const gchar* _tmp24_;
	const gchar* _tmp25_;
	BoxesInstallerMedia* _tmp26_;
	const gchar* _tmp27_;
	gboolean _tmp28_;
	gboolean _tmp29_;
	BoxesInstallerMedia* _tmp30_;
	GtkBox* _tmp31_;
	GList* _tmp32_;
	GList* _tmp33_;
	guint _tmp34_;
	gboolean _tmp35_;
	GtkScrolledWindow* _tmp36_;
};

struct _Block41Data {
	int _ref_count_;
	BoxesWizardSource * self;
	BoxesInstallerMedia* media;
};

struct _Block42Data {
	int _ref_count_;
	BoxesWizardSource * self;
	ClickedFunc clicked;
	gpointer clicked_target;
	GDestroyNotify clicked_target_destroy_notify;
};

struct _Block43Data {
	int _ref_count_;
	Block42Data * _data42_;
	GtkButton* button;
};

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

struct _BoxesUI {
	GObject parent_instance;
	BoxesUIPrivate * priv;
	BoxesUIState previous_ui_state;
};

struct _BoxesUIClass {
	GObjectClass parent_class;
	void (*ui_state_changed) (BoxesUI* self);
	ClutterActor* (*get_actor) (BoxesUI* self);
};

struct _BoxesApp {
	BoxesUI parent_instance;
	BoxesAppPrivate * priv;
	GtkApplicationWindow* window;
	GtkNotebook* notebook;
	GtkClutterEmbed* embed;
	ClutterStage* stage;
	ClutterBinLayout* stage_bin;
	ClutterActor* overlay_bin_actor;
	ClutterBinLayout* overlay_bin;
	BoxesCollectionItem* current_item;
	BoxesTopbar* topbar;
	BoxesNotificationbar* notificationbar;
	BoxesRevealer* sidebar_revealer;
	BoxesRevealer* topbar_revealer;
	BoxesSidebar* sidebar;
	BoxesSelectionbar* selectionbar;
	guint duration;
	GSettings* settings;
	BoxesWizard* wizard;
	BoxesProperties* properties;
	BoxesDisplayPage* display_page;
	BoxesCollection* collection;
	GSimpleAction* action_properties;
	GSimpleAction* action_fullscreen;
	GSimpleAction* action_shutdown;
};

struct _BoxesAppClass {
	BoxesUIClass parent_class;
};


static gpointer boxes_wizard_scrolled_parent_class = NULL;
static gpointer boxes_wizard_source_parent_class = NULL;
extern BoxesApp* boxes_app_app;

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))
enum  {
	BOXES_WIZARD_SCROLLED_DUMMY_PROPERTY
};
BoxesWizardScrolled* boxes_wizard_scrolled_new (gint num_visible);
BoxesWizardScrolled* boxes_wizard_scrolled_construct (GType object_type, gint num_visible);
static void __lambda106_ (BoxesWizardScrolled* self);
static void ___lambda106__gtk_widget_show (GtkWidget* _sender, gpointer self);
static void __lambda107_ (BoxesWizardScrolled* self);
static void ___lambda107__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 void boxes_wizard_scrolled_finalize (GObject* obj);
GType boxes_wizard_source_get_type (void) G_GNUC_CONST;
GType boxes_installer_media_get_type (void) G_GNUC_CONST;
GType boxes_media_manager_get_type (void) G_GNUC_CONST;
#define BOXES_WIZARD_SOURCE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_WIZARD_SOURCE, BoxesWizardSourcePrivate))
enum  {
	BOXES_WIZARD_SOURCE_DUMMY_PROPERTY,
	BOXES_WIZARD_SOURCE_WIDGET,
	BOXES_WIZARD_SOURCE_SELECTED,
	BOXES_WIZARD_SOURCE_PAGE,
	BOXES_WIZARD_SOURCE_URI,
	BOXES_WIZARD_SOURCE_INSTALL_MEDIA
};
BoxesWizardSource* boxes_wizard_source_new (BoxesMediaManager* media_manager);
BoxesWizardSource* boxes_wizard_source_construct (GType object_type, BoxesMediaManager* media_manager);
static GtkBox* boxes_wizard_source_add_entry (BoxesWizardSource* self, GtkBox* box, ClickedFunc clicked, void* clicked_target, GDestroyNotify clicked_target_destroy_notify, gint h_margin, gint v_margin, const gchar* media);
static void __lambda109_ (BoxesWizardSource* self);
void boxes_wizard_source_set_page (BoxesWizardSource* self, BoxesSourcePage value);
static void ___lambda109__clicked_func (gpointer self);
static void boxes_wizard_source_launch_file_selection_dialog (BoxesWizardSource* self);
static void _boxes_wizard_source_launch_file_selection_dialog_clicked_func (gpointer self);
static void __lambda111_ (BoxesWizardSource* self);
static void ___lambda111__clicked_func (gpointer self);
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_);
void boxes_wizard_source_update_url_page (BoxesWizardSource* self, const gchar* title, const gchar* text, const gchar* icon_name);
static void boxes_wizard_source_add_media_entries_data_free (gpointer _data);
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_);
GQuark unattended_installer_error_quark (void);
gpointer boxes_pair_ref (gpointer instance);
void boxes_pair_unref (gpointer instance);
GParamSpec* boxes_param_spec_pair (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void boxes_value_set_pair (GValue* value, gpointer v_object);
void boxes_value_take_pair (GValue* value, gpointer v_object);
gpointer boxes_value_get_pair (const GValue* value);
GType boxes_pair_get_type (void) G_GNUC_CONST;
static void boxes_wizard_source_add_media_entry (BoxesWizardSource* self, BoxesInstallerMedia* media);
static void _g_object_unref0_ (gpointer var);
static void _g_list_free__g_object_unref0_ (GList* self);
static Block41Data* block41_data_ref (Block41Data* _data41_);
static void block41_data_unref (void * _userdata_);
static void __lambda110_ (Block41Data* _data41_);
static void boxes_wizard_source_set_install_media (BoxesWizardSource* self, BoxesInstallerMedia* value);
void boxes_wizard_source_set_uri (BoxesWizardSource* self, const gchar* value);
static void ___lambda110__clicked_func (gpointer self);
GtkImage* boxes_get_os_logo (OsinfoOs* os, gint size);
static Block42Data* block42_data_ref (Block42Data* _data42_);
static void block42_data_unref (void * _userdata_);
static Block43Data* block43_data_ref (Block43Data* _data43_);
static void block43_data_unref (void * _userdata_);
static void ___lambda108_ (Block43Data* _data43_);
void boxes_wizard_source_set_selected (BoxesWizardSource* self, GtkWidget* value);
static void ____lambda108__gtk_button_clicked (GtkButton* _sender, gpointer self);
void boxes_draw_as_css_box (GtkWidget* widget);
GType boxes_ui_get_type (void) G_GNUC_CONST;
GType boxes_app_get_type (void) G_GNUC_CONST;
GType boxes_ui_state_get_type (void) G_GNUC_CONST;
GType boxes_collection_item_get_type (void) G_GNUC_CONST;
GType boxes_topbar_get_type (void) G_GNUC_CONST;
GType boxes_notificationbar_get_type (void) G_GNUC_CONST;
GType boxes_revealer_get_type (void) G_GNUC_CONST;
GType boxes_sidebar_get_type (void) G_GNUC_CONST;
GType boxes_selectionbar_get_type (void) G_GNUC_CONST;
GType boxes_wizard_get_type (void) G_GNUC_CONST;
GType boxes_properties_get_type (void) G_GNUC_CONST;
GType boxes_display_page_get_type (void) G_GNUC_CONST;
GType boxes_collection_get_type (void) G_GNUC_CONST;
GtkWidget* boxes_wizard_source_get_widget (BoxesWizardSource* self);
GtkWidget* boxes_wizard_source_get_selected (BoxesWizardSource* self);
BoxesSourcePage boxes_wizard_source_get_page (BoxesWizardSource* self);
const gchar* boxes_wizard_source_get_uri (BoxesWizardSource* self);
BoxesInstallerMedia* boxes_wizard_source_get_install_media (BoxesWizardSource* 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);


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_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 __lambda106_ (BoxesWizardScrolled* self) {
	GtkStyleContext* _tmp0_ = NULL;
#line 21 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = gtk_widget_get_style_context ((GtkWidget*) self);
#line 21 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_style_context_add_class (_tmp0_, "boxes-menu-scrolled");
#line 22 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_widget_reset_style ((GtkWidget*) self);
#line 536 "wizard-source.c"
}


static void ___lambda106__gtk_widget_show (GtkWidget* _sender, gpointer self) {
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	__lambda106_ (self);
#line 543 "wizard-source.c"
}


static void __lambda107_ (BoxesWizardScrolled* self) {
	GtkStyleContext* _tmp0_ = NULL;
#line 25 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = gtk_widget_get_style_context ((GtkWidget*) self);
#line 25 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_style_context_remove_class (_tmp0_, "boxes-menu-scrolled");
#line 26 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_widget_reset_style ((GtkWidget*) self);
#line 555 "wizard-source.c"
}


static void ___lambda107__gtk_widget_hide (GtkWidget* _sender, gpointer self) {
#line 24 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	__lambda107_ (self);
#line 562 "wizard-source.c"
}


BoxesWizardScrolled* boxes_wizard_scrolled_construct (GType object_type, gint num_visible) {
	BoxesWizardScrolled * self = NULL;
	gint _tmp0_;
	GtkStyleContext* _tmp1_ = NULL;
	GtkWidget* _tmp2_ = NULL;
	GtkWidget* _tmp3_ = NULL;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	self = (BoxesWizardScrolled*) g_object_new (object_type, NULL);
#line 17 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = num_visible;
#line 17 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	self->priv->num_visible = _tmp0_;
#line 18 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = gtk_widget_get_style_context ((GtkWidget*) self);
#line 18 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_style_context_add_class (_tmp1_, "boxes-menu-scrolled");
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_scrolled_window_set_policy ((GtkScrolledWindow*) self, GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp2_ = gtk_scrolled_window_get_vscrollbar ((GtkScrolledWindow*) self);
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_signal_connect_object (_tmp2_, "show", (GCallback) ___lambda106__gtk_widget_show, self, 0);
#line 24 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp3_ = gtk_scrolled_window_get_vscrollbar ((GtkScrolledWindow*) self);
#line 24 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_signal_connect_object (_tmp3_, "hide", (GCallback) ___lambda107__gtk_widget_hide, self, 0);
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	return self;
#line 594 "wizard-source.c"
}


BoxesWizardScrolled* boxes_wizard_scrolled_new (gint num_visible) {
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	return boxes_wizard_scrolled_construct (BOXES_TYPE_WIZARD_SCROLLED, num_visible);
#line 601 "wizard-source.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	return self ? g_object_ref (self) : NULL;
#line 608 "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;
	GtkWidget* _tmp2_ = NULL;
	GtkViewport* _tmp3_;
	GtkViewport* viewport;
	GtkViewport* _tmp4_;
	GtkWidget* _tmp5_ = NULL;
	GtkBox* _tmp6_;
	GtkBox* box;
	gint height;
	gint i;
	GtkBox* _tmp7_;
	GList* _tmp8_ = NULL;
	gint _tmp18_;
	gint _tmp19_;
	gint _tmp20_ = 0;
	gint _tmp21_;
	gint _tmp22_;
	gint _tmp23_ = 0;
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	self = (BoxesWizardScrolled*) base;
#line 31 "/extra-data/checkout/gnome/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_TYPE_SCROLLED_WINDOW, GtkScrolledWindow), &_tmp0_, &_tmp1_);
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_vala_minimum_height = _tmp0_;
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_vala_natural_height = _tmp1_;
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp2_ = gtk_bin_get_child ((GtkBin*) self);
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp3_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, GTK_TYPE_VIEWPORT) ? ((GtkViewport*) _tmp2_) : NULL);
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	viewport = _tmp3_;
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp4_ = viewport;
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp5_ = gtk_bin_get_child ((GtkBin*) _tmp4_);
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp6_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, GTK_TYPE_BOX) ? ((GtkBox*) _tmp5_) : NULL);
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	box = _tmp6_;
#line 35 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	height = 0;
#line 36 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	i = 0;
#line 37 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp7_ = box;
#line 37 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp8_ = gtk_container_get_children ((GtkContainer*) _tmp7_);
#line 665 "wizard-source.c"
	{
		GList* w_collection = NULL;
		GList* w_it = NULL;
#line 37 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		w_collection = _tmp8_;
#line 37 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		for (w_it = w_collection; w_it != NULL; w_it = w_it->next) {
#line 673 "wizard-source.c"
			GtkWidget* w = NULL;
#line 37 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			w = (GtkWidget*) w_it->data;
#line 677 "wizard-source.c"
			{
				GtkWidget* _tmp9_;
				gboolean _tmp10_ = FALSE;
				gint child_height = 0;
				GtkWidget* _tmp11_;
				gint _tmp12_ = 0;
				gint _tmp13_;
				gint _tmp14_;
				gint _tmp15_;
				gint _tmp16_;
				gint _tmp17_;
#line 38 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				_tmp9_ = w;
#line 38 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				_tmp10_ = gtk_widget_get_visible (_tmp9_);
#line 38 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				if (!_tmp10_) {
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
					continue;
#line 697 "wizard-source.c"
				}
#line 41 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				_tmp11_ = w;
#line 41 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				gtk_widget_get_preferred_height (_tmp11_, NULL, &_tmp12_);
#line 41 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				child_height = _tmp12_;
#line 42 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				_tmp13_ = height;
#line 42 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				_tmp14_ = child_height;
#line 42 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				height = _tmp13_ + _tmp14_;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				_tmp15_ = i;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				i = _tmp15_ + 1;
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				_tmp16_ = i;
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				_tmp17_ = self->priv->num_visible;
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				if (_tmp16_ == _tmp17_) {
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
					break;
#line 723 "wizard-source.c"
				}
			}
		}
#line 37 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_g_list_free0 (w_collection);
#line 729 "wizard-source.c"
	}
#line 47 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp18_ = _vala_minimum_height;
#line 47 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp19_ = height;
#line 47 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp20_ = MAX (_tmp18_, _tmp19_);
#line 47 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_vala_minimum_height = _tmp20_;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp21_ = _vala_natural_height;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp22_ = height;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp23_ = MAX (_tmp21_, _tmp22_);
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_vala_natural_height = _tmp23_;
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (box);
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (viewport);
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	if (minimum_height) {
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		*minimum_height = _vala_minimum_height;
#line 755 "wizard-source.c"
	}
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	if (natural_height) {
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		*natural_height = _vala_natural_height;
#line 761 "wizard-source.c"
	}
}


static void boxes_wizard_scrolled_class_init (BoxesWizardScrolledClass * klass) {
#line 14 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_scrolled_parent_class = g_type_class_peek_parent (klass);
#line 14 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_type_class_add_private (klass, sizeof (BoxesWizardScrolledPrivate));
#line 14 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	GTK_WIDGET_CLASS (klass)->get_preferred_height = boxes_wizard_scrolled_real_get_preferred_height;
#line 14 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_wizard_scrolled_finalize;
#line 775 "wizard-source.c"
}


static void boxes_wizard_scrolled_instance_init (BoxesWizardScrolled * self) {
#line 14 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	self->priv = BOXES_WIZARD_SCROLLED_GET_PRIVATE (self);
#line 782 "wizard-source.c"
}


static void boxes_wizard_scrolled_finalize (GObject* obj) {
	BoxesWizardScrolled * self;
#line 14 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_WIZARD_SCROLLED, BoxesWizardScrolled);
#line 14 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	G_OBJECT_CLASS (boxes_wizard_scrolled_parent_class)->finalize (obj);
#line 792 "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_TYPE_SCROLLED_WINDOW, "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 __lambda109_ (BoxesWizardSource* self) {
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_set_page (self, BOXES_SOURCE_PAGE_URL);
#line 811 "wizard-source.c"
}


static void ___lambda109__clicked_func (gpointer self) {
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	__lambda109_ (self);
#line 818 "wizard-source.c"
}


static void _boxes_wizard_source_launch_file_selection_dialog_clicked_func (gpointer self) {
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_launch_file_selection_dialog (self);
#line 825 "wizard-source.c"
}


static void __lambda111_ (BoxesWizardSource* self) {
#line 134 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_set_page (self, BOXES_SOURCE_PAGE_MAIN);
#line 832 "wizard-source.c"
}


static void ___lambda111__clicked_func (gpointer self) {
#line 134 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	__lambda111_ (self);
#line 839 "wizard-source.c"
}


BoxesWizardSource* boxes_wizard_source_construct (GType object_type, BoxesMediaManager* media_manager) {
	BoxesWizardSource * self = NULL;
	BoxesMediaManager* _tmp0_;
	BoxesMediaManager* _tmp1_;
	GtkNotebook* _tmp2_;
	GtkNotebook* _tmp3_;
	GtkNotebook* _tmp4_;
	GtkStyleContext* _tmp5_ = NULL;
	GtkNotebook* _tmp6_;
	GtkBox* _tmp7_;
	GtkBox* _tmp8_;
	GtkStyleContext* _tmp9_ = NULL;
	GtkBox* _tmp10_;
	GtkBox* _tmp11_;
	GtkBox* _tmp12_;
	GtkNotebook* _tmp13_;
	GtkBox* _tmp14_;
	BoxesWizardScrolled* _tmp15_;
	GtkBox* _tmp16_;
	GtkScrolledWindow* _tmp17_;
	GtkScrolledWindow* _tmp18_;
	GtkBox* _tmp19_;
	GtkBox* _tmp20_;
	GtkScrolledWindow* _tmp21_;
	GtkBox* _tmp22_;
	GtkBox* _tmp23_ = NULL;
	GtkBox* hbox;
	const gchar* _tmp24_ = NULL;
	GtkLabel* _tmp25_;
	GtkLabel* label;
	GtkLabel* _tmp26_;
	GtkBox* _tmp27_;
	GtkLabel* _tmp28_;
	GtkLabel* _tmp29_;
	GtkLabel* next;
	GtkBox* _tmp30_;
	GtkLabel* _tmp31_;
	GtkBox* _tmp32_;
	GtkBox* _tmp33_ = NULL;
	const gchar* _tmp34_ = NULL;
	GtkLabel* _tmp35_;
	GtkLabel* _tmp36_;
	GtkBox* _tmp37_;
	GtkLabel* _tmp38_;
	GtkLabel* _tmp39_;
	GtkBox* _tmp40_;
	GtkLabel* _tmp41_;
	GtkBox* _tmp42_;
	GtkBox* url_menubox;
	GtkStyleContext* _tmp43_ = NULL;
	GtkNotebook* _tmp44_;
	GtkBox* _tmp45_ = NULL;
	GtkLabel* _tmp46_;
	GtkLabel* prev;
	GtkBox* _tmp47_;
	const gchar* _tmp48_ = NULL;
	GtkLabel* _tmp49_;
	GtkLabel* _tmp50_;
	GtkStyleContext* _tmp51_ = NULL;
	GtkBox* _tmp52_;
	GtkLabel* _tmp53_;
	GtkBox* _tmp54_ = NULL;
	GtkBox* vbox;
	GtkEntry* _tmp55_;
	GtkEntry* _tmp56_;
	GtkBox* _tmp57_;
	GtkImage* _tmp58_;
	GtkImage* _tmp59_;
	GtkBox* _tmp60_;
	GtkImage* _tmp61_;
	GtkLabel* _tmp62_;
	GtkLabel* _tmp63_;
	GtkLabel* _tmp64_;
	const gchar* _tmp65_ = NULL;
	GtkLabel* _tmp66_;
	GtkLabel* _tmp67_;
	GtkLabel* _tmp68_;
	GtkBox* _tmp69_;
	GtkLabel* _tmp70_;
	GtkBox* _tmp71_;
	GtkNotebook* _tmp72_;
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (media_manager != NULL, NULL);
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	self = (BoxesWizardSource*) g_object_new (object_type, NULL);
#line 93 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = media_manager;
#line 93 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 93 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->media_manager);
#line 93 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	self->priv->media_manager = _tmp1_;
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp2_ = (GtkNotebook*) gtk_notebook_new ();
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_ref_sink (_tmp2_);
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->notebook);
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	self->priv->notebook = _tmp2_;
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp3_ = self->priv->notebook;
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_set ((GtkWidget*) _tmp3_, "width-request", 500, NULL);
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp4_ = self->priv->notebook;
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp5_ = gtk_widget_get_style_context ((GtkWidget*) _tmp4_);
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_style_context_add_class (_tmp5_, "boxes-source-nb");
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp6_ = self->priv->notebook;
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_notebook_set_show_tabs (_tmp6_, FALSE);
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp7_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_ref_sink (_tmp7_);
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->main_vbox);
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	self->priv->main_vbox = _tmp7_;
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp8_ = self->priv->main_vbox;
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp9_ = gtk_widget_get_style_context ((GtkWidget*) _tmp8_);
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_style_context_add_class (_tmp9_, "boxes-menu");
#line 103 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp10_ = self->priv->main_vbox;
#line 103 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp11_ = self->priv->main_vbox;
#line 103 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_widget_set_margin_bottom ((GtkWidget*) _tmp11_, 15);
#line 103 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_widget_set_margin_top ((GtkWidget*) _tmp10_, 15);
#line 104 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp12_ = self->priv->main_vbox;
#line 104 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_widget_grab_focus ((GtkWidget*) _tmp12_);
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp13_ = self->priv->notebook;
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp14_ = self->priv->main_vbox;
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_notebook_append_page (_tmp13_, (GtkWidget*) _tmp14_, NULL);
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp15_ = boxes_wizard_scrolled_new (6);
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_ref_sink (_tmp15_);
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->media_scrolled);
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	self->priv->media_scrolled = (GtkScrolledWindow*) _tmp15_;
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp16_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_ref_sink (_tmp16_);
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->media_vbox);
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	self->priv->media_vbox = _tmp16_;
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp17_ = self->priv->media_scrolled;
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_widget_set_no_show_all ((GtkWidget*) _tmp17_, TRUE);
#line 111 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp18_ = self->priv->media_scrolled;
#line 111 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp19_ = self->priv->media_vbox;
#line 111 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_scrolled_window_add_with_viewport (_tmp18_, (GtkWidget*) _tmp19_);
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp20_ = self->priv->main_vbox;
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp21_ = self->priv->media_scrolled;
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_container_add ((GtkContainer*) _tmp20_, (GtkWidget*) _tmp21_);
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp22_ = self->priv->main_vbox;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp23_ = boxes_wizard_source_add_entry (self, _tmp22_, ___lambda109__clicked_func, g_object_ref (self), g_object_unref, 20, 10, NULL);
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	hbox = _tmp23_;
#line 115 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp24_ = _ ("Enter URL");
#line 115 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp25_ = (GtkLabel*) gtk_label_new (_tmp24_);
#line 115 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_ref_sink (_tmp25_);
#line 115 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	label = _tmp25_;
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp26_ = label;
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_set ((GtkMisc*) _tmp26_, "xalign", 0.0f, NULL);
#line 117 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp27_ = hbox;
#line 117 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp28_ = label;
#line 117 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_box_pack_start (_tmp27_, (GtkWidget*) _tmp28_, TRUE, TRUE, (guint) 0);
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp29_ = (GtkLabel*) gtk_label_new ("▶");
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_ref_sink (_tmp29_);
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	next = _tmp29_;
#line 119 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp30_ = hbox;
#line 119 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp31_ = next;
#line 119 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_box_pack_start (_tmp30_, (GtkWidget*) _tmp31_, FALSE, FALSE, (guint) 0);
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp32_ = self->priv->main_vbox;
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp33_ = boxes_wizard_source_add_entry (self, _tmp32_, _boxes_wizard_source_launch_file_selection_dialog_clicked_func, g_object_ref (self), g_object_unref, 20, 10, NULL);
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (hbox);
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	hbox = _tmp33_;
#line 122 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp34_ = _ ("Select a file");
#line 122 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp35_ = (GtkLabel*) gtk_label_new (_tmp34_);
#line 122 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_ref_sink (_tmp35_);
#line 122 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (label);
#line 122 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	label = _tmp35_;
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp36_ = label;
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_set ((GtkMisc*) _tmp36_, "xalign", 0.0f, NULL);
#line 124 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp37_ = hbox;
#line 124 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp38_ = label;
#line 124 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_box_pack_start (_tmp37_, (GtkWidget*) _tmp38_, TRUE, TRUE, (guint) 0);
#line 125 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp39_ = (GtkLabel*) gtk_label_new ("▶");
#line 125 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_ref_sink (_tmp39_);
#line 125 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (next);
#line 125 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	next = _tmp39_;
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp40_ = hbox;
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp41_ = next;
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_box_pack_start (_tmp40_, (GtkWidget*) _tmp41_, FALSE, FALSE, (guint) 0);
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp42_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_ref_sink (_tmp42_);
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	url_menubox = _tmp42_;
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp43_ = gtk_widget_get_style_context ((GtkWidget*) url_menubox);
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_style_context_add_class (_tmp43_, "boxes-menu");
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_widget_set_margin_bottom ((GtkWidget*) url_menubox, 15);
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_widget_set_margin_top ((GtkWidget*) url_menubox, 15);
#line 132 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp44_ = self->priv->notebook;
#line 132 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_notebook_append_page (_tmp44_, (GtkWidget*) url_menubox, NULL);
#line 134 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp45_ = boxes_wizard_source_add_entry (self, url_menubox, ___lambda111__clicked_func, g_object_ref (self), g_object_unref, 20, 10, NULL);
#line 134 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (hbox);
#line 134 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	hbox = _tmp45_;
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp46_ = (GtkLabel*) gtk_label_new ("◀");
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_ref_sink (_tmp46_);
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	prev = _tmp46_;
#line 136 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp47_ = hbox;
#line 136 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_box_pack_start (_tmp47_, (GtkWidget*) prev, FALSE, FALSE, (guint) 0);
#line 137 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp48_ = _ ("Enter URL");
#line 137 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp49_ = (GtkLabel*) gtk_label_new (_tmp48_);
#line 137 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_ref_sink (_tmp49_);
#line 137 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (label);
#line 137 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	label = _tmp49_;
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp50_ = label;
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp51_ = gtk_widget_get_style_context ((GtkWidget*) _tmp50_);
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_style_context_add_class (_tmp51_, "boxes-source-label");
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp52_ = hbox;
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp53_ = label;
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_box_pack_start (_tmp52_, (GtkWidget*) _tmp53_, TRUE, TRUE, (guint) 0);
#line 141 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp54_ = boxes_wizard_source_add_entry (self, url_menubox, NULL, NULL, NULL, 20, 10, NULL);
#line 141 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	vbox = _tmp54_;
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_orientable_set_orientation ((GtkOrientable*) vbox, GTK_ORIENTATION_VERTICAL);
#line 143 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp55_ = (GtkEntry*) gtk_entry_new ();
#line 143 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_ref_sink (_tmp55_);
#line 143 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->url_entry);
#line 143 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	self->url_entry = _tmp55_;
#line 144 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp56_ = self->url_entry;
#line 144 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_container_add ((GtkContainer*) vbox, (GtkWidget*) _tmp56_);
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp57_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_ref_sink (_tmp57_);
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (hbox);
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	hbox = _tmp57_;
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp58_ = (GtkImage*) gtk_image_new_from_icon_name ("network-workgroup", 0);
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_ref_sink (_tmp58_);
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->url_image);
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	self->priv->url_image = _tmp58_;
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp59_ = self->priv->url_image;
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_image_set_pixel_size (_tmp59_, 96);
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp60_ = hbox;
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp61_ = self->priv->url_image;
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_box_pack_start (_tmp60_, (GtkWidget*) _tmp61_, FALSE, FALSE, (guint) 0);
#line 152 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp62_ = (GtkLabel*) gtk_label_new (NULL);
#line 152 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_ref_sink (_tmp62_);
#line 152 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->url_label);
#line 152 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	self->priv->url_label = _tmp62_;
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp63_ = self->priv->url_label;
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_set ((GtkMisc*) _tmp63_, "xalign", 0.0f, NULL);
#line 154 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp64_ = self->priv->url_label;
#line 154 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp65_ = _ ("<b>Desktop Access</b>\n" \
"\n" \
"Will add boxes for all systems available from this account.");
#line 154 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_label_set_markup (_tmp64_, _tmp65_);
#line 155 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp66_ = self->priv->url_label;
#line 155 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_label_set_use_markup (_tmp66_, TRUE);
#line 156 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp67_ = self->priv->url_label;
#line 156 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_set (_tmp67_, "wrap", TRUE, NULL);
#line 158 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp68_ = self->priv->url_label;
#line 158 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_label_set_width_chars (_tmp68_, 30);
#line 160 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp69_ = hbox;
#line 160 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp70_ = self->priv->url_label;
#line 160 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_box_pack_start (_tmp69_, (GtkWidget*) _tmp70_, TRUE, TRUE, (guint) 0);
#line 161 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp71_ = hbox;
#line 161 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_container_add ((GtkContainer*) vbox, (GtkWidget*) _tmp71_);
#line 163 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp72_ = self->priv->notebook;
#line 163 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_widget_show_all ((GtkWidget*) _tmp72_);
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_add_media_entries (self, NULL, NULL);
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (vbox);
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (prev);
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (url_menubox);
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (next);
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (label);
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (hbox);
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	return self;
#line 1260 "wizard-source.c"
}


BoxesWizardSource* boxes_wizard_source_new (BoxesMediaManager* media_manager) {
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	return boxes_wizard_source_construct (BOXES_TYPE_WIZARD_SOURCE, media_manager);
#line 1267 "wizard-source.c"
}


void boxes_wizard_source_update_url_page (BoxesWizardSource* self, const gchar* title, const gchar* text, const gchar* icon_name) {
	GtkLabel* _tmp0_;
	const gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
	gchar* _tmp4_;
	gchar* _tmp5_;
	const gchar* _tmp6_;
	gchar* _tmp7_;
	gchar* _tmp8_;
	GtkImage* _tmp9_;
	const gchar* _tmp10_;
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (self != NULL);
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (title != NULL);
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (text != NULL);
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (icon_name != NULL);
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = self->priv->url_label;
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = title;
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp2_ = g_strconcat ("<b>", _tmp1_, NULL);
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp3_ = _tmp2_;
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp4_ = g_strconcat (_tmp3_, "</b>\n\n", NULL);
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp5_ = _tmp4_;
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp6_ = text;
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp7_ = g_strconcat (_tmp5_, _tmp6_, NULL);
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp8_ = _tmp7_;
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_label_set_markup (_tmp0_, _tmp8_);
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_free0 (_tmp8_);
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_free0 (_tmp5_);
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_free0 (_tmp3_);
#line 170 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp9_ = self->priv->url_image;
#line 170 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp10_ = icon_name;
#line 170 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_set (_tmp9_, "icon-name", _tmp10_, NULL);
#line 1323 "wizard-source.c"
}


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


static void boxes_wizard_source_add_media_entries (BoxesWizardSource* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesWizardSourceAddMediaEntriesData* _data_;
	BoxesWizardSource* _tmp0_;
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data_ = g_slice_new0 (BoxesWizardSourceAddMediaEntriesData);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_wizard_source_add_media_entries);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_wizard_source_add_media_entries_data_free);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data_->self = _tmp0_;
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_add_media_entries_co (_data_);
#line 1353 "wizard-source.c"
}


static void boxes_wizard_source_add_media_entries_finish (BoxesWizardSource* self, GAsyncResult* _res_) {
	BoxesWizardSourceAddMediaEntriesData* _data_;
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 1361 "wizard-source.c"
}


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


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


static void _g_list_free__g_object_unref0_ (GList* self) {
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_list_foreach (self, (GFunc) _g_object_unref0_, NULL);
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_list_free (self);
#line 1391 "wizard-source.c"
}


static gboolean boxes_wizard_source_add_media_entries_co (BoxesWizardSourceAddMediaEntriesData* _data_) {
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	switch (_data_->_state_) {
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		case 0:
#line 1400 "wizard-source.c"
		goto _state_0;
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		case 1:
#line 1404 "wizard-source.c"
		goto _state_1;
		default:
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		g_assert_not_reached ();
#line 1409 "wizard-source.c"
	}
	_state_0:
#line 174 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp0_ = _data_->self->priv->media_manager;
#line 174 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data_->_state_ = 1;
#line 174 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	boxes_media_manager_list_installer_medias (_data_->_tmp0_, boxes_wizard_source_add_media_entries_ready, _data_);
#line 174 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	return FALSE;
#line 1420 "wizard-source.c"
	_state_1:
#line 174 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp1_ = NULL;
#line 174 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp1_ = boxes_media_manager_list_installer_medias_finish (_data_->_tmp0_, _data_->_res_);
#line 174 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data_->medias = _data_->_tmp1_;
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp2_ = _data_->self->priv->media_vbox;
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp3_ = NULL;
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp3_ = gtk_container_get_children ((GtkContainer*) _data_->_tmp2_);
#line 1434 "wizard-source.c"
	{
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_data_->child_collection = _data_->_tmp3_;
#line 176 "/extra-data/checkout/gnome/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 176 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_data_->child = (GtkWidget*) _data_->child_it->data;
#line 1442 "wizard-source.c"
			{
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				_data_->_tmp4_ = _data_->child;
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				_data_->_tmp5_ = NULL;
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				_data_->_tmp5_ = g_object_get_data ((GObject*) _data_->_tmp4_, "boxes-media");
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				_data_->_tmp6_ = g_strdup ((const gchar*) _data_->_tmp5_);
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				_data_->child_media = _data_->_tmp6_;
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				_data_->_tmp7_ = _data_->child_media;
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				if (_data_->_tmp7_ == NULL) {
#line 179 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
					_g_free0 (_data_->child_media);
#line 179 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
					continue;
#line 1462 "wizard-source.c"
				}
#line 181 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				_data_->obsolete = TRUE;
#line 182 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				_data_->_tmp8_ = _data_->medias;
#line 1468 "wizard-source.c"
				{
#line 182 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
					_data_->media_collection = _data_->_tmp8_;
#line 182 "/extra-data/checkout/gnome/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 182 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
						_data_->_tmp9_ = _g_object_ref0 ((BoxesInstallerMedia*) _data_->media_it->data);
#line 182 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
						_data_->media = _data_->_tmp9_;
#line 1478 "wizard-source.c"
						{
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
							_data_->_tmp10_ = _data_->child_media;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
							_data_->_tmp11_ = _data_->media;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
							_data_->_tmp12_ = _data_->_tmp11_->device_file;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
							if (g_strcmp0 (_data_->_tmp10_, _data_->_tmp12_) == 0) {
#line 184 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
								_data_->obsolete = FALSE;
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
								_g_object_unref0 (_data_->media);
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
								break;
#line 1494 "wizard-source.c"
							}
#line 182 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
							_g_object_unref0 (_data_->media);
#line 1498 "wizard-source.c"
						}
					}
				}
#line 189 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				_data_->_tmp13_ = _data_->obsolete;
#line 189 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				if (_data_->_tmp13_) {
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
					_data_->_tmp14_ = _data_->self->priv->main_vbox;
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
					_data_->_tmp15_ = _data_->child;
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
					gtk_container_remove ((GtkContainer*) _data_->_tmp14_, _data_->_tmp15_);
#line 1512 "wizard-source.c"
				}
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				_g_free0 (_data_->child_media);
#line 1516 "wizard-source.c"
			}
		}
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_g_list_free0 (_data_->child_collection);
#line 1521 "wizard-source.c"
	}
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp16_ = _data_->medias;
#line 1525 "wizard-source.c"
	{
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_data_->_vala1_media_collection = _data_->_tmp16_;
#line 193 "/extra-data/checkout/gnome/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 193 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_data_->_tmp17_ = _g_object_ref0 ((BoxesInstallerMedia*) _data_->_vala1_media_it->data);
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_data_->_vala1_media = _data_->_tmp17_;
#line 1535 "wizard-source.c"
			{
#line 194 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				_data_->nouveau = TRUE;
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				_data_->_tmp18_ = _data_->self->priv->media_vbox;
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				_data_->_tmp19_ = NULL;
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				_data_->_tmp19_ = gtk_container_get_children ((GtkContainer*) _data_->_tmp18_);
#line 1545 "wizard-source.c"
				{
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
					_data_->_vala1_child_collection = _data_->_tmp19_;
#line 195 "/extra-data/checkout/gnome/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 195 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
						_data_->_vala1_child = (GtkWidget*) _data_->_vala1_child_it->data;
#line 1553 "wizard-source.c"
						{
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
							_data_->_tmp20_ = _data_->_vala1_child;
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
							_data_->_tmp21_ = NULL;
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
							_data_->_tmp21_ = g_object_get_data ((GObject*) _data_->_tmp20_, "boxes-media");
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
							_data_->_tmp22_ = g_strdup ((const gchar*) _data_->_tmp21_);
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
							_data_->_vala1_child_media = _data_->_tmp22_;
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
							_data_->_tmp24_ = _data_->_vala1_child_media;
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
							if (_data_->_tmp24_ != NULL) {
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
								_data_->_tmp25_ = _data_->_vala1_child_media;
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
								_data_->_tmp26_ = _data_->_vala1_media;
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
								_data_->_tmp27_ = _data_->_tmp26_->device_file;
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
								_data_->_tmp23_ = g_strcmp0 (_data_->_tmp25_, _data_->_tmp27_) == 0;
#line 1577 "wizard-source.c"
							} else {
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
								_data_->_tmp23_ = FALSE;
#line 1581 "wizard-source.c"
							}
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
							_data_->_tmp28_ = _data_->_tmp23_;
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
							if (_data_->_tmp28_) {
#line 198 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
								_data_->nouveau = FALSE;
#line 200 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
								_g_free0 (_data_->_vala1_child_media);
#line 200 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
								break;
#line 1593 "wizard-source.c"
							}
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
							_g_free0 (_data_->_vala1_child_media);
#line 1597 "wizard-source.c"
						}
					}
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
					_g_list_free0 (_data_->_vala1_child_collection);
#line 1602 "wizard-source.c"
				}
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				_data_->_tmp29_ = _data_->nouveau;
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				if (_data_->_tmp29_) {
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
					_data_->_tmp30_ = _data_->_vala1_media;
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
					boxes_wizard_source_add_media_entry (_data_->self, _data_->_tmp30_);
#line 1612 "wizard-source.c"
				}
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
				_g_object_unref0 (_data_->_vala1_media);
#line 1616 "wizard-source.c"
			}
		}
	}
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp31_ = _data_->self->priv->media_vbox;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp32_ = NULL;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp32_ = gtk_container_get_children ((GtkContainer*) _data_->_tmp31_);
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp33_ = _data_->_tmp32_;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp34_ = 0U;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp34_ = g_list_length (_data_->_tmp33_);
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data_->_tmp35_ = _data_->_tmp34_ == ((guint) 0);
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_list_free0 (_data_->_tmp33_);
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	if (_data_->_tmp35_) {
#line 210 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_data_->_tmp36_ = _data_->self->priv->media_scrolled;
#line 210 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		gtk_widget_hide ((GtkWidget*) _data_->_tmp36_);
#line 1642 "wizard-source.c"
	}
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	__g_list_free__g_object_unref0_0 (_data_->medias);
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	if (_data_->_state_ == 0) {
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1650 "wizard-source.c"
	} else {
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1654 "wizard-source.c"
	}
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_unref (_data_->_async_result);
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	return FALSE;
#line 1660 "wizard-source.c"
}


static Block41Data* block41_data_ref (Block41Data* _data41_) {
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_atomic_int_inc (&_data41_->_ref_count_);
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	return _data41_;
#line 1669 "wizard-source.c"
}


static void block41_data_unref (void * _userdata_) {
	Block41Data* _data41_;
	_data41_ = (Block41Data*) _userdata_;
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	if (g_atomic_int_dec_and_test (&_data41_->_ref_count_)) {
#line 1678 "wizard-source.c"
		BoxesWizardSource * self;
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		self = _data41_->self;
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (_data41_->media);
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (self);
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		g_slice_free (Block41Data, _data41_);
#line 1688 "wizard-source.c"
	}
}


static void __lambda110_ (Block41Data* _data41_) {
	BoxesWizardSource * self;
	BoxesInstallerMedia* _tmp0_;
	BoxesInstallerMedia* _tmp1_;
	const gchar* _tmp2_;
	GtkEntry* _tmp3_;
#line 214 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	self = _data41_->self;
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = _data41_->media;
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_set_install_media (self, _tmp0_);
#line 216 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = _data41_->media;
#line 216 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp2_ = _tmp1_->device_file;
#line 216 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_set_uri (self, _tmp2_);
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp3_ = self->url_entry;
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_signal_emit_by_name (_tmp3_, "activate");
#line 1715 "wizard-source.c"
}


static void ___lambda110__clicked_func (gpointer self) {
#line 214 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	__lambda110_ (self);
#line 1722 "wizard-source.c"
}


static void boxes_wizard_source_add_media_entry (BoxesWizardSource* self, BoxesInstallerMedia* media) {
	Block41Data* _data41_;
	BoxesInstallerMedia* _tmp0_;
	BoxesInstallerMedia* _tmp1_;
	GtkBox* _tmp2_;
	BoxesInstallerMedia* _tmp3_;
	const gchar* _tmp4_;
	GtkBox* _tmp5_ = NULL;
	GtkBox* hbox;
	BoxesInstallerMedia* _tmp6_;
	OsinfoOs* _tmp7_;
	GtkImage* _tmp8_ = NULL;
	GtkImage* image;
	GtkBox* _tmp9_;
	GtkImage* _tmp10_;
	GtkVBox* _tmp11_;
	GtkVBox* vbox;
	GtkBox* _tmp12_;
	GtkVBox* _tmp13_;
	BoxesInstallerMedia* _tmp14_;
	const gchar* _tmp15_;
	GtkLabel* _tmp16_;
	GtkLabel* label;
	GtkLabel* _tmp17_;
	GtkLabel* _tmp18_;
	GtkStyleContext* _tmp19_ = NULL;
	GtkLabel* _tmp20_;
	GtkVBox* _tmp21_;
	GtkLabel* _tmp22_;
	BoxesInstallerMedia* _tmp23_;
	OsinfoMedia* _tmp24_;
	GtkBox* _tmp68_;
	GtkScrolledWindow* _tmp69_;
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (self != NULL);
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (media != NULL);
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data41_ = g_slice_new0 (Block41Data);
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data41_->_ref_count_ = 1;
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data41_->self = g_object_ref (self);
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = media;
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data41_->media = _tmp1_;
#line 214 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp2_ = self->priv->media_vbox;
#line 214 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp3_ = _data41_->media;
#line 214 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp4_ = _tmp3_->device_file;
#line 214 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp5_ = boxes_wizard_source_add_entry (self, _tmp2_, ___lambda110__clicked_func, block41_data_ref (_data41_), block41_data_unref, 15, 5, _tmp4_);
#line 214 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	hbox = _tmp5_;
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp6_ = _data41_->media;
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp7_ = _tmp6_->os;
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp8_ = boxes_get_os_logo (_tmp7_, 64);
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	image = _tmp8_;
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp9_ = hbox;
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp10_ = image;
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_box_pack_start (_tmp9_, (GtkWidget*) _tmp10_, FALSE, FALSE, (guint) 0);
#line 223 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp11_ = (GtkVBox*) gtk_vbox_new (TRUE, 5);
#line 223 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_ref_sink (_tmp11_);
#line 223 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	vbox = _tmp11_;
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp12_ = hbox;
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp13_ = vbox;
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_box_pack_start (_tmp12_, (GtkWidget*) _tmp13_, TRUE, TRUE, (guint) 0);
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp14_ = _data41_->media;
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp15_ = _tmp14_->label;
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp16_ = (GtkLabel*) gtk_label_new (_tmp15_);
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_ref_sink (_tmp16_);
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	label = _tmp16_;
#line 227 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp17_ = label;
#line 227 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_label_set_ellipsize (_tmp17_, PANGO_ELLIPSIZE_END);
#line 228 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp18_ = label;
#line 228 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp19_ = gtk_widget_get_style_context ((GtkWidget*) _tmp18_);
#line 228 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_style_context_add_class (_tmp19_, "boxes-source-label");
#line 229 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp20_ = label;
#line 229 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_set ((GtkMisc*) _tmp20_, "xalign", 0.0f, NULL);
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp21_ = vbox;
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp22_ = label;
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_box_pack_start ((GtkBox*) _tmp21_, (GtkWidget*) _tmp22_, TRUE, TRUE, (guint) 0);
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp23_ = _data41_->media;
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp24_ = _tmp23_->os_media;
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	if (_tmp24_ != NULL) {
#line 1847 "wizard-source.c"
		const gchar* _tmp25_ = NULL;
		gboolean _tmp26_ = FALSE;
		BoxesInstallerMedia* _tmp27_;
		OsinfoMedia* _tmp28_;
		gchar* _tmp29_ = NULL;
		gchar* _tmp30_;
		gchar* _tmp31_;
		gboolean _tmp32_;
		gboolean _tmp38_;
		const gchar* _tmp41_;
		gchar* _tmp42_;
		gchar* architecture;
		const gchar* _tmp43_;
		GtkLabel* _tmp44_;
		GtkLabel* _tmp45_;
		GtkLabel* _tmp46_;
		GtkStyleContext* _tmp47_ = NULL;
		GtkLabel* _tmp48_;
		GtkVBox* _tmp49_;
		GtkLabel* _tmp50_;
		BoxesInstallerMedia* _tmp51_;
		OsinfoOs* _tmp52_;
		const gchar* _tmp53_;
		const gchar* _tmp54_;
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp27_ = _data41_->media;
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp28_ = _tmp27_->os_media;
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		g_object_get (_tmp28_, "architecture", &_tmp29_, NULL);
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp30_ = _tmp29_;
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp31_ = _tmp30_;
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp32_ = g_strcmp0 (_tmp31_, "i386") == 0;
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_g_free0 (_tmp31_);
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		if (_tmp32_) {
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_tmp26_ = TRUE;
#line 1890 "wizard-source.c"
		} else {
			BoxesInstallerMedia* _tmp33_;
			OsinfoMedia* _tmp34_;
			gchar* _tmp35_ = NULL;
			gchar* _tmp36_;
			gchar* _tmp37_;
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_tmp33_ = _data41_->media;
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_tmp34_ = _tmp33_->os_media;
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			g_object_get (_tmp34_, "architecture", &_tmp35_, NULL);
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_tmp36_ = _tmp35_;
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_tmp37_ = _tmp36_;
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_tmp26_ = g_strcmp0 (_tmp37_, "i686") == 0;
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_g_free0 (_tmp37_);
#line 1911 "wizard-source.c"
		}
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp38_ = _tmp26_;
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		if (_tmp38_) {
#line 1917 "wizard-source.c"
			const gchar* _tmp39_ = NULL;
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_tmp39_ = _ ("32-bit x86 system");
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_tmp25_ = _tmp39_;
#line 1923 "wizard-source.c"
		} else {
			const gchar* _tmp40_ = NULL;
#line 235 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_tmp40_ = _ ("64-bit x86 system");
#line 235 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_tmp25_ = _tmp40_;
#line 1930 "wizard-source.c"
		}
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp41_ = _tmp25_;
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp42_ = g_strdup (_tmp41_);
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		architecture = _tmp42_;
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp43_ = architecture;
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp44_ = (GtkLabel*) gtk_label_new (_tmp43_);
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		g_object_ref_sink (_tmp44_);
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (label);
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		label = _tmp44_;
#line 237 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp45_ = label;
#line 237 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		gtk_label_set_ellipsize (_tmp45_, PANGO_ELLIPSIZE_END);
#line 238 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp46_ = label;
#line 238 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp47_ = gtk_widget_get_style_context ((GtkWidget*) _tmp46_);
#line 238 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		gtk_style_context_add_class (_tmp47_, "boxes-step-label");
#line 239 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp48_ = label;
#line 239 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		g_object_set ((GtkMisc*) _tmp48_, "xalign", 0.0f, NULL);
#line 240 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp49_ = vbox;
#line 240 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp50_ = label;
#line 240 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		gtk_box_pack_start ((GtkBox*) _tmp49_, (GtkWidget*) _tmp50_, TRUE, TRUE, (guint) 0);
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp51_ = _data41_->media;
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp52_ = _tmp51_->os;
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp53_ = osinfo_product_get_vendor ((OsinfoProduct*) _tmp52_);
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp54_ = _tmp53_;
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		if (_tmp54_ != NULL) {
#line 1978 "wizard-source.c"
			GtkLabel* _tmp55_;
			GtkLabel* _tmp56_;
			const gchar* _tmp57_;
			const gchar* _tmp58_;
			const gchar* _tmp59_ = NULL;
			BoxesInstallerMedia* _tmp60_;
			OsinfoOs* _tmp61_;
			const gchar* _tmp62_;
			const gchar* _tmp63_;
			gchar* _tmp64_ = NULL;
			gchar* _tmp65_;
			gchar* _tmp66_;
			gchar* _tmp67_;
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_tmp55_ = label;
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_tmp56_ = label;
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_tmp57_ = gtk_label_get_label (_tmp56_);
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_tmp58_ = _tmp57_;
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_tmp59_ = _ (" from %s");
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_tmp60_ = _data41_->media;
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_tmp61_ = _tmp60_->os;
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_tmp62_ = osinfo_product_get_vendor ((OsinfoProduct*) _tmp61_);
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_tmp63_ = _tmp62_;
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_tmp64_ = g_strdup_printf (_tmp59_, _tmp63_);
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_tmp65_ = _tmp64_;
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_tmp66_ = g_strconcat (_tmp58_, _tmp65_, NULL);
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_tmp67_ = _tmp66_;
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			gtk_label_set_label (_tmp56_, _tmp67_);
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_g_free0 (_tmp67_);
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_g_free0 (_tmp65_);
#line 2024 "wizard-source.c"
		}
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_g_free0 (architecture);
#line 2028 "wizard-source.c"
	}
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp68_ = self->priv->media_vbox;
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_widget_show_all ((GtkWidget*) _tmp68_);
#line 248 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp69_ = self->priv->media_scrolled;
#line 248 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_widget_show ((GtkWidget*) _tmp69_);
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (label);
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (vbox);
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (image);
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (hbox);
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	block41_data_unref (_data41_);
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data41_ = NULL;
#line 2050 "wizard-source.c"
}


static Block42Data* block42_data_ref (Block42Data* _data42_) {
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_atomic_int_inc (&_data42_->_ref_count_);
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	return _data42_;
#line 2059 "wizard-source.c"
}


static void block42_data_unref (void * _userdata_) {
	Block42Data* _data42_;
	_data42_ = (Block42Data*) _userdata_;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	if (g_atomic_int_dec_and_test (&_data42_->_ref_count_)) {
#line 2068 "wizard-source.c"
		BoxesWizardSource * self;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		self = _data42_->self;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		(_data42_->clicked_target_destroy_notify == NULL) ? NULL : (_data42_->clicked_target_destroy_notify (_data42_->clicked_target), NULL);
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_data42_->clicked = NULL;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_data42_->clicked_target = NULL;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_data42_->clicked_target_destroy_notify = NULL;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (self);
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		g_slice_free (Block42Data, _data42_);
#line 2084 "wizard-source.c"
	}
}


static Block43Data* block43_data_ref (Block43Data* _data43_) {
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_atomic_int_inc (&_data43_->_ref_count_);
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	return _data43_;
#line 2094 "wizard-source.c"
}


static void block43_data_unref (void * _userdata_) {
	Block43Data* _data43_;
	_data43_ = (Block43Data*) _userdata_;
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	if (g_atomic_int_dec_and_test (&_data43_->_ref_count_)) {
#line 2103 "wizard-source.c"
		BoxesWizardSource * self;
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		self = _data43_->_data42_->self;
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (_data43_->button);
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		block42_data_unref (_data43_->_data42_);
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_data43_->_data42_ = NULL;
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		g_slice_free (Block43Data, _data43_);
#line 2115 "wizard-source.c"
	}
}


static void ___lambda108_ (Block43Data* _data43_) {
	Block42Data* _data42_;
	BoxesWizardSource * self;
	GtkButton* _tmp0_;
	ClickedFunc _tmp1_;
	void* _tmp1__target;
#line 259 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data42_ = _data43_->_data42_;
#line 259 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	self = _data42_->self;
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = _data43_->button;
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_set_selected (self, (GtkWidget*) _tmp0_);
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = _data42_->clicked;
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp1__target = _data42_->clicked_target;
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp1_ (_tmp1__target);
#line 2140 "wizard-source.c"
}


static void ____lambda108__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 259 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	___lambda108_ (self);
#line 2147 "wizard-source.c"
}


static GtkBox* boxes_wizard_source_add_entry (BoxesWizardSource* self, GtkBox* box, ClickedFunc clicked, void* clicked_target, GDestroyNotify clicked_target_destroy_notify, gint h_margin, gint v_margin, const gchar* media) {
	GtkBox* result = NULL;
	Block42Data* _data42_;
	ClickedFunc _tmp0_;
	void* _tmp0__target;
	GtkContainer* row = NULL;
	ClickedFunc _tmp1_;
	void* _tmp1__target;
	GtkBox* _tmp10_;
	GtkBox* hbox;
	GtkContainer* _tmp11_;
	GtkBox* _tmp12_;
	GtkContainer* _tmp13_;
	GtkStyleContext* _tmp14_ = NULL;
	GtkBox* _tmp15_;
	GtkContainer* _tmp16_;
	const gchar* _tmp17_;
	GtkBox* _tmp21_;
	GtkBox* _tmp22_;
	gint _tmp23_;
	GtkBox* _tmp24_;
	GtkBox* _tmp25_;
	gint _tmp26_;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (box != NULL, NULL);
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data42_ = g_slice_new0 (Block42Data);
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data42_->_ref_count_ = 1;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data42_->self = g_object_ref (self);
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = clicked;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp0__target = clicked_target;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	(_data42_->clicked_target_destroy_notify == NULL) ? NULL : (_data42_->clicked_target_destroy_notify (_data42_->clicked_target), NULL);
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data42_->clicked = NULL;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data42_->clicked_target = NULL;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data42_->clicked_target_destroy_notify = NULL;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data42_->clicked = _tmp0_;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data42_->clicked_target = _tmp0__target;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data42_->clicked_target_destroy_notify = clicked_target_destroy_notify;
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = _data42_->clicked;
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp1__target = _data42_->clicked_target;
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	if (_tmp1_ != NULL) {
#line 2208 "wizard-source.c"
		Block43Data* _data43_;
		GtkButton* _tmp2_;
		GtkButton* _tmp3_;
		GtkButton* _tmp4_;
		GtkContainer* _tmp5_;
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_data43_ = g_slice_new0 (Block43Data);
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_data43_->_ref_count_ = 1;
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_data43_->_data42_ = block42_data_ref (_data42_);
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp2_ = (GtkButton*) gtk_button_new ();
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		g_object_ref_sink (_tmp2_);
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_data43_->button = _tmp2_;
#line 259 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp3_ = _data43_->button;
#line 259 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		g_signal_connect_data (_tmp3_, "clicked", (GCallback) ____lambda108__gtk_button_clicked, block43_data_ref (_data43_), (GClosureNotify) block43_data_unref, 0);
#line 263 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp4_ = _data43_->button;
#line 263 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp5_ = _g_object_ref0 ((GtkContainer*) _tmp4_);
#line 263 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (row);
#line 263 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		row = _tmp5_;
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		block43_data_unref (_data43_);
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_data43_ = NULL;
#line 2242 "wizard-source.c"
	} else {
		GtkAlignment* _tmp6_;
		GtkAlignment* bin;
		GtkAlignment* _tmp7_;
		GtkAlignment* _tmp8_;
		GtkContainer* _tmp9_;
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp6_ = (GtkAlignment*) gtk_alignment_new ((gfloat) 0, (gfloat) 0, (gfloat) 1, (gfloat) 1);
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		g_object_ref_sink (_tmp6_);
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		bin = _tmp6_;
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp7_ = bin;
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		boxes_draw_as_css_box ((GtkWidget*) _tmp7_);
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp8_ = bin;
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp9_ = _g_object_ref0 ((GtkContainer*) _tmp8_);
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (row);
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		row = _tmp9_;
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_g_object_unref0 (bin);
#line 2269 "wizard-source.c"
	}
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp10_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 20);
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_ref_sink (_tmp10_);
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	hbox = _tmp10_;
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp11_ = row;
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp12_ = hbox;
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_container_add (_tmp11_, (GtkWidget*) _tmp12_);
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp13_ = row;
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp14_ = gtk_widget_get_style_context ((GtkWidget*) _tmp13_);
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_style_context_add_class (_tmp14_, "boxes-menu-row");
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp15_ = box;
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp16_ = row;
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_container_add ((GtkContainer*) _tmp15_, (GtkWidget*) _tmp16_);
#line 274 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp17_ = media;
#line 274 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	if (_tmp17_ != NULL) {
#line 2299 "wizard-source.c"
		GtkContainer* _tmp18_;
		const gchar* _tmp19_;
		gchar* _tmp20_;
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp18_ = row;
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp19_ = media;
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp20_ = g_strdup (_tmp19_);
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		g_object_set_data_full ((GObject*) _tmp18_, "boxes-media", _tmp20_, g_free);
#line 2311 "wizard-source.c"
	}
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp21_ = hbox;
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp22_ = hbox;
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp23_ = h_margin;
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_widget_set_margin_right ((GtkWidget*) _tmp22_, _tmp23_);
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_widget_set_margin_left ((GtkWidget*) _tmp21_, _tmp23_);
#line 278 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp24_ = hbox;
#line 278 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp25_ = hbox;
#line 278 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp26_ = v_margin;
#line 278 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_widget_set_margin_bottom ((GtkWidget*) _tmp25_, _tmp26_);
#line 278 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_widget_set_margin_top ((GtkWidget*) _tmp24_, _tmp26_);
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	result = hbox;
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (row);
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	block42_data_unref (_data42_);
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_data42_ = NULL;
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	return result;
#line 2343 "wizard-source.c"
}


static void boxes_wizard_source_launch_file_selection_dialog (BoxesWizardSource* self) {
	const gchar* _tmp0_ = NULL;
	BoxesApp* _tmp1_;
	GtkApplicationWindow* _tmp2_;
	GtkFileChooserDialog* _tmp3_;
	GtkFileChooserDialog* dialog;
	GtkFileChooserDialog* _tmp4_;
	GtkFileChooserDialog* _tmp5_;
	GtkFileChooserDialog* _tmp6_;
	GtkFileFilter* _tmp7_;
	GtkFileFilter* _tmp8_;
	GtkFileChooserDialog* _tmp9_;
	GtkFileFilter* _tmp10_;
	GtkFileFilter* _tmp11_;
	GtkFileChooserDialog* _tmp12_;
	gint _tmp13_ = 0;
	GtkFileChooserDialog* _tmp18_;
#line 283 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (self != NULL);
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = _ ("Select a device or ISO file");
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = boxes_app_app;
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp2_ = _tmp1_->window;
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp3_ = (GtkFileChooserDialog*) gtk_file_chooser_dialog_new (_tmp0_, (GtkWindow*) _tmp2_, GTK_FILE_CHOOSER_ACTION_OPEN, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, NULL);
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_ref_sink (_tmp3_);
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	dialog = _tmp3_;
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp4_ = dialog;
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_file_chooser_set_show_hidden ((GtkFileChooser*) _tmp4_, FALSE);
#line 290 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp5_ = dialog;
#line 290 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_file_chooser_set_local_only ((GtkFileChooser*) _tmp5_, TRUE);
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp6_ = dialog;
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp7_ = gtk_file_filter_new ();
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_ref_sink (_tmp7_);
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp8_ = _tmp7_;
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_file_chooser_set_filter ((GtkFileChooser*) _tmp6_, _tmp8_);
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (_tmp8_);
#line 292 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp9_ = dialog;
#line 292 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp10_ = gtk_file_chooser_get_filter ((GtkFileChooser*) _tmp9_);
#line 292 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp11_ = _tmp10_;
#line 292 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_file_filter_add_mime_type (_tmp11_, "application/x-cd-image");
#line 293 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp12_ = dialog;
#line 293 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp13_ = gtk_dialog_run ((GtkDialog*) _tmp12_);
#line 293 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	if (_tmp13_ == ((gint) GTK_RESPONSE_ACCEPT)) {
#line 2412 "wizard-source.c"
		GtkFileChooserDialog* _tmp14_;
		gchar* _tmp15_ = NULL;
		gchar* _tmp16_;
		GtkEntry* _tmp17_;
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp14_ = dialog;
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp15_ = gtk_file_chooser_get_uri ((GtkFileChooser*) _tmp14_);
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp16_ = _tmp15_;
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		boxes_wizard_source_set_uri (self, _tmp16_);
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_g_free0 (_tmp16_);
#line 295 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp17_ = self->url_entry;
#line 295 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		g_signal_emit_by_name (_tmp17_, "activate");
#line 2431 "wizard-source.c"
	}
#line 298 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp18_ = dialog;
#line 298 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_widget_hide ((GtkWidget*) _tmp18_);
#line 283 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (dialog);
#line 2439 "wizard-source.c"
}


GtkWidget* boxes_wizard_source_get_widget (BoxesWizardSource* self) {
	GtkWidget* result;
	GtkNotebook* _tmp0_;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = self->priv->notebook;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	result = (GtkWidget*) _tmp0_;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	return result;
#line 2454 "wizard-source.c"
}


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


void boxes_wizard_source_set_selected (BoxesWizardSource* self, GtkWidget* value) {
	GtkWidget* _tmp0_;
	GtkWidget* _tmp1_;
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (self != NULL);
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = value;
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->_selected);
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	self->priv->_selected = _tmp1_;
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_notify ((GObject *) self, "selected");
#line 2488 "wizard-source.c"
}


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


void boxes_wizard_source_set_page (BoxesWizardSource* self, BoxesSourcePage value) {
	BoxesSourcePage _tmp0_;
	GtkNotebook* _tmp1_;
	BoxesSourcePage _tmp2_;
	BoxesSourcePage _tmp3_;
	GtkWidget* _tmp4_;
	BoxesSourcePage _tmp6_;
	BoxesSourcePage _tmp7_;
#line 58 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (self != NULL);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = value;
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	self->priv->_page = _tmp0_;
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = self->priv->notebook;
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp2_ = boxes_wizard_source_get_page (self);
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp3_ = _tmp2_;
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_notebook_set_current_page (_tmp1_, (gint) _tmp3_);
#line 61 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp4_ = self->priv->_selected;
#line 61 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	if (_tmp4_ != NULL) {
#line 2533 "wizard-source.c"
		GtkWidget* _tmp5_;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		_tmp5_ = self->priv->_selected;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		gtk_widget_grab_focus (_tmp5_);
#line 2539 "wizard-source.c"
	}
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp6_ = boxes_wizard_source_get_page (self);
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp7_ = _tmp6_;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	switch (_tmp7_) {
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		case BOXES_SOURCE_PAGE_MAIN:
#line 2549 "wizard-source.c"
		{
			GtkBox* _tmp8_;
#line 65 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			boxes_wizard_source_add_media_entries (self, NULL, NULL);
#line 67 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_tmp8_ = self->priv->main_vbox;
#line 67 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			gtk_widget_grab_focus ((GtkWidget*) _tmp8_);
#line 68 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			break;
#line 2560 "wizard-source.c"
		}
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		case BOXES_SOURCE_PAGE_URL:
#line 2564 "wizard-source.c"
		{
			GtkEntry* _tmp9_;
			GtkEntry* _tmp10_;
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_tmp9_ = self->url_entry;
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			g_signal_emit_by_name ((GtkEditable*) _tmp9_, "changed");
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			_tmp10_ = self->url_entry;
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			gtk_widget_grab_focus ((GtkWidget*) _tmp10_);
#line 72 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
			break;
#line 2578 "wizard-source.c"
		}
		default:
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		break;
#line 2583 "wizard-source.c"
	}
#line 58 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_notify ((GObject *) self, "page");
#line 2587 "wizard-source.c"
}


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


void boxes_wizard_source_set_uri (BoxesWizardSource* self, const gchar* value) {
	GtkEntry* _tmp0_;
	const gchar* _tmp1_;
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (self != NULL);
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = self->url_entry;
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = value;
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	gtk_entry_set_text (_tmp0_, _tmp1_);
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_notify ((GObject *) self, "uri");
#line 2622 "wizard-source.c"
}


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


static void boxes_wizard_source_set_install_media (BoxesWizardSource* self, BoxesInstallerMedia* value) {
	BoxesInstallerMedia* _tmp0_;
	BoxesInstallerMedia* _tmp1_;
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_return_if_fail (self != NULL);
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp0_ = value;
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->_install_media);
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	self->priv->_install_media = _tmp1_;
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_notify ((GObject *) self, "install-media");
#line 2656 "wizard-source.c"
}


static void boxes_wizard_source_class_init (BoxesWizardSourceClass * klass) {
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	boxes_wizard_source_parent_class = g_type_class_peek_parent (klass);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_type_class_add_private (klass, sizeof (BoxesWizardSourcePrivate));
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_wizard_source_get_property;
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_boxes_wizard_source_set_property;
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_wizard_source_finalize;
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_WIZARD_SOURCE_WIDGET, g_param_spec_object ("widget", "widget", "widget", GTK_TYPE_WIDGET, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_WIZARD_SOURCE_SELECTED, g_param_spec_object ("selected", "selected", "selected", GTK_TYPE_WIDGET, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_WIZARD_SOURCE_PAGE, 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 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_WIZARD_SOURCE_URI, 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 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_WIZARD_SOURCE_INSTALL_MEDIA, 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 2681 "wizard-source.c"
}


static void boxes_wizard_source_instance_init (BoxesWizardSource * self) {
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	self->priv = BOXES_WIZARD_SOURCE_GET_PRIVATE (self);
#line 2688 "wizard-source.c"
}


static void boxes_wizard_source_finalize (GObject* obj) {
	BoxesWizardSource * self;
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_WIZARD_SOURCE, BoxesWizardSource);
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->_selected);
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->_install_media);
#line 82 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->main_vbox);
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->media_vbox);
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->media_scrolled);
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->notebook);
#line 86 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->url_label);
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->url_image);
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->url_entry);
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	_g_object_unref0 (self->priv->media_manager);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	G_OBJECT_CLASS (boxes_wizard_source_parent_class)->finalize (obj);
#line 2718 "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 (G_TYPE_OBJECT, "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 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	switch (property_id) {
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		case BOXES_WIZARD_SOURCE_WIDGET:
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		g_value_set_object (value, boxes_wizard_source_get_widget (self));
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		break;
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		case BOXES_WIZARD_SOURCE_SELECTED:
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		g_value_set_object (value, boxes_wizard_source_get_selected (self));
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		break;
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		case BOXES_WIZARD_SOURCE_PAGE:
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		g_value_set_enum (value, boxes_wizard_source_get_page (self));
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		break;
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		case BOXES_WIZARD_SOURCE_URI:
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		g_value_set_string (value, boxes_wizard_source_get_uri (self));
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		break;
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		case BOXES_WIZARD_SOURCE_INSTALL_MEDIA:
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		g_value_set_object (value, boxes_wizard_source_get_install_media (self));
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		break;
#line 2769 "wizard-source.c"
		default:
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		break;
#line 2775 "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 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
	switch (property_id) {
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		case BOXES_WIZARD_SOURCE_SELECTED:
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		boxes_wizard_source_set_selected (self, g_value_get_object (value));
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		break;
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		case BOXES_WIZARD_SOURCE_PAGE:
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		boxes_wizard_source_set_page (self, g_value_get_enum (value));
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		break;
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		case BOXES_WIZARD_SOURCE_URI:
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		boxes_wizard_source_set_uri (self, g_value_get_string (value));
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		break;
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		case BOXES_WIZARD_SOURCE_INSTALL_MEDIA:
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		boxes_wizard_source_set_install_media (self, g_value_get_object (value));
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		break;
#line 2809 "wizard-source.c"
		default:
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/wizard-source.vala"
		break;
#line 2815 "wizard-source.c"
	}
}



