/* unattended-installer.c generated by valac 0.18.0.29-efcd0, the Vala compiler
 * generated from unattended-installer.vala, do not modify */

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

#include <glib.h>
#include <glib-object.h>
#include <libvirt-gconfig/libvirt-gconfig.h>
#include <gio/gio.h>
#include <stdlib.h>
#include <string.h>
#include <gtk/gtk.h>
#include <libcommon.h>
#include <osinfo/osinfo.h>
#include <glib/gi18n-lib.h>
#include <gdk/gdk.h>
#include <glib/gstdio.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gobject/gvaluecollector.h>


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

typedef struct _BoxesInstallerMedia BoxesInstallerMedia;
typedef struct _BoxesInstallerMediaClass BoxesInstallerMediaClass;
typedef struct _BoxesInstallerMediaPrivate BoxesInstallerMediaPrivate;

#define BOXES_TYPE_UNATTENDED_INSTALLER (boxes_unattended_installer_get_type ())
#define BOXES_UNATTENDED_INSTALLER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_UNATTENDED_INSTALLER, BoxesUnattendedInstaller))
#define BOXES_UNATTENDED_INSTALLER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_UNATTENDED_INSTALLER, BoxesUnattendedInstallerClass))
#define BOXES_IS_UNATTENDED_INSTALLER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UNATTENDED_INSTALLER))
#define BOXES_IS_UNATTENDED_INSTALLER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_UNATTENDED_INSTALLER))
#define BOXES_UNATTENDED_INSTALLER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_UNATTENDED_INSTALLER, BoxesUnattendedInstallerClass))

typedef struct _BoxesUnattendedInstaller BoxesUnattendedInstaller;
typedef struct _BoxesUnattendedInstallerClass BoxesUnattendedInstallerClass;
typedef struct _BoxesUnattendedInstallerPrivate BoxesUnattendedInstallerPrivate;

#define BOXES_TYPE_UNATTENDED_FILE (boxes_unattended_file_get_type ())
#define BOXES_UNATTENDED_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_UNATTENDED_FILE, BoxesUnattendedFile))
#define BOXES_IS_UNATTENDED_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UNATTENDED_FILE))
#define BOXES_UNATTENDED_FILE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), BOXES_TYPE_UNATTENDED_FILE, BoxesUnattendedFileIface))

typedef struct _BoxesUnattendedFile BoxesUnattendedFile;
typedef struct _BoxesUnattendedFileIface BoxesUnattendedFileIface;

#define TYPE_AVATAR_FORMAT (avatar_format_get_type ())
#define AVATAR_FORMAT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_AVATAR_FORMAT, AvatarFormat))
#define AVATAR_FORMAT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_AVATAR_FORMAT, AvatarFormatClass))
#define IS_AVATAR_FORMAT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_AVATAR_FORMAT))
#define IS_AVATAR_FORMAT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_AVATAR_FORMAT))
#define AVATAR_FORMAT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_AVATAR_FORMAT, AvatarFormatClass))

typedef struct _AvatarFormat AvatarFormat;
typedef struct _AvatarFormatClass AvatarFormatClass;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
#define __g_list_free__g_object_unref0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__g_object_unref0_ (var), NULL)))
#define _avatar_format_unref0(var) ((var == NULL) ? NULL : (var = (avatar_format_unref (var), NULL)))

#define BOXES_TYPE_UNATTENDED_TEXT_FILE (boxes_unattended_text_file_get_type ())
#define BOXES_UNATTENDED_TEXT_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_UNATTENDED_TEXT_FILE, BoxesUnattendedTextFile))
#define BOXES_UNATTENDED_TEXT_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_UNATTENDED_TEXT_FILE, BoxesUnattendedTextFileClass))
#define BOXES_IS_UNATTENDED_TEXT_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UNATTENDED_TEXT_FILE))
#define BOXES_IS_UNATTENDED_TEXT_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_UNATTENDED_TEXT_FILE))
#define BOXES_UNATTENDED_TEXT_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_UNATTENDED_TEXT_FILE, BoxesUnattendedTextFileClass))

typedef struct _BoxesUnattendedTextFile BoxesUnattendedTextFile;
typedef struct _BoxesUnattendedTextFileClass BoxesUnattendedTextFileClass;
#define _g_date_time_unref0(var) ((var == NULL) ? NULL : (var = (g_date_time_unref (var), NULL)))
#define _g_regex_unref0(var) ((var == NULL) ? NULL : (var = (g_regex_unref (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
typedef struct _BoxesUnattendedInstallerPrepareForInstallationData BoxesUnattendedInstallerPrepareForInstallationData;
#define _g_list_free0(var) ((var == NULL) ? NULL : (var = (g_list_free (var), NULL)))
#define __g_list_free__boxes_pair_unref0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__boxes_pair_unref0_ (var), NULL)))
typedef struct _Block42Data Block42Data;
typedef struct _BoxesUnattendedInstallerCreateDiskImageData BoxesUnattendedInstallerCreateDiskImageData;

#define BOXES_TYPE_UNATTENDED_AVATAR_FILE (boxes_unattended_avatar_file_get_type ())
#define BOXES_UNATTENDED_AVATAR_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_UNATTENDED_AVATAR_FILE, BoxesUnattendedAvatarFile))
#define BOXES_UNATTENDED_AVATAR_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_UNATTENDED_AVATAR_FILE, BoxesUnattendedAvatarFileClass))
#define BOXES_IS_UNATTENDED_AVATAR_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UNATTENDED_AVATAR_FILE))
#define BOXES_IS_UNATTENDED_AVATAR_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_UNATTENDED_AVATAR_FILE))
#define BOXES_UNATTENDED_AVATAR_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_UNATTENDED_AVATAR_FILE, BoxesUnattendedAvatarFileClass))

typedef struct _BoxesUnattendedAvatarFile BoxesUnattendedAvatarFile;
typedef struct _BoxesUnattendedAvatarFileClass BoxesUnattendedAvatarFileClass;
typedef struct _BoxesUnattendedInstallerFetchUserAvatarData BoxesUnattendedInstallerFetchUserAvatarData;
typedef struct _BoxesUnattendedFileCopyData BoxesUnattendedFileCopyData;

#define BOXES_TYPE_UNATTENDED_RAW_FILE (boxes_unattended_raw_file_get_type ())
#define BOXES_UNATTENDED_RAW_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_UNATTENDED_RAW_FILE, BoxesUnattendedRawFile))
#define BOXES_UNATTENDED_RAW_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_UNATTENDED_RAW_FILE, BoxesUnattendedRawFileClass))
#define BOXES_IS_UNATTENDED_RAW_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UNATTENDED_RAW_FILE))
#define BOXES_IS_UNATTENDED_RAW_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_UNATTENDED_RAW_FILE))
#define BOXES_UNATTENDED_RAW_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_UNATTENDED_RAW_FILE, BoxesUnattendedRawFileClass))

typedef struct _BoxesUnattendedRawFile BoxesUnattendedRawFile;
typedef struct _BoxesUnattendedRawFileClass BoxesUnattendedRawFileClass;
typedef struct _BoxesUnattendedRawFilePrivate BoxesUnattendedRawFilePrivate;
typedef struct _BoxesUnattendedRawFileGetSourceFileData BoxesUnattendedRawFileGetSourceFileData;
typedef struct _BoxesUnattendedTextFilePrivate BoxesUnattendedTextFilePrivate;
typedef struct _BoxesUnattendedTextFileGetSourceFileData BoxesUnattendedTextFileGetSourceFileData;
typedef struct _BoxesUnattendedAvatarFilePrivate BoxesUnattendedAvatarFilePrivate;
typedef struct _AvatarFormatPrivate AvatarFormatPrivate;
typedef struct _BoxesUnattendedAvatarFileGetSourceFileData BoxesUnattendedAvatarFileGetSourceFileData;
typedef struct _ParamSpecAvatarFormat ParamSpecAvatarFormat;

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 (*populate_setup_vbox) (BoxesInstallerMedia* self, GtkVBox* setup_vbox);
	GList* (*get_vm_properties) (BoxesInstallerMedia* self);
	guint64 (*get_installed_size) (BoxesInstallerMedia* self);
	gboolean (*get_need_user_input_for_vm_creation) (BoxesInstallerMedia* self);
	gboolean (*get_ready_to_create) (BoxesInstallerMedia* self);
	gboolean (*get_supports_virtio_disk) (BoxesInstallerMedia* self);
};

struct _BoxesUnattendedFileIface {
	GTypeInterface parent_iface;
	void (*get_source_file) (BoxesUnattendedFile* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	GFile* (*get_source_file_finish) (BoxesUnattendedFile* self, GAsyncResult* _res_, GError** error);
	const gchar* (*get_src_path) (BoxesUnattendedFile* self);
	void (*set_src_path) (BoxesUnattendedFile* self, const gchar* value);
	const gchar* (*get_dest_name) (BoxesUnattendedFile* self);
	void (*set_dest_name) (BoxesUnattendedFile* self, const gchar* value);
	BoxesUnattendedInstaller* (*get_installer) (BoxesUnattendedFile* self);
	void (*set_installer) (BoxesUnattendedFile* self, BoxesUnattendedInstaller* value);
};

struct _BoxesUnattendedInstaller {
	BoxesInstallerMedia parent_instance;
	BoxesUnattendedInstallerPrivate * priv;
	GDataStreamNewlineType newline_type;
	GFile* disk_file;
	GList* unattended_files;
	GtkGrid* setup_grid;
	gint setup_grid_n_rows;
	GtkLabel* setup_label;
	GtkHBox* setup_hbox;
	GtkSwitch* express_toggle;
	GtkEntry* username_entry;
	GtkEntry* password_entry;
	gchar* timezone;
	gchar* lang;
	gchar* hostname;
	AvatarFormat* avatar_format;
};

struct _BoxesUnattendedInstallerClass {
	BoxesInstallerMediaClass parent_class;
	gchar* (*fill_unattended_data) (BoxesUnattendedInstaller* self, const gchar* data, GError** error);
	void (*setup_ui) (BoxesUnattendedInstaller* self);
	void (*clean_up) (BoxesUnattendedInstaller* self, GError** error);
	GVirConfigDomainDisk* (*get_unattended_disk_config) (BoxesUnattendedInstaller* self);
	gboolean (*get_ready_for_express) (BoxesUnattendedInstaller* self);
};

struct _BoxesUnattendedInstallerPrivate {
	gchar* _extra_iso;
};

struct _BoxesUnattendedInstallerPrepareForInstallationData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedInstaller* self;
	gchar* vm_name;
	GCancellable* cancellable;
	GtkSwitch* _tmp0_;
	gboolean _tmp1_;
	gboolean _tmp2_;
	const gchar* _tmp3_;
	gchar* _tmp4_;
	GCancellable* _tmp5_;
	GList* _tmp6_;
	GList* unattended_file_collection;
	GList* unattended_file_it;
	BoxesUnattendedFile* _tmp7_;
	BoxesUnattendedFile* unattended_file;
	BoxesUnattendedFile* _tmp8_;
	GCancellable* _tmp9_;
	GError* _error_;
	GtkSwitch* _tmp10_;
	GError* _tmp11_;
	GError* _tmp12_;
	GError * _inner_error_;
};

struct _Block42Data {
	int _ref_count_;
	BoxesUnattendedInstaller * self;
	GtkNotebook* notebook;
};

struct _BoxesUnattendedInstallerCreateDiskImageData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedInstaller* self;
	GCancellable* cancellable;
	gchar* _tmp0_;
	gchar* disk_path;
	GFile* _tmp1_;
	gchar* _tmp2_;
	gchar* template_path;
	GFile* _tmp3_;
	GFile* template_file;
	GFile* _tmp4_;
	GCancellable* _tmp5_;
	GError * _inner_error_;
};

struct _BoxesUnattendedInstallerFetchUserAvatarData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedInstaller* self;
	GtkImage* avatar;
	BoxesFdoAccounts* _tmp0_;
	const gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* username;
	const gchar* _tmp3_;
	gchar* _tmp4_;
	gchar* avatar_path;
	BoxesFdoAccounts* _tmp5_;
	const gchar* _tmp6_;
	gchar* _tmp7_;
	gchar* path;
	const gchar* _tmp8_;
	BoxesFdoAccountsUser* _tmp9_;
	BoxesFdoAccountsUser* user;
	BoxesFdoAccountsUser* _tmp10_;
	gchar* _tmp11_;
	gchar* _tmp12_;
	GError* _error_;
	const gchar* _tmp13_;
	GError* _tmp14_;
	const gchar* _tmp15_;
	const gchar* _tmp16_;
	GdkPixbuf* _tmp17_;
	GdkPixbuf* pixbuf;
	GtkImage* _tmp18_;
	GdkPixbuf* _tmp19_;
	const gchar* _tmp20_;
	AvatarFormat* _tmp21_;
	BoxesUnattendedAvatarFile* _tmp22_;
	BoxesUnattendedAvatarFile* _tmp23_;
	GError* _vala1__error_;
	const gchar* _tmp24_;
	GError* _tmp25_;
	const gchar* _tmp26_;
	GError * _inner_error_;
};

struct _BoxesUnattendedFileCopyData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedFile* self;
	GCancellable* cancellable;
	GCancellable* _tmp0_;
	GFile* _tmp1_;
	GFile* source_file;
	const gchar* _tmp2_;
	const gchar* _tmp3_;
	BoxesUnattendedInstaller* _tmp4_;
	BoxesUnattendedInstaller* _tmp5_;
	GFile* _tmp6_;
	gchar* _tmp7_;
	gchar* _tmp8_;
	gchar* _tmp9_;
	gchar* _tmp10_;
	gchar* _tmp11_;
	gchar* _tmp12_;
	BoxesUnattendedInstaller* _tmp13_;
	BoxesUnattendedInstaller* _tmp14_;
	GFile* _tmp15_;
	gchar* _tmp16_;
	GFile* _tmp17_;
	gchar* _tmp18_;
	const gchar* _tmp19_;
	const gchar* _tmp20_;
	gchar* _tmp21_;
	gchar** _tmp22_;
	gchar** argv;
	gint argv_length1;
	gint _argv_size_;
	gchar** _tmp23_;
	gint _tmp23__length1;
	GCancellable* _tmp24_;
	const gchar* _tmp25_;
	const gchar* _tmp26_;
	BoxesUnattendedInstaller* _tmp27_;
	BoxesUnattendedInstaller* _tmp28_;
	GFile* _tmp29_;
	gchar* _tmp30_;
	gchar* _tmp31_;
	GError * _inner_error_;
};

struct _BoxesUnattendedRawFile {
	GObject parent_instance;
	BoxesUnattendedRawFilePrivate * priv;
};

struct _BoxesUnattendedRawFileClass {
	GObjectClass parent_class;
};

struct _BoxesUnattendedRawFilePrivate {
	gchar* _src_path;
	gchar* _dest_name;
	BoxesUnattendedInstaller* _installer;
};

struct _BoxesUnattendedRawFileGetSourceFileData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedRawFile* self;
	GCancellable* cancellable;
	GFile* result;
	const gchar* _tmp0_;
	const gchar* _tmp1_;
	GFile* _tmp2_;
};

struct _BoxesUnattendedTextFile {
	GObject parent_instance;
	BoxesUnattendedTextFilePrivate * priv;
};

struct _BoxesUnattendedTextFileClass {
	GObjectClass parent_class;
};

struct _BoxesUnattendedTextFilePrivate {
	gchar* _src_path;
	gchar* _dest_name;
	BoxesUnattendedInstaller* _installer;
	GFile* unattended_tmp;
};

struct _BoxesUnattendedTextFileGetSourceFileData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedTextFile* self;
	GCancellable* cancellable;
	GFile* result;
	const gchar* _tmp0_;
	const gchar* _tmp1_;
	GFile* _tmp2_;
	GFile* source;
	BoxesUnattendedInstaller* _tmp3_;
	BoxesUnattendedInstaller* _tmp4_;
	const gchar* _tmp5_;
	const gchar* _tmp6_;
	gchar* _tmp7_;
	gchar* destination_path;
	const gchar* _tmp8_;
	GFile* _tmp9_;
	GFile* destination;
	GFile* _tmp10_;
	gchar* _tmp11_;
	gchar* _tmp12_;
	GFile* _tmp13_;
	GCancellable* _tmp14_;
	GFileInputStream* _tmp15_;
	GFileInputStream* input_stream;
	GFile* _tmp16_;
	GCancellable* _tmp17_;
	GFileOutputStream* _tmp18_;
	GFileOutputStream* output_stream;
	GFileInputStream* _tmp19_;
	GDataInputStream* _tmp20_;
	GDataInputStream* data_stream;
	GDataInputStream* _tmp21_;
	gchar* str;
	GDataInputStream* _tmp22_;
	GCancellable* _tmp23_;
	gchar* _tmp24_;
	gchar* _tmp25_;
	const gchar* _tmp26_;
	BoxesUnattendedInstaller* _tmp27_;
	BoxesUnattendedInstaller* _tmp28_;
	const gchar* _tmp29_;
	gchar* _tmp30_;
	gchar* _tmp31_;
	const gchar* _tmp32_;
	BoxesUnattendedInstaller* _tmp33_;
	BoxesUnattendedInstaller* _tmp34_;
	GDataStreamNewlineType _tmp35_;
	const gchar* _tmp36_;
	const gchar* _tmp37_;
	gchar* _tmp38_;
	GFileOutputStream* _tmp39_;
	const gchar* _tmp40_;
	guint8* _tmp41_;
	gint _tmp41__length1;
	guint8* _tmp42_;
	gint _tmp42__length1;
	GCancellable* _tmp43_;
	GFileOutputStream* _tmp44_;
	GCancellable* _tmp45_;
	GFile* _tmp46_;
	gchar* _tmp47_;
	gchar* _tmp48_;
	GFile* _tmp49_;
	GFile* _tmp50_;
	GError * _inner_error_;
};

struct _BoxesUnattendedAvatarFile {
	GObject parent_instance;
	BoxesUnattendedAvatarFilePrivate * priv;
};

struct _BoxesUnattendedAvatarFileClass {
	GObjectClass parent_class;
};

struct _BoxesUnattendedAvatarFilePrivate {
	gchar* _src_path;
	gchar* _dest_name;
	BoxesUnattendedInstaller* _installer;
	GFile* unattended_tmp;
	AvatarFormat* dest_format;
};

struct _AvatarFormat {
	GTypeInstance parent_instance;
	volatile int ref_count;
	AvatarFormatPrivate * priv;
	gchar* type;
	gchar* extension;
	gboolean alpha;
	gint width;
	gint height;
};

struct _AvatarFormatClass {
	GTypeClass parent_class;
	void (*finalize) (AvatarFormat *self);
};

struct _BoxesUnattendedAvatarFileGetSourceFileData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedAvatarFile* self;
	GCancellable* cancellable;
	GFile* result;
	BoxesUnattendedInstaller* _tmp0_;
	BoxesUnattendedInstaller* _tmp1_;
	const gchar* _tmp2_;
	const gchar* _tmp3_;
	AvatarFormat* _tmp4_;
	const gchar* _tmp5_;
	gchar* _tmp6_;
	gchar* _tmp7_;
	BoxesUnattendedInstaller* _tmp8_;
	BoxesUnattendedInstaller* _tmp9_;
	const gchar* _tmp10_;
	const gchar* _tmp11_;
	gchar* _tmp12_;
	gchar* destination_path;
	const gchar* _tmp13_;
	const gchar* _tmp14_;
	AvatarFormat* _tmp15_;
	gint _tmp16_;
	AvatarFormat* _tmp17_;
	gint _tmp18_;
	GdkPixbuf* _tmp19_;
	GdkPixbuf* pixbuf;
	gboolean _tmp20_;
	AvatarFormat* _tmp21_;
	gboolean _tmp22_;
	GdkPixbuf* _tmp23_;
	gboolean _tmp24_;
	gboolean _tmp25_;
	GdkPixbuf* _tmp26_;
	GdkPixbuf* _tmp27_;
	const gchar* _tmp28_;
	GdkPixbuf* _tmp29_;
	const gchar* _tmp30_;
	AvatarFormat* _tmp31_;
	const gchar* _tmp32_;
	const gchar* _tmp33_;
	GError* _error_;
	GError* _tmp34_;
	const gchar* _tmp35_;
	const gchar* _tmp36_;
	GFile* _tmp37_;
	GFile* _tmp38_;
	GFile* _tmp39_;
	GError * _inner_error_;
};

struct _ParamSpecAvatarFormat {
	GParamSpec parent_instance;
};


static gpointer boxes_unattended_installer_parent_class = NULL;
static GRegex* boxes_unattended_installer_username_regex;
static GRegex* boxes_unattended_installer_username_regex = NULL;
static GRegex* boxes_unattended_installer_password_regex;
static GRegex* boxes_unattended_installer_password_regex = NULL;
static GRegex* boxes_unattended_installer_timezone_regex;
static GRegex* boxes_unattended_installer_timezone_regex = NULL;
static GRegex* boxes_unattended_installer_lang_regex;
static GRegex* boxes_unattended_installer_lang_regex = NULL;
static GRegex* boxes_unattended_installer_host_regex;
static GRegex* boxes_unattended_installer_host_regex = NULL;
static BoxesFdoAccounts* boxes_unattended_installer_accounts;
static BoxesFdoAccounts* boxes_unattended_installer_accounts = NULL;
static gpointer boxes_unattended_raw_file_parent_class = NULL;
static BoxesUnattendedFileIface* boxes_unattended_raw_file_boxes_unattended_file_parent_iface = NULL;
static gpointer boxes_unattended_text_file_parent_class = NULL;
static BoxesUnattendedFileIface* boxes_unattended_text_file_boxes_unattended_file_parent_iface = NULL;
static gpointer boxes_unattended_avatar_file_parent_class = NULL;
static BoxesUnattendedFileIface* boxes_unattended_avatar_file_boxes_unattended_file_parent_iface = NULL;
static gpointer avatar_format_parent_class = NULL;

