/* unattended-installer.c generated by valac 0.17.3.12-6a5ea3, 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 <osinfo/osinfo.h>
#include <glib/gi18n-lib.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_PAIR (boxes_pair_get_type ())
#define BOXES_PAIR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_PAIR, BoxesPair))
#define BOXES_PAIR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_PAIR, BoxesPairClass))
#define BOXES_IS_PAIR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_PAIR))
#define BOXES_IS_PAIR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_PAIR))
#define BOXES_PAIR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_PAIR, BoxesPairClass))

typedef struct _BoxesPair BoxesPair;
typedef struct _BoxesPairClass BoxesPairClass;

#define 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_list_free__g_object_unref0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__g_object_unref0_ (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
#define _avatar_format_unref0(var) ((var == NULL) ? NULL : (var = (avatar_format_unref (var), NULL)))

#define BOXES_FDO_TYPE_ACCOUNTS (boxes_fdo_accounts_get_type ())
#define BOXES_FDO_ACCOUNTS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_FDO_TYPE_ACCOUNTS, BoxesFdoAccounts))
#define BOXES_FDO_IS_ACCOUNTS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_FDO_TYPE_ACCOUNTS))
#define BOXES_FDO_ACCOUNTS_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), BOXES_FDO_TYPE_ACCOUNTS, BoxesFdoAccountsIface))

typedef struct _BoxesFdoAccounts BoxesFdoAccounts;
typedef struct _BoxesFdoAccountsIface BoxesFdoAccountsIface;

#define BOXES_FDO_TYPE_ACCOUNTS_PROXY (boxes_fdo_accounts_proxy_get_type ())

#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 _Block29Data Block29Data;
typedef struct _BoxesUnattendedInstallerPrepareDirectBootData BoxesUnattendedInstallerPrepareDirectBootData;
typedef struct _BoxesUnattendedInstallerCreateDiskImageData BoxesUnattendedInstallerCreateDiskImageData;

#define BOXES_FDO_TYPE_ACCOUNTS_USER (boxes_fdo_accounts_user_get_type ())
#define BOXES_FDO_ACCOUNTS_USER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_FDO_TYPE_ACCOUNTS_USER, BoxesFdoAccountsUser))
#define BOXES_FDO_IS_ACCOUNTS_USER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_FDO_TYPE_ACCOUNTS_USER))
#define BOXES_FDO_ACCOUNTS_USER_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), BOXES_FDO_TYPE_ACCOUNTS_USER, BoxesFdoAccountsUserIface))

typedef struct _BoxesFdoAccountsUser BoxesFdoAccountsUser;
typedef struct _BoxesFdoAccountsUserIface BoxesFdoAccountsUserIface;

#define BOXES_FDO_TYPE_ACCOUNTS_USER_PROXY (boxes_fdo_accounts_user_proxy_get_type ())

#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;
typedef struct _BoxesUnattendedTextFilePrivate BoxesUnattendedTextFilePrivate;
typedef struct _BoxesUnattendedTextFileCreateData BoxesUnattendedTextFileCreateData;
typedef struct _BoxesUnattendedAvatarFilePrivate BoxesUnattendedAvatarFilePrivate;
typedef struct _AvatarFormatPrivate AvatarFormatPrivate;
typedef struct _BoxesUnattendedAvatarFileCreateData BoxesUnattendedAvatarFileCreateData;
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 (*setup_spice_config) (BoxesInstallerMedia* self, GVirConfigDomainGraphicsSpice* graphics);
	void (*populate_setup_vbox) (BoxesInstallerMedia* self, GtkVBox* setup_vbox);
	void (*check_needed_info) (BoxesInstallerMedia* self, GError** error);
	GList* (*get_vm_properties) (BoxesInstallerMedia* self);
	gboolean (*get_need_user_input_for_vm_creation) (BoxesInstallerMedia* self);
};

struct _BoxesUnattendedFileIface {
	GTypeInterface parent_iface;
	void (*create) (BoxesUnattendedFile* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	GFile* (*create_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;
	gboolean password_mandatory;
	GList* unattended_files;
	GtkTable* setup_table;
	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);
	void (*prepare_direct_boot) (BoxesUnattendedInstaller* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*prepare_direct_boot_finish) (BoxesUnattendedInstaller* self, GAsyncResult* _res_, GError** error);
	GVirConfigDomainDisk* (*get_unattended_disk_config) (BoxesUnattendedInstaller* self);
};

struct _BoxesFdoAccountsIface {
	GTypeInterface parent_iface;
	void (*FindUserByName) (BoxesFdoAccounts* self, const gchar* name, GAsyncReadyCallback _callback_, gpointer _user_data_);
	gchar* (*FindUserByName_finish) (BoxesFdoAccounts* self, GAsyncResult* _res_, GError** error);
};

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_;
	GCancellable* _tmp10_;
	GError* _error_;
	GError* _tmp11_;
	GError* _tmp12_;
	GError * _inner_error_;
};

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

struct _BoxesUnattendedInstallerPrepareDirectBootData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedInstaller* self;
	GCancellable* cancellable;
};

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 _BoxesFdoAccountsUserIface {
	GTypeInterface parent_iface;
	gboolean (*get_AutomaticLogin) (BoxesFdoAccountsUser* self);
	gboolean (*get_Locked) (BoxesFdoAccountsUser* self);
	gboolean (*get_SystemAccount) (BoxesFdoAccountsUser* self);
	gint32 (*get_AccountType) (BoxesFdoAccountsUser* self);
	gint32 (*get_PasswordMode) (BoxesFdoAccountsUser* self);
	gchar* (*get_Email) (BoxesFdoAccountsUser* self);
	gchar* (*get_HomeDirectory) (BoxesFdoAccountsUser* self);
	gchar* (*get_IconFile) (BoxesFdoAccountsUser* self);
	gchar* (*get_Language) (BoxesFdoAccountsUser* self);
	gchar* (*get_Location) (BoxesFdoAccountsUser* self);
	gchar* (*get_RealName) (BoxesFdoAccountsUser* self);
	gchar* (*get_Shell) (BoxesFdoAccountsUser* self);
	gchar* (*get_UserName) (BoxesFdoAccountsUser* self);
	gchar* (*get_XSession) (BoxesFdoAccountsUser* self);
};

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_;
	GFile* _tmp17_;
	GFile* file;
	GFile* _tmp18_;
	gboolean _tmp19_;
	GtkImage* _tmp20_;
	const gchar* _tmp21_;
	const gchar* _tmp22_;
	AvatarFormat* _tmp23_;
	BoxesUnattendedAvatarFile* _tmp24_;
	BoxesUnattendedAvatarFile* _tmp25_;
	GError * _inner_error_;
};

struct _BoxesUnattendedFileCopyData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedFile* self;
	GCancellable* cancellable;
	GCancellable* _tmp0_;
	GFile* _tmp1_;
	GFile* unattended_tmp;
	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_;
	GFile* _tmp32_;
	gchar* _tmp33_;
	gchar* _tmp34_;
	GFile* _tmp35_;
	GCancellable* _tmp36_;
	GFile* _tmp37_;
	gchar* _tmp38_;
	gchar* _tmp39_;
	GError * _inner_error_;
};

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

struct _BoxesUnattendedTextFileClass {
	GObjectClass parent_class;
};

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

struct _BoxesUnattendedTextFileCreateData {
	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_;
	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;
	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 _BoxesUnattendedAvatarFileCreateData {
	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_;
	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_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;
gpointer boxes_pair_ref (gpointer instance);
void boxes_pair_unref (gpointer instance);
GParamSpec* boxes_param_spec_pair (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void boxes_value_set_pair (GValue* value, gpointer v_object);
void boxes_value_take_pair (GValue* value, gpointer v_object);
gpointer boxes_value_get_pair (const GValue* value);
GType boxes_pair_get_type (void) G_GNUC_CONST;
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;
enum  {
	BOXES_UNATTENDED_INSTALLER_DUMMY_PROPERTY,
	BOXES_UNATTENDED_INSTALLER_NEED_USER_INPUT_FOR_VM_CREATION,
	BOXES_UNATTENDED_INSTALLER_EXPRESS_INSTALL,
	BOXES_UNATTENDED_INSTALLER_USERNAME,
	BOXES_UNATTENDED_INSTALLER_PASSWORD,
	BOXES_UNATTENDED_INSTALLER_HIDDEN_PASSWORD
};
static void _g_object_unref0_ (gpointer var);
static void _g_list_free__g_object_unref0_ (GList* self);
GType boxes_fdo_accounts_proxy_get_type (void) G_GNUC_CONST;
guint boxes_fdo_accounts_register_object (void* object, GDBusConnection* connection, const gchar* path, GError** error);
GType boxes_fdo_accounts_get_type (void) G_GNUC_CONST;
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_dup4 (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_prepare_direct_boot (BoxesUnattendedInstaller* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
void boxes_unattended_installer_prepare_direct_boot_finish (BoxesUnattendedInstaller* 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);
static void boxes_unattended_installer_real_setup_spice_config (BoxesInstallerMedia* base, GVirConfigDomainGraphicsSpice* graphics);
gboolean boxes_unattended_installer_get_express_install (BoxesUnattendedInstaller* self);
gchar* boxes_unattended_installer_get_password (BoxesUnattendedInstaller* self);
static void boxes_unattended_installer_real_populate_setup_vbox (BoxesInstallerMedia* base, GtkVBox* setup_vbox);
static void boxes_unattended_installer_real_check_needed_info (BoxesInstallerMedia* base, GError** error);
const gchar* boxes_unattended_installer_get_username (BoxesUnattendedInstaller* self);
static GList* boxes_unattended_installer_real_get_vm_properties (BoxesInstallerMedia* base);
GList* boxes_installer_media_get_vm_properties (BoxesInstallerMedia* self);
BoxesPair* boxes_pair_new (GType t1_type, GBoxedCopyFunc t1_dup_func, GDestroyNotify t1_destroy_func, GType t2_type, GBoxedCopyFunc t2_dup_func, GDestroyNotify t2_destroy_func, gconstpointer first, gconstpointer second);
BoxesPair* boxes_pair_construct (GType object_type, GType t1_type, GBoxedCopyFunc t1_dup_func, GDestroyNotify t1_destroy_func, GType t2_type, GBoxedCopyFunc t2_dup_func, GDestroyNotify t2_destroy_func, gconstpointer first, gconstpointer second);
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_user_unattended (BoxesUnattendedInstaller* self, const gchar* suffix);
gchar* boxes_get_user_pkgcache (const gchar* file_name);
static void boxes_unattended_installer_real_setup_ui (BoxesUnattendedInstaller* self);
static Block29Data* block29_data_ref (Block29Data* _data29_);
static void block29_data_unref (void * _userdata_);
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_);
static void __lambda44_ (Block29Data* _data29_);
static void ___lambda44__gtk_button_clicked (GtkButton* _sender, gpointer self);
static void boxes_unattended_installer_real_clean_up (BoxesUnattendedInstaller* self, GError** error);
void boxes_delete_file (GFile* file, GError** error);
static void boxes_unattended_installer_real_prepare_direct_boot_data_free (gpointer _data);
static void boxes_unattended_installer_real_prepare_direct_boot (BoxesUnattendedInstaller* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean boxes_unattended_installer_real_prepare_direct_boot_co (BoxesUnattendedInstallerPrepareDirectBootData* _data_);
static GVirConfigDomainDisk* boxes_unattended_installer_real_get_unattended_disk_config (BoxesUnattendedInstaller* self);
static void boxes_unattended_installer_create_disk_image_data_free (gpointer _data);
static gboolean boxes_unattended_installer_create_disk_image_co (BoxesUnattendedInstallerCreateDiskImageData* _data_);
gchar* boxes_get_unattended (const gchar* file_name);
static void boxes_unattended_installer_create_disk_image_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void boxes_unattended_installer_fetch_user_avatar_data_free (gpointer _data);
static gboolean boxes_unattended_installer_fetch_user_avatar_co (BoxesUnattendedInstallerFetchUserAvatarData* _data_);
void boxes_fdo_accounts_FindUserByName (BoxesFdoAccounts* self, const gchar* name, GAsyncReadyCallback _callback_, gpointer _user_data_);
gchar* boxes_fdo_accounts_FindUserByName_finish (BoxesFdoAccounts* self, GAsyncResult* _res_, GError** error);
static void boxes_unattended_installer_fetch_user_avatar_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
GType boxes_fdo_accounts_user_get_type (void) G_GNUC_CONST;
GType boxes_fdo_accounts_user_proxy_get_type (void) G_GNUC_CONST;
guint boxes_fdo_accounts_user_register_object (void* object, GDBusConnection* connection, const gchar* path, GError** error);
gchar* boxes_fdo_accounts_user_get_IconFile (BoxesFdoAccountsUser* self);
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);
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);
static void _vala_boxes_unattended_installer_get_property (GObject * object, guint property_id, 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_create (BoxesUnattendedFile* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
GFile* boxes_unattended_file_create_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);
void boxes_exec (gchar** argv, int argv_length1, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
void boxes_exec_finish (GAsyncResult* _res_, GError** error);
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);
#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_create_data_free (gpointer _data);
static void boxes_unattended_text_file_real_create (BoxesUnattendedFile* base, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean boxes_unattended_text_file_real_create_co (BoxesUnattendedTextFileCreateData* _data_);
static void boxes_unattended_text_file_create_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_create_data_free (gpointer _data);
static void boxes_unattended_avatar_file_real_create (BoxesUnattendedFile* base, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean boxes_unattended_avatar_file_real_create_co (BoxesUnattendedAvatarFileCreateData* _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 427 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	return g_quark_from_static_string ("unattended_installer_error-quark");
#line 737 "unattended-installer.c"
}


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


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


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


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


static gpointer _avatar_format_ref0 (gpointer self) {
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return self ? avatar_format_ref (self) : NULL;
#line 788 "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 92 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (media != NULL, NULL);
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (unattended_src_path != NULL, NULL);
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (unattended_dest_name != NULL, NULL);
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) boxes_installer_media_construct (object_type);
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = media;
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = _tmp0_->os;
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (((BoxesInstallerMedia*) self)->os);
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	((BoxesInstallerMedia*) self)->os = _tmp2_;
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = media;
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = _tmp3_->os_media;
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = _g_object_ref0 (_tmp4_);
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (((BoxesInstallerMedia*) self)->os_media);
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	((BoxesInstallerMedia*) self)->os_media = _tmp5_;
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = media;
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp7_ = _tmp6_->label;
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp8_ = g_strdup (_tmp7_);
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (((BoxesInstallerMedia*) self)->label);
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	((BoxesInstallerMedia*) self)->label = _tmp8_;
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp9_ = media;
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp10_ = _tmp9_->device_file;
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp11_ = g_strdup (_tmp10_);
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (((BoxesInstallerMedia*) self)->device_file);
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	((BoxesInstallerMedia*) self)->device_file = _tmp11_;
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp12_ = media;
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp13_ = _tmp12_->from_image;
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	((BoxesInstallerMedia*) self)->from_image = _tmp13_;
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp14_ = media;
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp15_ = _tmp14_->mount_point;
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp16_ = g_strdup (_tmp15_);
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (((BoxesInstallerMedia*) self)->mount_point);
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	((BoxesInstallerMedia*) self)->mount_point = _tmp16_;
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp17_ = media;
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp18_ = _tmp17_->resources;
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp19_ = _g_object_ref0 (_tmp18_);
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (((BoxesInstallerMedia*) self)->resources);
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	((BoxesInstallerMedia*) self)->resources = _tmp19_;
#line 104 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->newline_type = G_DATA_STREAM_NEWLINE_TYPE_LF;
#line 106 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	__g_list_free__g_object_unref0_0 (self->unattended_files);
#line 106 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->unattended_files = NULL;
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp20_ = unattended_src_path;
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp21_ = unattended_dest_name;
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp22_ = boxes_unattended_text_file_new (self, _tmp20_, _tmp21_);
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp23_ = _tmp22_;
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_add_unattended_file (self, (BoxesUnattendedFile*) _tmp23_);
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_tmp23_);
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_get_current_time (&time);
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp24_ = time;
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp25_ = g_date_time_new_from_timeval_local (&_tmp24_);
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	date = _tmp25_;
#line 111 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp26_ = date;
#line 111 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp27_ = g_date_time_get_timezone_abbreviation (_tmp26_);
#line 111 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp28_ = g_strdup (_tmp27_);
#line 111 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->timezone);
#line 111 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->timezone = _tmp28_;
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp30_ = _tmp29_ = g_get_language_names ();
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp31_ = (_tmp30_ != NULL) ? _vala_array_dup4 (_tmp30_, _vala_array_length (_tmp29_)) : ((gpointer) _tmp30_);
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp31__length1 = _vala_array_length (_tmp29_);
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	langs = _tmp31_;
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	langs_length1 = _tmp31__length1;
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_langs_size_ = langs_length1;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp32_ = langs;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp32__length1 = langs_length1;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp33_ = _tmp32_[0];
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp34_ = g_strdup (_tmp33_);
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->lang);
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->lang = _tmp34_;
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp35_ = avatar_format;
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp36_ = _avatar_format_ref0 (_tmp35_);
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_avatar_format_unref0 (self->avatar_format);
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->avatar_format = _tmp36_;
#line 117 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp37_ = avatar_format;
#line 117 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp37_ == NULL) {
#line 985 "unattended-installer.c"
		AvatarFormat* _tmp38_;
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp38_ = avatar_format_new ("png", "", TRUE, -1, -1);
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_avatar_format_unref0 (self->avatar_format);
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		self->avatar_format = _tmp38_;
#line 993 "unattended-installer.c"
	}
#line 120 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_setup_ui (self);
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	langs = (_vala_array_free (langs, langs_length1, (GDestroyNotify) g_free), NULL);
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_date_time_unref0 (date);
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return self;
#line 1003 "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 1018 "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"
	_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"
	_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 1056 "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 1066 "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 1070 "unattended-installer.c"
}


static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) {
	gchar* result = NULL;
	GError * _inner_error_ = NULL;
#line 1386 "../vapi/upstream/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1386 "../vapi/upstream/glib-2.0.vapi"
	g_return_val_if_fail (old != NULL, NULL);
#line 1386 "../vapi/upstream/glib-2.0.vapi"
	g_return_val_if_fail (replacement != NULL, NULL);
#line 1083 "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 1388 "../vapi/upstream/glib-2.0.vapi"
		_tmp0_ = old;
#line 1388 "../vapi/upstream/glib-2.0.vapi"
		_tmp1_ = g_regex_escape_string (_tmp0_, -1);
#line 1388 "../vapi/upstream/glib-2.0.vapi"
		_tmp2_ = _tmp1_;
#line 1388 "../vapi/upstream/glib-2.0.vapi"
		_tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_);
#line 1388 "../vapi/upstream/glib-2.0.vapi"
		_tmp4_ = _tmp3_;
#line 1388 "../vapi/upstream/glib-2.0.vapi"
		_g_free0 (_tmp2_);
#line 1388 "../vapi/upstream/glib-2.0.vapi"
		regex = _tmp4_;
#line 1388 "../vapi/upstream/glib-2.0.vapi"
		if (_inner_error_ != NULL) {
#line 1388 "../vapi/upstream/glib-2.0.vapi"
			if (_inner_error_->domain == G_REGEX_ERROR) {
#line 1113 "unattended-installer.c"
				goto __catch54_g_regex_error;
			}
#line 1388 "../vapi/upstream/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 1388 "../vapi/upstream/glib-2.0.vapi"
			g_clear_error (&_inner_error_);
#line 1388 "../vapi/upstream/glib-2.0.vapi"
			return NULL;
#line 1122 "unattended-installer.c"
		}
#line 1389 "../vapi/upstream/glib-2.0.vapi"
		_tmp5_ = regex;
#line 1389 "../vapi/upstream/glib-2.0.vapi"
		_tmp6_ = replacement;
#line 1389 "../vapi/upstream/glib-2.0.vapi"
		_tmp7_ = g_regex_replace_literal (_tmp5_, self, (gssize) (-1), 0, _tmp6_, 0, &_inner_error_);
#line 1389 "../vapi/upstream/glib-2.0.vapi"
		_tmp8_ = _tmp7_;
#line 1389 "../vapi/upstream/glib-2.0.vapi"
		if (_inner_error_ != NULL) {
#line 1389 "../vapi/upstream/glib-2.0.vapi"
			_g_regex_unref0 (regex);
#line 1389 "../vapi/upstream/glib-2.0.vapi"
			if (_inner_error_->domain == G_REGEX_ERROR) {
#line 1138 "unattended-installer.c"
				goto __catch54_g_regex_error;
			}
#line 1389 "../vapi/upstream/glib-2.0.vapi"
			_g_regex_unref0 (regex);
#line 1389 "../vapi/upstream/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 1389 "../vapi/upstream/glib-2.0.vapi"
			g_clear_error (&_inner_error_);
#line 1389 "../vapi/upstream/glib-2.0.vapi"
			return NULL;
#line 1149 "unattended-installer.c"
		}
#line 1389 "../vapi/upstream/glib-2.0.vapi"
		result = _tmp8_;
#line 1389 "../vapi/upstream/glib-2.0.vapi"
		_g_regex_unref0 (regex);
#line 1389 "../vapi/upstream/glib-2.0.vapi"
		return result;
#line 1157 "unattended-installer.c"
	}
	goto __finally54;
	__catch54_g_regex_error:
	{
		GError* e = NULL;
#line 1387 "../vapi/upstream/glib-2.0.vapi"
		e = _inner_error_;
#line 1387 "../vapi/upstream/glib-2.0.vapi"
		_inner_error_ = NULL;
#line 1391 "../vapi/upstream/glib-2.0.vapi"
		g_assert_not_reached ();
#line 1387 "../vapi/upstream/glib-2.0.vapi"
		_g_error_free0 (e);
#line 1171 "unattended-installer.c"
	}
	__finally54:
#line 1387 "../vapi/upstream/glib-2.0.vapi"
	if (_inner_error_ != NULL) {
#line 1387 "../vapi/upstream/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 1387 "../vapi/upstream/glib-2.0.vapi"
		g_clear_error (&_inner_error_);
#line 1387 "../vapi/upstream/glib-2.0.vapi"
		return NULL;
#line 1182 "unattended-installer.c"
	}
}


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


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


static gboolean boxes_unattended_installer_real_prepare_for_installation_co (BoxesUnattendedInstallerPrepareForInstallationData* _data_) {
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 1213 "unattended-installer.c"
		goto _state_0;
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 1:
#line 1217 "unattended-installer.c"
		goto _state_1;
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 2:
#line 1221 "unattended-installer.c"
		goto _state_2;
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 3:
#line 1225 "unattended-installer.c"
		goto _state_3;
		default:
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 1230 "unattended-installer.c"
	}
	_state_0:
#line 124 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = _data_->self->express_toggle;
#line 124 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = gtk_switch_get_active (_data_->_tmp0_);
#line 124 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 124 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (!_data_->_tmp2_) {
#line 125 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_debug ("unattended-installer.vala:125: Unattended installation disabled.");
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1247 "unattended-installer.c"
		} else {
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1251 "unattended-installer.c"
		}
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 1257 "unattended-installer.c"
	}
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = _data_->vm_name;
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = NULL;
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = string_replace (_data_->_tmp3_, " ", "-");
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->self->hostname);
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self->hostname = _data_->_tmp4_;
#line 1269 "unattended-installer.c"
	{
#line 132 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp5_ = _data_->cancellable;
#line 132 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_state_ = 1;
#line 132 "/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 132 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 1279 "unattended-installer.c"
		_state_1:
#line 132 "/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 132 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 1285 "unattended-installer.c"
			goto __catch55_g_error;
		}
#line 134 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp6_ = _data_->self->unattended_files;
#line 1290 "unattended-installer.c"
		{
#line 134 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->unattended_file_collection = _data_->_tmp6_;
#line 134 "/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 134 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp7_ = _g_object_ref0 ((BoxesUnattendedFile*) _data_->unattended_file_it->data);
#line 134 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->unattended_file = _data_->_tmp7_;
#line 1300 "unattended-installer.c"
				{
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp8_ = _data_->unattended_file;
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp9_ = _data_->cancellable;
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_state_ = 2;
#line 135 "/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 135 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					return FALSE;
#line 1312 "unattended-installer.c"
					_state_2:
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					boxes_unattended_file_copy_finish (_data_->_tmp8_, _data_->_res_, &_data_->_inner_error_);
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					if (_data_->_inner_error_ != NULL) {
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_g_object_unref0 (_data_->unattended_file);
#line 1320 "unattended-installer.c"
						goto __catch55_g_error;
					}
#line 134 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (_data_->unattended_file);
#line 1325 "unattended-installer.c"
				}
			}
		}
#line 136 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp10_ = _data_->cancellable;
#line 136 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_state_ = 3;
#line 136 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_prepare_direct_boot (_data_->self, _data_->_tmp10_, boxes_unattended_installer_prepare_for_installation_ready, _data_);
#line 136 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 1337 "unattended-installer.c"
		_state_3:
#line 136 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_prepare_direct_boot_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 136 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 1343 "unattended-installer.c"
			goto __catch55_g_error;
		}
	}
	goto __finally55;
	__catch55_g_error:
	{
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_inner_error_ = NULL;
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_clean_up (_data_->self, &_data_->_inner_error_);
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_error_free0 (_data_->_error_);
#line 1360 "unattended-installer.c"
			goto __finally55;
		}
#line 140 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp11_ = _data_->_error_;
#line 140 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp12_ = _g_error_copy0 (_data_->_tmp11_);
#line 140 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_inner_error_ = _data_->_tmp12_;
#line 140 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_error_free0 (_data_->_error_);
#line 1371 "unattended-installer.c"
		goto __finally55;
	}
	__finally55:
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 131 "/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 131 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1389 "unattended-installer.c"
		}
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 1395 "unattended-installer.c"
	}
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1401 "unattended-installer.c"
	} else {
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1405 "unattended-installer.c"
	}
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 1411 "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 144 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 144 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (domain != NULL);
#line 145 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = domain;
#line 145 "/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 147 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = boxes_unattended_installer_get_unattended_disk_config (self);
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	disk = _tmp1_;
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = disk;
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp2_ == NULL) {
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (disk);
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return;
#line 1443 "unattended-installer.c"
	}
#line 151 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = domain;
#line 151 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = disk;
#line 151 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_add_device (_tmp3_, (GVirConfigDomainDevice*) _tmp4_);
#line 144 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (disk);
#line 1453 "unattended-installer.c"
}


static void boxes_unattended_installer_real_setup_spice_config (BoxesInstallerMedia* base, GVirConfigDomainGraphicsSpice* graphics) {
	BoxesUnattendedInstaller * self;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_;
	gboolean _tmp3_;
	gboolean _tmp5_;
	gboolean _tmp9_;
#line 154 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 154 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (graphics != NULL);
#line 157 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = boxes_unattended_installer_get_express_install (self);
#line 157 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = _tmp2_;
#line 157 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp3_) {
#line 1475 "unattended-installer.c"
		gboolean _tmp4_;
#line 157 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp4_ = self->password_mandatory;
#line 157 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp1_ = !_tmp4_;
#line 1481 "unattended-installer.c"
	} else {
#line 157 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp1_ = FALSE;
#line 1485 "unattended-installer.c"
	}
#line 157 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = _tmp1_;
#line 157 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp5_) {
#line 1491 "unattended-installer.c"
		gchar* _tmp6_;
		gchar* _tmp7_;
		gchar* _tmp8_;
#line 157 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp6_ = boxes_unattended_installer_get_password (self);
#line 157 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp7_ = _tmp6_;
#line 157 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp8_ = _tmp7_;
#line 157 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = g_strcmp0 (_tmp8_, "") != 0;
#line 157 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_tmp8_);
#line 1505 "unattended-installer.c"
	} else {
#line 157 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = FALSE;
#line 1509 "unattended-installer.c"
	}
#line 157 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp9_ = _tmp0_;
#line 157 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp9_) {
#line 1515 "unattended-installer.c"
		GVirConfigDomainGraphicsSpice* _tmp10_;
		gchar* _tmp11_;
		gchar* _tmp12_;
		gchar* _tmp13_;
#line 158 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp10_ = graphics;
#line 158 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp11_ = boxes_unattended_installer_get_password (self);
#line 158 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp12_ = _tmp11_;
#line 158 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp13_ = _tmp12_;
#line 158 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		gvir_config_domain_graphics_spice_set_password (_tmp10_, _tmp13_);
#line 158 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_tmp13_);
#line 1532 "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 161 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 161 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (setup_vbox != NULL);
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = setup_vbox;
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = gtk_container_get_children ((GtkContainer*) _tmp0_);
#line 1554 "unattended-installer.c"
	{
		GList* child_collection = NULL;
		GList* child_it = NULL;
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		child_collection = _tmp1_;
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		for (child_it = child_collection; child_it != NULL; child_it = child_it->next) {
#line 1562 "unattended-installer.c"
			GtkWidget* child = NULL;
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			child = (GtkWidget*) child_it->data;
#line 1566 "unattended-installer.c"
			{
				GtkVBox* _tmp2_;
				GtkWidget* _tmp3_;
#line 163 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp2_ = setup_vbox;
#line 163 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp3_ = child;
#line 163 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				gtk_container_remove ((GtkContainer*) _tmp2_, _tmp3_);
#line 1576 "unattended-installer.c"
			}
		}
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_list_free0 (child_collection);
#line 1581 "unattended-installer.c"
	}
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = setup_vbox;
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = self->setup_label;
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_box_pack_start ((GtkBox*) _tmp4_, (GtkWidget*) _tmp5_, FALSE, FALSE, (guint) 0);
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = setup_vbox;
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp7_ = self->setup_hbox;
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_box_pack_start ((GtkBox*) _tmp6_, (GtkWidget*) _tmp7_, FALSE, FALSE, (guint) 0);
#line 167 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp8_ = setup_vbox;
#line 167 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_show_all ((GtkWidget*) _tmp8_);
#line 1599 "unattended-installer.c"
}


static void boxes_unattended_installer_real_check_needed_info (BoxesInstallerMedia* base, GError** error) {
	BoxesUnattendedInstaller * self;
	GtkSwitch* _tmp0_;
	gboolean _tmp1_;
	gboolean _tmp2_;
	const gchar* _tmp3_;
	const gchar* _tmp4_;
	gboolean _tmp7_ = FALSE;
	gboolean _tmp8_;
	gboolean _tmp12_;
	GError * _inner_error_ = NULL;
#line 171 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 172 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->express_toggle;
#line 172 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = gtk_switch_get_active (_tmp0_);
#line 172 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 172 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (!_tmp2_) {
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return;
#line 1626 "unattended-installer.c"
	}
#line 175 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = boxes_unattended_installer_get_username (self);
#line 175 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = _tmp3_;
#line 175 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_strcmp0 (_tmp4_, "") == 0) {
#line 1634 "unattended-installer.c"
		const gchar* _tmp5_ = NULL;
		GError* _tmp6_;
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp5_ = _ ("No username provided");
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp6_ = g_error_new_literal (UNATTENDED_INSTALLER_ERROR, UNATTENDED_INSTALLER_ERROR_SETUP_INCOMPLETE, _tmp5_);
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_inner_error_ = _tmp6_;
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_->domain == UNATTENDED_INSTALLER_ERROR) {
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_propagate_error (error, _inner_error_);
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return;
#line 1649 "unattended-installer.c"
		} else {
#line 176 "/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 176 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_inner_error_);
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return;
#line 1657 "unattended-installer.c"
		}
	}
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp8_ = self->password_mandatory;
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp8_) {
#line 1664 "unattended-installer.c"
		gchar* _tmp9_;
		gchar* _tmp10_;
		gchar* _tmp11_;
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp9_ = boxes_unattended_installer_get_password (self);
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp10_ = _tmp9_;
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp11_ = _tmp10_;
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp7_ = g_strcmp0 (_tmp11_, "") == 0;
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_tmp11_);
#line 1678 "unattended-installer.c"
	} else {
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp7_ = FALSE;
#line 1682 "unattended-installer.c"
	}
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp12_ = _tmp7_;
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp12_) {
#line 1688 "unattended-installer.c"
		const gchar* _tmp13_ = NULL;
		const gchar* _tmp14_;
		GError* _tmp15_;
#line 179 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp13_ = _ ("Password required for express installation of %s");
#line 179 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp14_ = ((BoxesInstallerMedia*) self)->label;
#line 179 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp15_ = g_error_new (UNATTENDED_INSTALLER_ERROR, UNATTENDED_INSTALLER_ERROR_SETUP_INCOMPLETE, _tmp13_, _tmp14_);
#line 179 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_inner_error_ = _tmp15_;
#line 179 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_->domain == UNATTENDED_INSTALLER_ERROR) {
#line 179 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_propagate_error (error, _inner_error_);
#line 179 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return;
#line 1706 "unattended-installer.c"
		} else {
#line 179 "/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 179 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_inner_error_);
#line 179 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return;
#line 1714 "unattended-installer.c"
		}
	}
}


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


static void _g_list_free__boxes_pair_unref0_ (GList* self) {
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_list_foreach (self, (GFunc) _boxes_pair_unref0_, NULL);
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_list_free (self);
#line 1732 "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 183 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 184 "/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 184 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	properties = _tmp0_;
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = boxes_unattended_installer_get_express_install (self);
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp2_) {
#line 1755 "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 187 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp3_ = _ ("Username");
#line 187 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp4_ = boxes_unattended_installer_get_username (self);
#line 187 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp5_ = _tmp4_;
#line 187 "/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 187 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		properties = g_list_append (properties, _tmp6_);
#line 188 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp7_ = _ ("Password");
#line 188 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp8_ = boxes_unattended_installer_get_hidden_password (self);
#line 188 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp9_ = _tmp8_;
#line 188 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp10_ = _tmp9_;
#line 188 "/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 188 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		properties = g_list_append (properties, _tmp11_);
#line 188 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_tmp10_);
#line 1789 "unattended-installer.c"
	}
#line 191 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = properties;
#line 191 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 1795 "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 194 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (data != NULL, NULL);
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = boxes_unattended_installer_username_regex;
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = data;
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = data;
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = strlen (_tmp2_);
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = _tmp3_;
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = self->username_entry;
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = gtk_entry_get_text (_tmp5_);
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp7_ = _tmp6_;
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp8_ = g_regex_replace (_tmp0_, _tmp1_, (gssize) _tmp4_, 0, _tmp7_, 0, &_inner_error_);
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	str = _tmp8_;
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_inner_error_ != NULL) {
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_->domain == G_REGEX_ERROR) {
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_propagate_error (error, _inner_error_);
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return NULL;
#line 1877 "unattended-installer.c"
		} else {
#line 195 "/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 195 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_inner_error_);
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return NULL;
#line 1885 "unattended-installer.c"
		}
	}
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp9_ = boxes_unattended_installer_password_regex;
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp10_ = str;
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp11_ = str;
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp12_ = strlen (_tmp11_);
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp13_ = _tmp12_;
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp14_ = boxes_unattended_installer_get_password (self);
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp15_ = _tmp14_;
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp16_ = _tmp15_;
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp17_ = g_regex_replace (_tmp9_, _tmp10_, (gssize) _tmp13_, 0, _tmp16_, 0, &_inner_error_);
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp18_ = _tmp17_;
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_tmp16_);
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp19_ = _tmp18_;
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_inner_error_ != NULL) {
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_->domain == G_REGEX_ERROR) {
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_propagate_error (error, _inner_error_);
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (str);
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return NULL;
#line 1922 "unattended-installer.c"
		} else {
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (str);
#line 196 "/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 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_inner_error_);
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return NULL;
#line 1932 "unattended-installer.c"
		}
	}
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (str);
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	str = _tmp19_;
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp20_ = boxes_unattended_installer_timezone_regex;
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp21_ = str;
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp22_ = str;
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp23_ = strlen (_tmp22_);
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp24_ = _tmp23_;
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp25_ = self->timezone;
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp26_ = g_regex_replace (_tmp20_, _tmp21_, (gssize) _tmp24_, 0, _tmp25_, 0, &_inner_error_);
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp27_ = _tmp26_;
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_inner_error_ != NULL) {
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_->domain == G_REGEX_ERROR) {
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_propagate_error (error, _inner_error_);
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (str);
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return NULL;
#line 1965 "unattended-installer.c"
		} else {
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (str);
#line 197 "/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 197 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_inner_error_);
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return NULL;
#line 1975 "unattended-installer.c"
		}
	}
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (str);
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	str = _tmp27_;
#line 198 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp28_ = boxes_unattended_installer_lang_regex;
#line 198 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp29_ = str;
#line 198 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp30_ = str;
#line 198 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp31_ = strlen (_tmp30_);
#line 198 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp32_ = _tmp31_;
#line 198 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp33_ = self->lang;
#line 198 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp34_ = g_regex_replace (_tmp28_, _tmp29_, (gssize) _tmp32_, 0, _tmp33_, 0, &_inner_error_);
#line 198 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp35_ = _tmp34_;
#line 198 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_inner_error_ != NULL) {
#line 198 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_->domain == G_REGEX_ERROR) {
#line 198 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_propagate_error (error, _inner_error_);
#line 198 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (str);
#line 198 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return NULL;
#line 2008 "unattended-installer.c"
		} else {
#line 198 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (str);
#line 198 "/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 198 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_inner_error_);
#line 198 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return NULL;
#line 2018 "unattended-installer.c"
		}
	}
#line 198 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (str);
#line 198 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	str = _tmp35_;
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp36_ = boxes_unattended_installer_host_regex;
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp37_ = str;
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp38_ = str;
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp39_ = strlen (_tmp38_);
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp40_ = _tmp39_;
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp41_ = self->hostname;
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp42_ = g_regex_replace (_tmp36_, _tmp37_, (gssize) _tmp40_, 0, _tmp41_, 0, &_inner_error_);
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp43_ = _tmp42_;
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_inner_error_ != NULL) {
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_->domain == G_REGEX_ERROR) {
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_propagate_error (error, _inner_error_);
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (str);
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return NULL;
#line 2051 "unattended-installer.c"
		} else {
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (str);
#line 199 "/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 199 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_inner_error_);
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return NULL;
#line 2061 "unattended-installer.c"
		}
	}
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (str);
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	str = _tmp43_;
#line 201 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = str;
#line 201 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 2072 "unattended-installer.c"
}


gchar* boxes_unattended_installer_fill_unattended_data (BoxesUnattendedInstaller* self, const gchar* data, GError** error) {
#line 194 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 194 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return BOXES_UNATTENDED_INSTALLER_GET_CLASS (self)->fill_unattended_data (self, data, error);
#line 2081 "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 204 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->hostname;
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	filename = _tmp1_;
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = suffix;
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp2_ != NULL) {
#line 2105 "unattended-installer.c"
		const gchar* _tmp3_;
		const gchar* _tmp4_;
		gchar* _tmp5_;
		gchar* _tmp6_;
		gchar* _tmp7_;
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp3_ = filename;
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp4_ = suffix;
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp5_ = g_strconcat ("-", _tmp4_, NULL);
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp6_ = _tmp5_;
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp7_ = g_strconcat (_tmp3_, _tmp6_, NULL);
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (filename);
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		filename = _tmp7_;
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_tmp6_);
#line 2127 "unattended-installer.c"
	}
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp8_ = filename;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp9_ = boxes_get_user_pkgcache (_tmp8_);
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp9_;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (filename);
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 2139 "unattended-installer.c"
}


static Block29Data* block29_data_ref (Block29Data* _data29_) {
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_atomic_int_inc (&_data29_->_ref_count_);
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return _data29_;
#line 2148 "unattended-installer.c"
}


static void block29_data_unref (void * _userdata_) {
	Block29Data* _data29_;
	_data29_ = (Block29Data*) _userdata_;
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_atomic_int_dec_and_test (&_data29_->_ref_count_)) {
#line 2157 "unattended-installer.c"
		BoxesUnattendedInstaller * self;
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		self = _data29_->self;
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data29_->notebook);
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (self);
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_slice_free (Block29Data, _data29_);
#line 2167 "unattended-installer.c"
	}
}


static void __lambda44_ (Block29Data* _data29_) {
	BoxesUnattendedInstaller * self;
	GtkNotebook* _tmp0_;
	GtkEntry* _tmp1_;
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = _data29_->self;
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _data29_->notebook;
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_notebook_next_page (_tmp0_);
#line 278 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = self->password_entry;
#line 278 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_set ((GtkWidget*) _tmp1_, "is-focus", TRUE, NULL);
#line 2186 "unattended-installer.c"
}


static void ___lambda44__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	__lambda44_ (self);
#line 2193 "unattended-installer.c"
}


static void boxes_unattended_installer_real_setup_ui (BoxesUnattendedInstaller* self) {
	Block29Data* _data29_;
	const gchar* _tmp0_ = NULL;
	GtkLabel* _tmp1_;
	GtkLabel* _tmp2_;
	GtkLabel* _tmp3_;
	GtkLabel* _tmp4_;
	GtkHBox* _tmp5_;
	GtkHBox* _tmp6_;
	GtkHBox* _tmp7_;
	GtkTable* _tmp8_;
	GtkHBox* _tmp9_;
	GtkTable* _tmp10_;
	GtkTable* _tmp11_;
	GtkTable* _tmp12_;
	const gchar* _tmp13_ = NULL;
	GtkLabel* _tmp14_;
	GtkLabel* label;
	GtkLabel* _tmp15_;
	GtkLabel* _tmp16_;
	GtkTable* _tmp17_;
	GtkLabel* _tmp18_;
	GtkSwitch* _tmp19_;
	GtkSwitch* _tmp20_;
	OsinfoMedia* _tmp21_;
	gboolean _tmp22_ = FALSE;
	gboolean _tmp23_;
	GtkSwitch* _tmp24_;
	GtkSwitch* _tmp25_;
	GtkTable* _tmp26_;
	GtkSwitch* _tmp27_;
	GtkImage* _tmp28_;
	GtkImage* avatar;
	GtkImage* _tmp29_;
	GtkTable* _tmp30_;
	GtkImage* _tmp31_;
	GtkImage* _tmp32_;
	GtkImage* _tmp33_;
	const gchar* _tmp34_ = NULL;
	GtkLabel* _tmp35_;
	GtkLabel* _tmp36_;
	GtkLabel* _tmp37_;
	GtkTable* _tmp38_;
	GtkLabel* _tmp39_;
	GtkEntry* _tmp40_;
	GtkEntry* _tmp41_;
	const gchar* _tmp42_ = NULL;
	GtkEntry* _tmp43_;
	GtkEntry* _tmp44_;
	GtkTable* _tmp45_;
	GtkEntry* _tmp46_;
	const gchar* _tmp47_ = NULL;
	GtkLabel* _tmp48_;
	GtkLabel* _tmp49_;
	GtkLabel* _tmp50_;
	GtkTable* _tmp51_;
	GtkLabel* _tmp52_;
	GtkNotebook* _tmp53_;
	GtkNotebook* _tmp54_;
	GtkNotebook* _tmp55_;
	GtkNotebook* _tmp56_;
	GtkNotebook* _tmp57_;
	const gchar* _tmp58_ = NULL;
	GtkButton* _tmp59_;
	GtkButton* button;
	GtkButton* _tmp60_;
	GtkNotebook* _tmp61_;
	GtkButton* _tmp62_;
	GtkEntry* _tmp63_;
	GtkEntry* _tmp64_;
	GtkEntry* _tmp65_;
	GtkEntry* _tmp66_;
	GtkNotebook* _tmp67_;
	GtkEntry* _tmp68_;
	GtkButton* _tmp69_;
	GtkTable* _tmp70_;
	GtkNotebook* _tmp71_;
	GtkTable* _tmp72_;
	GList* _tmp73_ = NULL;
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data29_ = g_slice_new0 (Block29Data);
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data29_->_ref_count_ = 1;
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data29_->self = g_object_ref (self);
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _ ("Choose express install to automatically preconfigure the box with opti" \
"mal settings.");
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = (GtkLabel*) gtk_label_new (_tmp0_);
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp1_);
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->setup_label);
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->setup_label = _tmp1_;
#line 214 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = self->setup_label;
#line 214 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_set (_tmp2_, "wrap", TRUE, NULL);
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = self->setup_label;
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_label_set_width_chars (_tmp3_, 30);
#line 216 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = self->setup_label;
#line 216 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp4_, GTK_ALIGN_START);
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = (GtkHBox*) gtk_hbox_new (FALSE, 20);
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp5_);
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->setup_hbox);
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->setup_hbox = _tmp5_;
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = self->setup_hbox;
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp6_, GTK_ALIGN_START);
#line 219 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp7_ = self->setup_hbox;
#line 219 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_set ((GtkWidget*) _tmp7_, "margin", 24, NULL);
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp8_ = (GtkTable*) gtk_table_new ((guint) 3, (guint) 3, FALSE);
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp8_);
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->setup_table);
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->setup_table = _tmp8_;
#line 222 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp9_ = self->setup_hbox;
#line 222 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp10_ = self->setup_table;
#line 222 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_box_pack_start ((GtkBox*) _tmp9_, (GtkWidget*) _tmp10_, FALSE, FALSE, (guint) 0);
#line 223 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp11_ = self->setup_table;
#line 223 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_set (_tmp11_, "column-spacing", (guint) 10, NULL);
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp12_ = self->setup_table;
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_set (_tmp12_, "row-spacing", (guint) 10, NULL);
#line 229 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp13_ = _ ("Express Install");
#line 229 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp14_ = (GtkLabel*) gtk_label_new (_tmp13_);
#line 229 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp14_);
#line 229 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	label = _tmp14_;
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp15_ = label;
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp15_, GTK_ALIGN_END);
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp16_ = label;
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp16_, GTK_ALIGN_CENTER);
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp17_ = self->setup_table;
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp18_ = label;
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_table_attach_defaults (_tmp17_, (GtkWidget*) _tmp18_, (guint) 1, (guint) 2, (guint) 0, (guint) 1);
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp19_ = (GtkSwitch*) gtk_switch_new ();
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp19_);
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->express_toggle);
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->express_toggle = _tmp19_;
#line 235 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp20_ = self->express_toggle;
#line 235 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp21_ = ((BoxesInstallerMedia*) self)->os_media;
#line 235 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_get (_tmp21_, "live", &_tmp22_, NULL);
#line 235 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp23_ = _tmp22_;
#line 235 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_switch_set_active (_tmp20_, !_tmp23_);
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp24_ = self->express_toggle;
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp24_, GTK_ALIGN_START);
#line 237 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp25_ = self->express_toggle;
#line 237 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp25_, GTK_ALIGN_CENTER);
#line 238 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp26_ = self->setup_table;
#line 238 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp27_ = self->express_toggle;
#line 238 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_table_attach_defaults (_tmp26_, (GtkWidget*) _tmp27_, (guint) 2, (guint) 3, (guint) 0, (guint) 1);
#line 241 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp28_ = (GtkImage*) gtk_image_new_from_icon_name ("avatar-default", 0);
#line 241 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp28_);
#line 241 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	avatar = _tmp28_;
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp29_ = avatar;
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_image_set_pixel_size (_tmp29_, 128);
#line 243 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp30_ = self->setup_table;
#line 243 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp31_ = avatar;
#line 243 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_table_attach_defaults (_tmp30_, (GtkWidget*) _tmp31_, (guint) 0, (guint) 1, (guint) 1, (guint) 3);
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp32_ = avatar;
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_show_all ((GtkWidget*) _tmp32_);
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp33_ = avatar;
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_fetch_user_avatar (self, _tmp33_, NULL, NULL);
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp34_ = _ ("Username");
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp35_ = (GtkLabel*) gtk_label_new (_tmp34_);
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp35_);
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (label);
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	label = _tmp35_;
#line 248 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp36_ = label;
#line 248 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp36_, GTK_ALIGN_END);
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp37_ = label;
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp37_, GTK_ALIGN_CENTER);
#line 250 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp38_ = self->setup_table;
#line 250 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp39_ = label;
#line 250 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_table_attach_defaults (_tmp38_, (GtkWidget*) _tmp39_, (guint) 1, (guint) 2, (guint) 1, (guint) 2);
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp40_ = (GtkEntry*) gtk_entry_new ();
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp40_);
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->username_entry);
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->username_entry = _tmp40_;
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp41_ = self->username_entry;
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp42_ = g_get_user_name ();
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_entry_set_text (_tmp41_, _tmp42_);
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp43_ = self->username_entry;
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp43_, GTK_ALIGN_START);
#line 254 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp44_ = self->username_entry;
#line 254 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp44_, GTK_ALIGN_CENTER);
#line 255 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp45_ = self->setup_table;
#line 255 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp46_ = self->username_entry;
#line 255 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_table_attach_defaults (_tmp45_, (GtkWidget*) _tmp46_, (guint) 2, (guint) 3, (guint) 1, (guint) 2);
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp47_ = _ ("Password");
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp48_ = (GtkLabel*) gtk_label_new (_tmp47_);
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp48_);
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (label);
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	label = _tmp48_;
#line 259 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp49_ = label;
#line 259 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp49_, GTK_ALIGN_END);
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp50_ = label;
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp50_, GTK_ALIGN_CENTER);
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp51_ = self->setup_table;
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp52_ = label;
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_table_attach_defaults (_tmp51_, (GtkWidget*) _tmp52_, (guint) 1, (guint) 2, (guint) 2, (guint) 3);
#line 263 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp53_ = (GtkNotebook*) gtk_notebook_new ();
#line 263 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp53_);
#line 263 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data29_->notebook = _tmp53_;
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp54_ = _data29_->notebook;
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_notebook_set_show_tabs (_tmp54_, FALSE);
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp55_ = _data29_->notebook;
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_notebook_set_show_border (_tmp55_, FALSE);
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp56_ = _data29_->notebook;
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp56_, GTK_ALIGN_START);
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp57_ = _data29_->notebook;
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp57_, GTK_ALIGN_CENTER);
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp58_ = _ ("_Add Password");
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp59_ = (GtkButton*) gtk_button_new_with_mnemonic (_tmp58_);
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp59_);
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	button = _tmp59_;
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp60_ = button;
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp60_, TRUE);
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp61_ = _data29_->notebook;
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp62_ = button;
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_notebook_append_page (_tmp61_, (GtkWidget*) _tmp62_, NULL);
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp63_ = (GtkEntry*) gtk_entry_new ();
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp63_);
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->password_entry);
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->password_entry = _tmp63_;
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp64_ = self->password_entry;
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_entry_set_visibility (_tmp64_, FALSE);
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp65_ = self->password_entry;
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp65_, TRUE);
#line 274 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp66_ = self->password_entry;
#line 274 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_entry_set_text (_tmp66_, "");
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp67_ = _data29_->notebook;
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp68_ = self->password_entry;
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_notebook_append_page (_tmp67_, (GtkWidget*) _tmp68_, NULL);
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp69_ = button;
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_signal_connect_data (_tmp69_, "clicked", (GCallback) ___lambda44__gtk_button_clicked, block29_data_ref (_data29_), (GClosureNotify) block29_data_unref, 0);
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp70_ = self->setup_table;
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp71_ = _data29_->notebook;
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_table_attach_defaults (_tmp70_, (GtkWidget*) _tmp71_, (guint) 2, (guint) 3, (guint) 2, (guint) 3);
#line 282 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp72_ = self->setup_table;
#line 282 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp73_ = gtk_container_get_children ((GtkContainer*) _tmp72_);
#line 2576 "unattended-installer.c"
	{
		GList* child_collection = NULL;
		GList* child_it = NULL;
#line 282 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		child_collection = _tmp73_;
#line 282 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		for (child_it = child_collection; child_it != NULL; child_it = child_it->next) {
#line 2584 "unattended-installer.c"
			GtkWidget* child = NULL;
#line 282 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			child = (GtkWidget*) child_it->data;
#line 2588 "unattended-installer.c"
			{
				GtkWidget* _tmp74_;
				GtkSwitch* _tmp75_;
#line 283 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp74_ = child;
#line 283 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp75_ = self->express_toggle;
#line 283 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (_tmp74_ != G_TYPE_CHECK_INSTANCE_CAST (_tmp75_, GTK_TYPE_WIDGET, GtkWidget)) {
#line 2598 "unattended-installer.c"
					GtkSwitch* _tmp76_;
					GtkWidget* _tmp77_;
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp76_ = self->express_toggle;
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp77_ = child;
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					g_object_bind_property_with_closures ((GObject*) _tmp76_, "active", (GObject*) _tmp77_, "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 2607 "unattended-installer.c"
				}
			}
		}
#line 282 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_list_free0 (child_collection);
#line 2613 "unattended-installer.c"
	}
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (button);
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (avatar);
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (label);
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	block29_data_unref (_data29_);
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data29_ = NULL;
#line 2625 "unattended-installer.c"
}


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


static void boxes_unattended_installer_real_clean_up (BoxesUnattendedInstaller* self, GError** error) {
	GFile* _tmp0_;
	GError * _inner_error_ = NULL;
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->disk_file;
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp0_ != NULL) {
#line 2645 "unattended-installer.c"
		GFile* _tmp1_;
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp1_ = self->disk_file;
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_delete_file (_tmp1_, &_inner_error_);
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_ != NULL) {
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_propagate_error (error, _inner_error_);
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return;
#line 2657 "unattended-installer.c"
		}
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (self->disk_file);
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		self->disk_file = NULL;
#line 2663 "unattended-installer.c"
	}
}


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


static void boxes_unattended_installer_real_prepare_direct_boot_data_free (gpointer _data) {
	BoxesUnattendedInstallerPrepareDirectBootData* _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 (BoxesUnattendedInstallerPrepareDirectBootData, _data_);
#line 2686 "unattended-installer.c"
}


static void boxes_unattended_installer_real_prepare_direct_boot (BoxesUnattendedInstaller* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedInstallerPrepareDirectBootData* _data_;
	BoxesUnattendedInstaller* _tmp0_;
	GCancellable* _tmp1_;
	GCancellable* _tmp2_;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedInstallerPrepareDirectBootData);
#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_direct_boot);
#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_direct_boot_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"
	_data_->cancellable = _tmp2_;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_real_prepare_direct_boot_co (_data_);
#line 2713 "unattended-installer.c"
}


static void boxes_unattended_installer_real_prepare_direct_boot_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_, GError** error) {
	BoxesUnattendedInstallerPrepareDirectBootData* _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 2723 "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 2727 "unattended-installer.c"
}


static gboolean boxes_unattended_installer_real_prepare_direct_boot_co (BoxesUnattendedInstallerPrepareDirectBootData* _data_) {
#line 295 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 295 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 2736 "unattended-installer.c"
		goto _state_0;
		default:
#line 295 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 2741 "unattended-installer.c"
	}
	_state_0:
#line 295 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 295 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2748 "unattended-installer.c"
	} else {
#line 295 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2752 "unattended-installer.c"
	}
#line 295 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 295 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 2758 "unattended-installer.c"
}


void boxes_unattended_installer_prepare_direct_boot (BoxesUnattendedInstaller* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_UNATTENDED_INSTALLER_GET_CLASS (self)->prepare_direct_boot (self, cancellable, _callback_, _user_data_);
#line 2765 "unattended-installer.c"
}


void boxes_unattended_installer_prepare_direct_boot_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_, GError** error) {
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_UNATTENDED_INSTALLER_GET_CLASS (self)->prepare_direct_boot_finish (self, _res_, error);
#line 2772 "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 298 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->express_toggle;
#line 298 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = gtk_switch_get_active (_tmp0_);
#line 298 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 298 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (!_tmp2_) {
#line 299 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		result = NULL;
#line 299 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return result;
#line 2805 "unattended-installer.c"
	}
#line 301 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = self->disk_file;
#line 301 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (_tmp3_ != NULL, NULL);
#line 303 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = gvir_config_domain_disk_new ();
#line 303 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	disk = _tmp4_;
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = disk;
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_disk_set_type (_tmp5_, GVIR_CONFIG_DOMAIN_DISK_FILE);
#line 305 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = disk;
#line 305 "/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 306 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp7_ = disk;
#line 306 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_disk_set_driver_name (_tmp7_, "qemu");
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp8_ = disk;
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_disk_set_driver_type (_tmp8_, "raw");
#line 308 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp9_ = disk;
#line 308 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp10_ = self->disk_file;
#line 308 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp11_ = g_file_get_path (_tmp10_);
#line 308 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp12_ = _tmp11_;
#line 308 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_disk_set_source (_tmp9_, _tmp12_);
#line 308 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_tmp12_);
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp13_ = disk;
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_disk_set_target_dev (_tmp13_, "sdb");
#line 311 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = disk;
#line 311 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 2851 "unattended-installer.c"
}


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


void boxes_unattended_installer_add_unattended_file (BoxesUnattendedInstaller* self, BoxesUnattendedFile* file) {
	BoxesUnattendedFile* _tmp0_;
	BoxesUnattendedFile* _tmp1_;
#line 314 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (self != NULL);
#line 314 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (file != NULL);
#line 315 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = file;
#line 315 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 315 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->unattended_files = g_list_append (self->unattended_files, _tmp1_);
#line 2877 "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 2890 "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"
	_data_->cancellable = _tmp2_;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_create_disk_image_co (_data_);
#line 2917 "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 2927 "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 2931 "unattended-installer.c"
}


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


static gboolean boxes_unattended_installer_create_disk_image_co (BoxesUnattendedInstallerCreateDiskImageData* _data_) {
#line 318 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 318 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 2954 "unattended-installer.c"
		goto _state_0;
#line 318 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 1:
#line 2958 "unattended-installer.c"
		goto _state_1;
		default:
#line 318 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 2963 "unattended-installer.c"
	}
	_state_0:
#line 319 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = NULL;
#line 319 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = boxes_unattended_installer_get_user_unattended (_data_->self, "unattended.img");
#line 319 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->disk_path = _data_->_tmp0_;
#line 320 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = NULL;
#line 320 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = g_file_new_for_path (_data_->disk_path);
#line 320 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self->disk_file);
#line 320 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self->disk_file = _data_->_tmp1_;
#line 322 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = NULL;
#line 322 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = boxes_get_unattended ("disk.img");
#line 322 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->template_path = _data_->_tmp2_;
#line 323 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = NULL;
#line 323 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = g_file_new_for_path (_data_->template_path);
#line 323 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->template_file = _data_->_tmp3_;
#line 325 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_debug ("unattended-installer.vala:325: Creating disk image for unattended inst" \
"allation at '%s'..", _data_->disk_path);
#line 326 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = _data_->self->disk_file;
#line 326 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp5_ = _data_->cancellable;
#line 326 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_state_ = 1;
#line 326 "/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 326 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 3004 "unattended-installer.c"
	_state_1:
#line 326 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_file_copy_finish (_data_->template_file, _data_->_res_, &_data_->_inner_error_);
#line 326 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 326 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 326 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 326 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->template_file);
#line 326 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->template_path);
#line 326 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->disk_path);
#line 326 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 326 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3024 "unattended-installer.c"
		} else {
#line 326 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 3028 "unattended-installer.c"
		}
#line 326 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 326 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 3034 "unattended-installer.c"
	}
#line 327 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_debug ("unattended-installer.vala:327: Floppy image for unattended installatio" \
"n created at '%s'", _data_->disk_path);
#line 318 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->template_file);
#line 318 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->template_path);
#line 318 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->disk_path);
#line 318 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 318 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3048 "unattended-installer.c"
	} else {
#line 318 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3052 "unattended-installer.c"
	}
#line 318 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 318 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 3058 "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 3071 "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"
	_data_->avatar = _tmp2_;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_fetch_user_avatar_co (_data_);
#line 3098 "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 3106 "unattended-installer.c"
}


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


static gboolean boxes_unattended_installer_fetch_user_avatar_co (BoxesUnattendedInstallerFetchUserAvatarData* _data_) {
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 3129 "unattended-installer.c"
		goto _state_0;
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 1:
#line 3133 "unattended-installer.c"
		goto _state_1;
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 2:
#line 3137 "unattended-installer.c"
		goto _state_2;
		default:
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 3142 "unattended-installer.c"
	}
	_state_0:
#line 331 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = boxes_unattended_installer_accounts;
#line 331 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_tmp0_ == NULL) {
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3153 "unattended-installer.c"
		} else {
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 3157 "unattended-installer.c"
		}
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 3163 "unattended-installer.c"
	}
#line 334 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = NULL;
#line 334 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = g_get_user_name ();
#line 334 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = g_strdup (_data_->_tmp1_);
#line 334 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->username = _data_->_tmp2_;
#line 335 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = _data_->username;
#line 335 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = g_strconcat ("/var/lib/AccountsService/icons/", _data_->_tmp3_, NULL);
#line 335 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->avatar_path = _data_->_tmp4_;
#line 3179 "unattended-installer.c"
	{
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp5_ = boxes_unattended_installer_accounts;
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp6_ = NULL;
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp6_ = g_get_user_name ();
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_state_ = 1;
#line 338 "/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 338 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 3193 "unattended-installer.c"
		_state_1:
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp7_ = NULL;
#line 338 "/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 338 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->path = _data_->_tmp7_;
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_data_->_inner_error_->domain == G_IO_ERROR) {
#line 3205 "unattended-installer.c"
				goto __catch56_g_io_error;
			}
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->avatar_path);
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->username);
#line 338 "/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 338 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_data_->_inner_error_);
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return FALSE;
#line 3218 "unattended-installer.c"
		}
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp8_ = _data_->path;
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_state_ = 2;
#line 339 "/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 339 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 3228 "unattended-installer.c"
		_state_2:
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp9_ = NULL;
#line 339 "/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 339 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->user = (BoxesFdoAccountsUser*) _data_->_tmp9_;
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->path);
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_data_->_inner_error_->domain == G_IO_ERROR) {
#line 3242 "unattended-installer.c"
				goto __catch56_g_io_error;
			}
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->path);
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->avatar_path);
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->username);
#line 339 "/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 339 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_data_->_inner_error_);
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return FALSE;
#line 3257 "unattended-installer.c"
		}
#line 340 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp10_ = _data_->user;
#line 340 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp11_ = boxes_fdo_accounts_user_get_IconFile (_data_->_tmp10_);
#line 340 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp12_ = _data_->_tmp11_;
#line 340 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->avatar_path);
#line 340 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->avatar_path = _data_->_tmp12_;
#line 337 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->user);
#line 337 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->path);
#line 3273 "unattended-installer.c"
	}
	goto __finally56;
	__catch56_g_io_error:
	{
#line 337 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 337 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_inner_error_ = NULL;
#line 342 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp13_ = _data_->username;
#line 342 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp14_ = _data_->_error_;
#line 342 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp15_ = _data_->_tmp14_->message;
#line 342 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_warning ("unattended-installer.vala:342: Failed to retrieve information about us" \
"er '%s': %s", _data_->_tmp13_, _data_->_tmp15_);
#line 337 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_error_free0 (_data_->_error_);
#line 3292 "unattended-installer.c"
	}
	__finally56:
#line 337 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 337 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->avatar_path);
#line 337 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->username);
#line 337 "/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 337 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_clear_error (&_data_->_inner_error_);
#line 337 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 3307 "unattended-installer.c"
	}
#line 345 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp16_ = _data_->avatar_path;
#line 345 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp17_ = NULL;
#line 345 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp17_ = g_file_new_for_path (_data_->_tmp16_);
#line 345 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->file = _data_->_tmp17_;
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp18_ = _data_->file;
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp19_ = FALSE;
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp19_ = g_file_query_exists (_data_->_tmp18_, NULL);
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_tmp19_) {
#line 347 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp20_ = _data_->avatar;
#line 347 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp21_ = _data_->avatar_path;
#line 347 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_set (_data_->_tmp20_, "file", _data_->_tmp21_, NULL);
#line 348 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp22_ = _data_->avatar_path;
#line 348 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp23_ = _data_->self->avatar_format;
#line 348 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp24_ = boxes_unattended_avatar_file_new (_data_->self, _data_->_tmp22_, _data_->_tmp23_);
#line 348 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp25_ = _data_->_tmp24_;
#line 348 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_add_unattended_file (_data_->self, (BoxesUnattendedFile*) _data_->_tmp25_);
#line 348 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->_tmp25_);
#line 3343 "unattended-installer.c"
	}
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->file);
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->avatar_path);
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->username);
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3355 "unattended-installer.c"
	} else {
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3359 "unattended-installer.c"
	}
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 3365 "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 3375 "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 3394 "unattended-installer.c"
}


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


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


gchar* boxes_unattended_installer_get_password (BoxesUnattendedInstaller* self) {
	gchar* result;
	GtkEntry* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
	gchar* _tmp3_;
#line 25 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 25 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->password_entry;
#line 25 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = gtk_entry_get_text (_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"
	_tmp3_ = g_strdup (_tmp2_);
#line 25 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp3_;
#line 25 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 3460 "unattended-installer.c"
}


static gchar* g_unichar_to_string (gunichar self) {
	gchar* result = NULL;
	gchar* _tmp0_ = NULL;
	gchar* str;
	const gchar* _tmp1_;
#line 841 "../vapi/upstream/glib-2.0.vapi"
	_tmp0_ = g_new0 (gchar, 7);
#line 841 "../vapi/upstream/glib-2.0.vapi"
	str = (gchar*) _tmp0_;
#line 842 "../vapi/upstream/glib-2.0.vapi"
	_tmp1_ = str;
#line 842 "../vapi/upstream/glib-2.0.vapi"
	g_unichar_to_utf8 (self, _tmp1_);
#line 843 "../vapi/upstream/glib-2.0.vapi"
	result = str;
#line 843 "../vapi/upstream/glib-2.0.vapi"
	return result;
#line 3481 "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 29 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->password_entry;
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = gtk_entry_get_text (_tmp0_);
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = strlen (_tmp2_);
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = _tmp3_;
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp4_ > 0) {
#line 3506 "unattended-installer.c"
		gchar* _tmp5_;
		gchar* str;
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp5_ = g_strdup ("");
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		str = _tmp5_;
#line 3513 "unattended-installer.c"
		{
			gint i;
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			i = 0;
#line 3518 "unattended-installer.c"
			{
				gboolean _tmp6_;
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp6_ = TRUE;
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				while (TRUE) {
#line 3525 "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 32 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp7_ = _tmp6_;
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					if (!_tmp7_) {
#line 3541 "unattended-installer.c"
						gint _tmp8_;
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp8_ = i;
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						i = _tmp8_ + 1;
#line 3547 "unattended-installer.c"
					}
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp6_ = FALSE;
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp9_ = i;
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp10_ = self->password_entry;
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp11_ = gtk_entry_get_text_length (_tmp10_);
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp12_ = _tmp11_;
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					if (!(((guint) _tmp9_) < _tmp12_)) {
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						break;
#line 3563 "unattended-installer.c"
					}
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp13_ = str;
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp14_ = self->password_entry;
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp15_ = gtk_entry_get_invisible_char (_tmp14_);
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp16_ = g_unichar_to_string (_tmp15_);
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp17_ = _tmp16_;
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp18_ = g_strconcat (_tmp13_, _tmp17_, NULL);
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_free0 (str);
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					str = _tmp18_;
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_free0 (_tmp17_);
#line 3583 "unattended-installer.c"
				}
			}
		}
#line 35 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		result = str;
#line 35 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return result;
#line 3591 "unattended-installer.c"
	} else {
		const gchar* _tmp19_ = NULL;
		gchar* _tmp20_;
#line 37 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp19_ = _ ("no password");
#line 37 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp20_ = g_strdup (_tmp19_);
#line 37 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		result = _tmp20_;
#line 37 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return result;
#line 3603 "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 80 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	parent_class = G_OBJECT_CLASS (boxes_unattended_installer_parent_class);
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_UNATTENDED_INSTALLER, BoxesUnattendedInstaller);
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = boxes_unattended_installer_accounts;
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp0_ == NULL) {
#line 3624 "unattended-installer.c"
		{
			BoxesFdoAccounts* _tmp1_ = NULL;
			BoxesFdoAccounts* _tmp2_;
#line 85 "/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 85 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp2_ = (BoxesFdoAccounts*) _tmp1_;
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_inner_error_ != NULL) {
#line 3634 "unattended-installer.c"
				goto __catch57_g_error;
			}
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (boxes_unattended_installer_accounts);
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			boxes_unattended_installer_accounts = _tmp2_;
#line 3641 "unattended-installer.c"
		}
		goto __finally57;
		__catch57_g_error:
		{
			GError* _error_ = NULL;
			GError* _tmp3_;
			const gchar* _tmp4_;
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_error_ = _inner_error_;
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_inner_error_ = NULL;
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp3_ = _error_;
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp4_ = _tmp3_->message;
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_warning ("unattended-installer.vala:87: Failed to connect to D-Bus service '%s':" \
" %s", "org.freedesktop.Accounts", _tmp4_);
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_error_free0 (_error_);
#line 3661 "unattended-installer.c"
		}
		__finally57:
#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"
			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 84 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_inner_error_);
#line 3670 "unattended-installer.c"
		}
	}
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return obj;
#line 3675 "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"
	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)->setup_spice_config = boxes_unattended_installer_real_setup_spice_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)->check_needed_info = boxes_unattended_installer_real_check_needed_info;
#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)->prepare_direct_boot = boxes_unattended_installer_real_prepare_direct_boot;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_UNATTENDED_INSTALLER_CLASS (klass)->prepare_direct_boot_finish = boxes_unattended_installer_real_prepare_direct_boot_finish;
#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"
	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)->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_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 3727 "unattended-installer.c"
	{
		GRegex* _tmp0_;
		GRegex* _tmp1_;
		GRegex* _tmp2_;
		GRegex* _tmp3_;
		GRegex* _tmp4_;
		GRegex* _tmp5_;
		GRegex* _tmp6_;
		GRegex* _tmp7_;
		GRegex* _tmp8_;
		GRegex* _tmp9_;
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = g_regex_new ("BOXES_USERNAME", 0, 0, &_inner_error_);
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp1_ = _tmp0_;
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_ != NULL) {
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_inner_error_->domain == G_REGEX_ERROR) {
#line 3747 "unattended-installer.c"
				goto __catch58_g_regex_error;
			}
#line 69 "/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 69 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_inner_error_);
#line 3754 "unattended-installer.c"
		}
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_regex_unref0 (boxes_unattended_installer_username_regex);
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_username_regex = _tmp1_;
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp2_ = g_regex_new ("BOXES_PASSWORD", 0, 0, &_inner_error_);
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp3_ = _tmp2_;
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_ != NULL) {
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_inner_error_->domain == G_REGEX_ERROR) {
#line 3768 "unattended-installer.c"
				goto __catch58_g_regex_error;
			}
#line 70 "/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 70 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_inner_error_);
#line 3775 "unattended-installer.c"
		}
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_regex_unref0 (boxes_unattended_installer_password_regex);
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_password_regex = _tmp3_;
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp4_ = g_regex_new ("BOXES_TZ", 0, 0, &_inner_error_);
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp5_ = _tmp4_;
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_ != NULL) {
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_inner_error_->domain == G_REGEX_ERROR) {
#line 3789 "unattended-installer.c"
				goto __catch58_g_regex_error;
			}
#line 71 "/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 71 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_inner_error_);
#line 3796 "unattended-installer.c"
		}
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_regex_unref0 (boxes_unattended_installer_timezone_regex);
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_timezone_regex = _tmp5_;
#line 72 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp6_ = g_regex_new ("BOXES_LANG", 0, 0, &_inner_error_);
#line 72 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp7_ = _tmp6_;
#line 72 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_ != NULL) {
#line 72 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_inner_error_->domain == G_REGEX_ERROR) {
#line 3810 "unattended-installer.c"
				goto __catch58_g_regex_error;
			}
#line 72 "/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 72 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_inner_error_);
#line 3817 "unattended-installer.c"
		}
#line 72 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_regex_unref0 (boxes_unattended_installer_lang_regex);
#line 72 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_lang_regex = _tmp7_;
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp8_ = g_regex_new ("BOXES_HOSTNAME", 0, 0, &_inner_error_);
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp9_ = _tmp8_;
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_ != NULL) {
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_inner_error_->domain == G_REGEX_ERROR) {
#line 3831 "unattended-installer.c"
				goto __catch58_g_regex_error;
			}
#line 73 "/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 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_inner_error_);
#line 3838 "unattended-installer.c"
		}
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_regex_unref0 (boxes_unattended_installer_host_regex);
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_host_regex = _tmp9_;
#line 3844 "unattended-installer.c"
	}
	goto __finally58;
	__catch58_g_regex_error:
	{
		GError* _error_ = NULL;
#line 68 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_error_ = _inner_error_;
#line 68 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_inner_error_ = NULL;
#line 76 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 68 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_error_free0 (_error_);
#line 3858 "unattended-installer.c"
	}
	__finally58:
#line 68 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_inner_error_ != NULL) {
#line 68 "/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 68 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_clear_error (&_inner_error_);
#line 3867 "unattended-installer.c"
	}
}


static void boxes_unattended_installer_instance_init (BoxesUnattendedInstaller * self) {
}


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 42 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->disk_file);
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	__g_list_free__g_object_unref0_0 (self->unattended_files);
#line 47 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->setup_table);
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->setup_label);
#line 49 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->setup_hbox);
#line 50 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->express_toggle);
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->username_entry);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->password_entry);
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->timezone);
#line 55 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->lang);
#line 56 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->hostname);
#line 58 "/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 3906 "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_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 3957 "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 3963 "unattended-installer.c"
	}
}


static void boxes_unattended_file_copy_data_free (gpointer _data) {
	BoxesUnattendedFileCopyData* _data_;
	_data_ = _data;
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self);
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_slice_free (BoxesUnattendedFileCopyData, _data_);
#line 3977 "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 353 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedFileCopyData);
#line 353 "/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 353 "/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 353 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = _tmp0_;
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = cancellable;
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->cancellable = _tmp2_;
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_copy_co (_data_);
#line 4004 "unattended-installer.c"
}


void boxes_unattended_file_copy_finish (BoxesUnattendedFile* self, GAsyncResult* _res_, GError** error) {
	BoxesUnattendedFileCopyData* _data_;
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return;
#line 4014 "unattended-installer.c"
	}
#line 353 "/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 4018 "unattended-installer.c"
}


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


static gboolean boxes_unattended_file_copy_co (BoxesUnattendedFileCopyData* _data_) {
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 4041 "unattended-installer.c"
		goto _state_0;
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 1:
#line 4045 "unattended-installer.c"
		goto _state_1;
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 2:
#line 4049 "unattended-installer.c"
		goto _state_2;
		default:
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 4054 "unattended-installer.c"
	}
	_state_0:
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = _data_->cancellable;
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_state_ = 1;
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_create (_data_->self, _data_->_tmp0_, boxes_unattended_file_copy_ready, _data_);
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 4065 "unattended-installer.c"
	_state_1:
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = NULL;
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = boxes_unattended_file_create_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->unattended_tmp = _data_->_tmp1_;
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4083 "unattended-installer.c"
		} else {
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 4087 "unattended-installer.c"
		}
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 4093 "unattended-installer.c"
	}
#line 362 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = boxes_unattended_file_get_dest_name (_data_->self);
#line 362 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = _data_->_tmp2_;
#line 362 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = boxes_unattended_file_get_installer (_data_->self);
#line 362 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp5_ = _data_->_tmp4_;
#line 362 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp6_ = _data_->_tmp5_->disk_file;
#line 362 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp7_ = NULL;
#line 362 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp7_ = g_file_get_path (_data_->_tmp6_);
#line 362 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp8_ = _data_->_tmp7_;
#line 362 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_debug ("unattended-installer.vala:362: Copying unattended file '%s' into disk " \
"drive/image '%s'", _data_->_tmp3_, _data_->_tmp8_);
#line 362 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->_tmp8_);
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp9_ = g_strdup ("mcopy");
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp10_ = g_strdup ("-n");
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp11_ = g_strdup ("-o");
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp12_ = g_strdup ("-i");
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp13_ = boxes_unattended_file_get_installer (_data_->self);
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp14_ = _data_->_tmp13_;
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp15_ = _data_->_tmp14_->disk_file;
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp16_ = NULL;
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp16_ = g_file_get_path (_data_->_tmp15_);
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp17_ = _data_->unattended_tmp;
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp18_ = NULL;
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp18_ = g_file_get_path (_data_->_tmp17_);
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp19_ = boxes_unattended_file_get_dest_name (_data_->self);
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp20_ = _data_->_tmp19_;
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp21_ = g_strconcat ("::", _data_->_tmp20_, NULL);
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_ = NULL;
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_ = g_new0 (gchar*, 7 + 1);
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_[0] = _data_->_tmp9_;
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_[1] = _data_->_tmp10_;
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_[2] = _data_->_tmp11_;
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_[3] = _data_->_tmp12_;
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_[4] = _data_->_tmp16_;
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_[5] = _data_->_tmp18_;
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_[6] = _data_->_tmp21_;
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->argv = _data_->_tmp22_;
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->argv_length1 = 7;
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_argv_size_ = _data_->argv_length1;
#line 367 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp23_ = _data_->argv;
#line 367 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp23__length1 = _data_->argv_length1;
#line 367 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp24_ = _data_->cancellable;
#line 367 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_state_ = 2;
#line 367 "/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 367 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 4181 "unattended-installer.c"
	_state_2:
#line 367 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_exec_finish (_data_->_res_, &_data_->_inner_error_);
#line 367 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 367 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 367 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 367 "/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 367 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->unattended_tmp);
#line 367 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 367 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4199 "unattended-installer.c"
		} else {
#line 367 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 4203 "unattended-installer.c"
		}
#line 367 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 367 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 4209 "unattended-installer.c"
	}
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp25_ = boxes_unattended_file_get_dest_name (_data_->self);
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp26_ = _data_->_tmp25_;
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp27_ = boxes_unattended_file_get_installer (_data_->self);
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp28_ = _data_->_tmp27_;
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp29_ = _data_->_tmp28_->disk_file;
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp30_ = NULL;
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp30_ = g_file_get_path (_data_->_tmp29_);
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp31_ = _data_->_tmp30_;
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_debug ("unattended-installer.vala:368: Copied unattended file '%s' into disk d" \
"rive/image '%s'", _data_->_tmp26_, _data_->_tmp31_);
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->_tmp31_);
#line 370 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp32_ = _data_->unattended_tmp;
#line 370 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp33_ = NULL;
#line 370 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp33_ = g_file_get_path (_data_->_tmp32_);
#line 370 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp34_ = _data_->_tmp33_;
#line 370 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_debug ("unattended-installer.vala:370: Deleting temporary file '%s'", _data_->_tmp34_);
#line 370 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->_tmp34_);
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp35_ = _data_->unattended_tmp;
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp36_ = _data_->cancellable;
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_file_delete (_data_->_tmp35_, _data_->_tmp36_, &_data_->_inner_error_);
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 371 "/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 371 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->unattended_tmp);
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4263 "unattended-installer.c"
		} else {
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 4267 "unattended-installer.c"
		}
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 4273 "unattended-installer.c"
	}
#line 372 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp37_ = _data_->unattended_tmp;
#line 372 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp38_ = NULL;
#line 372 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp38_ = g_file_get_path (_data_->_tmp37_);
#line 372 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp39_ = _data_->_tmp38_;
#line 372 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_debug ("unattended-installer.vala:372: Deleted temporary file '%s'", _data_->_tmp39_);
#line 372 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->_tmp39_);
#line 359 "/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 359 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->unattended_tmp);
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4295 "unattended-installer.c"
	} else {
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 4299 "unattended-installer.c"
	}
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 4305 "unattended-installer.c"
}


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


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


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


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


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


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


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


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


static void boxes_unattended_file_base_init (BoxesUnattendedFileIface * iface) {
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	static gboolean initialized = FALSE;
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (!initialized) {
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		initialized = TRUE;
#line 353 "/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 353 "/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 353 "/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 4390 "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;
}


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 384 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (installer != NULL, NULL);
#line 384 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (src_path != NULL, NULL);
#line 384 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (dest_name != NULL, NULL);
#line 384 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedTextFile*) g_object_new (object_type, NULL);
#line 385 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = installer;
#line 385 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_set_installer ((BoxesUnattendedFile*) self, _tmp0_);
#line 386 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = src_path;
#line 386 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_set_src_path ((BoxesUnattendedFile*) self, _tmp1_);
#line 387 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = dest_name;
#line 387 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_set_dest_name ((BoxesUnattendedFile*) self, _tmp2_);
#line 384 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return self;
#line 4435 "unattended-installer.c"
}


BoxesUnattendedTextFile* boxes_unattended_text_file_new (BoxesUnattendedInstaller* installer, const gchar* src_path, const gchar* dest_name) {
#line 384 "/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 4442 "unattended-installer.c"
}


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


static void boxes_unattended_text_file_real_create (BoxesUnattendedFile* base, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedTextFile * self;
	BoxesUnattendedTextFileCreateData* _data_;
	BoxesUnattendedTextFile* _tmp0_;
	GCancellable* _tmp1_;
	GCancellable* _tmp2_;
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedTextFile*) base;
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedTextFileCreateData);
#line 378 "/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_create);
#line 378 "/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_create_data_free);
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = _tmp0_;
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = cancellable;
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->cancellable = _tmp2_;
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_text_file_real_create_co (_data_);
#line 4487 "unattended-installer.c"
}


static GFile* boxes_unattended_text_file_real_create_finish (BoxesUnattendedFile* base, GAsyncResult* _res_, GError** error) {
	GFile* result;
	BoxesUnattendedTextFileCreateData* _data_;
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return NULL;
#line 4498 "unattended-installer.c"
	}
#line 378 "/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 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _data_->result;
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->result = NULL;
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 4508 "unattended-installer.c"
}


static void boxes_unattended_text_file_create_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesUnattendedTextFileCreateData* _data_;
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = _user_data_;
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_source_object_ = source_object;
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_res_ = _res_;
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_text_file_real_create_co (_data_);
#line 4522 "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 1404 "../vapi/upstream/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1405 "../vapi/upstream/glib-2.0.vapi"
	res = (guint8*) self;
#line 1405 "../vapi/upstream/glib-2.0.vapi"
	res_length1 = -1;
#line 1405 "../vapi/upstream/glib-2.0.vapi"
	_res_size_ = res_length1;
#line 1406 "../vapi/upstream/glib-2.0.vapi"
	_tmp0_ = strlen (self);
#line 1406 "../vapi/upstream/glib-2.0.vapi"
	_tmp1_ = _tmp0_;
#line 1406 "../vapi/upstream/glib-2.0.vapi"
	res_length1 = (gint) _tmp1_;
#line 1406 "../vapi/upstream/glib-2.0.vapi"
	_tmp2_ = res_length1;
#line 1407 "../vapi/upstream/glib-2.0.vapi"
	_tmp3_ = res;
#line 1407 "../vapi/upstream/glib-2.0.vapi"
	_tmp3__length1 = res_length1;
#line 1407 "../vapi/upstream/glib-2.0.vapi"
	_tmp4_ = _tmp3_;
#line 1407 "../vapi/upstream/glib-2.0.vapi"
	_tmp4__length1 = _tmp3__length1;
#line 1407 "../vapi/upstream/glib-2.0.vapi"
	if (result_length1) {
#line 1407 "../vapi/upstream/glib-2.0.vapi"
		*result_length1 = _tmp4__length1;
#line 4566 "unattended-installer.c"
	}
#line 1407 "../vapi/upstream/glib-2.0.vapi"
	result = _tmp4_;
#line 1407 "../vapi/upstream/glib-2.0.vapi"
	return result;
#line 4572 "unattended-installer.c"
}


static gboolean boxes_unattended_text_file_real_create_co (BoxesUnattendedTextFileCreateData* _data_) {
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 4581 "unattended-installer.c"
		goto _state_0;
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 1:
#line 4585 "unattended-installer.c"
		goto _state_1;
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 2:
#line 4589 "unattended-installer.c"
		goto _state_2;
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 3:
#line 4593 "unattended-installer.c"
		goto _state_3;
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 4:
#line 4597 "unattended-installer.c"
		goto _state_4;
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 5:
#line 4601 "unattended-installer.c"
		goto _state_5;
		default:
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 4606 "unattended-installer.c"
	}
	_state_0:
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = boxes_unattended_file_get_src_path ((BoxesUnattendedFile*) _data_->self);
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = NULL;
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = g_file_new_for_path (_data_->_tmp1_);
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->source = _data_->_tmp2_;
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = boxes_unattended_file_get_installer ((BoxesUnattendedFile*) _data_->self);
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp5_ = boxes_unattended_file_get_dest_name ((BoxesUnattendedFile*) _data_->self);
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp7_ = NULL;
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp7_ = boxes_unattended_installer_get_user_unattended (_data_->_tmp4_, _data_->_tmp6_);
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->destination_path = _data_->_tmp7_;
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp8_ = _data_->destination_path;
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp9_ = NULL;
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp9_ = g_file_new_for_path (_data_->_tmp8_);
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->destination = _data_->_tmp9_;
#line 395 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp10_ = _data_->destination;
#line 395 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp11_ = NULL;
#line 395 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp11_ = g_file_get_path (_data_->_tmp10_);
#line 395 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp12_ = _data_->_tmp11_;
#line 395 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_debug ("unattended-installer.vala:395: Creating unattended file at '%s'..", _data_->_tmp12_);
#line 395 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->_tmp12_);
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp13_ = _data_->source;
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp14_ = _data_->cancellable;
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_state_ = 1;
#line 396 "/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_create_ready, _data_);
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 4663 "unattended-installer.c"
	_state_1:
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp15_ = NULL;
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp15_ = g_file_read_finish (_data_->_tmp13_, _data_->_res_, &_data_->_inner_error_);
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->input_stream = _data_->_tmp15_;
#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_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->destination);
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->destination_path);
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->source);
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4687 "unattended-installer.c"
		} else {
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 4691 "unattended-installer.c"
		}
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 4697 "unattended-installer.c"
	}
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp16_ = _data_->destination;
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp17_ = _data_->cancellable;
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_state_ = 2;
#line 397 "/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_create_ready, _data_);
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 4709 "unattended-installer.c"
	_state_2:
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp18_ = NULL;
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp18_ = g_file_replace_finish (_data_->_tmp16_, _data_->_res_, &_data_->_inner_error_);
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->output_stream = _data_->_tmp18_;
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->input_stream);
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->destination);
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->destination_path);
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->source);
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4735 "unattended-installer.c"
		} else {
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 4739 "unattended-installer.c"
		}
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 4745 "unattended-installer.c"
	}
#line 402 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp19_ = _data_->input_stream;
#line 402 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp20_ = g_data_input_stream_new ((GInputStream*) _data_->_tmp19_);
#line 402 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->data_stream = _data_->_tmp20_;
#line 403 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp21_ = _data_->data_stream;
#line 403 "/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 405 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	while (TRUE) {
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp22_ = _data_->data_stream;
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp23_ = _data_->cancellable;
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_state_ = 3;
#line 405 "/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_create_ready, _data_);
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 4769 "unattended-installer.c"
		_state_3:
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp24_ = NULL;
#line 405 "/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 405 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp25_ = _data_->_tmp24_;
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_error_free (_data_->_inner_error_);
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->str);
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->data_stream);
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->output_stream);
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->input_stream);
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->destination);
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->destination_path);
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->source);
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_data_->_state_ == 0) {
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4801 "unattended-installer.c"
			} else {
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 4805 "unattended-installer.c"
			}
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_object_unref (_data_->_async_result);
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return FALSE;
#line 4811 "unattended-installer.c"
		}
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->str);
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->str = _data_->_tmp25_;
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp26_ = _data_->str;
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (!(_data_->_tmp26_ != NULL)) {
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			break;
#line 4823 "unattended-installer.c"
		}
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp27_ = boxes_unattended_file_get_installer ((BoxesUnattendedFile*) _data_->self);
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp28_ = _data_->_tmp27_;
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp29_ = _data_->str;
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp30_ = NULL;
#line 406 "/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 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp31_ = _data_->_tmp30_;
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_error_free (_data_->_inner_error_);
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->str);
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->data_stream);
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->output_stream);
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->input_stream);
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->destination);
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->destination_path);
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->source);
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_data_->_state_ == 0) {
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4861 "unattended-installer.c"
			} else {
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 4865 "unattended-installer.c"
			}
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_object_unref (_data_->_async_result);
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return FALSE;
#line 4871 "unattended-installer.c"
		}
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->str);
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->str = _data_->_tmp31_;
#line 408 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp33_ = boxes_unattended_file_get_installer ((BoxesUnattendedFile*) _data_->self);
#line 408 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp34_ = _data_->_tmp33_;
#line 408 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp35_ = _data_->_tmp34_->newline_type;
#line 408 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_tmp35_ == G_DATA_STREAM_NEWLINE_TYPE_LF) {
#line 408 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp32_ = "\n";
#line 4887 "unattended-installer.c"
		} else {
#line 408 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp32_ = "\r\n";
#line 4891 "unattended-installer.c"
		}
#line 408 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp36_ = _data_->str;
#line 408 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp37_ = _data_->_tmp32_;
#line 408 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp38_ = g_strconcat (_data_->_tmp36_, _data_->_tmp37_, NULL);
#line 408 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->str);
#line 408 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->str = _data_->_tmp38_;
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp39_ = _data_->output_stream;
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp40_ = _data_->str;
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp41_ = string_get_data (_data_->_tmp40_, &_data_->_tmp41__length1);
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp42_ = _data_->_tmp41_;
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp42__length1 = _data_->_tmp41__length1;
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp43_ = _data_->cancellable;
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_state_ = 4;
#line 410 "/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_create_ready, _data_);
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 4921 "unattended-installer.c"
		_state_4:
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_output_stream_write_finish ((GOutputStream*) _data_->_tmp39_, _data_->_res_, &_data_->_inner_error_);
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_error_free (_data_->_inner_error_);
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->str);
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->data_stream);
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->output_stream);
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->input_stream);
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->destination);
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->destination_path);
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->source);
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_data_->_state_ == 0) {
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4949 "unattended-installer.c"
			} else {
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 4953 "unattended-installer.c"
			}
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_object_unref (_data_->_async_result);
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return FALSE;
#line 4959 "unattended-installer.c"
		}
	}
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp44_ = _data_->output_stream;
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp45_ = _data_->cancellable;
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_state_ = 5;
#line 412 "/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_create_ready, _data_);
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 4972 "unattended-installer.c"
	_state_5:
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_output_stream_close_finish ((GOutputStream*) _data_->_tmp44_, _data_->_res_, &_data_->_inner_error_);
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->str);
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->data_stream);
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->output_stream);
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->input_stream);
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->destination);
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->destination_path);
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->source);
#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 5000 "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 5004 "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 5010 "unattended-installer.c"
	}
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp46_ = _data_->destination;
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp47_ = NULL;
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp47_ = g_file_get_path (_data_->_tmp46_);
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp48_ = _data_->_tmp47_;
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_debug ("unattended-installer.vala:413: Created unattended file at '%s'..", _data_->_tmp48_);
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->_tmp48_);
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->result = _data_->destination;
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->str);
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->data_stream);
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->output_stream);
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->input_stream);
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->destination_path);
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->source);
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5042 "unattended-installer.c"
	} else {
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 5046 "unattended-installer.c"
	}
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->str);
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->data_stream);
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->output_stream);
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->input_stream);
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->destination);
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->destination_path);
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->source);
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5070 "unattended-installer.c"
	} else {
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 5074 "unattended-installer.c"
	}
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 5080 "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 379 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedTextFile*) base;
#line 379 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->_src_path;
#line 379 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp0_;
#line 379 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 5096 "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 379 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedTextFile*) base;
#line 379 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = value;
#line 379 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 379 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_src_path);
#line 379 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->_src_path = _tmp1_;
#line 379 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject *) self, "src-path");
#line 5116 "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 380 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedTextFile*) base;
#line 380 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->_dest_name;
#line 380 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp0_;
#line 380 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 5132 "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 380 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedTextFile*) base;
#line 380 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = value;
#line 380 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 380 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_dest_name);
#line 380 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->_dest_name = _tmp1_;
#line 380 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject *) self, "dest-name");
#line 5152 "unattended-installer.c"
}


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


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


static void boxes_unattended_text_file_class_init (BoxesUnattendedTextFileClass * klass) {
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_text_file_parent_class = g_type_class_peek_parent (klass);
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_type_class_add_private (klass, sizeof (BoxesUnattendedTextFilePrivate));
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_unattended_text_file_get_property;
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_boxes_unattended_text_file_set_property;
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_unattended_text_file_finalize;
#line 378 "/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 378 "/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 378 "/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 5209 "unattended-installer.c"
}


static void boxes_unattended_text_file_boxes_unattended_file_interface_init (BoxesUnattendedFileIface * iface) {
#line 378 "/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 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->create = (GFile* (*)(BoxesUnattendedFile*, GCancellable*, GError**)) boxes_unattended_text_file_real_create;
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->create_finish = boxes_unattended_text_file_real_create_finish;
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_src_path = boxes_unattended_text_file_real_get_src_path;
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->set_src_path = boxes_unattended_text_file_real_set_src_path;
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_dest_name = boxes_unattended_text_file_real_get_dest_name;
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->set_dest_name = boxes_unattended_text_file_real_set_dest_name;
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_installer = boxes_unattended_text_file_real_get_installer;
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->set_installer = boxes_unattended_text_file_real_set_installer;
#line 5232 "unattended-installer.c"
}


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


static void boxes_unattended_text_file_finalize (GObject* obj) {
	BoxesUnattendedTextFile * self;
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_UNATTENDED_TEXT_FILE, BoxesUnattendedTextFile);
#line 379 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_src_path);
#line 380 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_dest_name);
#line 382 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->_installer);
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (boxes_unattended_text_file_parent_class)->finalize (obj);
#line 5255 "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 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (property_id) {
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_TEXT_FILE_SRC_PATH:
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_string (value, boxes_unattended_file_get_src_path ((BoxesUnattendedFile*) self));
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_TEXT_FILE_DEST_NAME:
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_string (value, boxes_unattended_file_get_dest_name ((BoxesUnattendedFile*) self));
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_TEXT_FILE_INSTALLER:
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_object (value, boxes_unattended_file_get_installer ((BoxesUnattendedFile*) self));
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 5296 "unattended-installer.c"
		default:
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 5302 "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 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (property_id) {
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_TEXT_FILE_SRC_PATH:
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_file_set_src_path ((BoxesUnattendedFile*) self, g_value_get_string (value));
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_TEXT_FILE_DEST_NAME:
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_file_set_dest_name ((BoxesUnattendedFile*) self, g_value_get_string (value));
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_TEXT_FILE_INSTALLER:
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_file_set_installer ((BoxesUnattendedFile*) self, g_value_get_object (value));
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 5330 "unattended-installer.c"
		default:
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 5336 "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 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (installer != NULL, NULL);
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (src_path != NULL, NULL);
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (dest_format != NULL, NULL);
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedAvatarFile*) g_object_new (object_type, NULL);
#line 428 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = installer;
#line 428 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_set_installer ((BoxesUnattendedFile*) self, _tmp0_);
#line 429 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = src_path;
#line 429 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_set_src_path ((BoxesUnattendedFile*) self, _tmp1_);
#line 431 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = dest_format;
#line 431 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = _avatar_format_ref0 (_tmp2_);
#line 431 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_avatar_format_unref0 (self->priv->dest_format);
#line 431 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->dest_format = _tmp3_;
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return self;
#line 5373 "unattended-installer.c"
}


BoxesUnattendedAvatarFile* boxes_unattended_avatar_file_new (BoxesUnattendedInstaller* installer, const gchar* src_path, AvatarFormat* dest_format) {
#line 427 "/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 5380 "unattended-installer.c"
}


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


static void boxes_unattended_avatar_file_real_create (BoxesUnattendedFile* base, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedAvatarFile * self;
	BoxesUnattendedAvatarFileCreateData* _data_;
	BoxesUnattendedAvatarFile* _tmp0_;
	GCancellable* _tmp1_;
	GCancellable* _tmp2_;
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedAvatarFile*) base;
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedAvatarFileCreateData);
#line 419 "/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_create);
#line 419 "/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_create_data_free);
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = _tmp0_;
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = cancellable;
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->cancellable = _tmp2_;
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_avatar_file_real_create_co (_data_);
#line 5425 "unattended-installer.c"
}


static GFile* boxes_unattended_avatar_file_real_create_finish (BoxesUnattendedFile* base, GAsyncResult* _res_, GError** error) {
	GFile* result;
	BoxesUnattendedAvatarFileCreateData* _data_;
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return NULL;
#line 5436 "unattended-installer.c"
	}
#line 419 "/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 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _data_->result;
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->result = NULL;
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 5446 "unattended-installer.c"
}


static gboolean boxes_unattended_avatar_file_real_create_co (BoxesUnattendedAvatarFileCreateData* _data_) {
#line 434 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 434 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 5455 "unattended-installer.c"
		goto _state_0;
		default:
#line 434 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 5460 "unattended-installer.c"
	}
	_state_0:
#line 435 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = boxes_unattended_file_get_installer ((BoxesUnattendedFile*) _data_->self);
#line 435 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 435 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = boxes_unattended_installer_get_username (_data_->_tmp1_);
#line 435 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = _data_->_tmp2_;
#line 435 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = _data_->self->priv->dest_format;
#line 435 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp5_ = _data_->_tmp4_->extension;
#line 435 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp6_ = g_strconcat (_data_->_tmp3_, _data_->_tmp5_, NULL);
#line 435 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp7_ = _data_->_tmp6_;
#line 435 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_set_dest_name ((BoxesUnattendedFile*) _data_->self, _data_->_tmp7_);
#line 435 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->_tmp7_);
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp8_ = boxes_unattended_file_get_installer ((BoxesUnattendedFile*) _data_->self);
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp9_ = _data_->_tmp8_;
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp10_ = boxes_unattended_file_get_dest_name ((BoxesUnattendedFile*) _data_->self);
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp11_ = _data_->_tmp10_;
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp12_ = NULL;
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp12_ = boxes_unattended_installer_get_user_unattended (_data_->_tmp9_, _data_->_tmp11_);
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->destination_path = _data_->_tmp12_;
#line 5497 "unattended-installer.c"
	{
#line 439 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp13_ = boxes_unattended_file_get_src_path ((BoxesUnattendedFile*) _data_->self);
#line 439 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp14_ = _data_->_tmp13_;
#line 439 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp15_ = _data_->self->priv->dest_format;
#line 439 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp16_ = _data_->_tmp15_->width;
#line 439 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp17_ = _data_->self->priv->dest_format;
#line 439 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp18_ = _data_->_tmp17_->height;
#line 439 "/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 439 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->pixbuf = _data_->_tmp19_;
#line 439 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 5517 "unattended-installer.c"
			goto __catch59_g_error;
		}
#line 441 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp21_ = _data_->self->priv->dest_format;
#line 441 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp22_ = _data_->_tmp21_->alpha;
#line 441 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (!_data_->_tmp22_) {
#line 441 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp23_ = _data_->pixbuf;
#line 441 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp24_ = FALSE;
#line 441 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp24_ = gdk_pixbuf_get_has_alpha (_data_->_tmp23_);
#line 441 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp20_ = _data_->_tmp24_;
#line 5534 "unattended-installer.c"
		} else {
#line 441 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp20_ = FALSE;
#line 5538 "unattended-installer.c"
		}
#line 441 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp25_ = _data_->_tmp20_;
#line 441 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_tmp25_) {
#line 442 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp26_ = _data_->pixbuf;
#line 442 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp27_ = NULL;
#line 442 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp27_ = boxes_remove_alpha (_data_->_tmp26_);
#line 442 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->pixbuf);
#line 442 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->pixbuf = _data_->_tmp27_;
#line 5554 "unattended-installer.c"
		}
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp28_ = _data_->destination_path;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_debug ("unattended-installer.vala:444: Saving user avatar file at '%s'..", _data_->_tmp28_);
#line 445 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp29_ = _data_->pixbuf;
#line 445 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp30_ = _data_->destination_path;
#line 445 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp31_ = _data_->self->priv->dest_format;
#line 445 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp32_ = _data_->_tmp31_->type;
#line 445 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		gdk_pixbuf_save (_data_->_tmp29_, _data_->_tmp30_, _data_->_tmp32_, &_data_->_inner_error_, NULL);
#line 445 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 445 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->pixbuf);
#line 5574 "unattended-installer.c"
			goto __catch59_g_error;
		}
#line 446 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp33_ = _data_->destination_path;
#line 446 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_debug ("unattended-installer.vala:446: Saved user avatar file at '%s'.", _data_->_tmp33_);
#line 438 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->pixbuf);
#line 5583 "unattended-installer.c"
	}
	goto __finally59;
	__catch59_g_error:
	{
#line 438 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 438 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_inner_error_ = NULL;
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp34_ = _data_->_error_;
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp35_ = _data_->_tmp34_->message;
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_warning ("unattended-installer.vala:448: Failed to save user avatar: %s.", _data_->_tmp35_);
#line 438 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_error_free0 (_data_->_error_);
#line 5600 "unattended-installer.c"
	}
	__finally59:
#line 438 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 438 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 438 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 438 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->destination_path);
#line 438 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 438 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5615 "unattended-installer.c"
		} else {
#line 438 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 5619 "unattended-installer.c"
		}
#line 438 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 438 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 5625 "unattended-installer.c"
	}
#line 451 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp36_ = _data_->destination_path;
#line 451 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp37_ = NULL;
#line 451 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp37_ = g_file_new_for_path (_data_->_tmp36_);
#line 451 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->result = _data_->_tmp37_;
#line 451 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->destination_path);
#line 451 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 451 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5641 "unattended-installer.c"
	} else {
#line 451 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 5645 "unattended-installer.c"
	}
#line 451 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 451 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 434 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->destination_path);
#line 434 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 434 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5657 "unattended-installer.c"
	} else {
#line 434 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 5661 "unattended-installer.c"
	}
#line 434 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 434 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 5667 "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 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedAvatarFile*) base;
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->_src_path;
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp0_;
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 5683 "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 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedAvatarFile*) base;
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = value;
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_src_path);
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->_src_path = _tmp1_;
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject *) self, "src-path");
#line 5703 "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 421 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedAvatarFile*) base;
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->_dest_name;
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp0_;
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 5719 "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 421 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedAvatarFile*) base;
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = value;
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_dest_name);
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->_dest_name = _tmp1_;
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject *) self, "dest-name");
#line 5739 "unattended-installer.c"
}


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


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


static void boxes_unattended_avatar_file_class_init (BoxesUnattendedAvatarFileClass * klass) {
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_avatar_file_parent_class = g_type_class_peek_parent (klass);
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_type_class_add_private (klass, sizeof (BoxesUnattendedAvatarFilePrivate));
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_unattended_avatar_file_get_property;
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_boxes_unattended_avatar_file_set_property;
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_unattended_avatar_file_finalize;
#line 419 "/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 419 "/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 419 "/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 5796 "unattended-installer.c"
}


static void boxes_unattended_avatar_file_boxes_unattended_file_interface_init (BoxesUnattendedFileIface * iface) {
#line 419 "/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 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->create = (GFile* (*)(BoxesUnattendedFile*, GCancellable*, GError**)) boxes_unattended_avatar_file_real_create;
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->create_finish = boxes_unattended_avatar_file_real_create_finish;
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_src_path = boxes_unattended_avatar_file_real_get_src_path;
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->set_src_path = boxes_unattended_avatar_file_real_set_src_path;
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_dest_name = boxes_unattended_avatar_file_real_get_dest_name;
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->set_dest_name = boxes_unattended_avatar_file_real_set_dest_name;
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_installer = boxes_unattended_avatar_file_real_get_installer;
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->set_installer = boxes_unattended_avatar_file_real_set_installer;
#line 5819 "unattended-installer.c"
}


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


static void boxes_unattended_avatar_file_finalize (GObject* obj) {
	BoxesUnattendedAvatarFile * self;
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_UNATTENDED_AVATAR_FILE, BoxesUnattendedAvatarFile);
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_src_path);
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_dest_name);
#line 423 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->_installer);
#line 425 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_avatar_format_unref0 (self->priv->dest_format);
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (boxes_unattended_avatar_file_parent_class)->finalize (obj);
#line 5844 "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 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (property_id) {
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_SRC_PATH:
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_string (value, boxes_unattended_file_get_src_path ((BoxesUnattendedFile*) self));
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_DEST_NAME:
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_string (value, boxes_unattended_file_get_dest_name ((BoxesUnattendedFile*) self));
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_INSTALLER:
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_object (value, boxes_unattended_file_get_installer ((BoxesUnattendedFile*) self));
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 5885 "unattended-installer.c"
		default:
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 5891 "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 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (property_id) {
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_SRC_PATH:
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_file_set_src_path ((BoxesUnattendedFile*) self, g_value_get_string (value));
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_DEST_NAME:
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_file_set_dest_name ((BoxesUnattendedFile*) self, g_value_get_string (value));
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_INSTALLER:
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_file_set_installer ((BoxesUnattendedFile*) self, g_value_get_object (value));
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 5919 "unattended-installer.c"
		default:
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 5925 "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 462 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (type != NULL, NULL);
#line 462 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (extension != NULL, NULL);
#line 462 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (AvatarFormat*) g_type_create_instance (object_type);
#line 467 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = type;
#line 467 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 467 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->type);
#line 467 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->type = _tmp1_;
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = extension;
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = g_strdup (_tmp2_);
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->extension);
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->extension = _tmp3_;
#line 469 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = alpha;
#line 469 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->alpha = _tmp4_;
#line 470 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = width;
#line 470 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->width = _tmp5_;
#line 471 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = height;
#line 471 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->height = _tmp6_;
#line 462 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return self;
#line 5975 "unattended-installer.c"
}


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


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


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


static void value_avatar_format_copy_value (const GValue* src_value, GValue* dest_value) {
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (src_value->data[0].v_pointer) {
#line 455 "/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 6008 "unattended-installer.c"
	} else {
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		dest_value->data[0].v_pointer = NULL;
#line 6012 "unattended-installer.c"
	}
}


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


static gchar* value_avatar_format_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (collect_values[0].v_pointer) {
#line 6027 "unattended-installer.c"
		AvatarFormat* object;
		object = collect_values[0].v_pointer;
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (object->parent_instance.g_class == NULL) {
#line 455 "/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 6034 "unattended-installer.c"
		} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 455 "/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 6038 "unattended-installer.c"
		}
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		value->data[0].v_pointer = avatar_format_ref (object);
#line 6042 "unattended-installer.c"
	} else {
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		value->data[0].v_pointer = NULL;
#line 6046 "unattended-installer.c"
	}
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return NULL;
#line 6050 "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 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (!object_p) {
#line 455 "/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 6061 "unattended-installer.c"
	}
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (!value->data[0].v_pointer) {
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		*object_p = NULL;
#line 6067 "unattended-installer.c"
	} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		*object_p = value->data[0].v_pointer;
#line 6071 "unattended-installer.c"
	} else {
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		*object_p = avatar_format_ref (value->data[0].v_pointer);
#line 6075 "unattended-installer.c"
	}
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return NULL;
#line 6079 "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 455 "/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 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_PARAM_SPEC (spec)->value_type = object_type;
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return G_PARAM_SPEC (spec);
#line 6093 "unattended-installer.c"
}


gpointer value_get_avatar_format (const GValue* value) {
#line 455 "/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 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return value->data[0].v_pointer;
#line 6102 "unattended-installer.c"
}


void value_set_avatar_format (GValue* value, gpointer v_object) {
	AvatarFormat* old;
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_AVATAR_FORMAT));
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	old = value->data[0].v_pointer;
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (v_object) {
#line 455 "/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 455 "/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 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		value->data[0].v_pointer = v_object;
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		avatar_format_ref (value->data[0].v_pointer);
#line 6122 "unattended-installer.c"
	} else {
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		value->data[0].v_pointer = NULL;
#line 6126 "unattended-installer.c"
	}
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (old) {
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		avatar_format_unref (old);
#line 6132 "unattended-installer.c"
	}
}


void value_take_avatar_format (GValue* value, gpointer v_object) {
	AvatarFormat* old;
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_AVATAR_FORMAT));
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	old = value->data[0].v_pointer;
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (v_object) {
#line 455 "/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 455 "/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 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		value->data[0].v_pointer = v_object;
#line 6151 "unattended-installer.c"
	} else {
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		value->data[0].v_pointer = NULL;
#line 6155 "unattended-installer.c"
	}
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (old) {
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		avatar_format_unref (old);
#line 6161 "unattended-installer.c"
	}
}


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


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


static void avatar_format_finalize (AvatarFormat* obj) {
	AvatarFormat * self;
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_AVATAR_FORMAT, AvatarFormat);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->type);
#line 457 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->extension);
#line 6190 "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 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_atomic_int_inc (&self->ref_count);
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return instance;
#line 6215 "unattended-installer.c"
}


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


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


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


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