GQuark unattended_installer_error_quark (void);
GType boxes_installer_media_get_type (void) G_GNUC_CONST;
GType boxes_unattended_installer_get_type (void) G_GNUC_CONST;
GType boxes_unattended_file_get_type (void) G_GNUC_CONST;
gpointer avatar_format_ref (gpointer instance);
void avatar_format_unref (gpointer instance);
GParamSpec* param_spec_avatar_format (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void value_set_avatar_format (GValue* value, gpointer v_object);
void value_take_avatar_format (GValue* value, gpointer v_object);
gpointer value_get_avatar_format (const GValue* value);
GType avatar_format_get_type (void) G_GNUC_CONST;
#define BOXES_UNATTENDED_INSTALLER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_UNATTENDED_INSTALLER, BoxesUnattendedInstallerPrivate))
enum  {
	BOXES_UNATTENDED_INSTALLER_DUMMY_PROPERTY,
	BOXES_UNATTENDED_INSTALLER_NEED_USER_INPUT_FOR_VM_CREATION,
	BOXES_UNATTENDED_INSTALLER_READY_FOR_EXPRESS,
	BOXES_UNATTENDED_INSTALLER_READY_TO_CREATE,
	BOXES_UNATTENDED_INSTALLER_EXPRESS_INSTALL,
	BOXES_UNATTENDED_INSTALLER_USERNAME,
	BOXES_UNATTENDED_INSTALLER_PASSWORD,
	BOXES_UNATTENDED_INSTALLER_HIDDEN_PASSWORD,
	BOXES_UNATTENDED_INSTALLER_EXTRA_ISO
};
static void _g_object_unref0_ (gpointer var);
static void _g_list_free__g_object_unref0_ (GList* self);
BoxesUnattendedInstaller* boxes_unattended_installer_construct_from_media (GType object_type, BoxesInstallerMedia* media, const gchar* unattended_src_path, const gchar* unattended_dest_name, AvatarFormat* avatar_format, GError** error);
BoxesInstallerMedia* boxes_installer_media_new (void);
BoxesInstallerMedia* boxes_installer_media_construct (GType object_type);
void boxes_unattended_installer_add_unattended_file (BoxesUnattendedInstaller* self, BoxesUnattendedFile* file);
BoxesUnattendedTextFile* boxes_unattended_text_file_new (BoxesUnattendedInstaller* installer, const gchar* src_path, const gchar* dest_name);
BoxesUnattendedTextFile* boxes_unattended_text_file_construct (GType object_type, BoxesUnattendedInstaller* installer, const gchar* src_path, const gchar* dest_name);
GType boxes_unattended_text_file_get_type (void) G_GNUC_CONST;
static gchar** _vala_array_dup5 (gchar** self, int length);
AvatarFormat* avatar_format_new (const gchar* type, const gchar* extension, gboolean alpha, gint width, gint height);
AvatarFormat* avatar_format_construct (GType object_type, const gchar* type, const gchar* extension, gboolean alpha, gint width, gint height);
void boxes_unattended_installer_setup_ui (BoxesUnattendedInstaller* self);
static void boxes_unattended_installer_real_prepare_for_installation_data_free (gpointer _data);
static void boxes_unattended_installer_real_prepare_for_installation (BoxesInstallerMedia* base, const gchar* vm_name, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean boxes_unattended_installer_real_prepare_for_installation_co (BoxesUnattendedInstallerPrepareForInstallationData* _data_);
static void boxes_unattended_installer_create_disk_image (BoxesUnattendedInstaller* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void boxes_unattended_installer_create_disk_image_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_, GError** error);
static void boxes_unattended_installer_prepare_for_installation_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
void boxes_unattended_file_copy (BoxesUnattendedFile* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
void boxes_unattended_file_copy_finish (BoxesUnattendedFile* self, GAsyncResult* _res_, GError** error);
void boxes_unattended_installer_clean_up (BoxesUnattendedInstaller* self, GError** error);
static void boxes_unattended_installer_real_setup_domain_config (BoxesInstallerMedia* base, GVirConfigDomain* domain);
void boxes_installer_media_setup_domain_config (BoxesInstallerMedia* self, GVirConfigDomain* domain);
GVirConfigDomainDisk* boxes_unattended_installer_get_unattended_disk_config (BoxesUnattendedInstaller* self);
void boxes_unattended_installer_add_extra_iso (BoxesUnattendedInstaller* self, GVirConfigDomain* domain);
gchar* boxes_unattended_installer_get_extra_iso (BoxesUnattendedInstaller* self);
void boxes_installer_media_add_cd_config (BoxesInstallerMedia* self, GVirConfigDomain* domain, GVirConfigDomainDiskType type, const gchar* iso_path, const gchar* device_name, gboolean mandatory);
static void boxes_unattended_installer_real_populate_setup_vbox (BoxesInstallerMedia* base, GtkVBox* setup_vbox);
static GList* boxes_unattended_installer_real_get_vm_properties (BoxesInstallerMedia* base);
GList* boxes_installer_media_get_vm_properties (BoxesInstallerMedia* self);
gboolean boxes_unattended_installer_get_express_install (BoxesUnattendedInstaller* self);
const gchar* boxes_unattended_installer_get_username (BoxesUnattendedInstaller* self);
gchar* boxes_unattended_installer_get_hidden_password (BoxesUnattendedInstaller* self);
static void _boxes_pair_unref0_ (gpointer var);
static void _g_list_free__boxes_pair_unref0_ (GList* self);
gchar* boxes_unattended_installer_fill_unattended_data (BoxesUnattendedInstaller* self, const gchar* data, GError** error);
static gchar* boxes_unattended_installer_real_fill_unattended_data (BoxesUnattendedInstaller* self, const gchar* data, GError** error);
gchar* boxes_unattended_installer_get_password (BoxesUnattendedInstaller* self);
gchar* boxes_unattended_installer_get_user_unattended (BoxesUnattendedInstaller* self, const gchar* suffix);
static void boxes_unattended_installer_real_setup_ui (BoxesUnattendedInstaller* self);
static Block42Data* block42_data_ref (Block42Data* _data42_);
static void block42_data_unref (void * _userdata_);
static void __lambda51_ (BoxesUnattendedInstaller* self);
static void ___lambda51__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void boxes_unattended_installer_fetch_user_avatar (BoxesUnattendedInstaller* self, GtkImage* avatar, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void boxes_unattended_installer_fetch_user_avatar_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_);
GtkEntry* boxes_unattended_installer_create_input_entry (BoxesUnattendedInstaller* self, const gchar* text, gboolean mandatory, gboolean visibility);
static void __lambda53_ (Block42Data* _data42_);
static void ___lambda53__gtk_button_clicked (GtkButton* _sender, gpointer self);
static gboolean __lambda54_ (Block42Data* _data42_);
static gboolean ___lambda54__gtk_widget_focus_out_event (GtkWidget* _sender, GdkEventFocus* event, gpointer self);
static void boxes_unattended_installer_real_clean_up (BoxesUnattendedInstaller* self, GError** error);
static GVirConfigDomainDisk* boxes_unattended_installer_real_get_unattended_disk_config (BoxesUnattendedInstaller* self);
static void ___lambda52_ (BoxesUnattendedInstaller* self);
static void ____lambda52__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void boxes_unattended_installer_create_disk_image_data_free (gpointer _data);
static gboolean boxes_unattended_installer_create_disk_image_co (BoxesUnattendedInstallerCreateDiskImageData* _data_);
static void boxes_unattended_installer_create_disk_image_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static gchar* boxes_unattended_installer_lookup_extra_iso (BoxesUnattendedInstaller* self, const gchar* name);
static void boxes_unattended_installer_fetch_user_avatar_data_free (gpointer _data);
static gboolean boxes_unattended_installer_fetch_user_avatar_co (BoxesUnattendedInstallerFetchUserAvatarData* _data_);
static void boxes_unattended_installer_fetch_user_avatar_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
BoxesUnattendedAvatarFile* boxes_unattended_avatar_file_new (BoxesUnattendedInstaller* installer, const gchar* src_path, AvatarFormat* dest_format);
BoxesUnattendedAvatarFile* boxes_unattended_avatar_file_construct (GType object_type, BoxesUnattendedInstaller* installer, const gchar* src_path, AvatarFormat* dest_format);
GType boxes_unattended_avatar_file_get_type (void) G_GNUC_CONST;
BoxesUnattendedInstaller* boxes_unattended_installer_construct (GType object_type);
gboolean boxes_installer_media_get_live (BoxesInstallerMedia* self);
gboolean boxes_unattended_installer_get_ready_for_express (BoxesUnattendedInstaller* self);
void boxes_unattended_installer_set_extra_iso (BoxesUnattendedInstaller* self, const gchar* value);
static GObject * boxes_unattended_installer_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
static void boxes_unattended_installer_finalize (GObject* obj);
gboolean boxes_installer_media_get_need_user_input_for_vm_creation (BoxesInstallerMedia* self);
gboolean boxes_installer_media_get_ready_to_create (BoxesInstallerMedia* self);
static void _vala_boxes_unattended_installer_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_boxes_unattended_installer_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
static void boxes_unattended_file_copy_data_free (gpointer _data);
static gboolean boxes_unattended_file_copy_co (BoxesUnattendedFileCopyData* _data_);
void boxes_unattended_file_get_source_file (BoxesUnattendedFile* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
GFile* boxes_unattended_file_get_source_file_finish (BoxesUnattendedFile* self, GAsyncResult* _res_, GError** error);
static void boxes_unattended_file_copy_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
const gchar* boxes_unattended_file_get_dest_name (BoxesUnattendedFile* self);
BoxesUnattendedInstaller* boxes_unattended_file_get_installer (BoxesUnattendedFile* self);
const gchar* boxes_unattended_file_get_src_path (BoxesUnattendedFile* self);
void boxes_unattended_file_set_src_path (BoxesUnattendedFile* self, const gchar* value);
void boxes_unattended_file_set_dest_name (BoxesUnattendedFile* self, const gchar* value);
void boxes_unattended_file_set_installer (BoxesUnattendedFile* self, BoxesUnattendedInstaller* value);
GType boxes_unattended_raw_file_get_type (void) G_GNUC_CONST;
#define BOXES_UNATTENDED_RAW_FILE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_UNATTENDED_RAW_FILE, BoxesUnattendedRawFilePrivate))
enum  {
	BOXES_UNATTENDED_RAW_FILE_DUMMY_PROPERTY,
	BOXES_UNATTENDED_RAW_FILE_SRC_PATH,
	BOXES_UNATTENDED_RAW_FILE_DEST_NAME,
	BOXES_UNATTENDED_RAW_FILE_INSTALLER
};
BoxesUnattendedRawFile* boxes_unattended_raw_file_new (BoxesUnattendedInstaller* installer, const gchar* src_path, const gchar* dest_name);
BoxesUnattendedRawFile* boxes_unattended_raw_file_construct (GType object_type, BoxesUnattendedInstaller* installer, const gchar* src_path, const gchar* dest_name);
static void boxes_unattended_raw_file_real_get_source_file_data_free (gpointer _data);
static void boxes_unattended_raw_file_real_get_source_file (BoxesUnattendedFile* base, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean boxes_unattended_raw_file_real_get_source_file_co (BoxesUnattendedRawFileGetSourceFileData* _data_);
static void boxes_unattended_raw_file_finalize (GObject* obj);
static void _vala_boxes_unattended_raw_file_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_boxes_unattended_raw_file_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
#define BOXES_UNATTENDED_TEXT_FILE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_UNATTENDED_TEXT_FILE, BoxesUnattendedTextFilePrivate))
enum  {
	BOXES_UNATTENDED_TEXT_FILE_DUMMY_PROPERTY,
	BOXES_UNATTENDED_TEXT_FILE_SRC_PATH,
	BOXES_UNATTENDED_TEXT_FILE_DEST_NAME,
	BOXES_UNATTENDED_TEXT_FILE_INSTALLER
};
static void boxes_unattended_text_file_real_get_source_file_data_free (gpointer _data);
static void boxes_unattended_text_file_real_get_source_file (BoxesUnattendedFile* base, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean boxes_unattended_text_file_real_get_source_file_co (BoxesUnattendedTextFileGetSourceFileData* _data_);
static void boxes_unattended_text_file_get_source_file_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void boxes_unattended_text_file_finalize (GObject* obj);
static void _vala_boxes_unattended_text_file_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_boxes_unattended_text_file_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
#define BOXES_UNATTENDED_AVATAR_FILE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_UNATTENDED_AVATAR_FILE, BoxesUnattendedAvatarFilePrivate))
enum  {
	BOXES_UNATTENDED_AVATAR_FILE_DUMMY_PROPERTY,
	BOXES_UNATTENDED_AVATAR_FILE_SRC_PATH,
	BOXES_UNATTENDED_AVATAR_FILE_DEST_NAME,
	BOXES_UNATTENDED_AVATAR_FILE_INSTALLER
};
static void boxes_unattended_avatar_file_real_get_source_file_data_free (gpointer _data);
static void boxes_unattended_avatar_file_real_get_source_file (BoxesUnattendedFile* base, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean boxes_unattended_avatar_file_real_get_source_file_co (BoxesUnattendedAvatarFileGetSourceFileData* _data_);
GdkPixbuf* boxes_remove_alpha (GdkPixbuf* pixbuf);
static void boxes_unattended_avatar_file_finalize (GObject* obj);
static void _vala_boxes_unattended_avatar_file_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_boxes_unattended_avatar_file_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
enum  {
	AVATAR_FORMAT_DUMMY_PROPERTY
};
static void avatar_format_finalize (AvatarFormat* obj);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);
static gint _vala_array_length (gpointer array);


GQuark unattended_installer_error_quark (void) {
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	return g_quark_from_static_string ("unattended_installer_error-quark");
#line 727 "unattended-installer.c"
}


static void _g_object_unref0_ (gpointer var) {
#line 58 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	(var == NULL) ? NULL : (var = (g_object_unref (var), NULL));
#line 734 "unattended-installer.c"
}


static void _g_list_free__g_object_unref0_ (GList* self) {
#line 58 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_list_foreach (self, (GFunc) _g_object_unref0_, NULL);
#line 58 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_list_free (self);
#line 743 "unattended-installer.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 111 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return self ? g_object_ref (self) : NULL;
#line 750 "unattended-installer.c"
}


static gchar** _vala_array_dup5 (gchar** self, int length) {
	gchar** result;
	int i;
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = g_new0 (gchar*, length + 1);
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	for (i = 0; i < length; i++) {
#line 761 "unattended-installer.c"
		gchar* _tmp0_;
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = g_strdup (self[i]);
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		result[i] = _tmp0_;
#line 767 "unattended-installer.c"
	}
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 771 "unattended-installer.c"
}


static gpointer _avatar_format_ref0 (gpointer self) {
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return self ? avatar_format_ref (self) : NULL;
#line 778 "unattended-installer.c"
}


BoxesUnattendedInstaller* boxes_unattended_installer_construct_from_media (GType object_type, BoxesInstallerMedia* media, const gchar* unattended_src_path, const gchar* unattended_dest_name, AvatarFormat* avatar_format, GError** error) {
	BoxesUnattendedInstaller * self = NULL;
	BoxesInstallerMedia* _tmp0_;
	OsinfoOs* _tmp1_;
	OsinfoOs* _tmp2_;
	BoxesInstallerMedia* _tmp3_;
	OsinfoMedia* _tmp4_;
	OsinfoMedia* _tmp5_;
	BoxesInstallerMedia* _tmp6_;
	const gchar* _tmp7_;
	gchar* _tmp8_;
	BoxesInstallerMedia* _tmp9_;
	const gchar* _tmp10_;
	gchar* _tmp11_;
	BoxesInstallerMedia* _tmp12_;
	gboolean _tmp13_;
	BoxesInstallerMedia* _tmp14_;
	const gchar* _tmp15_;
	gchar* _tmp16_;
	BoxesInstallerMedia* _tmp17_;
	OsinfoResources* _tmp18_;
	OsinfoResources* _tmp19_;
	const gchar* _tmp20_;
	const gchar* _tmp21_;
	BoxesUnattendedTextFile* _tmp22_;
	BoxesUnattendedTextFile* _tmp23_;
	GTimeVal time = {0};
	GTimeVal _tmp24_;
	GDateTime* _tmp25_;
	GDateTime* date;
	GDateTime* _tmp26_;
	const gchar* _tmp27_ = NULL;
	gchar* _tmp28_;
	gchar** _tmp29_;
	gchar** _tmp30_ = NULL;
	gchar** _tmp31_;
	gint _tmp31__length1;
	gchar** langs;
	gint langs_length1;
	gint _langs_size_;
	gchar** _tmp32_;
	gint _tmp32__length1;
	const gchar* _tmp33_;
	gchar* _tmp34_;
	AvatarFormat* _tmp35_;
	AvatarFormat* _tmp36_;
	AvatarFormat* _tmp37_;
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (media != NULL, NULL);
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (unattended_src_path != NULL, NULL);
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (unattended_dest_name != NULL, NULL);
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) boxes_installer_media_construct (object_type);
#line 111 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = media;
#line 111 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = _tmp0_->os;
#line 111 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 111 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (((BoxesInstallerMedia*) self)->os);
#line 111 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	((BoxesInstallerMedia*) self)->os = _tmp2_;
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = media;
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = _tmp3_->os_media;
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = _g_object_ref0 (_tmp4_);
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (((BoxesInstallerMedia*) self)->os_media);
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	((BoxesInstallerMedia*) self)->os_media = _tmp5_;
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = media;
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp7_ = _tmp6_->label;
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp8_ = g_strdup (_tmp7_);
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (((BoxesInstallerMedia*) self)->label);
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	((BoxesInstallerMedia*) self)->label = _tmp8_;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp9_ = media;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp10_ = _tmp9_->device_file;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp11_ = g_strdup (_tmp10_);
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (((BoxesInstallerMedia*) self)->device_file);
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	((BoxesInstallerMedia*) self)->device_file = _tmp11_;
#line 115 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp12_ = media;
#line 115 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp13_ = _tmp12_->from_image;
#line 115 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	((BoxesInstallerMedia*) self)->from_image = _tmp13_;
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp14_ = media;
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp15_ = _tmp14_->mount_point;
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp16_ = g_strdup (_tmp15_);
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (((BoxesInstallerMedia*) self)->mount_point);
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	((BoxesInstallerMedia*) self)->mount_point = _tmp16_;
#line 117 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp17_ = media;
#line 117 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp18_ = _tmp17_->resources;
#line 117 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp19_ = _g_object_ref0 (_tmp18_);
#line 117 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (((BoxesInstallerMedia*) self)->resources);
#line 117 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	((BoxesInstallerMedia*) self)->resources = _tmp19_;
#line 119 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->newline_type = G_DATA_STREAM_NEWLINE_TYPE_LF;
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	__g_list_free__g_object_unref0_0 (self->unattended_files);
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->unattended_files = NULL;
#line 122 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp20_ = unattended_src_path;
#line 122 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp21_ = unattended_dest_name;
#line 122 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp22_ = boxes_unattended_text_file_new (self, _tmp20_, _tmp21_);
#line 122 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp23_ = _tmp22_;
#line 122 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_add_unattended_file (self, (BoxesUnattendedFile*) _tmp23_);
#line 122 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_tmp23_);
#line 124 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_get_current_time (&time);
#line 125 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp24_ = time;
#line 125 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp25_ = g_date_time_new_from_timeval_local (&_tmp24_);
#line 125 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	date = _tmp25_;
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp26_ = date;
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp27_ = g_date_time_get_timezone_abbreviation (_tmp26_);
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp28_ = g_strdup (_tmp27_);
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->timezone);
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->timezone = _tmp28_;
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp30_ = _tmp29_ = g_get_language_names ();
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp31_ = (_tmp30_ != NULL) ? _vala_array_dup5 (_tmp30_, _vala_array_length (_tmp29_)) : ((gpointer) _tmp30_);
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp31__length1 = _vala_array_length (_tmp29_);
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	langs = _tmp31_;
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	langs_length1 = _tmp31__length1;
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_langs_size_ = langs_length1;
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp32_ = langs;
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp32__length1 = langs_length1;
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp33_ = _tmp32_[0];
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp34_ = g_strdup (_tmp33_);
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->lang);
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->lang = _tmp34_;
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp35_ = avatar_format;
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp36_ = _avatar_format_ref0 (_tmp35_);
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_avatar_format_unref0 (self->avatar_format);
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->avatar_format = _tmp36_;
#line 132 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp37_ = avatar_format;
#line 132 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp37_ == NULL) {
#line 975 "unattended-installer.c"
		AvatarFormat* _tmp38_;
#line 133 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp38_ = avatar_format_new ("png", "", TRUE, -1, -1);
#line 133 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_avatar_format_unref0 (self->avatar_format);
#line 133 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		self->avatar_format = _tmp38_;
#line 983 "unattended-installer.c"
	}
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_setup_ui (self);
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	langs = (_vala_array_free (langs, langs_length1, (GDestroyNotify) g_free), NULL);
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_date_time_unref0 (date);
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return self;
#line 993 "unattended-installer.c"
}


static void boxes_unattended_installer_real_prepare_for_installation_data_free (gpointer _data) {
	BoxesUnattendedInstallerPrepareForInstallationData* _data_;
	_data_ = _data;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->vm_name);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_slice_free (BoxesUnattendedInstallerPrepareForInstallationData, _data_);
#line 1008 "unattended-installer.c"
}


static void boxes_unattended_installer_real_prepare_for_installation (BoxesInstallerMedia* base, const gchar* vm_name, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedInstaller * self;
	BoxesUnattendedInstallerPrepareForInstallationData* _data_;
	BoxesUnattendedInstaller* _tmp0_;
	const gchar* _tmp1_;
	gchar* _tmp2_;
	GCancellable* _tmp3_;
	GCancellable* _tmp4_;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedInstallerPrepareForInstallationData);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_installer_real_prepare_for_installation);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_installer_real_prepare_for_installation_data_free);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = _tmp0_;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = vm_name;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->vm_name);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->vm_name = _tmp2_;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = cancellable;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->cancellable = _tmp4_;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_real_prepare_for_installation_co (_data_);
#line 1050 "unattended-installer.c"
}


static void boxes_unattended_installer_real_prepare_for_installation_finish (BoxesInstallerMedia* base, GAsyncResult* _res_, GError** error) {
	BoxesUnattendedInstallerPrepareForInstallationData* _data_;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return;
#line 1060 "unattended-installer.c"
	}
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 1064 "unattended-installer.c"
}


static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) {
	gchar* result = NULL;
	GError * _inner_error_ = NULL;
#line 1228 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1228 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	g_return_val_if_fail (old != NULL, NULL);
#line 1228 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	g_return_val_if_fail (replacement != NULL, NULL);
#line 1077 "unattended-installer.c"
	{
		const gchar* _tmp0_;
		gchar* _tmp1_ = NULL;
		gchar* _tmp2_;
		GRegex* _tmp3_;
		GRegex* _tmp4_;
		GRegex* regex;
		GRegex* _tmp5_;
		const gchar* _tmp6_;
		gchar* _tmp7_ = NULL;
		gchar* _tmp8_;
#line 1230 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp0_ = old;
#line 1230 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp1_ = g_regex_escape_string (_tmp0_, -1);
#line 1230 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp2_ = _tmp1_;
#line 1230 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_);
#line 1230 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp4_ = _tmp3_;
#line 1230 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_g_free0 (_tmp2_);
#line 1230 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		regex = _tmp4_;
#line 1230 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		if (_inner_error_ != NULL) {
#line 1230 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			if (_inner_error_->domain == G_REGEX_ERROR) {
#line 1107 "unattended-installer.c"
				goto __catch60_g_regex_error;
			}
#line 1230 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1230 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			g_clear_error (&_inner_error_);
#line 1230 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			return NULL;
#line 1116 "unattended-installer.c"
		}
#line 1231 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp5_ = regex;
#line 1231 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp6_ = replacement;
#line 1231 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp7_ = g_regex_replace_literal (_tmp5_, self, (gssize) (-1), 0, _tmp6_, 0, &_inner_error_);
#line 1231 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp8_ = _tmp7_;
#line 1231 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		if (_inner_error_ != NULL) {
#line 1231 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			_g_regex_unref0 (regex);
#line 1231 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			if (_inner_error_->domain == G_REGEX_ERROR) {
#line 1132 "unattended-installer.c"
				goto __catch60_g_regex_error;
			}
#line 1231 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			_g_regex_unref0 (regex);
#line 1231 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1231 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			g_clear_error (&_inner_error_);
#line 1231 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			return NULL;
#line 1143 "unattended-installer.c"
		}
#line 1231 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		result = _tmp8_;
#line 1231 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_g_regex_unref0 (regex);
#line 1231 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		return result;
#line 1151 "unattended-installer.c"
	}
	goto __finally60;
	__catch60_g_regex_error:
	{
		GError* e = NULL;
#line 1229 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		e = _inner_error_;
#line 1229 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_inner_error_ = NULL;
#line 1233 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		g_assert_not_reached ();
#line 1229 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_g_error_free0 (e);
#line 1165 "unattended-installer.c"
	}
	__finally60:
#line 1229 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	if (_inner_error_ != NULL) {
#line 1229 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1229 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		g_clear_error (&_inner_error_);
#line 1229 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		return NULL;
#line 1176 "unattended-installer.c"
	}
}


static void boxes_unattended_installer_prepare_for_installation_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesUnattendedInstallerPrepareForInstallationData* _data_;
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = _user_data_;
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_source_object_ = source_object;
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_res_ = _res_;
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_real_prepare_for_installation_co (_data_);
#line 1191 "unattended-installer.c"
}


static gpointer _g_error_copy0 (gpointer self) {
#line 158 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return self ? g_error_copy (self) : NULL;
#line 1198 "unattended-installer.c"
}


static gboolean boxes_unattended_installer_real_prepare_for_installation_co (BoxesUnattendedInstallerPrepareForInstallationData* _data_) {
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 1207 "unattended-installer.c"
		goto _state_0;
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 1:
#line 1211 "unattended-installer.c"
		goto _state_1;
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 2:
#line 1215 "unattended-installer.c"
		goto _state_2;
		default:
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 1220 "unattended-installer.c"
	}
	_state_0:
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = _data_->self->express_toggle;
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = gtk_switch_get_active (_data_->_tmp0_);
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (!_data_->_tmp2_) {
#line 140 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_debug ("unattended-installer.vala:140: Unattended installation disabled.");
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1237 "unattended-installer.c"
		} else {
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1241 "unattended-installer.c"
		}
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 1247 "unattended-installer.c"
	}
#line 144 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = _data_->vm_name;
#line 144 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = NULL;
#line 144 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = string_replace (_data_->_tmp3_, " ", "-");
#line 144 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->self->hostname);
#line 144 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self->hostname = _data_->_tmp4_;
#line 1259 "unattended-installer.c"
	{
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp5_ = _data_->cancellable;
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_state_ = 1;
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_create_disk_image (_data_->self, _data_->_tmp5_, boxes_unattended_installer_prepare_for_installation_ready, _data_);
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 1269 "unattended-installer.c"
		_state_1:
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_create_disk_image_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 1275 "unattended-installer.c"
			goto __catch61_g_error;
		}
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp6_ = _data_->self->unattended_files;
#line 1280 "unattended-installer.c"
		{
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->unattended_file_collection = _data_->_tmp6_;
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			for (_data_->unattended_file_it = _data_->unattended_file_collection; _data_->unattended_file_it != NULL; _data_->unattended_file_it = _data_->unattended_file_it->next) {
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp7_ = _g_object_ref0 ((BoxesUnattendedFile*) _data_->unattended_file_it->data);
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->unattended_file = _data_->_tmp7_;
#line 1290 "unattended-installer.c"
				{
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp8_ = _data_->unattended_file;
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp9_ = _data_->cancellable;
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_state_ = 2;
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					boxes_unattended_file_copy (_data_->_tmp8_, _data_->_tmp9_, boxes_unattended_installer_prepare_for_installation_ready, _data_);
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					return FALSE;
#line 1302 "unattended-installer.c"
					_state_2:
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					boxes_unattended_file_copy_finish (_data_->_tmp8_, _data_->_res_, &_data_->_inner_error_);
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					if (_data_->_inner_error_ != NULL) {
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_g_object_unref0 (_data_->unattended_file);
#line 1310 "unattended-installer.c"
						goto __catch61_g_error;
					}
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (_data_->unattended_file);
#line 1315 "unattended-installer.c"
				}
			}
		}
	}
	goto __finally61;
	__catch61_g_error:
	{
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_inner_error_ = NULL;
#line 152 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_clean_up (_data_->self, &_data_->_inner_error_);
#line 152 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 152 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_error_free0 (_data_->_error_);
#line 1333 "unattended-installer.c"
			goto __finally61;
		}
#line 156 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp10_ = _data_->self->express_toggle;
#line 156 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		gtk_switch_set_active (_data_->_tmp10_, FALSE);
#line 158 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp11_ = _data_->_error_;
#line 158 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp12_ = _g_error_copy0 (_data_->_tmp11_);
#line 158 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_inner_error_ = _data_->_tmp12_;
#line 158 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_error_free0 (_data_->_error_);
#line 1348 "unattended-installer.c"
		goto __finally61;
	}
	__finally61:
	{
#line 160 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		__g_list_free__g_object_unref0_0 (_data_->self->unattended_files);
#line 160 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->self->unattended_files = NULL;
#line 1357 "unattended-installer.c"
	}
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1369 "unattended-installer.c"
		} else {
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1373 "unattended-installer.c"
		}
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 1379 "unattended-installer.c"
	}
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1385 "unattended-installer.c"
	} else {
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1389 "unattended-installer.c"
	}
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 1395 "unattended-installer.c"
}


static void boxes_unattended_installer_real_setup_domain_config (BoxesInstallerMedia* base, GVirConfigDomain* domain) {
	BoxesUnattendedInstaller * self;
	GVirConfigDomain* _tmp0_;
	GVirConfigDomainDisk* _tmp1_ = NULL;
	GVirConfigDomainDisk* disk;
	GVirConfigDomainDisk* _tmp2_;
	GVirConfigDomain* _tmp3_;
	GVirConfigDomainDisk* _tmp4_;
#line 164 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 164 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (domain != NULL);
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = domain;
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (boxes_unattended_installer_parent_class)->setup_domain_config (G_TYPE_CHECK_INSTANCE_CAST (self, BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMedia), _tmp0_);
#line 167 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = boxes_unattended_installer_get_unattended_disk_config (self);
#line 167 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	disk = _tmp1_;
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = disk;
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp2_ == NULL) {
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (disk);
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return;
#line 1427 "unattended-installer.c"
	}
#line 171 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = domain;
#line 171 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = disk;
#line 171 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_add_device (_tmp3_, (GVirConfigDomainDevice*) _tmp4_);
#line 164 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (disk);
#line 1437 "unattended-installer.c"
}


void boxes_unattended_installer_add_extra_iso (BoxesUnattendedInstaller* self, GVirConfigDomain* domain) {
	gchar* _tmp0_;
	gchar* _tmp1_;
	gchar* _tmp2_;
	gboolean _tmp3_;
	GVirConfigDomain* _tmp4_;
	gchar* _tmp5_;
	gchar* _tmp6_;
	gchar* _tmp7_;
#line 175 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (self != NULL);
#line 175 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (domain != NULL);
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = boxes_unattended_installer_get_extra_iso (self);
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = _tmp0_;
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = _tmp2_ == NULL;
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_tmp2_);
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp3_) {
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return;
#line 1468 "unattended-installer.c"
	}
#line 179 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = domain;
#line 179 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = boxes_unattended_installer_get_extra_iso (self);
#line 179 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = _tmp5_;
#line 179 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp7_ = _tmp6_;
#line 179 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_installer_media_add_cd_config ((BoxesInstallerMedia*) self, _tmp4_, GVIR_CONFIG_DOMAIN_DISK_FILE, _tmp7_, "hdd", FALSE);
#line 179 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_tmp7_);
#line 1482 "unattended-installer.c"
}


static void boxes_unattended_installer_real_populate_setup_vbox (BoxesInstallerMedia* base, GtkVBox* setup_vbox) {
	BoxesUnattendedInstaller * self;
	GtkVBox* _tmp0_;
	GList* _tmp1_ = NULL;
	GtkVBox* _tmp4_;
	GtkLabel* _tmp5_;
	GtkVBox* _tmp6_;
	GtkHBox* _tmp7_;
	GtkVBox* _tmp8_;
#line 182 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 182 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (setup_vbox != NULL);
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = setup_vbox;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = gtk_container_get_children ((GtkContainer*) _tmp0_);
#line 1503 "unattended-installer.c"
	{
		GList* child_collection = NULL;
		GList* child_it = NULL;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		child_collection = _tmp1_;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		for (child_it = child_collection; child_it != NULL; child_it = child_it->next) {
#line 1511 "unattended-installer.c"
			GtkWidget* child = NULL;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			child = (GtkWidget*) child_it->data;
#line 1515 "unattended-installer.c"
			{
				GtkVBox* _tmp2_;
				GtkWidget* _tmp3_;
#line 184 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp2_ = setup_vbox;
#line 184 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp3_ = child;
#line 184 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				gtk_container_remove ((GtkContainer*) _tmp2_, _tmp3_);
#line 1525 "unattended-installer.c"
			}
		}
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_list_free0 (child_collection);
#line 1530 "unattended-installer.c"
	}
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = setup_vbox;
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = self->setup_label;
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_box_pack_start ((GtkBox*) _tmp4_, (GtkWidget*) _tmp5_, FALSE, FALSE, (guint) 0);
#line 187 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = setup_vbox;
#line 187 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp7_ = self->setup_hbox;
#line 187 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_box_pack_start ((GtkBox*) _tmp6_, (GtkWidget*) _tmp7_, FALSE, FALSE, (guint) 0);
#line 188 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp8_ = setup_vbox;
#line 188 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_show_all ((GtkWidget*) _tmp8_);
#line 1548 "unattended-installer.c"
}


static void _boxes_pair_unref0_ (gpointer var) {
#line 191 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	(var == NULL) ? NULL : (var = (boxes_pair_unref (var), NULL));
#line 1555 "unattended-installer.c"
}


static void _g_list_free__boxes_pair_unref0_ (GList* self) {
#line 191 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_list_foreach (self, (GFunc) _boxes_pair_unref0_, NULL);
#line 191 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_list_free (self);
#line 1564 "unattended-installer.c"
}


static GList* boxes_unattended_installer_real_get_vm_properties (BoxesInstallerMedia* base) {
	BoxesUnattendedInstaller * self;
	GList* result = NULL;
	GList* _tmp0_ = NULL;
	GList* properties;
	gboolean _tmp1_;
	gboolean _tmp2_;
#line 191 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 192 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = BOXES_INSTALLER_MEDIA_CLASS (boxes_unattended_installer_parent_class)->get_vm_properties (G_TYPE_CHECK_INSTANCE_CAST (self, BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMedia));
#line 192 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	properties = _tmp0_;
#line 194 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = boxes_unattended_installer_get_express_install (self);
#line 194 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 194 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp2_) {
#line 1587 "unattended-installer.c"
		const gchar* _tmp3_ = NULL;
		const gchar* _tmp4_;
		const gchar* _tmp5_;
		BoxesPair* _tmp6_;
		const gchar* _tmp7_ = NULL;
		gchar* _tmp8_;
		gchar* _tmp9_;
		gchar* _tmp10_;
		BoxesPair* _tmp11_;
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp3_ = _ ("Username");
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp4_ = boxes_unattended_installer_get_username (self);
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp5_ = _tmp4_;
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp6_ = boxes_pair_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, _tmp3_, _tmp5_);
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		properties = g_list_append (properties, _tmp6_);
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp7_ = _ ("Password");
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp8_ = boxes_unattended_installer_get_hidden_password (self);
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp9_ = _tmp8_;
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp10_ = _tmp9_;
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp11_ = boxes_pair_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, _tmp7_, _tmp10_);
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		properties = g_list_append (properties, _tmp11_);
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_tmp10_);
#line 1621 "unattended-installer.c"
	}
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = properties;
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 1627 "unattended-installer.c"
}


static gchar* boxes_unattended_installer_real_fill_unattended_data (BoxesUnattendedInstaller* self, const gchar* data, GError** error) {
	gchar* result = NULL;
	GRegex* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
	gint _tmp3_;
	gint _tmp4_;
	GtkEntry* _tmp5_;
	const gchar* _tmp6_;
	const gchar* _tmp7_;
	gchar* _tmp8_ = NULL;
	gchar* str;
	GRegex* _tmp9_;
	const gchar* _tmp10_;
	const gchar* _tmp11_;
	gint _tmp12_;
	gint _tmp13_;
	gchar* _tmp14_;
	gchar* _tmp15_;
	gchar* _tmp16_;
	gchar* _tmp17_ = NULL;
	gchar* _tmp18_;
	gchar* _tmp19_;
	GRegex* _tmp20_;
	const gchar* _tmp21_;
	const gchar* _tmp22_;
	gint _tmp23_;
	gint _tmp24_;
	const gchar* _tmp25_;
	gchar* _tmp26_ = NULL;
	gchar* _tmp27_;
	GRegex* _tmp28_;
	const gchar* _tmp29_;
	const gchar* _tmp30_;
	gint _tmp31_;
	gint _tmp32_;
	const gchar* _tmp33_;
	gchar* _tmp34_ = NULL;
	gchar* _tmp35_;
	GRegex* _tmp36_;
	const gchar* _tmp37_;
	const gchar* _tmp38_;
	gint _tmp39_;
	gint _tmp40_;
	const gchar* _tmp41_;
	gchar* _tmp42_ = NULL;
	gchar* _tmp43_;
	GError * _inner_error_ = NULL;
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (data != NULL, NULL);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = boxes_unattended_installer_username_regex;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = data;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = data;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = strlen (_tmp2_);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = _tmp3_;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = self->username_entry;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = gtk_entry_get_text (_tmp5_);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp7_ = _tmp6_;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp8_ = g_regex_replace (_tmp0_, _tmp1_, (gssize) _tmp4_, 0, _tmp7_, 0, &_inner_error_);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	str = _tmp8_;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_inner_error_ != NULL) {
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_->domain == G_REGEX_ERROR) {
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_propagate_error (error, _inner_error_);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return NULL;
#line 1709 "unattended-installer.c"
		} else {
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_inner_error_);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return NULL;
#line 1717 "unattended-installer.c"
		}
	}
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp9_ = boxes_unattended_installer_password_regex;
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp10_ = str;
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp11_ = str;
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp12_ = strlen (_tmp11_);
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp13_ = _tmp12_;
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp14_ = boxes_unattended_installer_get_password (self);
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp15_ = _tmp14_;
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp16_ = _tmp15_;
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp17_ = g_regex_replace (_tmp9_, _tmp10_, (gssize) _tmp13_, 0, _tmp16_, 0, &_inner_error_);
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp18_ = _tmp17_;
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_tmp16_);
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp19_ = _tmp18_;
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_inner_error_ != NULL) {
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_->domain == G_REGEX_ERROR) {
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_propagate_error (error, _inner_error_);
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (str);
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return NULL;
#line 1754 "unattended-installer.c"
		} else {
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (str);
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_inner_error_);
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return NULL;
#line 1764 "unattended-installer.c"
		}
	}
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (str);
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	str = _tmp19_;
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp20_ = boxes_unattended_installer_timezone_regex;
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp21_ = str;
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp22_ = str;
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp23_ = strlen (_tmp22_);
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp24_ = _tmp23_;
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp25_ = self->timezone;
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp26_ = g_regex_replace (_tmp20_, _tmp21_, (gssize) _tmp24_, 0, _tmp25_, 0, &_inner_error_);
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp27_ = _tmp26_;
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_inner_error_ != NULL) {
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_->domain == G_REGEX_ERROR) {
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_propagate_error (error, _inner_error_);
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (str);
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return NULL;
#line 1797 "unattended-installer.c"
		} else {
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (str);
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_inner_error_);
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return NULL;
#line 1807 "unattended-installer.c"
		}
	}
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (str);
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	str = _tmp27_;
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp28_ = boxes_unattended_installer_lang_regex;
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp29_ = str;
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp30_ = str;
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp31_ = strlen (_tmp30_);
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp32_ = _tmp31_;
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp33_ = self->lang;
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp34_ = g_regex_replace (_tmp28_, _tmp29_, (gssize) _tmp32_, 0, _tmp33_, 0, &_inner_error_);
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp35_ = _tmp34_;
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_inner_error_ != NULL) {
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_->domain == G_REGEX_ERROR) {
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_propagate_error (error, _inner_error_);
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (str);
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return NULL;
#line 1840 "unattended-installer.c"
		} else {
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (str);
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_inner_error_);
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return NULL;
#line 1850 "unattended-installer.c"
		}
	}
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (str);
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	str = _tmp35_;
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp36_ = boxes_unattended_installer_host_regex;
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp37_ = str;
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp38_ = str;
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp39_ = strlen (_tmp38_);
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp40_ = _tmp39_;
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp41_ = self->hostname;
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp42_ = g_regex_replace (_tmp36_, _tmp37_, (gssize) _tmp40_, 0, _tmp41_, 0, &_inner_error_);
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp43_ = _tmp42_;
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_inner_error_ != NULL) {
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_->domain == G_REGEX_ERROR) {
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_propagate_error (error, _inner_error_);
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (str);
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return NULL;
#line 1883 "unattended-installer.c"
		} else {
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (str);
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_inner_error_);
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return NULL;
#line 1893 "unattended-installer.c"
		}
	}
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (str);
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	str = _tmp43_;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = str;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 1904 "unattended-installer.c"
}


gchar* boxes_unattended_installer_fill_unattended_data (BoxesUnattendedInstaller* self, const gchar* data, GError** error) {
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return BOXES_UNATTENDED_INSTALLER_GET_CLASS (self)->fill_unattended_data (self, data, error);
#line 1913 "unattended-installer.c"
}


gchar* boxes_unattended_installer_get_user_unattended (BoxesUnattendedInstaller* self, const gchar* suffix) {
	gchar* result = NULL;
	const gchar* _tmp0_;
	gchar* _tmp1_;
	gchar* filename;
	const gchar* _tmp2_;
	const gchar* _tmp8_;
	gchar* _tmp9_ = NULL;
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->hostname;
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	filename = _tmp1_;
#line 214 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = suffix;
#line 214 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp2_ != NULL) {
#line 1937 "unattended-installer.c"
		const gchar* _tmp3_;
		const gchar* _tmp4_;
		gchar* _tmp5_;
		gchar* _tmp6_;
		gchar* _tmp7_;
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp3_ = filename;
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp4_ = suffix;
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp5_ = g_strconcat ("-", _tmp4_, NULL);
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp6_ = _tmp5_;
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp7_ = g_strconcat (_tmp3_, _tmp6_, NULL);
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (filename);
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		filename = _tmp7_;
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_tmp6_);
#line 1959 "unattended-installer.c"
	}
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp8_ = filename;
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp9_ = boxes_get_user_pkgcache (_tmp8_);
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp9_;
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (filename);
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 1971 "unattended-installer.c"
}


static Block42Data* block42_data_ref (Block42Data* _data42_) {
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_atomic_int_inc (&_data42_->_ref_count_);
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return _data42_;
#line 1980 "unattended-installer.c"
}


static void block42_data_unref (void * _userdata_) {
	Block42Data* _data42_;
	_data42_ = (Block42Data*) _userdata_;
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_atomic_int_dec_and_test (&_data42_->_ref_count_)) {
#line 1989 "unattended-installer.c"
		BoxesUnattendedInstaller * self;
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		self = _data42_->self;
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data42_->notebook);
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (self);
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_slice_free (Block42Data, _data42_);
#line 1999 "unattended-installer.c"
	}
}


static void __lambda51_ (BoxesUnattendedInstaller* self) {
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject*) self, "ready-to-create");
#line 2007 "unattended-installer.c"
}


static void ___lambda51__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	__lambda51_ (self);
#line 2014 "unattended-installer.c"
}


static void __lambda53_ (Block42Data* _data42_) {
	BoxesUnattendedInstaller * self;
	GtkNotebook* _tmp0_;
	GtkEntry* _tmp1_;
#line 295 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = _data42_->self;
#line 296 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _data42_->notebook;
#line 296 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_notebook_next_page (_tmp0_);
#line 297 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = self->password_entry;
#line 297 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_set ((GtkWidget*) _tmp1_, "is-focus", TRUE, NULL);
#line 2032 "unattended-installer.c"
}


static void ___lambda53__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 295 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	__lambda53_ (self);
#line 2039 "unattended-installer.c"
}


static gboolean __lambda54_ (Block42Data* _data42_) {
	BoxesUnattendedInstaller * self;
	gboolean result = FALSE;
	GtkEntry* _tmp0_;
	guint _tmp1_;
	guint _tmp2_;
#line 299 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = _data42_->self;
#line 300 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->password_entry;
#line 300 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = gtk_entry_get_text_length (_tmp0_);
#line 300 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 300 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp2_ == ((guint) 0)) {
#line 2059 "unattended-installer.c"
		GtkNotebook* _tmp3_;
#line 301 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp3_ = _data42_->notebook;
#line 301 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		gtk_notebook_prev_page (_tmp3_);
#line 2065 "unattended-installer.c"
	}
#line 302 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = FALSE;
#line 302 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 2071 "unattended-installer.c"
}


static gboolean ___lambda54__gtk_widget_focus_out_event (GtkWidget* _sender, GdkEventFocus* event, gpointer self) {
	gboolean result;
	result = __lambda54_ (self);
#line 299 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 2080 "unattended-installer.c"
}


static void boxes_unattended_installer_real_setup_ui (BoxesUnattendedInstaller* self) {
	Block42Data* _data42_;
	const gchar* _tmp0_ = NULL;
	GtkLabel* _tmp1_;
	GtkLabel* _tmp2_;
	GtkLabel* _tmp3_;
	GtkLabel* _tmp4_;
	GtkHBox* _tmp5_;
	GtkHBox* _tmp6_;
	GtkHBox* _tmp7_;
	GtkGrid* _tmp8_;
	GtkHBox* _tmp9_;
	GtkGrid* _tmp10_;
	GtkGrid* _tmp11_;
	GtkGrid* _tmp12_;
	GtkGrid* _tmp13_;
	GtkGrid* _tmp14_;
	const gchar* _tmp15_ = NULL;
	GtkLabel* _tmp16_;
	GtkLabel* label;
	GtkLabel* _tmp17_;
	GtkLabel* _tmp18_;
	GtkLabel* _tmp19_;
	GtkLabel* _tmp20_;
	GtkGrid* _tmp21_;
	GtkLabel* _tmp22_;
	GtkSwitch* _tmp23_;
	GtkSwitch* _tmp24_;
	OsinfoMedia* _tmp25_;
	gboolean _tmp26_ = FALSE;
	gboolean _tmp27_;
	GtkSwitch* _tmp28_;
	GtkSwitch* _tmp29_;
	GtkSwitch* _tmp30_;
	GtkSwitch* _tmp31_;
	GtkGrid* _tmp32_;
	GtkSwitch* _tmp33_;
	gint _tmp34_;
	GtkImage* _tmp35_;
	GtkImage* avatar;
	GtkImage* _tmp36_;
	GtkImage* _tmp37_;
	GtkImage* _tmp38_;
	GtkImage* _tmp39_;
	GtkGrid* _tmp40_;
	GtkImage* _tmp41_;
	GtkImage* _tmp42_;
	GtkImage* _tmp43_;
	const gchar* _tmp44_ = NULL;
	GtkLabel* _tmp45_;
	GtkLabel* _tmp46_;
	GtkLabel* _tmp47_;
	GtkLabel* _tmp48_;
	GtkLabel* _tmp49_;
	GtkGrid* _tmp50_;
	GtkLabel* _tmp51_;
	const gchar* _tmp52_ = NULL;
	GtkEntry* _tmp53_ = NULL;
	GtkEntry* _tmp54_;
	GtkEntry* _tmp55_;
	GtkEntry* _tmp56_;
	GtkGrid* _tmp57_;
	GtkEntry* _tmp58_;
	gint _tmp59_;
	const gchar* _tmp60_ = NULL;
	GtkLabel* _tmp61_;
	GtkLabel* _tmp62_;
	GtkLabel* _tmp63_;
	GtkLabel* _tmp64_;
	GtkGrid* _tmp65_;
	GtkLabel* _tmp66_;
	GtkNotebook* _tmp67_;
	GtkNotebook* _tmp68_;
	GtkNotebook* _tmp69_;
	GtkNotebook* _tmp70_;
	GtkNotebook* _tmp71_;
	const gchar* _tmp72_ = NULL;
	GtkButton* _tmp73_;
	GtkButton* button;
	GtkButton* _tmp74_;
	GtkNotebook* _tmp75_;
	GtkButton* _tmp76_;
	GtkEntry* _tmp77_ = NULL;
	GtkNotebook* _tmp78_;
	GtkEntry* _tmp79_;
	GtkButton* _tmp80_;
	GtkEntry* _tmp81_;
	GtkGrid* _tmp82_;
	GtkNotebook* _tmp83_;
	gint _tmp84_;
	GtkGrid* _tmp85_;
	GList* _tmp86_ = NULL;
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data42_ = g_slice_new0 (Block42Data);
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data42_->_ref_count_ = 1;
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data42_->self = g_object_ref (self);
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _ ("Choose express install to automatically preconfigure the box with opti" \
"mal settings.");
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = (GtkLabel*) gtk_label_new (_tmp0_);
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp1_);
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->setup_label);
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->setup_label = _tmp1_;
#line 222 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = self->setup_label;
#line 222 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_set (_tmp2_, "wrap", TRUE, NULL);
#line 223 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = self->setup_label;
#line 223 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_label_set_width_chars (_tmp3_, 30);
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = self->setup_label;
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp4_, GTK_ALIGN_START);
#line 225 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = (GtkHBox*) gtk_hbox_new (FALSE, 0);
#line 225 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp5_);
#line 225 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->setup_hbox);
#line 225 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->setup_hbox = _tmp5_;
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = self->setup_hbox;
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp6_, GTK_ALIGN_START);
#line 227 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp7_ = self->setup_hbox;
#line 227 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_set ((GtkWidget*) _tmp7_, "margin", 24, NULL);
#line 229 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp8_ = (GtkGrid*) gtk_grid_new ();
#line 229 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp8_);
#line 229 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->setup_grid);
#line 229 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->setup_grid = _tmp8_;
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp9_ = self->setup_hbox;
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp10_ = self->setup_grid;
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_box_pack_start ((GtkBox*) _tmp9_, (GtkWidget*) _tmp10_, FALSE, FALSE, (guint) 0);
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp11_ = self->setup_grid;
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_set_column_spacing (_tmp11_, 0);
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp12_ = self->setup_grid;
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_set_column_homogeneous (_tmp12_, FALSE);
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp13_ = self->setup_grid;
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_set_row_spacing (_tmp13_, 0);
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp14_ = self->setup_grid;
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_set_row_homogeneous (_tmp14_, TRUE);
#line 239 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp15_ = _ ("Express Install");
#line 239 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp16_ = (GtkLabel*) gtk_label_new (_tmp15_);
#line 239 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp16_);
#line 239 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	label = _tmp16_;
#line 240 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp17_ = label;
#line 240 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_right ((GtkWidget*) _tmp17_, 10);
#line 241 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp18_ = label;
#line 241 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_bottom ((GtkWidget*) _tmp18_, 15);
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp19_ = label;
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp19_, GTK_ALIGN_END);
#line 243 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp20_ = label;
#line 243 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp20_, GTK_ALIGN_CENTER);
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp21_ = self->setup_grid;
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp22_ = label;
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_attach (_tmp21_, (GtkWidget*) _tmp22_, 0, 0, 2, 1);
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp23_ = (GtkSwitch*) gtk_switch_new ();
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp23_);
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->express_toggle);
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->express_toggle = _tmp23_;
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp24_ = self->express_toggle;
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp25_ = ((BoxesInstallerMedia*) self)->os_media;
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_get (_tmp25_, "live", &_tmp26_, NULL);
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp27_ = _tmp26_;
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_switch_set_active (_tmp24_, !_tmp27_);
#line 248 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp28_ = self->express_toggle;
#line 248 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_bottom ((GtkWidget*) _tmp28_, 15);
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp29_ = self->express_toggle;
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp29_, GTK_ALIGN_START);
#line 250 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp30_ = self->express_toggle;
#line 250 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp30_, GTK_ALIGN_CENTER);
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp31_ = self->express_toggle;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_signal_connect_object ((GObject*) _tmp31_, "notify::active", (GCallback) ___lambda51__g_object_notify, self, 0);
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp32_ = self->setup_grid;
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp33_ = self->express_toggle;
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_attach (_tmp32_, (GtkWidget*) _tmp33_, 2, 0, 1, 1);
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp34_ = self->setup_grid_n_rows;
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->setup_grid_n_rows = _tmp34_ + 1;
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp35_ = (GtkImage*) gtk_image_new_from_icon_name ("avatar-default", 0);
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp35_);
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	avatar = _tmp35_;
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp36_ = avatar;
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_image_set_pixel_size (_tmp36_, 64);
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp37_ = avatar;
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_right ((GtkWidget*) _tmp37_, 15);
#line 259 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp38_ = avatar;
#line 259 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp38_, GTK_ALIGN_CENTER);
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp39_ = avatar;
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp39_, GTK_ALIGN_CENTER);
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp40_ = self->setup_grid;
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp41_ = avatar;
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_attach (_tmp40_, (GtkWidget*) _tmp41_, 0, 1, 1, 2);
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp42_ = avatar;
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_show_all ((GtkWidget*) _tmp42_);
#line 263 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp43_ = avatar;
#line 263 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_fetch_user_avatar (self, _tmp43_, NULL, NULL);
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp44_ = _ ("Username");
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp45_ = (GtkLabel*) gtk_label_new (_tmp44_);
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp45_);
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (label);
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	label = _tmp45_;
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp46_ = label;
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_right ((GtkWidget*) _tmp46_, 10);
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp47_ = label;
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_bottom ((GtkWidget*) _tmp47_, 10);
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp48_ = label;
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp48_, GTK_ALIGN_END);
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp49_ = label;
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp49_, GTK_ALIGN_END);
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp50_ = self->setup_grid;
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp51_ = label;
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_attach (_tmp50_, (GtkWidget*) _tmp51_, 1, 1, 1, 1);
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp52_ = g_get_user_name ();
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp53_ = boxes_unattended_installer_create_input_entry (self, _tmp52_, TRUE, TRUE);
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->username_entry);
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->username_entry = _tmp53_;
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp54_ = self->username_entry;
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_bottom ((GtkWidget*) _tmp54_, 10);
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp55_ = self->username_entry;
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp55_, GTK_ALIGN_FILL);
#line 274 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp56_ = self->username_entry;
#line 274 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp56_, GTK_ALIGN_END);
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp57_ = self->setup_grid;
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp58_ = self->username_entry;
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_attach (_tmp57_, (GtkWidget*) _tmp58_, 2, 1, 1, 1);
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp59_ = self->setup_grid_n_rows;
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->setup_grid_n_rows = _tmp59_ + 1;
#line 279 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp60_ = _ ("Password");
#line 279 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp61_ = (GtkLabel*) gtk_label_new (_tmp60_);
#line 279 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp61_);
#line 279 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (label);
#line 279 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	label = _tmp61_;
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp62_ = label;
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_right ((GtkWidget*) _tmp62_, 10);
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp63_ = label;
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp63_, GTK_ALIGN_END);
#line 282 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp64_ = label;
#line 282 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp64_, GTK_ALIGN_START);
#line 283 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp65_ = self->setup_grid;
#line 283 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp66_ = label;
#line 283 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_attach (_tmp65_, (GtkWidget*) _tmp66_, 1, 2, 1, 1);
#line 285 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp67_ = (GtkNotebook*) gtk_notebook_new ();
#line 285 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp67_);
#line 285 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data42_->notebook = _tmp67_;
#line 286 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp68_ = _data42_->notebook;
#line 286 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_notebook_set_show_tabs (_tmp68_, FALSE);
#line 287 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp69_ = _data42_->notebook;
#line 287 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_notebook_set_show_border (_tmp69_, FALSE);
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp70_ = _data42_->notebook;
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp70_, GTK_ALIGN_FILL);
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp71_ = _data42_->notebook;
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp71_, GTK_ALIGN_START);
#line 290 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp72_ = _ ("_Add Password");
#line 290 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp73_ = (GtkButton*) gtk_button_new_with_mnemonic (_tmp72_);
#line 290 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp73_);
#line 290 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	button = _tmp73_;
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp74_ = button;
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp74_, TRUE);
#line 292 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp75_ = _data42_->notebook;
#line 292 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp76_ = button;
#line 292 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_notebook_append_page (_tmp75_, (GtkWidget*) _tmp76_, NULL);
#line 293 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp77_ = boxes_unattended_installer_create_input_entry (self, "", FALSE, FALSE);
#line 293 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->password_entry);
#line 293 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->password_entry = _tmp77_;
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp78_ = _data42_->notebook;
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp79_ = self->password_entry;
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_notebook_append_page (_tmp78_, (GtkWidget*) _tmp79_, NULL);
#line 295 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp80_ = button;
#line 295 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_signal_connect_data (_tmp80_, "clicked", (GCallback) ___lambda53__gtk_button_clicked, block42_data_ref (_data42_), (GClosureNotify) block42_data_unref, 0);
#line 299 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp81_ = self->password_entry;
#line 299 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_signal_connect_data ((GtkWidget*) _tmp81_, "focus-out-event", (GCallback) ___lambda54__gtk_widget_focus_out_event, block42_data_ref (_data42_), (GClosureNotify) block42_data_unref, 0);
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp82_ = self->setup_grid;
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp83_ = _data42_->notebook;
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_attach (_tmp82_, (GtkWidget*) _tmp83_, 2, 2, 1, 1);
#line 305 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp84_ = self->setup_grid_n_rows;
#line 305 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->setup_grid_n_rows = _tmp84_ + 1;
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp85_ = self->setup_grid;
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp86_ = gtk_container_get_children ((GtkContainer*) _tmp85_);
#line 2524 "unattended-installer.c"
	{
		GList* child_collection = NULL;
		GList* child_it = NULL;
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		child_collection = _tmp86_;
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		for (child_it = child_collection; child_it != NULL; child_it = child_it->next) {
#line 2532 "unattended-installer.c"
			GtkWidget* child = NULL;
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			child = (GtkWidget*) child_it->data;
#line 2536 "unattended-installer.c"
			{
				GtkWidget* _tmp87_;
				GtkSwitch* _tmp88_;
#line 308 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp87_ = child;
#line 308 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp88_ = self->express_toggle;
#line 308 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (_tmp87_ != G_TYPE_CHECK_INSTANCE_CAST (_tmp88_, GTK_TYPE_WIDGET, GtkWidget)) {
#line 2546 "unattended-installer.c"
					GtkSwitch* _tmp89_;
					GtkWidget* _tmp90_;
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp89_ = self->express_toggle;
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp90_ = child;
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					g_object_bind_property_with_closures ((GObject*) _tmp89_, "active", (GObject*) _tmp90_, "sensitive", G_BINDING_SYNC_CREATE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 2555 "unattended-installer.c"
				}
			}
		}
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_list_free0 (child_collection);
#line 2561 "unattended-installer.c"
	}
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (button);
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (avatar);
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (label);
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	block42_data_unref (_data42_);
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data42_ = NULL;
#line 2573 "unattended-installer.c"
}


void boxes_unattended_installer_setup_ui (BoxesUnattendedInstaller* self) {
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (self != NULL);
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_UNATTENDED_INSTALLER_GET_CLASS (self)->setup_ui (self);
#line 2582 "unattended-installer.c"
}


static void boxes_unattended_installer_real_clean_up (BoxesUnattendedInstaller* self, GError** error) {
	GFile* _tmp0_;
	GError * _inner_error_ = NULL;
#line 313 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->disk_file;
#line 313 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp0_ != NULL) {
#line 2593 "unattended-installer.c"
		GFile* _tmp1_;
#line 314 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp1_ = self->disk_file;
#line 314 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_delete_file (_tmp1_, &_inner_error_);
#line 314 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_ != NULL) {
#line 314 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_propagate_error (error, _inner_error_);
#line 314 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return;
#line 2605 "unattended-installer.c"
		}
#line 316 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (self->disk_file);
#line 316 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		self->disk_file = NULL;
#line 2611 "unattended-installer.c"
	}
}


void boxes_unattended_installer_clean_up (BoxesUnattendedInstaller* self, GError** error) {
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (self != NULL);
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_UNATTENDED_INSTALLER_GET_CLASS (self)->clean_up (self, error);
#line 2621 "unattended-installer.c"
}


static GVirConfigDomainDisk* boxes_unattended_installer_real_get_unattended_disk_config (BoxesUnattendedInstaller* self) {
	GVirConfigDomainDisk* result = NULL;
	GtkSwitch* _tmp0_;
	gboolean _tmp1_;
	gboolean _tmp2_;
	GFile* _tmp3_;
	GVirConfigDomainDisk* _tmp4_;
	GVirConfigDomainDisk* disk;
	GVirConfigDomainDisk* _tmp5_;
	GVirConfigDomainDisk* _tmp6_;
	GVirConfigDomainDisk* _tmp7_;
	GVirConfigDomainDisk* _tmp8_;
	GVirConfigDomainDisk* _tmp9_;
	GFile* _tmp10_;
	gchar* _tmp11_ = NULL;
	gchar* _tmp12_;
	GVirConfigDomainDisk* _tmp13_;
#line 321 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->express_toggle;
#line 321 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = gtk_switch_get_active (_tmp0_);
#line 321 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 321 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (!_tmp2_) {
#line 322 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		result = NULL;
#line 322 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return result;
#line 2654 "unattended-installer.c"
	}
#line 324 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = self->disk_file;
#line 324 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (_tmp3_ != NULL, NULL);
#line 326 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = gvir_config_domain_disk_new ();
#line 326 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	disk = _tmp4_;
#line 327 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = disk;
#line 327 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_disk_set_type (_tmp5_, GVIR_CONFIG_DOMAIN_DISK_FILE);
#line 328 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = disk;
#line 328 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_disk_set_guest_device_type (_tmp6_, GVIR_CONFIG_DOMAIN_DISK_GUEST_DEVICE_DISK);
#line 329 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp7_ = disk;
#line 329 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_disk_set_driver_name (_tmp7_, "qemu");
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp8_ = disk;
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_disk_set_driver_type (_tmp8_, "raw");
#line 331 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp9_ = disk;
#line 331 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp10_ = self->disk_file;
#line 331 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp11_ = g_file_get_path (_tmp10_);
#line 331 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp12_ = _tmp11_;
#line 331 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_disk_set_source (_tmp9_, _tmp12_);
#line 331 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_tmp12_);
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp13_ = disk;
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_disk_set_target_dev (_tmp13_, "sdb");
#line 334 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = disk;
#line 334 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 2700 "unattended-installer.c"
}


GVirConfigDomainDisk* boxes_unattended_installer_get_unattended_disk_config (BoxesUnattendedInstaller* self) {
#line 320 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 320 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return BOXES_UNATTENDED_INSTALLER_GET_CLASS (self)->get_unattended_disk_config (self);
#line 2709 "unattended-installer.c"
}


void boxes_unattended_installer_add_unattended_file (BoxesUnattendedInstaller* self, BoxesUnattendedFile* file) {
	BoxesUnattendedFile* _tmp0_;
	BoxesUnattendedFile* _tmp1_;
#line 337 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (self != NULL);
#line 337 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (file != NULL);
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = file;
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->unattended_files = g_list_append (self->unattended_files, _tmp1_);
#line 2726 "unattended-installer.c"
}


static void ___lambda52_ (BoxesUnattendedInstaller* self) {
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject*) self, "ready-to-create");
#line 2733 "unattended-installer.c"
}


static void ____lambda52__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 348 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	___lambda52_ (self);
#line 2740 "unattended-installer.c"
}


GtkEntry* boxes_unattended_installer_create_input_entry (BoxesUnattendedInstaller* self, const gchar* text, gboolean mandatory, gboolean visibility) {
	GtkEntry* result = NULL;
	GtkEntry* _tmp0_;
	GtkEntry* entry;
	GtkEntry* _tmp1_;
	gboolean _tmp2_;
	GtkEntry* _tmp3_;
	GtkEntry* _tmp4_;
	const gchar* _tmp5_;
	gboolean _tmp6_;
#line 341 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 341 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (text != NULL, NULL);
#line 342 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = (GtkEntry*) gtk_entry_new ();
#line 342 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp0_);
#line 342 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	entry = _tmp0_;
#line 343 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = entry;
#line 343 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = visibility;
#line 343 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_entry_set_visibility (_tmp1_, _tmp2_);
#line 344 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = entry;
#line 344 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp3_, TRUE);
#line 345 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = entry;
#line 345 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = text;
#line 345 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_entry_set_text (_tmp4_, _tmp5_);
#line 347 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = mandatory;
#line 347 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp6_) {
#line 2784 "unattended-installer.c"
		GtkEntry* _tmp7_;
#line 348 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp7_ = entry;
#line 348 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_signal_connect_object ((GObject*) _tmp7_, "notify::text", (GCallback) ____lambda52__g_object_notify, self, 0);
#line 2790 "unattended-installer.c"
	}
#line 352 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = entry;
#line 352 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 2796 "unattended-installer.c"
}


static void boxes_unattended_installer_create_disk_image_data_free (gpointer _data) {
	BoxesUnattendedInstallerCreateDiskImageData* _data_;
	_data_ = _data;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_slice_free (BoxesUnattendedInstallerCreateDiskImageData, _data_);
#line 2809 "unattended-installer.c"
}


static void boxes_unattended_installer_create_disk_image (BoxesUnattendedInstaller* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedInstallerCreateDiskImageData* _data_;
	BoxesUnattendedInstaller* _tmp0_;
	GCancellable* _tmp1_;
	GCancellable* _tmp2_;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedInstallerCreateDiskImageData);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_installer_create_disk_image);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_installer_create_disk_image_data_free);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = _tmp0_;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = cancellable;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->cancellable = _tmp2_;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_create_disk_image_co (_data_);
#line 2838 "unattended-installer.c"
}


static void boxes_unattended_installer_create_disk_image_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_, GError** error) {
	BoxesUnattendedInstallerCreateDiskImageData* _data_;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return;
#line 2848 "unattended-installer.c"
	}
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 2852 "unattended-installer.c"
}


static void boxes_unattended_installer_create_disk_image_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesUnattendedInstallerCreateDiskImageData* _data_;
#line 363 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = _user_data_;
#line 363 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_source_object_ = source_object;
#line 363 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_res_ = _res_;
#line 363 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_create_disk_image_co (_data_);
#line 2866 "unattended-installer.c"
}


static gboolean boxes_unattended_installer_create_disk_image_co (BoxesUnattendedInstallerCreateDiskImageData* _data_) {
#line 355 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 355 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 2875 "unattended-installer.c"
		goto _state_0;
#line 355 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 1:
#line 2879 "unattended-installer.c"
		goto _state_1;
		default:
#line 355 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 2884 "unattended-installer.c"
	}
	_state_0:
#line 356 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = NULL;
#line 356 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = boxes_unattended_installer_get_user_unattended (_data_->self, "unattended.img");
#line 356 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->disk_path = _data_->_tmp0_;
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = NULL;
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = g_file_new_for_path (_data_->disk_path);
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self->disk_file);
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self->disk_file = _data_->_tmp1_;
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = NULL;
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = boxes_get_unattended ("disk.img");
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->template_path = _data_->_tmp2_;
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = NULL;
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = g_file_new_for_path (_data_->template_path);
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->template_file = _data_->_tmp3_;
#line 362 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_debug ("unattended-installer.vala:362: Creating disk image for unattended inst" \
"allation at '%s'..", _data_->disk_path);
#line 363 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = _data_->self->disk_file;
#line 363 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp5_ = _data_->cancellable;
#line 363 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_state_ = 1;
#line 363 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_file_copy_async (_data_->template_file, _data_->_tmp4_, G_FILE_COPY_OVERWRITE, G_PRIORITY_DEFAULT, _data_->_tmp5_, NULL, NULL, boxes_unattended_installer_create_disk_image_ready, _data_);
#line 363 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 2925 "unattended-installer.c"
	_state_1:
#line 363 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_file_copy_finish (_data_->template_file, _data_->_res_, &_data_->_inner_error_);
#line 363 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 363 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 363 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 363 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->template_file);
#line 363 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->template_path);
#line 363 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->disk_path);
#line 363 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 363 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2945 "unattended-installer.c"
		} else {
#line 363 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 2949 "unattended-installer.c"
		}
#line 363 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 363 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 2955 "unattended-installer.c"
	}
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_debug ("unattended-installer.vala:364: Floppy image for unattended installatio" \
"n created at '%s'", _data_->disk_path);
#line 355 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->template_file);
#line 355 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->template_path);
#line 355 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->disk_path);
#line 355 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 355 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2969 "unattended-installer.c"
	} else {
#line 355 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2973 "unattended-installer.c"
	}
#line 355 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 355 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 2979 "unattended-installer.c"
}


static gchar* boxes_unattended_installer_lookup_extra_iso (BoxesUnattendedInstaller* self, const gchar* name) {
	gchar* result = NULL;
	const gchar* _tmp0_;
	gchar* _tmp1_ = NULL;
	gchar* path;
	const gchar* _tmp2_;
	gboolean _tmp3_ = FALSE;
	const gchar* _tmp4_;
	gchar* _tmp5_ = NULL;
	const gchar* _tmp6_;
	gboolean _tmp7_ = FALSE;
#line 367 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 367 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (name != NULL, NULL);
#line 369 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = name;
#line 369 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = boxes_get_user_pkgcache (_tmp0_);
#line 369 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	path = _tmp1_;
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = path;
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = g_file_test (_tmp2_, G_FILE_TEST_IS_REGULAR);
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp3_) {
#line 372 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		result = path;
#line 372 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return result;
#line 3014 "unattended-installer.c"
	}
#line 374 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = name;
#line 374 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = boxes_get_unattended (_tmp4_);
#line 374 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (path);
#line 374 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	path = _tmp5_;
#line 375 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = path;
#line 375 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp7_ = g_file_test (_tmp6_, G_FILE_TEST_IS_REGULAR);
#line 375 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp7_) {
#line 376 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		result = path;
#line 376 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return result;
#line 3034 "unattended-installer.c"
	}
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = NULL;
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (path);
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 3042 "unattended-installer.c"
}


static void boxes_unattended_installer_fetch_user_avatar_data_free (gpointer _data) {
	BoxesUnattendedInstallerFetchUserAvatarData* _data_;
	_data_ = _data;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->avatar);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_slice_free (BoxesUnattendedInstallerFetchUserAvatarData, _data_);
#line 3055 "unattended-installer.c"
}


static void boxes_unattended_installer_fetch_user_avatar (BoxesUnattendedInstaller* self, GtkImage* avatar, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedInstallerFetchUserAvatarData* _data_;
	BoxesUnattendedInstaller* _tmp0_;
	GtkImage* _tmp1_;
	GtkImage* _tmp2_;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedInstallerFetchUserAvatarData);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_installer_fetch_user_avatar);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_installer_fetch_user_avatar_data_free);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = _tmp0_;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = avatar;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->avatar);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->avatar = _tmp2_;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_fetch_user_avatar_co (_data_);
#line 3084 "unattended-installer.c"
}


static void boxes_unattended_installer_fetch_user_avatar_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_) {
	BoxesUnattendedInstallerFetchUserAvatarData* _data_;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 3092 "unattended-installer.c"
}


static void boxes_unattended_installer_fetch_user_avatar_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesUnattendedInstallerFetchUserAvatarData* _data_;
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = _user_data_;
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_source_object_ = source_object;
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_res_ = _res_;
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_fetch_user_avatar_co (_data_);
#line 3106 "unattended-installer.c"
}


static gboolean boxes_unattended_installer_fetch_user_avatar_co (BoxesUnattendedInstallerFetchUserAvatarData* _data_) {
#line 381 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 381 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 3115 "unattended-installer.c"
		goto _state_0;
#line 381 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 1:
#line 3119 "unattended-installer.c"
		goto _state_1;
#line 381 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 2:
#line 3123 "unattended-installer.c"
		goto _state_2;
		default:
#line 381 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 3128 "unattended-installer.c"
	}
	_state_0:
#line 382 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = boxes_unattended_installer_accounts;
#line 382 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_tmp0_ == NULL) {
#line 383 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 383 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3139 "unattended-installer.c"
		} else {
#line 383 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 3143 "unattended-installer.c"
		}
#line 383 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 383 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 3149 "unattended-installer.c"
	}
#line 385 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = NULL;
#line 385 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = g_get_user_name ();
#line 385 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = g_strdup (_data_->_tmp1_);
#line 385 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->username = _data_->_tmp2_;
#line 386 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = _data_->username;
#line 386 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = g_strconcat ("/var/lib/AccountsService/icons/", _data_->_tmp3_, NULL);
#line 386 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->avatar_path = _data_->_tmp4_;
#line 3165 "unattended-installer.c"
	{
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp5_ = boxes_unattended_installer_accounts;
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp6_ = NULL;
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp6_ = g_get_user_name ();
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_state_ = 1;
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_fdo_accounts_FindUserByName (_data_->_tmp5_, _data_->_tmp6_, boxes_unattended_installer_fetch_user_avatar_ready, _data_);
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 3179 "unattended-installer.c"
		_state_1:
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp7_ = NULL;
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp7_ = boxes_fdo_accounts_FindUserByName_finish (_data_->_tmp5_, _data_->_res_, &_data_->_inner_error_);
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->path = _data_->_tmp7_;
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_data_->_inner_error_->domain == G_IO_ERROR) {
#line 3191 "unattended-installer.c"
				goto __catch62_g_io_error;
			}
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->avatar_path);
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->username);
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_data_->_inner_error_);
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return FALSE;
#line 3204 "unattended-installer.c"
		}
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp8_ = _data_->path;
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_state_ = 2;
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_async_initable_new_async (BOXES_FDO_TYPE_ACCOUNTS_USER_PROXY, 0, NULL, boxes_unattended_installer_fetch_user_avatar_ready, _data_, "g-flags", 0, "g-name", "org.freedesktop.Accounts", "g-bus-type", G_BUS_TYPE_SYSTEM, "g-object-path", _data_->_tmp8_, "g-interface-name", "org.freedesktop.Accounts.User", NULL);
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 3214 "unattended-installer.c"
		_state_2:
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp9_ = NULL;
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp9_ = g_async_initable_new_finish (_data_->_source_object_, _data_->_res_, &_data_->_inner_error_);
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->user = (BoxesFdoAccountsUser*) _data_->_tmp9_;
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->path);
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_data_->_inner_error_->domain == G_IO_ERROR) {
#line 3228 "unattended-installer.c"
				goto __catch62_g_io_error;
			}
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->path);
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->avatar_path);
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->username);
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_data_->_inner_error_);
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return FALSE;
#line 3243 "unattended-installer.c"
		}
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp10_ = _data_->user;
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp11_ = boxes_fdo_accounts_user_get_IconFile (_data_->_tmp10_);
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp12_ = _data_->_tmp11_;
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->avatar_path);
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->avatar_path = _data_->_tmp12_;
#line 388 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->user);
#line 388 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->path);
#line 3259 "unattended-installer.c"
	}
	goto __finally62;
	__catch62_g_io_error:
	{
#line 388 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 388 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_inner_error_ = NULL;
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp13_ = _data_->username;
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp14_ = _data_->_error_;
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp15_ = _data_->_tmp14_->message;
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_warning ("unattended-installer.vala:393: Failed to retrieve information about us" \
"er '%s': %s", _data_->_tmp13_, _data_->_tmp15_);
#line 388 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_error_free0 (_data_->_error_);
#line 3278 "unattended-installer.c"
	}
	__finally62:
#line 388 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 388 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->avatar_path);
#line 388 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->username);
#line 388 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 388 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_clear_error (&_data_->_inner_error_);
#line 388 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 3293 "unattended-installer.c"
	}
	{
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp16_ = _data_->avatar_path;
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp17_ = gdk_pixbuf_new_from_file_at_scale (_data_->_tmp16_, 64, 64, TRUE, &_data_->_inner_error_);
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->pixbuf = _data_->_tmp17_;
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 3304 "unattended-installer.c"
			goto __catch63_g_error;
		}
#line 398 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp18_ = _data_->avatar;
#line 398 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp19_ = _data_->pixbuf;
#line 398 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_set (_data_->_tmp18_, "pixbuf", _data_->_tmp19_, NULL);
#line 399 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp20_ = _data_->avatar_path;
#line 399 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp21_ = _data_->self->avatar_format;
#line 399 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp22_ = boxes_unattended_avatar_file_new (_data_->self, _data_->_tmp20_, _data_->_tmp21_);
#line 399 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp23_ = _data_->_tmp22_;
#line 399 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_add_unattended_file (_data_->self, (BoxesUnattendedFile*) _data_->_tmp23_);
#line 399 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->_tmp23_);
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->pixbuf);
#line 3327 "unattended-installer.c"
	}
	goto __finally63;
	__catch63_g_error:
	{
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_vala1__error_ = _data_->_inner_error_;
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_inner_error_ = NULL;
#line 401 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp24_ = _data_->avatar_path;
#line 401 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp25_ = _data_->_vala1__error_;
#line 401 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp26_ = _data_->_tmp25_->message;
#line 401 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_debug ("unattended-installer.vala:401: Failed to load user avatar file '%s': %" \
"s", _data_->_tmp24_, _data_->_tmp26_);
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_error_free0 (_data_->_vala1__error_);
#line 3346 "unattended-installer.c"
	}
	__finally63:
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->avatar_path);
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->username);
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_clear_error (&_data_->_inner_error_);
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 3361 "unattended-installer.c"
	}
#line 381 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->avatar_path);
#line 381 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->username);
#line 381 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 381 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3371 "unattended-installer.c"
	} else {
#line 381 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3375 "unattended-installer.c"
	}
#line 381 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 381 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 3381 "unattended-installer.c"
}


BoxesUnattendedInstaller* boxes_unattended_installer_construct (GType object_type) {
	BoxesUnattendedInstaller * self = NULL;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) boxes_installer_media_construct (object_type);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return self;
#line 3391 "unattended-installer.c"
}


static gboolean boxes_unattended_installer_real_get_need_user_input_for_vm_creation (BoxesInstallerMedia* base) {
	gboolean result;
	BoxesUnattendedInstaller* self;
	gboolean _tmp0_;
	gboolean _tmp1_;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 12 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = boxes_installer_media_get_live ((BoxesInstallerMedia*) self);
#line 12 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = _tmp0_;
#line 12 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = !_tmp1_;
#line 12 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 3410 "unattended-installer.c"
}


gboolean boxes_unattended_installer_get_ready_for_express (BoxesUnattendedInstaller* self) {
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return BOXES_UNATTENDED_INSTALLER_GET_CLASS (self)->get_ready_for_express (self);
#line 3419 "unattended-installer.c"
}


static gboolean boxes_unattended_installer_real_get_ready_for_express (BoxesUnattendedInstaller* base) {
	gboolean result;
	BoxesUnattendedInstaller* self;
	const gchar* _tmp0_;
	const gchar* _tmp1_;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = base;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = boxes_unattended_installer_get_username (self);
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = _tmp0_;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = g_strcmp0 (_tmp1_, "") != 0;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 3438 "unattended-installer.c"
}


static gboolean boxes_unattended_installer_real_get_ready_to_create (BoxesInstallerMedia* base) {
	gboolean result;
	BoxesUnattendedInstaller* self;
	gboolean _tmp0_ = FALSE;
	GtkSwitch* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
	gboolean _tmp6_;
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = self->express_toggle;
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = gtk_switch_get_active (_tmp1_);
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = _tmp2_;
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (!_tmp3_) {
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = TRUE;
#line 3462 "unattended-installer.c"
	} else {
		gboolean _tmp4_;
		gboolean _tmp5_;
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp4_ = boxes_unattended_installer_get_ready_for_express (self);
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp5_ = _tmp4_;
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = _tmp5_;
#line 3472 "unattended-installer.c"
	}
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = _tmp0_;
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp6_;
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 3480 "unattended-installer.c"
}


gboolean boxes_unattended_installer_get_express_install (BoxesUnattendedInstaller* self) {
	gboolean result;
	GtkSwitch* _tmp0_;
	gboolean _tmp1_;
	gboolean _tmp2_;
#line 25 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 25 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->express_toggle;
#line 25 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = gtk_switch_get_active (_tmp0_);
#line 25 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 25 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp2_;
#line 25 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 3501 "unattended-installer.c"
}


const gchar* boxes_unattended_installer_get_username (BoxesUnattendedInstaller* self) {
	const gchar* result;
	GtkEntry* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
#line 29 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 29 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->username_entry;
#line 29 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = gtk_entry_get_text (_tmp0_);
#line 29 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 29 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp2_;
#line 29 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 3522 "unattended-installer.c"
}


gchar* boxes_unattended_installer_get_password (BoxesUnattendedInstaller* self) {
	gchar* result;
	GtkEntry* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
	gchar* _tmp3_;
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->password_entry;
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = gtk_entry_get_text (_tmp0_);
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = g_strdup (_tmp2_);
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp3_;
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 3546 "unattended-installer.c"
}


static gchar* g_unichar_to_string (gunichar self) {
	gchar* result = NULL;
	gchar* _tmp0_ = NULL;
	gchar* str;
	const gchar* _tmp1_;
#line 841 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	_tmp0_ = g_new0 (gchar, 7);
#line 841 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	str = (gchar*) _tmp0_;
#line 842 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	_tmp1_ = str;
#line 842 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	g_unichar_to_utf8 (self, _tmp1_);
#line 843 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	result = str;
#line 843 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	return result;
#line 3567 "unattended-installer.c"
}


gchar* boxes_unattended_installer_get_hidden_password (BoxesUnattendedInstaller* self) {
	gchar* result;
	GtkEntry* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
	gint _tmp3_;
	gint _tmp4_;
#line 37 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 38 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->password_entry;
#line 38 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = gtk_entry_get_text (_tmp0_);
#line 38 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 38 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = strlen (_tmp2_);
#line 38 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = _tmp3_;
#line 38 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp4_ > 0) {
#line 3592 "unattended-installer.c"
		gchar* _tmp5_;
		gchar* str;
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp5_ = g_strdup ("");
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		str = _tmp5_;
#line 3599 "unattended-installer.c"
		{
			gint i;
#line 40 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			i = 0;
#line 3604 "unattended-installer.c"
			{
				gboolean _tmp6_;
#line 40 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp6_ = TRUE;
#line 40 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				while (TRUE) {
#line 3611 "unattended-installer.c"
					gboolean _tmp7_;
					gint _tmp9_;
					GtkEntry* _tmp10_;
					guint _tmp11_;
					guint _tmp12_;
					const gchar* _tmp13_;
					GtkEntry* _tmp14_;
					gunichar _tmp15_ = 0U;
					gchar* _tmp16_ = NULL;
					gchar* _tmp17_;
					gchar* _tmp18_;
#line 40 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp7_ = _tmp6_;
#line 40 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					if (!_tmp7_) {
#line 3627 "unattended-installer.c"
						gint _tmp8_;
#line 40 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp8_ = i;
#line 40 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						i = _tmp8_ + 1;
#line 3633 "unattended-installer.c"
					}
#line 40 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp6_ = FALSE;
#line 40 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp9_ = i;
#line 40 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp10_ = self->password_entry;
#line 40 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp11_ = gtk_entry_get_text_length (_tmp10_);
#line 40 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp12_ = _tmp11_;
#line 40 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					if (!(((guint) _tmp9_) < _tmp12_)) {
#line 40 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						break;
#line 3649 "unattended-installer.c"
					}
#line 41 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp13_ = str;
#line 41 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp14_ = self->password_entry;
#line 41 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp15_ = gtk_entry_get_invisible_char (_tmp14_);
#line 41 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp16_ = g_unichar_to_string (_tmp15_);
#line 41 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp17_ = _tmp16_;
#line 41 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp18_ = g_strconcat (_tmp13_, _tmp17_, NULL);
#line 41 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_free0 (str);
#line 41 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					str = _tmp18_;
#line 41 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_free0 (_tmp17_);
#line 3669 "unattended-installer.c"
				}
			}
		}
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		result = str;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return result;
#line 3677 "unattended-installer.c"
	} else {
		const gchar* _tmp19_ = NULL;
		gchar* _tmp20_;
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp19_ = _ ("no password");
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp20_ = g_strdup (_tmp19_);
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		result = _tmp20_;
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return result;
#line 3689 "unattended-installer.c"
	}
}


gchar* boxes_unattended_installer_get_extra_iso (BoxesUnattendedInstaller* self) {
	gchar* result;
	const gchar* _tmp0_;
	gchar* _tmp1_ = NULL;
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->_extra_iso;
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = boxes_unattended_installer_lookup_extra_iso (self, _tmp0_);
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp1_;
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 3708 "unattended-installer.c"
}


void boxes_unattended_installer_set_extra_iso (BoxesUnattendedInstaller* self, const gchar* value) {
	const gchar* _tmp0_;
	gchar* _tmp1_;
#line 55 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (self != NULL);
#line 55 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = value;
#line 55 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 55 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_extra_iso);
#line 55 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->_extra_iso = _tmp1_;
#line 55 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject *) self, "extra-iso");
#line 3727 "unattended-installer.c"
}


static GObject * boxes_unattended_installer_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) {
	GObject * obj;
	GObjectClass * parent_class;
	BoxesUnattendedInstaller * self;
	BoxesFdoAccounts* _tmp0_;
	GError * _inner_error_ = NULL;
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	parent_class = G_OBJECT_CLASS (boxes_unattended_installer_parent_class);
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_UNATTENDED_INSTALLER, BoxesUnattendedInstaller);
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = boxes_unattended_installer_accounts;
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp0_ == NULL) {
#line 3747 "unattended-installer.c"
		{
			BoxesFdoAccounts* _tmp1_ = NULL;
			BoxesFdoAccounts* _tmp2_;
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp1_ = g_initable_new (BOXES_FDO_TYPE_ACCOUNTS_PROXY, NULL, &_inner_error_, "g-flags", 0, "g-name", "org.freedesktop.Accounts", "g-bus-type", G_BUS_TYPE_SYSTEM, "g-object-path", "/org/freedesktop/Accounts", "g-interface-name", "org.freedesktop.Accounts", NULL);
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp2_ = (BoxesFdoAccounts*) _tmp1_;
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_inner_error_ != NULL) {
#line 3757 "unattended-installer.c"
				goto __catch64_g_error;
			}
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (boxes_unattended_installer_accounts);
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			boxes_unattended_installer_accounts = _tmp2_;
#line 3764 "unattended-installer.c"
		}
		goto __finally64;
		__catch64_g_error:
		{
			GError* _error_ = NULL;
			GError* _tmp3_;
			const gchar* _tmp4_;
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_error_ = _inner_error_;
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_inner_error_ = NULL;
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp3_ = _error_;
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp4_ = _tmp3_->message;
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_warning ("unattended-installer.vala:102: Failed to connect to D-Bus service '%s'" \
": %s", "org.freedesktop.Accounts", _tmp4_);
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_error_free0 (_error_);
#line 3784 "unattended-installer.c"
		}
		__finally64:
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_ != NULL) {
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_inner_error_);
#line 3793 "unattended-installer.c"
		}
	}
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return obj;
#line 3798 "unattended-installer.c"
}


static void boxes_unattended_installer_class_init (BoxesUnattendedInstallerClass * klass) {
	GError * _inner_error_ = NULL;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_parent_class = g_type_class_peek_parent (klass);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_type_class_add_private (klass, sizeof (BoxesUnattendedInstallerPrivate));
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (klass)->prepare_for_installation = boxes_unattended_installer_real_prepare_for_installation;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (klass)->prepare_for_installation_finish = boxes_unattended_installer_real_prepare_for_installation_finish;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (klass)->setup_domain_config = boxes_unattended_installer_real_setup_domain_config;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (klass)->populate_setup_vbox = boxes_unattended_installer_real_populate_setup_vbox;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (klass)->get_vm_properties = boxes_unattended_installer_real_get_vm_properties;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_UNATTENDED_INSTALLER_CLASS (klass)->fill_unattended_data = boxes_unattended_installer_real_fill_unattended_data;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_UNATTENDED_INSTALLER_CLASS (klass)->setup_ui = boxes_unattended_installer_real_setup_ui;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_UNATTENDED_INSTALLER_CLASS (klass)->clean_up = boxes_unattended_installer_real_clean_up;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_UNATTENDED_INSTALLER_CLASS (klass)->get_unattended_disk_config = boxes_unattended_installer_real_get_unattended_disk_config;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (klass)->get_need_user_input_for_vm_creation = boxes_unattended_installer_real_get_need_user_input_for_vm_creation;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_UNATTENDED_INSTALLER_CLASS (klass)->get_ready_for_express = boxes_unattended_installer_real_get_ready_for_express;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (klass)->get_ready_to_create = boxes_unattended_installer_real_get_ready_to_create;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_unattended_installer_get_property;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_boxes_unattended_installer_set_property;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->constructor = boxes_unattended_installer_constructor;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_unattended_installer_finalize;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_INSTALLER_NEED_USER_INPUT_FOR_VM_CREATION, g_param_spec_boolean ("need-user-input-for-vm-creation", "need-user-input-for-vm-creation", "need-user-input-for-vm-creation", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_INSTALLER_READY_FOR_EXPRESS, g_param_spec_boolean ("ready-for-express", "ready-for-express", "ready-for-express", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_INSTALLER_READY_TO_CREATE, g_param_spec_boolean ("ready-to-create", "ready-to-create", "ready-to-create", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_INSTALLER_EXPRESS_INSTALL, g_param_spec_boolean ("express-install", "express-install", "express-install", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_INSTALLER_USERNAME, g_param_spec_string ("username", "username", "username", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_INSTALLER_PASSWORD, g_param_spec_string ("password", "password", "password", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_INSTALLER_HIDDEN_PASSWORD, g_param_spec_string ("hidden-password", "hidden-password", "hidden-password", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_INSTALLER_EXTRA_ISO, g_param_spec_string ("extra-iso", "extra-iso", "extra-iso", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 3856 "unattended-installer.c"
	{
		GRegex* _tmp0_;
		GRegex* _tmp1_;
		GRegex* _tmp2_;
		GRegex* _tmp3_;
		GRegex* _tmp4_;
		GRegex* _tmp5_;
		GRegex* _tmp6_;
		GRegex* _tmp7_;
		GRegex* _tmp8_;
		GRegex* _tmp9_;
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = g_regex_new ("BOXES_USERNAME", 0, 0, &_inner_error_);
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp1_ = _tmp0_;
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_ != NULL) {
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_inner_error_->domain == G_REGEX_ERROR) {
#line 3876 "unattended-installer.c"
				goto __catch65_g_regex_error;
			}
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_inner_error_);
#line 3883 "unattended-installer.c"
		}
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_regex_unref0 (boxes_unattended_installer_username_regex);
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_username_regex = _tmp1_;
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp2_ = g_regex_new ("BOXES_PASSWORD", 0, 0, &_inner_error_);
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp3_ = _tmp2_;
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_ != NULL) {
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_inner_error_->domain == G_REGEX_ERROR) {
#line 3897 "unattended-installer.c"
				goto __catch65_g_regex_error;
			}
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_inner_error_);
#line 3904 "unattended-installer.c"
		}
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_regex_unref0 (boxes_unattended_installer_password_regex);
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_password_regex = _tmp3_;
#line 86 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp4_ = g_regex_new ("BOXES_TZ", 0, 0, &_inner_error_);
#line 86 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp5_ = _tmp4_;
#line 86 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_ != NULL) {
#line 86 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_inner_error_->domain == G_REGEX_ERROR) {
#line 3918 "unattended-installer.c"
				goto __catch65_g_regex_error;
			}
#line 86 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 86 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_inner_error_);
#line 3925 "unattended-installer.c"
		}
#line 86 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_regex_unref0 (boxes_unattended_installer_timezone_regex);
#line 86 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_timezone_regex = _tmp5_;
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp6_ = g_regex_new ("BOXES_LANG", 0, 0, &_inner_error_);
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp7_ = _tmp6_;
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_ != NULL) {
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_inner_error_->domain == G_REGEX_ERROR) {
#line 3939 "unattended-installer.c"
				goto __catch65_g_regex_error;
			}
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_inner_error_);
#line 3946 "unattended-installer.c"
		}
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_regex_unref0 (boxes_unattended_installer_lang_regex);
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_lang_regex = _tmp7_;
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp8_ = g_regex_new ("BOXES_HOSTNAME", 0, 0, &_inner_error_);
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp9_ = _tmp8_;
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_ != NULL) {
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_inner_error_->domain == G_REGEX_ERROR) {
#line 3960 "unattended-installer.c"
				goto __catch65_g_regex_error;
			}
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_inner_error_);
#line 3967 "unattended-installer.c"
		}
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_regex_unref0 (boxes_unattended_installer_host_regex);
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_host_regex = _tmp9_;
#line 3973 "unattended-installer.c"
	}
	goto __finally65;
	__catch65_g_regex_error:
	{
		GError* _error_ = NULL;
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_error_ = _inner_error_;
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_inner_error_ = NULL;
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_error_free0 (_error_);
#line 3987 "unattended-installer.c"
	}
	__finally65:
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_inner_error_ != NULL) {
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_clear_error (&_inner_error_);
#line 3996 "unattended-installer.c"
	}
}


static void boxes_unattended_installer_instance_init (BoxesUnattendedInstaller * self) {
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv = BOXES_UNATTENDED_INSTALLER_GET_PRIVATE (self);
#line 4004 "unattended-installer.c"
}


static void boxes_unattended_installer_finalize (GObject* obj) {
	BoxesUnattendedInstaller * self;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_UNATTENDED_INSTALLER, BoxesUnattendedInstaller);
#line 50 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->disk_file);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_extra_iso);
#line 58 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	__g_list_free__g_object_unref0_0 (self->unattended_files);
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->setup_grid);
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->setup_label);
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->setup_hbox);
#line 65 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->express_toggle);
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->username_entry);
#line 67 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->password_entry);
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->timezone);
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->lang);
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->hostname);
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_avatar_format_unref0 (self->avatar_format);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (boxes_unattended_installer_parent_class)->finalize (obj);
#line 4040 "unattended-installer.c"
}


GType boxes_unattended_installer_get_type (void) {
	static volatile gsize boxes_unattended_installer_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_unattended_installer_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesUnattendedInstallerClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_unattended_installer_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesUnattendedInstaller), 0, (GInstanceInitFunc) boxes_unattended_installer_instance_init, NULL };
		GType boxes_unattended_installer_type_id;
		boxes_unattended_installer_type_id = g_type_register_static (BOXES_TYPE_INSTALLER_MEDIA, "BoxesUnattendedInstaller", &g_define_type_info, G_TYPE_FLAG_ABSTRACT);
		g_once_init_leave (&boxes_unattended_installer_type_id__volatile, boxes_unattended_installer_type_id);
	}
	return boxes_unattended_installer_type_id__volatile;
}


static void _vala_boxes_unattended_installer_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	BoxesUnattendedInstaller * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_UNATTENDED_INSTALLER, BoxesUnattendedInstaller);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (property_id) {
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_INSTALLER_NEED_USER_INPUT_FOR_VM_CREATION:
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_boolean (value, boxes_installer_media_get_need_user_input_for_vm_creation ((BoxesInstallerMedia*) self));
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_INSTALLER_READY_FOR_EXPRESS:
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_boolean (value, boxes_unattended_installer_get_ready_for_express (self));
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_INSTALLER_READY_TO_CREATE:
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_boolean (value, boxes_installer_media_get_ready_to_create ((BoxesInstallerMedia*) self));
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_INSTALLER_EXPRESS_INSTALL:
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_boolean (value, boxes_unattended_installer_get_express_install (self));
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_INSTALLER_USERNAME:
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_string (value, boxes_unattended_installer_get_username (self));
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_INSTALLER_PASSWORD:
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_take_string (value, boxes_unattended_installer_get_password (self));
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_INSTALLER_HIDDEN_PASSWORD:
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_take_string (value, boxes_unattended_installer_get_hidden_password (self));
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_INSTALLER_EXTRA_ISO:
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_take_string (value, boxes_unattended_installer_get_extra_iso (self));
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 4109 "unattended-installer.c"
		default:
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 4115 "unattended-installer.c"
	}
}


static void _vala_boxes_unattended_installer_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	BoxesUnattendedInstaller * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_UNATTENDED_INSTALLER, BoxesUnattendedInstaller);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (property_id) {
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_INSTALLER_EXTRA_ISO:
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_set_extra_iso (self, g_value_get_string (value));
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 4131 "unattended-installer.c"
		default:
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 4137 "unattended-installer.c"
	}
}


static void boxes_unattended_file_copy_data_free (gpointer _data) {
	BoxesUnattendedFileCopyData* _data_;
	_data_ = _data;
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self);
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_slice_free (BoxesUnattendedFileCopyData, _data_);
#line 4151 "unattended-installer.c"
}


void boxes_unattended_file_copy (BoxesUnattendedFile* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedFileCopyData* _data_;
	BoxesUnattendedFile* _tmp0_;
	GCancellable* _tmp1_;
	GCancellable* _tmp2_;
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedFileCopyData);
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_async_result = g_simple_async_result_new (g_object_newv (G_TYPE_OBJECT, 0, NULL), _callback_, _user_data_, boxes_unattended_file_copy);
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_file_copy_data_free);
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = _tmp0_;
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = cancellable;
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->cancellable = _tmp2_;
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_copy_co (_data_);
#line 4180 "unattended-installer.c"
}


void boxes_unattended_file_copy_finish (BoxesUnattendedFile* self, GAsyncResult* _res_, GError** error) {
	BoxesUnattendedFileCopyData* _data_;
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return;
#line 4190 "unattended-installer.c"
	}
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 4194 "unattended-installer.c"
}


static void boxes_unattended_file_copy_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesUnattendedFileCopyData* _data_;
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = _user_data_;
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_source_object_ = source_object;
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_res_ = _res_;
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_copy_co (_data_);
#line 4208 "unattended-installer.c"
}


static gboolean boxes_unattended_file_copy_co (BoxesUnattendedFileCopyData* _data_) {
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 4217 "unattended-installer.c"
		goto _state_0;
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 1:
#line 4221 "unattended-installer.c"
		goto _state_1;
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 2:
#line 4225 "unattended-installer.c"
		goto _state_2;
		default:
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 4230 "unattended-installer.c"
	}
	_state_0:
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = _data_->cancellable;
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_state_ = 1;
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_get_source_file (_data_->self, _data_->_tmp0_, boxes_unattended_file_copy_ready, _data_);
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 4241 "unattended-installer.c"
	_state_1:
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = NULL;
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = boxes_unattended_file_get_source_file_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->source_file = _data_->_tmp1_;
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4259 "unattended-installer.c"
		} else {
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 4263 "unattended-installer.c"
		}
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 4269 "unattended-installer.c"
	}
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = boxes_unattended_file_get_dest_name (_data_->self);
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = _data_->_tmp2_;
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = boxes_unattended_file_get_installer (_data_->self);
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp5_ = _data_->_tmp4_;
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp6_ = _data_->_tmp5_->disk_file;
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp7_ = NULL;
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp7_ = g_file_get_path (_data_->_tmp6_);
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp8_ = _data_->_tmp7_;
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_debug ("unattended-installer.vala:415: Copying unattended file '%s' into disk " \
"drive/image '%s'", _data_->_tmp3_, _data_->_tmp8_);
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->_tmp8_);
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp9_ = g_strdup ("mcopy");
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp10_ = g_strdup ("-n");
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp11_ = g_strdup ("-o");
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp12_ = g_strdup ("-i");
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp13_ = boxes_unattended_file_get_installer (_data_->self);
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp14_ = _data_->_tmp13_;
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp15_ = _data_->_tmp14_->disk_file;
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp16_ = NULL;
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp16_ = g_file_get_path (_data_->_tmp15_);
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp17_ = _data_->source_file;
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp18_ = NULL;
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp18_ = g_file_get_path (_data_->_tmp17_);
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp19_ = boxes_unattended_file_get_dest_name (_data_->self);
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp20_ = _data_->_tmp19_;
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp21_ = g_strconcat ("::", _data_->_tmp20_, NULL);
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_ = NULL;
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_ = g_new0 (gchar*, 7 + 1);
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_[0] = _data_->_tmp9_;
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_[1] = _data_->_tmp10_;
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_[2] = _data_->_tmp11_;
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_[3] = _data_->_tmp12_;
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_[4] = _data_->_tmp16_;
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_[5] = _data_->_tmp18_;
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_[6] = _data_->_tmp21_;
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->argv = _data_->_tmp22_;
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->argv_length1 = 7;
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_argv_size_ = _data_->argv_length1;
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp23_ = _data_->argv;
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp23__length1 = _data_->argv_length1;
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp24_ = _data_->cancellable;
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_state_ = 2;
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_exec (_data_->_tmp23_, _data_->_tmp23__length1, _data_->_tmp24_, boxes_unattended_file_copy_ready, _data_);
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 4357 "unattended-installer.c"
	_state_2:
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_exec_finish (_data_->_res_, NULL, NULL, &_data_->_inner_error_);
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->argv = (_vala_array_free (_data_->argv, _data_->argv_length1, (GDestroyNotify) g_free), NULL);
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->source_file);
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4375 "unattended-installer.c"
		} else {
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 4379 "unattended-installer.c"
		}
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 4385 "unattended-installer.c"
	}
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp25_ = boxes_unattended_file_get_dest_name (_data_->self);
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp26_ = _data_->_tmp25_;
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp27_ = boxes_unattended_file_get_installer (_data_->self);
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp28_ = _data_->_tmp27_;
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp29_ = _data_->_tmp28_->disk_file;
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp30_ = NULL;
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp30_ = g_file_get_path (_data_->_tmp29_);
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp31_ = _data_->_tmp30_;
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_debug ("unattended-installer.vala:421: Copied unattended file '%s' into disk d" \
"rive/image '%s'", _data_->_tmp26_, _data_->_tmp31_);
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->_tmp31_);
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->argv = (_vala_array_free (_data_->argv, _data_->argv_length1, (GDestroyNotify) g_free), NULL);
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->source_file);
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4415 "unattended-installer.c"
	} else {
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 4419 "unattended-installer.c"
	}
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 4425 "unattended-installer.c"
}


void boxes_unattended_file_get_source_file (BoxesUnattendedFile* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_UNATTENDED_FILE_GET_INTERFACE (self)->get_source_file (self, cancellable, _callback_, _user_data_);
#line 4432 "unattended-installer.c"
}


GFile* boxes_unattended_file_get_source_file_finish (BoxesUnattendedFile* self, GAsyncResult* _res_, GError** error) {
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return BOXES_UNATTENDED_FILE_GET_INTERFACE (self)->get_source_file_finish (self, _res_, error);
#line 4439 "unattended-installer.c"
}


const gchar* boxes_unattended_file_get_src_path (BoxesUnattendedFile* self) {
#line 407 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 407 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return BOXES_UNATTENDED_FILE_GET_INTERFACE (self)->get_src_path (self);
#line 4448 "unattended-installer.c"
}


void boxes_unattended_file_set_src_path (BoxesUnattendedFile* self, const gchar* value) {
#line 407 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (self != NULL);
#line 407 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_UNATTENDED_FILE_GET_INTERFACE (self)->set_src_path (self, value);
#line 4457 "unattended-installer.c"
}


const gchar* boxes_unattended_file_get_dest_name (BoxesUnattendedFile* self) {
#line 408 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 408 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return BOXES_UNATTENDED_FILE_GET_INTERFACE (self)->get_dest_name (self);
#line 4466 "unattended-installer.c"
}


void boxes_unattended_file_set_dest_name (BoxesUnattendedFile* self, const gchar* value) {
#line 408 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (self != NULL);
#line 408 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_UNATTENDED_FILE_GET_INTERFACE (self)->set_dest_name (self, value);
#line 4475 "unattended-installer.c"
}


BoxesUnattendedInstaller* boxes_unattended_file_get_installer (BoxesUnattendedFile* self) {
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return BOXES_UNATTENDED_FILE_GET_INTERFACE (self)->get_installer (self);
#line 4484 "unattended-installer.c"
}


void boxes_unattended_file_set_installer (BoxesUnattendedFile* self, BoxesUnattendedInstaller* value) {
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (self != NULL);
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_UNATTENDED_FILE_GET_INTERFACE (self)->set_installer (self, value);
#line 4493 "unattended-installer.c"
}


static void boxes_unattended_file_base_init (BoxesUnattendedFileIface * iface) {
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	static gboolean initialized = FALSE;
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (!initialized) {
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		initialized = TRUE;
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_interface_install_property (iface, g_param_spec_string ("src-path", "src-path", "src-path", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_interface_install_property (iface, g_param_spec_string ("dest-name", "dest-name", "dest-name", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_interface_install_property (iface, g_param_spec_object ("installer", "installer", "installer", BOXES_TYPE_UNATTENDED_INSTALLER, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 4510 "unattended-installer.c"
	}
}


GType boxes_unattended_file_get_type (void) {
	static volatile gsize boxes_unattended_file_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_unattended_file_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesUnattendedFileIface), (GBaseInitFunc) boxes_unattended_file_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
		GType boxes_unattended_file_type_id;
		boxes_unattended_file_type_id = g_type_register_static (G_TYPE_INTERFACE, "BoxesUnattendedFile", &g_define_type_info, 0);
		g_type_interface_add_prerequisite (boxes_unattended_file_type_id, G_TYPE_OBJECT);
		g_once_init_leave (&boxes_unattended_file_type_id__volatile, boxes_unattended_file_type_id);
	}
	return boxes_unattended_file_type_id__volatile;
}


BoxesUnattendedRawFile* boxes_unattended_raw_file_construct (GType object_type, BoxesUnattendedInstaller* installer, const gchar* src_path, const gchar* dest_name) {
	BoxesUnattendedRawFile * self = NULL;
	BoxesUnattendedInstaller* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
#line 433 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (installer != NULL, NULL);
#line 433 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (src_path != NULL, NULL);
#line 433 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (dest_name != NULL, NULL);
#line 433 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedRawFile*) g_object_new (object_type, NULL);
#line 434 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = installer;
#line 434 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_set_installer ((BoxesUnattendedFile*) self, _tmp0_);
#line 435 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = src_path;
#line 435 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_set_src_path ((BoxesUnattendedFile*) self, _tmp1_);
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = dest_name;
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_set_dest_name ((BoxesUnattendedFile*) self, _tmp2_);
#line 433 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return self;
#line 4555 "unattended-installer.c"
}


BoxesUnattendedRawFile* boxes_unattended_raw_file_new (BoxesUnattendedInstaller* installer, const gchar* src_path, const gchar* dest_name) {
#line 433 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return boxes_unattended_raw_file_construct (BOXES_TYPE_UNATTENDED_RAW_FILE, installer, src_path, dest_name);
#line 4562 "unattended-installer.c"
}


static void boxes_unattended_raw_file_real_get_source_file_data_free (gpointer _data) {
	BoxesUnattendedRawFileGetSourceFileData* _data_;
	_data_ = _data;
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->result);
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self);
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_slice_free (BoxesUnattendedRawFileGetSourceFileData, _data_);
#line 4577 "unattended-installer.c"
}


static void boxes_unattended_raw_file_real_get_source_file (BoxesUnattendedFile* base, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedRawFile * self;
	BoxesUnattendedRawFileGetSourceFileData* _data_;
	BoxesUnattendedRawFile* _tmp0_;
	GCancellable* _tmp1_;
	GCancellable* _tmp2_;
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedRawFile*) base;
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedRawFileGetSourceFileData);
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_raw_file_real_get_source_file);
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_raw_file_real_get_source_file_data_free);
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = _tmp0_;
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = cancellable;
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->cancellable = _tmp2_;
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_raw_file_real_get_source_file_co (_data_);
#line 4609 "unattended-installer.c"
}


static GFile* boxes_unattended_raw_file_real_get_source_file_finish (BoxesUnattendedFile* base, GAsyncResult* _res_, GError** error) {
	GFile* result;
	BoxesUnattendedRawFileGetSourceFileData* _data_;
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return NULL;
#line 4620 "unattended-installer.c"
	}
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _data_->result;
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->result = NULL;
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 4630 "unattended-installer.c"
}


static gboolean boxes_unattended_raw_file_real_get_source_file_co (BoxesUnattendedRawFileGetSourceFileData* _data_) {
#line 439 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 439 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 4639 "unattended-installer.c"
		goto _state_0;
		default:
#line 439 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 4644 "unattended-installer.c"
	}
	_state_0:
#line 440 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = boxes_unattended_file_get_src_path ((BoxesUnattendedFile*) _data_->self);
#line 440 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 440 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = NULL;
#line 440 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = g_file_new_for_path (_data_->_tmp1_);
#line 440 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->result = _data_->_tmp2_;
#line 440 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 440 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4661 "unattended-installer.c"
	} else {
#line 440 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 4665 "unattended-installer.c"
	}
#line 440 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 440 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 439 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 439 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4675 "unattended-installer.c"
	} else {
#line 439 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 4679 "unattended-installer.c"
	}
#line 439 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 439 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 4685 "unattended-installer.c"
}


static const gchar* boxes_unattended_raw_file_real_get_src_path (BoxesUnattendedFile* base) {
	const gchar* result;
	BoxesUnattendedRawFile* self;
	const gchar* _tmp0_;
#line 428 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedRawFile*) base;
#line 428 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->_src_path;
#line 428 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp0_;
#line 428 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 4701 "unattended-installer.c"
}


static void boxes_unattended_raw_file_real_set_src_path (BoxesUnattendedFile* base, const gchar* value) {
	BoxesUnattendedRawFile* self;
	const gchar* _tmp0_;
	gchar* _tmp1_;
#line 428 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedRawFile*) base;
#line 428 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = value;
#line 428 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 428 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_src_path);
#line 428 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->_src_path = _tmp1_;
#line 428 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject *) self, "src-path");
#line 4721 "unattended-installer.c"
}


static const gchar* boxes_unattended_raw_file_real_get_dest_name (BoxesUnattendedFile* base) {
	const gchar* result;
	BoxesUnattendedRawFile* self;
	const gchar* _tmp0_;
#line 429 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedRawFile*) base;
#line 429 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->_dest_name;
#line 429 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp0_;
#line 429 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 4737 "unattended-installer.c"
}


static void boxes_unattended_raw_file_real_set_dest_name (BoxesUnattendedFile* base, const gchar* value) {
	BoxesUnattendedRawFile* self;
	const gchar* _tmp0_;
	gchar* _tmp1_;
#line 429 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedRawFile*) base;
#line 429 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = value;
#line 429 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 429 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_dest_name);
#line 429 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->_dest_name = _tmp1_;
#line 429 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject *) self, "dest-name");
#line 4757 "unattended-installer.c"
}


static BoxesUnattendedInstaller* boxes_unattended_raw_file_real_get_installer (BoxesUnattendedFile* base) {
	BoxesUnattendedInstaller* result;
	BoxesUnattendedRawFile* self;
	BoxesUnattendedInstaller* _tmp0_;
#line 431 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedRawFile*) base;
#line 431 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->_installer;
#line 431 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp0_;
#line 431 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 4773 "unattended-installer.c"
}


static void boxes_unattended_raw_file_real_set_installer (BoxesUnattendedFile* base, BoxesUnattendedInstaller* value) {
	BoxesUnattendedRawFile* self;
	BoxesUnattendedInstaller* _tmp0_;
	BoxesUnattendedInstaller* _tmp1_;
#line 431 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedRawFile*) base;
#line 431 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = value;
#line 431 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 431 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->_installer);
#line 431 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->_installer = _tmp1_;
#line 431 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject *) self, "installer");
#line 4793 "unattended-installer.c"
}


static void boxes_unattended_raw_file_class_init (BoxesUnattendedRawFileClass * klass) {
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_raw_file_parent_class = g_type_class_peek_parent (klass);
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_type_class_add_private (klass, sizeof (BoxesUnattendedRawFilePrivate));
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_unattended_raw_file_get_property;
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_boxes_unattended_raw_file_set_property;
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_unattended_raw_file_finalize;
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_RAW_FILE_SRC_PATH, g_param_spec_string ("src-path", "src-path", "src-path", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_RAW_FILE_DEST_NAME, g_param_spec_string ("dest-name", "dest-name", "dest-name", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_RAW_FILE_INSTALLER, g_param_spec_object ("installer", "installer", "installer", BOXES_TYPE_UNATTENDED_INSTALLER, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 4814 "unattended-installer.c"
}


static void boxes_unattended_raw_file_boxes_unattended_file_interface_init (BoxesUnattendedFileIface * iface) {
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_raw_file_boxes_unattended_file_parent_iface = g_type_interface_peek_parent (iface);
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_source_file = (GFile* (*)(BoxesUnattendedFile*, GCancellable*, GError**)) boxes_unattended_raw_file_real_get_source_file;
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_source_file_finish = boxes_unattended_raw_file_real_get_source_file_finish;
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_src_path = boxes_unattended_raw_file_real_get_src_path;
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->set_src_path = boxes_unattended_raw_file_real_set_src_path;
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_dest_name = boxes_unattended_raw_file_real_get_dest_name;
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->set_dest_name = boxes_unattended_raw_file_real_set_dest_name;
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_installer = boxes_unattended_raw_file_real_get_installer;
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->set_installer = boxes_unattended_raw_file_real_set_installer;
#line 4837 "unattended-installer.c"
}


static void boxes_unattended_raw_file_instance_init (BoxesUnattendedRawFile * self) {
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv = BOXES_UNATTENDED_RAW_FILE_GET_PRIVATE (self);
#line 4844 "unattended-installer.c"
}


static void boxes_unattended_raw_file_finalize (GObject* obj) {
	BoxesUnattendedRawFile * self;
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_UNATTENDED_RAW_FILE, BoxesUnattendedRawFile);
#line 428 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_src_path);
#line 429 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_dest_name);
#line 431 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->_installer);
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (boxes_unattended_raw_file_parent_class)->finalize (obj);
#line 4860 "unattended-installer.c"
}


GType boxes_unattended_raw_file_get_type (void) {
	static volatile gsize boxes_unattended_raw_file_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_unattended_raw_file_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesUnattendedRawFileClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_unattended_raw_file_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesUnattendedRawFile), 0, (GInstanceInitFunc) boxes_unattended_raw_file_instance_init, NULL };
		static const GInterfaceInfo boxes_unattended_file_info = { (GInterfaceInitFunc) boxes_unattended_raw_file_boxes_unattended_file_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType boxes_unattended_raw_file_type_id;
		boxes_unattended_raw_file_type_id = g_type_register_static (G_TYPE_OBJECT, "BoxesUnattendedRawFile", &g_define_type_info, 0);
		g_type_add_interface_static (boxes_unattended_raw_file_type_id, BOXES_TYPE_UNATTENDED_FILE, &boxes_unattended_file_info);
		g_once_init_leave (&boxes_unattended_raw_file_type_id__volatile, boxes_unattended_raw_file_type_id);
	}
	return boxes_unattended_raw_file_type_id__volatile;
}


static void _vala_boxes_unattended_raw_file_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	BoxesUnattendedRawFile * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_UNATTENDED_RAW_FILE, BoxesUnattendedRawFile);
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (property_id) {
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_RAW_FILE_SRC_PATH:
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_string (value, boxes_unattended_file_get_src_path ((BoxesUnattendedFile*) self));
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_RAW_FILE_DEST_NAME:
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_string (value, boxes_unattended_file_get_dest_name ((BoxesUnattendedFile*) self));
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_RAW_FILE_INSTALLER:
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_object (value, boxes_unattended_file_get_installer ((BoxesUnattendedFile*) self));
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 4901 "unattended-installer.c"
		default:
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 4907 "unattended-installer.c"
	}
}


static void _vala_boxes_unattended_raw_file_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	BoxesUnattendedRawFile * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_UNATTENDED_RAW_FILE, BoxesUnattendedRawFile);
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (property_id) {
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_RAW_FILE_SRC_PATH:
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_file_set_src_path ((BoxesUnattendedFile*) self, g_value_get_string (value));
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_RAW_FILE_DEST_NAME:
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_file_set_dest_name ((BoxesUnattendedFile*) self, g_value_get_string (value));
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_RAW_FILE_INSTALLER:
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_file_set_installer ((BoxesUnattendedFile*) self, g_value_get_object (value));
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 4935 "unattended-installer.c"
		default:
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 4941 "unattended-installer.c"
	}
}


BoxesUnattendedTextFile* boxes_unattended_text_file_construct (GType object_type, BoxesUnattendedInstaller* installer, const gchar* src_path, const gchar* dest_name) {
	BoxesUnattendedTextFile * self = NULL;
	BoxesUnattendedInstaller* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
#line 452 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (installer != NULL, NULL);
#line 452 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (src_path != NULL, NULL);
#line 452 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (dest_name != NULL, NULL);
#line 452 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedTextFile*) g_object_new (object_type, NULL);
#line 453 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = installer;
#line 453 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_set_installer ((BoxesUnattendedFile*) self, _tmp0_);
#line 454 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = src_path;
#line 454 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_set_src_path ((BoxesUnattendedFile*) self, _tmp1_);
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = dest_name;
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_set_dest_name ((BoxesUnattendedFile*) self, _tmp2_);
#line 452 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return self;
#line 4973 "unattended-installer.c"
}


BoxesUnattendedTextFile* boxes_unattended_text_file_new (BoxesUnattendedInstaller* installer, const gchar* src_path, const gchar* dest_name) {
#line 452 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return boxes_unattended_text_file_construct (BOXES_TYPE_UNATTENDED_TEXT_FILE, installer, src_path, dest_name);
#line 4980 "unattended-installer.c"
}


static void boxes_unattended_text_file_real_get_source_file_data_free (gpointer _data) {
	BoxesUnattendedTextFileGetSourceFileData* _data_;
	_data_ = _data;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->result);
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self);
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_slice_free (BoxesUnattendedTextFileGetSourceFileData, _data_);
#line 4995 "unattended-installer.c"
}


static void boxes_unattended_text_file_real_get_source_file (BoxesUnattendedFile* base, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedTextFile * self;
	BoxesUnattendedTextFileGetSourceFileData* _data_;
	BoxesUnattendedTextFile* _tmp0_;
	GCancellable* _tmp1_;
	GCancellable* _tmp2_;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedTextFile*) base;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedTextFileGetSourceFileData);
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_text_file_real_get_source_file);
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_text_file_real_get_source_file_data_free);
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = _tmp0_;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = cancellable;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->cancellable = _tmp2_;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_text_file_real_get_source_file_co (_data_);
#line 5027 "unattended-installer.c"
}


static GFile* boxes_unattended_text_file_real_get_source_file_finish (BoxesUnattendedFile* base, GAsyncResult* _res_, GError** error) {
	GFile* result;
	BoxesUnattendedTextFileGetSourceFileData* _data_;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return NULL;
#line 5038 "unattended-installer.c"
	}
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _data_->result;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->result = NULL;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 5048 "unattended-installer.c"
}


static void boxes_unattended_text_file_get_source_file_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesUnattendedTextFileGetSourceFileData* _data_;
#line 472 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = _user_data_;
#line 472 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_source_object_ = source_object;
#line 472 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_res_ = _res_;
#line 472 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_text_file_real_get_source_file_co (_data_);
#line 5062 "unattended-installer.c"
}


static guint8* string_get_data (const gchar* self, int* result_length1) {
	guint8* result;
	guint8* res;
	gint res_length1;
	gint _res_size_;
	gint _tmp0_;
	gint _tmp1_;
	gint _tmp2_;
	guint8* _tmp3_;
	gint _tmp3__length1;
	guint8* _tmp4_;
	gint _tmp4__length1;
#line 1246 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1247 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	res = (guint8*) self;
#line 1247 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	res_length1 = -1;
#line 1247 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	_res_size_ = res_length1;
#line 1248 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	_tmp0_ = strlen (self);
#line 1248 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	_tmp1_ = _tmp0_;
#line 1248 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	res_length1 = (gint) _tmp1_;
#line 1248 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	_tmp2_ = res_length1;
#line 1249 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	_tmp3_ = res;
#line 1249 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	_tmp3__length1 = res_length1;
#line 1249 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	_tmp4_ = _tmp3_;
#line 1249 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	_tmp4__length1 = _tmp3__length1;
#line 1249 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	if (result_length1) {
#line 1249 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		*result_length1 = _tmp4__length1;
#line 5106 "unattended-installer.c"
	}
#line 1249 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	result = _tmp4_;
#line 1249 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	return result;
#line 5112 "unattended-installer.c"
}


static gboolean boxes_unattended_text_file_real_get_source_file_co (BoxesUnattendedTextFileGetSourceFileData* _data_) {
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 5121 "unattended-installer.c"
		goto _state_0;
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 1:
#line 5125 "unattended-installer.c"
		goto _state_1;
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 2:
#line 5129 "unattended-installer.c"
		goto _state_2;
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 3:
#line 5133 "unattended-installer.c"
		goto _state_3;
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 4:
#line 5137 "unattended-installer.c"
		goto _state_4;
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 5:
#line 5141 "unattended-installer.c"
		goto _state_5;
		default:
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 5146 "unattended-installer.c"
	}
	_state_0:
#line 467 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = boxes_unattended_file_get_src_path ((BoxesUnattendedFile*) _data_->self);
#line 467 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 467 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = NULL;
#line 467 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = g_file_new_for_path (_data_->_tmp1_);
#line 467 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->source = _data_->_tmp2_;
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = boxes_unattended_file_get_installer ((BoxesUnattendedFile*) _data_->self);
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp5_ = boxes_unattended_file_get_dest_name ((BoxesUnattendedFile*) _data_->self);
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp7_ = NULL;
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp7_ = boxes_unattended_installer_get_user_unattended (_data_->_tmp4_, _data_->_tmp6_);
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->destination_path = _data_->_tmp7_;
#line 469 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp8_ = _data_->destination_path;
#line 469 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp9_ = NULL;
#line 469 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp9_ = g_file_new_for_path (_data_->_tmp8_);
#line 469 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->destination = _data_->_tmp9_;
#line 471 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp10_ = _data_->destination;
#line 471 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp11_ = NULL;
#line 471 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp11_ = g_file_get_path (_data_->_tmp10_);
#line 471 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp12_ = _data_->_tmp11_;
#line 471 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_debug ("unattended-installer.vala:471: Creating unattended file at '%s'..", _data_->_tmp12_);
#line 471 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->_tmp12_);
#line 472 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp13_ = _data_->source;
#line 472 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp14_ = _data_->cancellable;
#line 472 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_state_ = 1;
#line 472 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_file_read_async (_data_->_tmp13_, G_PRIORITY_DEFAULT, _data_->_tmp14_, boxes_unattended_text_file_get_source_file_ready, _data_);
#line 472 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 5203 "unattended-installer.c"
	_state_1:
#line 472 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp15_ = NULL;
#line 472 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp15_ = g_file_read_finish (_data_->_tmp13_, _data_->_res_, &_data_->_inner_error_);
#line 472 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->input_stream = _data_->_tmp15_;
#line 472 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 472 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 472 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 472 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->destination);
#line 472 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->destination_path);
#line 472 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->source);
#line 472 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 472 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5227 "unattended-installer.c"
		} else {
#line 472 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 5231 "unattended-installer.c"
		}
#line 472 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 472 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 5237 "unattended-installer.c"
	}
#line 473 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp16_ = _data_->destination;
#line 473 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp17_ = _data_->cancellable;
#line 473 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_state_ = 2;
#line 473 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_file_replace_async (_data_->_tmp16_, NULL, FALSE, G_FILE_CREATE_REPLACE_DESTINATION, G_PRIORITY_DEFAULT, _data_->_tmp17_, boxes_unattended_text_file_get_source_file_ready, _data_);
#line 473 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 5249 "unattended-installer.c"
	_state_2:
#line 473 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp18_ = NULL;
#line 473 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp18_ = g_file_replace_finish (_data_->_tmp16_, _data_->_res_, &_data_->_inner_error_);
#line 473 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->output_stream = _data_->_tmp18_;
#line 473 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 473 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 473 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 473 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->input_stream);
#line 473 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->destination);
#line 473 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->destination_path);
#line 473 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->source);
#line 473 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 473 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5275 "unattended-installer.c"
		} else {
#line 473 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 5279 "unattended-installer.c"
		}
#line 473 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 473 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 5285 "unattended-installer.c"
	}
#line 478 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp19_ = _data_->input_stream;
#line 478 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp20_ = g_data_input_stream_new ((GInputStream*) _data_->_tmp19_);
#line 478 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->data_stream = _data_->_tmp20_;
#line 479 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp21_ = _data_->data_stream;
#line 479 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_data_input_stream_set_newline_type (_data_->_tmp21_, G_DATA_STREAM_NEWLINE_TYPE_ANY);
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	while (TRUE) {
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp22_ = _data_->data_stream;
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp23_ = _data_->cancellable;
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_state_ = 3;
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_data_input_stream_read_line_async (_data_->_tmp22_, G_PRIORITY_DEFAULT, _data_->_tmp23_, boxes_unattended_text_file_get_source_file_ready, _data_);
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 5309 "unattended-installer.c"
		_state_3:
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp24_ = NULL;
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp24_ = g_data_input_stream_read_line_finish (_data_->_tmp22_, _data_->_res_, NULL, &_data_->_inner_error_);
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp25_ = _data_->_tmp24_;
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_error_free (_data_->_inner_error_);
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->str);
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->data_stream);
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->output_stream);
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->input_stream);
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->destination);
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->destination_path);
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->source);
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_data_->_state_ == 0) {
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5341 "unattended-installer.c"
			} else {
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 5345 "unattended-installer.c"
			}
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_object_unref (_data_->_async_result);
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return FALSE;
#line 5351 "unattended-installer.c"
		}
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->str);
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->str = _data_->_tmp25_;
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp26_ = _data_->str;
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (!(_data_->_tmp26_ != NULL)) {
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			break;
#line 5363 "unattended-installer.c"
		}
#line 482 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp27_ = boxes_unattended_file_get_installer ((BoxesUnattendedFile*) _data_->self);
#line 482 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp28_ = _data_->_tmp27_;
#line 482 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp29_ = _data_->str;
#line 482 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp30_ = NULL;
#line 482 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp30_ = boxes_unattended_installer_fill_unattended_data (_data_->_tmp28_, _data_->_tmp29_, &_data_->_inner_error_);
#line 482 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp31_ = _data_->_tmp30_;
#line 482 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 482 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 482 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_error_free (_data_->_inner_error_);
#line 482 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->str);
#line 482 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->data_stream);
#line 482 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->output_stream);
#line 482 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->input_stream);
#line 482 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->destination);
#line 482 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->destination_path);
#line 482 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->source);
#line 482 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_data_->_state_ == 0) {
#line 482 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5401 "unattended-installer.c"
			} else {
#line 482 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 5405 "unattended-installer.c"
			}
#line 482 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_object_unref (_data_->_async_result);
#line 482 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return FALSE;
#line 5411 "unattended-installer.c"
		}
#line 482 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->str);
#line 482 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->str = _data_->_tmp31_;
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp33_ = boxes_unattended_file_get_installer ((BoxesUnattendedFile*) _data_->self);
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp34_ = _data_->_tmp33_;
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp35_ = _data_->_tmp34_->newline_type;
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_tmp35_ == G_DATA_STREAM_NEWLINE_TYPE_LF) {
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp32_ = "\n";
#line 5427 "unattended-installer.c"
		} else {
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp32_ = "\r\n";
#line 5431 "unattended-installer.c"
		}
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp36_ = _data_->str;
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp37_ = _data_->_tmp32_;
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp38_ = g_strconcat (_data_->_tmp36_, _data_->_tmp37_, NULL);
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->str);
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->str = _data_->_tmp38_;
#line 486 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp39_ = _data_->output_stream;
#line 486 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp40_ = _data_->str;
#line 486 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp41_ = string_get_data (_data_->_tmp40_, &_data_->_tmp41__length1);
#line 486 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp42_ = _data_->_tmp41_;
#line 486 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp42__length1 = _data_->_tmp41__length1;
#line 486 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp43_ = _data_->cancellable;
#line 486 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_state_ = 4;
#line 486 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_output_stream_write_async ((GOutputStream*) _data_->_tmp39_, _data_->_tmp42_, (gsize) _data_->_tmp42__length1, G_PRIORITY_DEFAULT, _data_->_tmp43_, boxes_unattended_text_file_get_source_file_ready, _data_);
#line 486 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 5461 "unattended-installer.c"
		_state_4:
#line 486 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_output_stream_write_finish ((GOutputStream*) _data_->_tmp39_, _data_->_res_, &_data_->_inner_error_);
#line 486 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 486 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 486 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_error_free (_data_->_inner_error_);
#line 486 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->str);
#line 486 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->data_stream);
#line 486 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->output_stream);
#line 486 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->input_stream);
#line 486 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->destination);
#line 486 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->destination_path);
#line 486 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->source);
#line 486 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_data_->_state_ == 0) {
#line 486 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5489 "unattended-installer.c"
			} else {
#line 486 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 5493 "unattended-installer.c"
			}
#line 486 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_object_unref (_data_->_async_result);
#line 486 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return FALSE;
#line 5499 "unattended-installer.c"
		}
	}
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp44_ = _data_->output_stream;
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp45_ = _data_->cancellable;
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_state_ = 5;
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_output_stream_close_async ((GOutputStream*) _data_->_tmp44_, G_PRIORITY_DEFAULT, _data_->_tmp45_, boxes_unattended_text_file_get_source_file_ready, _data_);
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 5512 "unattended-installer.c"
	_state_5:
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_output_stream_close_finish ((GOutputStream*) _data_->_tmp44_, _data_->_res_, &_data_->_inner_error_);
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->str);
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->data_stream);
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->output_stream);
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->input_stream);
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->destination);
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->destination_path);
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->source);
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5540 "unattended-installer.c"
		} else {
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 5544 "unattended-installer.c"
		}
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 5550 "unattended-installer.c"
	}
#line 489 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp46_ = _data_->destination;
#line 489 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp47_ = NULL;
#line 489 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp47_ = g_file_get_path (_data_->_tmp46_);
#line 489 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp48_ = _data_->_tmp47_;
#line 489 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_debug ("unattended-installer.vala:489: Created unattended file at '%s'..", _data_->_tmp48_);
#line 489 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->_tmp48_);
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp49_ = _data_->destination;
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp50_ = _g_object_ref0 (_data_->_tmp49_);
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self->priv->unattended_tmp);
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self->priv->unattended_tmp = _data_->_tmp50_;
#line 492 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->result = _data_->destination;
#line 492 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->str);
#line 492 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->data_stream);
#line 492 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->output_stream);
#line 492 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->input_stream);
#line 492 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->destination_path);
#line 492 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->source);
#line 492 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 492 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5590 "unattended-installer.c"
	} else {
#line 492 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 5594 "unattended-installer.c"
	}
#line 492 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 492 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->str);
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->data_stream);
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->output_stream);
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->input_stream);
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->destination);
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->destination_path);
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->source);
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5618 "unattended-installer.c"
	} else {
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 5622 "unattended-installer.c"
	}
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 5628 "unattended-installer.c"
}


static const gchar* boxes_unattended_text_file_real_get_src_path (BoxesUnattendedFile* base) {
	const gchar* result;
	BoxesUnattendedTextFile* self;
	const gchar* _tmp0_;
#line 445 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedTextFile*) base;
#line 445 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->_src_path;
#line 445 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp0_;
#line 445 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 5644 "unattended-installer.c"
}


static void boxes_unattended_text_file_real_set_src_path (BoxesUnattendedFile* base, const gchar* value) {
	BoxesUnattendedTextFile* self;
	const gchar* _tmp0_;
	gchar* _tmp1_;
#line 445 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedTextFile*) base;
#line 445 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = value;
#line 445 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 445 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_src_path);
#line 445 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->_src_path = _tmp1_;
#line 445 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject *) self, "src-path");
#line 5664 "unattended-installer.c"
}


static const gchar* boxes_unattended_text_file_real_get_dest_name (BoxesUnattendedFile* base) {
	const gchar* result;
	BoxesUnattendedTextFile* self;
	const gchar* _tmp0_;
#line 446 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedTextFile*) base;
#line 446 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->_dest_name;
#line 446 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp0_;
#line 446 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 5680 "unattended-installer.c"
}


static void boxes_unattended_text_file_real_set_dest_name (BoxesUnattendedFile* base, const gchar* value) {
	BoxesUnattendedTextFile* self;
	const gchar* _tmp0_;
	gchar* _tmp1_;
#line 446 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedTextFile*) base;
#line 446 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = value;
#line 446 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 446 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_dest_name);
#line 446 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->_dest_name = _tmp1_;
#line 446 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject *) self, "dest-name");
#line 5700 "unattended-installer.c"
}


static BoxesUnattendedInstaller* boxes_unattended_text_file_real_get_installer (BoxesUnattendedFile* base) {
	BoxesUnattendedInstaller* result;
	BoxesUnattendedTextFile* self;
	BoxesUnattendedInstaller* _tmp0_;
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedTextFile*) base;
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->_installer;
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp0_;
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 5716 "unattended-installer.c"
}


static void boxes_unattended_text_file_real_set_installer (BoxesUnattendedFile* base, BoxesUnattendedInstaller* value) {
	BoxesUnattendedTextFile* self;
	BoxesUnattendedInstaller* _tmp0_;
	BoxesUnattendedInstaller* _tmp1_;
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedTextFile*) base;
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = value;
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->_installer);
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->_installer = _tmp1_;
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject *) self, "installer");
#line 5736 "unattended-installer.c"
}


static void boxes_unattended_text_file_class_init (BoxesUnattendedTextFileClass * klass) {
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_text_file_parent_class = g_type_class_peek_parent (klass);
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_type_class_add_private (klass, sizeof (BoxesUnattendedTextFilePrivate));
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_unattended_text_file_get_property;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_boxes_unattended_text_file_set_property;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_unattended_text_file_finalize;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_TEXT_FILE_SRC_PATH, g_param_spec_string ("src-path", "src-path", "src-path", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_TEXT_FILE_DEST_NAME, g_param_spec_string ("dest-name", "dest-name", "dest-name", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_TEXT_FILE_INSTALLER, g_param_spec_object ("installer", "installer", "installer", BOXES_TYPE_UNATTENDED_INSTALLER, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 5757 "unattended-installer.c"
}


static void boxes_unattended_text_file_boxes_unattended_file_interface_init (BoxesUnattendedFileIface * iface) {
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_text_file_boxes_unattended_file_parent_iface = g_type_interface_peek_parent (iface);
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_source_file = (GFile* (*)(BoxesUnattendedFile*, GCancellable*, GError**)) boxes_unattended_text_file_real_get_source_file;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_source_file_finish = boxes_unattended_text_file_real_get_source_file_finish;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_src_path = boxes_unattended_text_file_real_get_src_path;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->set_src_path = boxes_unattended_text_file_real_set_src_path;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_dest_name = boxes_unattended_text_file_real_get_dest_name;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->set_dest_name = boxes_unattended_text_file_real_set_dest_name;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_installer = boxes_unattended_text_file_real_get_installer;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->set_installer = boxes_unattended_text_file_real_set_installer;
#line 5780 "unattended-installer.c"
}


static void boxes_unattended_text_file_instance_init (BoxesUnattendedTextFile * self) {
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv = BOXES_UNATTENDED_TEXT_FILE_GET_PRIVATE (self);
#line 5787 "unattended-installer.c"
}


static void boxes_unattended_text_file_finalize (GObject* obj) {
	BoxesUnattendedTextFile * self;
	GError * _inner_error_ = NULL;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_UNATTENDED_TEXT_FILE, BoxesUnattendedTextFile);
#line 5796 "unattended-installer.c"
	{
		GFile* _tmp0_;
#line 460 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = self->priv->unattended_tmp;
#line 460 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_delete_file (_tmp0_, &_inner_error_);
#line 460 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_ != NULL) {
#line 5805 "unattended-installer.c"
			goto __catch66_g_error;
		}
	}
	goto __finally66;
	__catch66_g_error:
	{
		GError* e = NULL;
		GFile* _tmp1_;
		gchar* _tmp2_ = NULL;
		gchar* _tmp3_;
		GError* _tmp4_;
		const gchar* _tmp5_;
#line 459 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		e = _inner_error_;
#line 459 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_inner_error_ = NULL;
#line 462 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp1_ = self->priv->unattended_tmp;
#line 462 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp2_ = g_file_get_path (_tmp1_);
#line 462 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp3_ = _tmp2_;
#line 462 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp4_ = e;
#line 462 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp5_ = _tmp4_->message;
#line 462 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_warning ("unattended-installer.vala:462: Error deleting %s: %s", _tmp3_, _tmp5_);
#line 462 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_tmp3_);
#line 459 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_error_free0 (e);
#line 5838 "unattended-installer.c"
	}
	__finally66:
#line 459 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_inner_error_ != NULL) {
#line 459 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 459 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_clear_error (&_inner_error_);
#line 5847 "unattended-installer.c"
	}
#line 445 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_src_path);
#line 446 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_dest_name);
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->_installer);
#line 450 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->unattended_tmp);
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (boxes_unattended_text_file_parent_class)->finalize (obj);
#line 5859 "unattended-installer.c"
}


GType boxes_unattended_text_file_get_type (void) {
	static volatile gsize boxes_unattended_text_file_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_unattended_text_file_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesUnattendedTextFileClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_unattended_text_file_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesUnattendedTextFile), 0, (GInstanceInitFunc) boxes_unattended_text_file_instance_init, NULL };
		static const GInterfaceInfo boxes_unattended_file_info = { (GInterfaceInitFunc) boxes_unattended_text_file_boxes_unattended_file_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType boxes_unattended_text_file_type_id;
		boxes_unattended_text_file_type_id = g_type_register_static (G_TYPE_OBJECT, "BoxesUnattendedTextFile", &g_define_type_info, 0);
		g_type_add_interface_static (boxes_unattended_text_file_type_id, BOXES_TYPE_UNATTENDED_FILE, &boxes_unattended_file_info);
		g_once_init_leave (&boxes_unattended_text_file_type_id__volatile, boxes_unattended_text_file_type_id);
	}
	return boxes_unattended_text_file_type_id__volatile;
}


static void _vala_boxes_unattended_text_file_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	BoxesUnattendedTextFile * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_UNATTENDED_TEXT_FILE, BoxesUnattendedTextFile);
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (property_id) {
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_TEXT_FILE_SRC_PATH:
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_string (value, boxes_unattended_file_get_src_path ((BoxesUnattendedFile*) self));
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_TEXT_FILE_DEST_NAME:
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_string (value, boxes_unattended_file_get_dest_name ((BoxesUnattendedFile*) self));
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_TEXT_FILE_INSTALLER:
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_object (value, boxes_unattended_file_get_installer ((BoxesUnattendedFile*) self));
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 5900 "unattended-installer.c"
		default:
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 5906 "unattended-installer.c"
	}
}


static void _vala_boxes_unattended_text_file_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	BoxesUnattendedTextFile * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_UNATTENDED_TEXT_FILE, BoxesUnattendedTextFile);
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (property_id) {
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_TEXT_FILE_SRC_PATH:
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_file_set_src_path ((BoxesUnattendedFile*) self, g_value_get_string (value));
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_TEXT_FILE_DEST_NAME:
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_file_set_dest_name ((BoxesUnattendedFile*) self, g_value_get_string (value));
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_TEXT_FILE_INSTALLER:
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_file_set_installer ((BoxesUnattendedFile*) self, g_value_get_object (value));
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 5934 "unattended-installer.c"
		default:
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 5940 "unattended-installer.c"
	}
}


BoxesUnattendedAvatarFile* boxes_unattended_avatar_file_construct (GType object_type, BoxesUnattendedInstaller* installer, const gchar* src_path, AvatarFormat* dest_format) {
	BoxesUnattendedAvatarFile * self = NULL;
	BoxesUnattendedInstaller* _tmp0_;
	const gchar* _tmp1_;
	AvatarFormat* _tmp2_;
	AvatarFormat* _tmp3_;
#line 506 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (installer != NULL, NULL);
#line 506 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (src_path != NULL, NULL);
#line 506 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (dest_format != NULL, NULL);
#line 506 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedAvatarFile*) g_object_new (object_type, NULL);
#line 507 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = installer;
#line 507 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_set_installer ((BoxesUnattendedFile*) self, _tmp0_);
#line 508 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = src_path;
#line 508 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_set_src_path ((BoxesUnattendedFile*) self, _tmp1_);
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = dest_format;
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = _avatar_format_ref0 (_tmp2_);
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_avatar_format_unref0 (self->priv->dest_format);
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->dest_format = _tmp3_;
#line 506 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return self;
#line 5977 "unattended-installer.c"
}


BoxesUnattendedAvatarFile* boxes_unattended_avatar_file_new (BoxesUnattendedInstaller* installer, const gchar* src_path, AvatarFormat* dest_format) {
#line 506 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return boxes_unattended_avatar_file_construct (BOXES_TYPE_UNATTENDED_AVATAR_FILE, installer, src_path, dest_format);
#line 5984 "unattended-installer.c"
}


static void boxes_unattended_avatar_file_real_get_source_file_data_free (gpointer _data) {
	BoxesUnattendedAvatarFileGetSourceFileData* _data_;
	_data_ = _data;
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->result);
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self);
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_slice_free (BoxesUnattendedAvatarFileGetSourceFileData, _data_);
#line 5999 "unattended-installer.c"
}


static void boxes_unattended_avatar_file_real_get_source_file (BoxesUnattendedFile* base, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedAvatarFile * self;
	BoxesUnattendedAvatarFileGetSourceFileData* _data_;
	BoxesUnattendedAvatarFile* _tmp0_;
	GCancellable* _tmp1_;
	GCancellable* _tmp2_;
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedAvatarFile*) base;
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedAvatarFileGetSourceFileData);
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_avatar_file_real_get_source_file);
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_avatar_file_real_get_source_file_data_free);
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = _tmp0_;
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = cancellable;
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->cancellable = _tmp2_;
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_avatar_file_real_get_source_file_co (_data_);
#line 6031 "unattended-installer.c"
}


static GFile* boxes_unattended_avatar_file_real_get_source_file_finish (BoxesUnattendedFile* base, GAsyncResult* _res_, GError** error) {
	GFile* result;
	BoxesUnattendedAvatarFileGetSourceFileData* _data_;
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return NULL;
#line 6042 "unattended-installer.c"
	}
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _data_->result;
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->result = NULL;
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 6052 "unattended-installer.c"
}


static gboolean boxes_unattended_avatar_file_real_get_source_file_co (BoxesUnattendedAvatarFileGetSourceFileData* _data_) {
#line 521 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 521 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 6061 "unattended-installer.c"
		goto _state_0;
		default:
#line 521 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 6066 "unattended-installer.c"
	}
	_state_0:
#line 522 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = boxes_unattended_file_get_installer ((BoxesUnattendedFile*) _data_->self);
#line 522 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 522 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = boxes_unattended_installer_get_username (_data_->_tmp1_);
#line 522 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = _data_->_tmp2_;
#line 522 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = _data_->self->priv->dest_format;
#line 522 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp5_ = _data_->_tmp4_->extension;
#line 522 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp6_ = g_strconcat (_data_->_tmp3_, _data_->_tmp5_, NULL);
#line 522 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp7_ = _data_->_tmp6_;
#line 522 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_set_dest_name ((BoxesUnattendedFile*) _data_->self, _data_->_tmp7_);
#line 522 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->_tmp7_);
#line 523 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp8_ = boxes_unattended_file_get_installer ((BoxesUnattendedFile*) _data_->self);
#line 523 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp9_ = _data_->_tmp8_;
#line 523 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp10_ = boxes_unattended_file_get_dest_name ((BoxesUnattendedFile*) _data_->self);
#line 523 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp11_ = _data_->_tmp10_;
#line 523 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp12_ = NULL;
#line 523 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp12_ = boxes_unattended_installer_get_user_unattended (_data_->_tmp9_, _data_->_tmp11_);
#line 523 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->destination_path = _data_->_tmp12_;
#line 6103 "unattended-installer.c"
	{
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp13_ = boxes_unattended_file_get_src_path ((BoxesUnattendedFile*) _data_->self);
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp14_ = _data_->_tmp13_;
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp15_ = _data_->self->priv->dest_format;
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp16_ = _data_->_tmp15_->width;
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp17_ = _data_->self->priv->dest_format;
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp18_ = _data_->_tmp17_->height;
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp19_ = gdk_pixbuf_new_from_file_at_scale (_data_->_tmp14_, _data_->_tmp16_, _data_->_tmp18_, TRUE, &_data_->_inner_error_);
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->pixbuf = _data_->_tmp19_;
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 6123 "unattended-installer.c"
			goto __catch68_g_error;
		}
#line 528 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp21_ = _data_->self->priv->dest_format;
#line 528 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp22_ = _data_->_tmp21_->alpha;
#line 528 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (!_data_->_tmp22_) {
#line 528 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp23_ = _data_->pixbuf;
#line 528 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp24_ = FALSE;
#line 528 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp24_ = gdk_pixbuf_get_has_alpha (_data_->_tmp23_);
#line 528 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp20_ = _data_->_tmp24_;
#line 6140 "unattended-installer.c"
		} else {
#line 528 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp20_ = FALSE;
#line 6144 "unattended-installer.c"
		}
#line 528 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp25_ = _data_->_tmp20_;
#line 528 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_tmp25_) {
#line 529 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp26_ = _data_->pixbuf;
#line 529 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp27_ = NULL;
#line 529 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp27_ = boxes_remove_alpha (_data_->_tmp26_);
#line 529 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->pixbuf);
#line 529 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->pixbuf = _data_->_tmp27_;
#line 6160 "unattended-installer.c"
		}
#line 531 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp28_ = _data_->destination_path;
#line 531 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_debug ("unattended-installer.vala:531: Saving user avatar file at '%s'..", _data_->_tmp28_);
#line 532 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp29_ = _data_->pixbuf;
#line 532 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp30_ = _data_->destination_path;
#line 532 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp31_ = _data_->self->priv->dest_format;
#line 532 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp32_ = _data_->_tmp31_->type;
#line 532 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		gdk_pixbuf_save (_data_->_tmp29_, _data_->_tmp30_, _data_->_tmp32_, &_data_->_inner_error_, NULL);
#line 532 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 532 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->pixbuf);
#line 6180 "unattended-installer.c"
			goto __catch68_g_error;
		}
#line 533 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp33_ = _data_->destination_path;
#line 533 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_debug ("unattended-installer.vala:533: Saved user avatar file at '%s'.", _data_->_tmp33_);
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->pixbuf);
#line 6189 "unattended-installer.c"
	}
	goto __finally68;
	__catch68_g_error:
	{
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_inner_error_ = NULL;
#line 535 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp34_ = _data_->_error_;
#line 535 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp35_ = _data_->_tmp34_->message;
#line 535 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_warning ("unattended-installer.vala:535: Failed to save user avatar: %s.", _data_->_tmp35_);
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_error_free0 (_data_->_error_);
#line 6206 "unattended-installer.c"
	}
	__finally68:
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->destination_path);
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 6221 "unattended-installer.c"
		} else {
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 6225 "unattended-installer.c"
		}
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 6231 "unattended-installer.c"
	}
#line 538 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp36_ = _data_->destination_path;
#line 538 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp37_ = NULL;
#line 538 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp37_ = g_file_new_for_path (_data_->_tmp36_);
#line 538 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self->priv->unattended_tmp);
#line 538 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self->priv->unattended_tmp = _data_->_tmp37_;
#line 540 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp38_ = _data_->self->priv->unattended_tmp;
#line 540 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp39_ = _g_object_ref0 (_data_->_tmp38_);
#line 540 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->result = _data_->_tmp39_;
#line 540 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->destination_path);
#line 540 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 540 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 6255 "unattended-installer.c"
	} else {
#line 540 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 6259 "unattended-installer.c"
	}
#line 540 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 540 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 521 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->destination_path);
#line 521 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 521 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 6271 "unattended-installer.c"
	} else {
#line 521 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 6275 "unattended-installer.c"
	}
#line 521 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 521 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 6281 "unattended-installer.c"
}


static const gchar* boxes_unattended_avatar_file_real_get_src_path (BoxesUnattendedFile* base) {
	const gchar* result;
	BoxesUnattendedAvatarFile* self;
	const gchar* _tmp0_;
#line 497 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedAvatarFile*) base;
#line 497 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->_src_path;
#line 497 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp0_;
#line 497 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 6297 "unattended-installer.c"
}


static void boxes_unattended_avatar_file_real_set_src_path (BoxesUnattendedFile* base, const gchar* value) {
	BoxesUnattendedAvatarFile* self;
	const gchar* _tmp0_;
	gchar* _tmp1_;
#line 497 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedAvatarFile*) base;
#line 497 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = value;
#line 497 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 497 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_src_path);
#line 497 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->_src_path = _tmp1_;
#line 497 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject *) self, "src-path");
#line 6317 "unattended-installer.c"
}


static const gchar* boxes_unattended_avatar_file_real_get_dest_name (BoxesUnattendedFile* base) {
	const gchar* result;
	BoxesUnattendedAvatarFile* self;
	const gchar* _tmp0_;
#line 498 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedAvatarFile*) base;
#line 498 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->_dest_name;
#line 498 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp0_;
#line 498 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 6333 "unattended-installer.c"
}


static void boxes_unattended_avatar_file_real_set_dest_name (BoxesUnattendedFile* base, const gchar* value) {
	BoxesUnattendedAvatarFile* self;
	const gchar* _tmp0_;
	gchar* _tmp1_;
#line 498 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedAvatarFile*) base;
#line 498 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = value;
#line 498 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 498 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_dest_name);
#line 498 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->_dest_name = _tmp1_;
#line 498 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject *) self, "dest-name");
#line 6353 "unattended-installer.c"
}


static BoxesUnattendedInstaller* boxes_unattended_avatar_file_real_get_installer (BoxesUnattendedFile* base) {
	BoxesUnattendedInstaller* result;
	BoxesUnattendedAvatarFile* self;
	BoxesUnattendedInstaller* _tmp0_;
#line 500 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedAvatarFile*) base;
#line 500 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->_installer;
#line 500 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp0_;
#line 500 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 6369 "unattended-installer.c"
}


static void boxes_unattended_avatar_file_real_set_installer (BoxesUnattendedFile* base, BoxesUnattendedInstaller* value) {
	BoxesUnattendedAvatarFile* self;
	BoxesUnattendedInstaller* _tmp0_;
	BoxesUnattendedInstaller* _tmp1_;
#line 500 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedAvatarFile*) base;
#line 500 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = value;
#line 500 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 500 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->_installer);
#line 500 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->_installer = _tmp1_;
#line 500 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject *) self, "installer");
#line 6389 "unattended-installer.c"
}


static void boxes_unattended_avatar_file_class_init (BoxesUnattendedAvatarFileClass * klass) {
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_avatar_file_parent_class = g_type_class_peek_parent (klass);
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_type_class_add_private (klass, sizeof (BoxesUnattendedAvatarFilePrivate));
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_unattended_avatar_file_get_property;
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_boxes_unattended_avatar_file_set_property;
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_unattended_avatar_file_finalize;
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_AVATAR_FILE_SRC_PATH, g_param_spec_string ("src-path", "src-path", "src-path", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_AVATAR_FILE_DEST_NAME, g_param_spec_string ("dest-name", "dest-name", "dest-name", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_AVATAR_FILE_INSTALLER, g_param_spec_object ("installer", "installer", "installer", BOXES_TYPE_UNATTENDED_INSTALLER, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 6410 "unattended-installer.c"
}


static void boxes_unattended_avatar_file_boxes_unattended_file_interface_init (BoxesUnattendedFileIface * iface) {
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_avatar_file_boxes_unattended_file_parent_iface = g_type_interface_peek_parent (iface);
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_source_file = (GFile* (*)(BoxesUnattendedFile*, GCancellable*, GError**)) boxes_unattended_avatar_file_real_get_source_file;
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_source_file_finish = boxes_unattended_avatar_file_real_get_source_file_finish;
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_src_path = boxes_unattended_avatar_file_real_get_src_path;
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->set_src_path = boxes_unattended_avatar_file_real_set_src_path;
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_dest_name = boxes_unattended_avatar_file_real_get_dest_name;
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->set_dest_name = boxes_unattended_avatar_file_real_set_dest_name;
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_installer = boxes_unattended_avatar_file_real_get_installer;
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->set_installer = boxes_unattended_avatar_file_real_set_installer;
#line 6433 "unattended-installer.c"
}


static void boxes_unattended_avatar_file_instance_init (BoxesUnattendedAvatarFile * self) {
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv = BOXES_UNATTENDED_AVATAR_FILE_GET_PRIVATE (self);
#line 6440 "unattended-installer.c"
}


static void boxes_unattended_avatar_file_finalize (GObject* obj) {
	BoxesUnattendedAvatarFile * self;
	GError * _inner_error_ = NULL;
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_UNATTENDED_AVATAR_FILE, BoxesUnattendedAvatarFile);
#line 6449 "unattended-installer.c"
	{
		GFile* _tmp0_;
#line 515 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = self->priv->unattended_tmp;
#line 515 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_delete_file (_tmp0_, &_inner_error_);
#line 515 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_ != NULL) {
#line 6458 "unattended-installer.c"
			goto __catch67_g_error;
		}
	}
	goto __finally67;
	__catch67_g_error:
	{
		GError* e = NULL;
		GFile* _tmp1_;
		gchar* _tmp2_ = NULL;
		gchar* _tmp3_;
		GError* _tmp4_;
		const gchar* _tmp5_;
#line 514 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		e = _inner_error_;
#line 514 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_inner_error_ = NULL;
#line 517 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp1_ = self->priv->unattended_tmp;
#line 517 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp2_ = g_file_get_path (_tmp1_);
#line 517 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp3_ = _tmp2_;
#line 517 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp4_ = e;
#line 517 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp5_ = _tmp4_->message;
#line 517 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_warning ("unattended-installer.vala:517: Error deleting %s: %s", _tmp3_, _tmp5_);
#line 517 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_tmp3_);
#line 514 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_error_free0 (e);
#line 6491 "unattended-installer.c"
	}
	__finally67:
#line 514 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_inner_error_ != NULL) {
#line 514 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 514 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_clear_error (&_inner_error_);
#line 6500 "unattended-installer.c"
	}
#line 497 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_src_path);
#line 498 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_dest_name);
#line 500 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->_installer);
#line 502 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->unattended_tmp);
#line 504 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_avatar_format_unref0 (self->priv->dest_format);
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (boxes_unattended_avatar_file_parent_class)->finalize (obj);
#line 6514 "unattended-installer.c"
}


GType boxes_unattended_avatar_file_get_type (void) {
	static volatile gsize boxes_unattended_avatar_file_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_unattended_avatar_file_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesUnattendedAvatarFileClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_unattended_avatar_file_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesUnattendedAvatarFile), 0, (GInstanceInitFunc) boxes_unattended_avatar_file_instance_init, NULL };
		static const GInterfaceInfo boxes_unattended_file_info = { (GInterfaceInitFunc) boxes_unattended_avatar_file_boxes_unattended_file_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType boxes_unattended_avatar_file_type_id;
		boxes_unattended_avatar_file_type_id = g_type_register_static (G_TYPE_OBJECT, "BoxesUnattendedAvatarFile", &g_define_type_info, 0);
		g_type_add_interface_static (boxes_unattended_avatar_file_type_id, BOXES_TYPE_UNATTENDED_FILE, &boxes_unattended_file_info);
		g_once_init_leave (&boxes_unattended_avatar_file_type_id__volatile, boxes_unattended_avatar_file_type_id);
	}
	return boxes_unattended_avatar_file_type_id__volatile;
}


static void _vala_boxes_unattended_avatar_file_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	BoxesUnattendedAvatarFile * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_UNATTENDED_AVATAR_FILE, BoxesUnattendedAvatarFile);
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (property_id) {
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_SRC_PATH:
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_string (value, boxes_unattended_file_get_src_path ((BoxesUnattendedFile*) self));
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_DEST_NAME:
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_string (value, boxes_unattended_file_get_dest_name ((BoxesUnattendedFile*) self));
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_INSTALLER:
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_object (value, boxes_unattended_file_get_installer ((BoxesUnattendedFile*) self));
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 6555 "unattended-installer.c"
		default:
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 6561 "unattended-installer.c"
	}
}


static void _vala_boxes_unattended_avatar_file_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	BoxesUnattendedAvatarFile * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_UNATTENDED_AVATAR_FILE, BoxesUnattendedAvatarFile);
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (property_id) {
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_SRC_PATH:
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_file_set_src_path ((BoxesUnattendedFile*) self, g_value_get_string (value));
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_DEST_NAME:
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_file_set_dest_name ((BoxesUnattendedFile*) self, g_value_get_string (value));
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_INSTALLER:
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_file_set_installer ((BoxesUnattendedFile*) self, g_value_get_object (value));
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 6589 "unattended-installer.c"
		default:
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 6595 "unattended-installer.c"
	}
}


AvatarFormat* avatar_format_construct (GType object_type, const gchar* type, const gchar* extension, gboolean alpha, gint width, gint height) {
	AvatarFormat* self = NULL;
	const gchar* _tmp0_;
	gchar* _tmp1_;
	const gchar* _tmp2_;
	gchar* _tmp3_;
	gboolean _tmp4_;
	gint _tmp5_;
	gint _tmp6_;
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (type != NULL, NULL);
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (extension != NULL, NULL);
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (AvatarFormat*) g_type_create_instance (object_type);
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = type;
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->type);
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->type = _tmp1_;
#line 557 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = extension;
#line 557 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = g_strdup (_tmp2_);
#line 557 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->extension);
#line 557 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->extension = _tmp3_;
#line 558 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = alpha;
#line 558 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->alpha = _tmp4_;
#line 559 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = width;
#line 559 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->width = _tmp5_;
#line 560 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = height;
#line 560 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->height = _tmp6_;
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return self;
#line 6645 "unattended-installer.c"
}


AvatarFormat* avatar_format_new (const gchar* type, const gchar* extension, gboolean alpha, gint width, gint height) {
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return avatar_format_construct (TYPE_AVATAR_FORMAT, type, extension, alpha, width, height);
#line 6652 "unattended-installer.c"
}


static void value_avatar_format_init (GValue* value) {
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	value->data[0].v_pointer = NULL;
#line 6659 "unattended-installer.c"
}


static void value_avatar_format_free_value (GValue* value) {
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (value->data[0].v_pointer) {
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		avatar_format_unref (value->data[0].v_pointer);
#line 6668 "unattended-installer.c"
	}
}


static void value_avatar_format_copy_value (const GValue* src_value, GValue* dest_value) {
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (src_value->data[0].v_pointer) {
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		dest_value->data[0].v_pointer = avatar_format_ref (src_value->data[0].v_pointer);
#line 6678 "unattended-installer.c"
	} else {
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		dest_value->data[0].v_pointer = NULL;
#line 6682 "unattended-installer.c"
	}
}


static gpointer value_avatar_format_peek_pointer (const GValue* value) {
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return value->data[0].v_pointer;
#line 6690 "unattended-installer.c"
}


static gchar* value_avatar_format_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (collect_values[0].v_pointer) {
#line 6697 "unattended-installer.c"
		AvatarFormat* object;
		object = collect_values[0].v_pointer;
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (object->parent_instance.g_class == NULL) {
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 6704 "unattended-installer.c"
		} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 6708 "unattended-installer.c"
		}
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		value->data[0].v_pointer = avatar_format_ref (object);
#line 6712 "unattended-installer.c"
	} else {
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		value->data[0].v_pointer = NULL;
#line 6716 "unattended-installer.c"
	}
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return NULL;
#line 6720 "unattended-installer.c"
}


static gchar* value_avatar_format_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
	AvatarFormat** object_p;
	object_p = collect_values[0].v_pointer;
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (!object_p) {
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
#line 6731 "unattended-installer.c"
	}
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (!value->data[0].v_pointer) {
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		*object_p = NULL;
#line 6737 "unattended-installer.c"
	} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		*object_p = value->data[0].v_pointer;
#line 6741 "unattended-installer.c"
	} else {
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		*object_p = avatar_format_ref (value->data[0].v_pointer);
#line 6745 "unattended-installer.c"
	}
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return NULL;
#line 6749 "unattended-installer.c"
}


GParamSpec* param_spec_avatar_format (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	ParamSpecAvatarFormat* spec;
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (g_type_is_a (object_type, TYPE_AVATAR_FORMAT), NULL);
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_PARAM_SPEC (spec)->value_type = object_type;
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return G_PARAM_SPEC (spec);
#line 6763 "unattended-installer.c"
}


gpointer value_get_avatar_format (const GValue* value) {
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_AVATAR_FORMAT), NULL);
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return value->data[0].v_pointer;
#line 6772 "unattended-installer.c"
}


void value_set_avatar_format (GValue* value, gpointer v_object) {
	AvatarFormat* old;
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_AVATAR_FORMAT));
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	old = value->data[0].v_pointer;
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (v_object) {
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_AVATAR_FORMAT));
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		value->data[0].v_pointer = v_object;
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		avatar_format_ref (value->data[0].v_pointer);
#line 6792 "unattended-installer.c"
	} else {
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		value->data[0].v_pointer = NULL;
#line 6796 "unattended-installer.c"
	}
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (old) {
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		avatar_format_unref (old);
#line 6802 "unattended-installer.c"
	}
}


void value_take_avatar_format (GValue* value, gpointer v_object) {
	AvatarFormat* old;
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_AVATAR_FORMAT));
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	old = value->data[0].v_pointer;
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (v_object) {
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_AVATAR_FORMAT));
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		value->data[0].v_pointer = v_object;
#line 6821 "unattended-installer.c"
	} else {
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		value->data[0].v_pointer = NULL;
#line 6825 "unattended-installer.c"
	}
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (old) {
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		avatar_format_unref (old);
#line 6831 "unattended-installer.c"
	}
}


static void avatar_format_class_init (AvatarFormatClass * klass) {
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	avatar_format_parent_class = g_type_class_peek_parent (klass);
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	AVATAR_FORMAT_CLASS (klass)->finalize = avatar_format_finalize;
#line 6841 "unattended-installer.c"
}


static void avatar_format_instance_init (AvatarFormat * self) {
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->ref_count = 1;
#line 6848 "unattended-installer.c"
}


static void avatar_format_finalize (AvatarFormat* obj) {
	AvatarFormat * self;
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_AVATAR_FORMAT, AvatarFormat);
#line 545 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->type);
#line 546 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->extension);
#line 6860 "unattended-installer.c"
}


GType avatar_format_get_type (void) {
	static volatile gsize avatar_format_type_id__volatile = 0;
	if (g_once_init_enter (&avatar_format_type_id__volatile)) {
		static const GTypeValueTable g_define_type_value_table = { value_avatar_format_init, value_avatar_format_free_value, value_avatar_format_copy_value, value_avatar_format_peek_pointer, "p", value_avatar_format_collect_value, "p", value_avatar_format_lcopy_value };
		static const GTypeInfo g_define_type_info = { sizeof (AvatarFormatClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) avatar_format_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (AvatarFormat), 0, (GInstanceInitFunc) avatar_format_instance_init, &g_define_type_value_table };
		static const GTypeFundamentalInfo g_define_type_fundamental_info = { (G_TYPE_FLAG_CLASSED | G_TYPE_FLAG_INSTANTIATABLE | G_TYPE_FLAG_DERIVABLE | G_TYPE_FLAG_DEEP_DERIVABLE) };
		GType avatar_format_type_id;
		avatar_format_type_id = g_type_register_fundamental (g_type_fundamental_next (), "AvatarFormat", &g_define_type_info, &g_define_type_fundamental_info, 0);
		g_once_init_leave (&avatar_format_type_id__volatile, avatar_format_type_id);
	}
	return avatar_format_type_id__volatile;
}


gpointer avatar_format_ref (gpointer instance) {
	AvatarFormat* self;
	self = instance;
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_atomic_int_inc (&self->ref_count);
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return instance;
#line 6885 "unattended-installer.c"
}


void avatar_format_unref (gpointer instance) {
	AvatarFormat* self;
	self = instance;
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_atomic_int_dec_and_test (&self->ref_count)) {
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		AVATAR_FORMAT_GET_CLASS (self)->finalize (self);
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_type_free_instance ((GTypeInstance *) self);
#line 6898 "unattended-installer.c"
	}
}


static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) {
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	if ((array != NULL) && (destroy_func != NULL)) {
#line 6906 "unattended-installer.c"
		int i;
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
		for (i = 0; i < array_length; i = i + 1) {
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
			if (((gpointer*) array)[i] != NULL) {
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
				destroy_func (((gpointer*) array)[i]);
#line 6914 "unattended-installer.c"
			}
		}
	}
}


static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) {
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_vala_array_destroy (array, array_length, destroy_func);
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	g_free (array);
#line 6926 "unattended-installer.c"
}


static gint _vala_array_length (gpointer array) {
	int length;
	length = 0;
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	if (array) {
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
		while (((gpointer*) array)[length]) {
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
			length++;
#line 6939 "unattended-installer.c"
		}
	}
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	return length;
#line 6944 "unattended-installer.c"
}



