/* unattended-file.c generated by valac 0.20.0.2-fd7ed, the Vala compiler
 * generated from unattended-file.vala, do not modify */

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

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


#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 BOXES_TYPE_INSTALLER_MEDIA (boxes_installer_media_get_type ())
#define BOXES_INSTALLER_MEDIA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMedia))
#define BOXES_INSTALLER_MEDIA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMediaClass))
#define BOXES_IS_INSTALLER_MEDIA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_INSTALLER_MEDIA))
#define BOXES_IS_INSTALLER_MEDIA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_INSTALLER_MEDIA))
#define BOXES_INSTALLER_MEDIA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMediaClass))

typedef struct _BoxesInstallerMedia BoxesInstallerMedia;
typedef struct _BoxesInstallerMediaClass BoxesInstallerMediaClass;

#define BOXES_TYPE_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;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
typedef struct _BoxesInstallerMediaPrivate BoxesInstallerMediaPrivate;
typedef struct _BoxesUnattendedInstallerPrivate BoxesUnattendedInstallerPrivate;
#define _g_free0(var) (var = (g_free (var), NULL))
typedef struct _BoxesUnattendedFileCopyData BoxesUnattendedFileCopyData;

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

typedef struct _BoxesUnattendedRawFile BoxesUnattendedRawFile;
typedef struct _BoxesUnattendedRawFileClass BoxesUnattendedRawFileClass;
typedef struct _BoxesUnattendedRawFilePrivate BoxesUnattendedRawFilePrivate;
typedef struct _BoxesUnattendedRawFileGetSourceFileData BoxesUnattendedRawFileGetSourceFileData;

#define BOXES_TYPE_UNATTENDED_SCRIPT_FILE (boxes_unattended_script_file_get_type ())
#define BOXES_UNATTENDED_SCRIPT_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_UNATTENDED_SCRIPT_FILE, BoxesUnattendedScriptFile))
#define BOXES_UNATTENDED_SCRIPT_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_UNATTENDED_SCRIPT_FILE, BoxesUnattendedScriptFileClass))
#define BOXES_IS_UNATTENDED_SCRIPT_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UNATTENDED_SCRIPT_FILE))
#define BOXES_IS_UNATTENDED_SCRIPT_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_UNATTENDED_SCRIPT_FILE))
#define BOXES_UNATTENDED_SCRIPT_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_UNATTENDED_SCRIPT_FILE, BoxesUnattendedScriptFileClass))

typedef struct _BoxesUnattendedScriptFile BoxesUnattendedScriptFile;
typedef struct _BoxesUnattendedScriptFileClass BoxesUnattendedScriptFileClass;
typedef struct _BoxesUnattendedScriptFilePrivate BoxesUnattendedScriptFilePrivate;
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
typedef struct _BoxesUnattendedScriptFileGetSourceFileData BoxesUnattendedScriptFileGetSourceFileData;

#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 _BoxesUnattendedAvatarFilePrivate BoxesUnattendedAvatarFilePrivate;
#define __vala_GdkPixbufFormat_free0(var) ((var == NULL) ? NULL : (var = (_vala_GdkPixbufFormat_free (var), NULL)))
#define _g_list_free0(var) ((var == NULL) ? NULL : (var = (g_list_free (var), NULL)))
#define _g_slist_free0(var) ((var == NULL) ? NULL : (var = (g_slist_free (var), NULL)))
typedef struct _BoxesUnattendedAvatarFileGetSourceFileData BoxesUnattendedAvatarFileGetSourceFileData;

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

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

struct _BoxesInstallerMediaClass {
	GObjectClass parent_class;
	void (*set_direct_boot_params) (BoxesInstallerMedia* self, GVirConfigDomainOs* os);
	void (*prepare) (BoxesInstallerMedia* self, BoxesActivityProgress* progress, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*prepare_finish) (BoxesInstallerMedia* self, GAsyncResult* _res_);
	void (*prepare_for_installation) (BoxesInstallerMedia* self, const gchar* vm_name, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*prepare_for_installation_finish) (BoxesInstallerMedia* self, GAsyncResult* _res_, GError** error);
	void (*prepare_to_continue_installation) (BoxesInstallerMedia* self, const gchar* vm_name);
	void (*clean_up) (BoxesInstallerMedia* self);
	void (*setup_domain_config) (BoxesInstallerMedia* self, GVirConfigDomain* domain);
	void (*setup_post_install_domain_config) (BoxesInstallerMedia* self, GVirConfigDomain* domain);
	void (*populate_setup_vbox) (BoxesInstallerMedia* self, GtkBox* setup_vbox);
	GList* (*get_vm_properties) (BoxesInstallerMedia* self);
	guint64 (*get_installed_size) (BoxesInstallerMedia* self);
	gboolean (*get_need_user_input_for_vm_creation) (BoxesInstallerMedia* self);
	gboolean (*get_ready_to_create) (BoxesInstallerMedia* self);
};

struct _BoxesUnattendedInstaller {
	BoxesInstallerMedia parent_instance;
	BoxesUnattendedInstallerPrivate * priv;
	GFile* disk_file;
	GFile* secondary_disk_file;
	GFile* kernel_file;
	GFile* initrd_file;
	OsinfoInstallConfig* config;
	OsinfoInstallScriptList* scripts;
};

struct _BoxesUnattendedInstallerClass {
	BoxesInstallerMediaClass parent_class;
};

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

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

struct _BoxesUnattendedRawFileClass {
	GObjectClass parent_class;
};

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

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

struct _BoxesUnattendedScriptFile {
	GObject parent_instance;
	BoxesUnattendedScriptFilePrivate * priv;
};

struct _BoxesUnattendedScriptFileClass {
	GObjectClass parent_class;
};

struct _BoxesUnattendedScriptFilePrivate {
	gchar* _dest_name;
	gchar* _src_path;
	BoxesUnattendedInstaller* _installer;
	OsinfoInstallScript* _script;
	GFile* unattended_tmp;
};

struct _BoxesUnattendedScriptFileGetSourceFileData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedScriptFile* self;
	GCancellable* cancellable;
	GFile* result;
	BoxesUnattendedInstaller* _tmp0_;
	BoxesUnattendedInstaller* _tmp1_;
	OsinfoInstallScript* _tmp2_;
	gchar* _tmp3_;
	gchar* _tmp4_;
	GFile* _tmp5_;
	GFile* _tmp6_;
	GFile* output_dir;
	OsinfoInstallScript* _tmp7_;
	BoxesUnattendedInstaller* _tmp8_;
	BoxesUnattendedInstaller* _tmp9_;
	OsinfoOs* _tmp10_;
	BoxesUnattendedInstaller* _tmp11_;
	BoxesUnattendedInstaller* _tmp12_;
	OsinfoInstallConfig* _tmp13_;
	GCancellable* _tmp14_;
	GFile* _tmp15_;
	GFile* _tmp16_;
	GFile* _tmp17_;
	GFile* _tmp18_;
	GError * _inner_error_;
};

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

struct _BoxesUnattendedAvatarFileClass {
	GObjectClass parent_class;
};

struct _BoxesUnattendedAvatarFilePrivate {
	gchar* _dest_name;
	gchar* _src_path;
	BoxesUnattendedInstaller* _installer;
	GFile* unattended_tmp;
	OsinfoAvatarFormat* avatar_format;
	GdkPixbufFormat* pixbuf_format;
};

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


static gpointer boxes_unattended_raw_file_parent_class = NULL;
static BoxesUnattendedFileIface* boxes_unattended_raw_file_boxes_unattended_file_parent_iface = NULL;
static gpointer boxes_unattended_script_file_parent_class = NULL;
static BoxesUnattendedFileIface* boxes_unattended_script_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;

GType boxes_installer_media_get_type (void) G_GNUC_CONST;
GType boxes_unattended_installer_get_type (void) G_GNUC_CONST;
GType boxes_unattended_file_get_type (void) G_GNUC_CONST;
static void boxes_unattended_file_copy_data_free (gpointer _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);
static gboolean boxes_unattended_file_copy_co (BoxesUnattendedFileCopyData* _data_);
void boxes_unattended_file_get_source_file (BoxesUnattendedFile* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
GFile* boxes_unattended_file_get_source_file_finish (BoxesUnattendedFile* self, GAsyncResult* _res_, GError** error);
static void boxes_unattended_file_copy_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
const gchar* boxes_unattended_file_get_dest_name (BoxesUnattendedFile* self);
BoxesUnattendedInstaller* boxes_unattended_file_get_installer (BoxesUnattendedFile* self);
const gchar* boxes_unattended_file_get_src_path (BoxesUnattendedFile* self);
void boxes_unattended_file_set_src_path (BoxesUnattendedFile* self, const gchar* value);
void boxes_unattended_file_set_dest_name (BoxesUnattendedFile* self, const gchar* value);
void boxes_unattended_file_set_installer (BoxesUnattendedFile* self, BoxesUnattendedInstaller* value);
GType boxes_unattended_raw_file_get_type (void) G_GNUC_CONST;
#define BOXES_UNATTENDED_RAW_FILE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_UNATTENDED_RAW_FILE, BoxesUnattendedRawFilePrivate))
enum  {
	BOXES_UNATTENDED_RAW_FILE_DUMMY_PROPERTY,
	BOXES_UNATTENDED_RAW_FILE_DEST_NAME,
	BOXES_UNATTENDED_RAW_FILE_SRC_PATH,
	BOXES_UNATTENDED_RAW_FILE_INSTALLER
};
BoxesUnattendedRawFile* boxes_unattended_raw_file_new (BoxesUnattendedInstaller* installer, const gchar* src_path, const gchar* dest_name);
BoxesUnattendedRawFile* boxes_unattended_raw_file_construct (GType object_type, BoxesUnattendedInstaller* installer, const gchar* src_path, const gchar* dest_name);
static void boxes_unattended_raw_file_real_get_source_file_data_free (gpointer _data);
static void boxes_unattended_raw_file_real_get_source_file (BoxesUnattendedFile* base, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean boxes_unattended_raw_file_real_get_source_file_co (BoxesUnattendedRawFileGetSourceFileData* _data_);
static void boxes_unattended_raw_file_finalize (GObject* obj);
static void _vala_boxes_unattended_raw_file_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_boxes_unattended_raw_file_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
GType boxes_unattended_script_file_get_type (void) G_GNUC_CONST;
#define BOXES_UNATTENDED_SCRIPT_FILE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_UNATTENDED_SCRIPT_FILE, BoxesUnattendedScriptFilePrivate))
enum  {
	BOXES_UNATTENDED_SCRIPT_FILE_DUMMY_PROPERTY,
	BOXES_UNATTENDED_SCRIPT_FILE_DEST_NAME,
	BOXES_UNATTENDED_SCRIPT_FILE_SRC_PATH,
	BOXES_UNATTENDED_SCRIPT_FILE_INSTALLER,
	BOXES_UNATTENDED_SCRIPT_FILE_SCRIPT
};
BoxesUnattendedScriptFile* boxes_unattended_script_file_new (BoxesUnattendedInstaller* installer, OsinfoInstallScript* script, const gchar* dest_name);
BoxesUnattendedScriptFile* boxes_unattended_script_file_construct (GType object_type, BoxesUnattendedInstaller* installer, OsinfoInstallScript* script, const gchar* dest_name);
void boxes_unattended_script_file_set_script (BoxesUnattendedScriptFile* self, OsinfoInstallScript* value);
static void boxes_unattended_script_file_real_get_source_file_data_free (gpointer _data);
static void boxes_unattended_script_file_real_get_source_file (BoxesUnattendedFile* base, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean boxes_unattended_script_file_real_get_source_file_co (BoxesUnattendedScriptFileGetSourceFileData* _data_);
void boxes_unattended_installer_configure_install_script (BoxesUnattendedInstaller* self, OsinfoInstallScript* script);
OsinfoInstallScript* boxes_unattended_script_file_get_script (BoxesUnattendedScriptFile* self);
static void boxes_unattended_script_file_get_source_file_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void boxes_unattended_script_file_finalize (GObject* obj);
static void _vala_boxes_unattended_script_file_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_boxes_unattended_script_file_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
GType boxes_unattended_avatar_file_get_type (void) G_GNUC_CONST;
#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_DEST_NAME,
	BOXES_UNATTENDED_AVATAR_FILE_SRC_PATH,
	BOXES_UNATTENDED_AVATAR_FILE_INSTALLER
};
static void _vala_GdkPixbufFormat_free (GdkPixbufFormat* self);
BoxesUnattendedAvatarFile* boxes_unattended_avatar_file_new (BoxesUnattendedInstaller* installer, const gchar* src_path, OsinfoAvatarFormat* avatar_format, GError** error);
BoxesUnattendedAvatarFile* boxes_unattended_avatar_file_construct (GType object_type, BoxesUnattendedInstaller* installer, const gchar* src_path, OsinfoAvatarFormat* avatar_format, GError** error);
static gboolean _vala_string_array_contains (gchar** stack, int stack_length, gchar* needle);
static GdkPixbufFormat* _vala_GdkPixbufFormat_copy (GdkPixbufFormat* self);
const gchar* boxes_unattended_installer_get_username (BoxesUnattendedInstaller* self);
static void boxes_unattended_avatar_file_real_get_source_file_data_free (gpointer _data);
static void boxes_unattended_avatar_file_real_get_source_file (BoxesUnattendedFile* base, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean boxes_unattended_avatar_file_real_get_source_file_co (BoxesUnattendedAvatarFileGetSourceFileData* _data_);
gchar* boxes_unattended_installer_get_user_unattended (BoxesUnattendedInstaller* self, const gchar* suffix);
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);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);
static gint _vala_array_length (gpointer array);


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


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


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


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


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


static gboolean boxes_unattended_file_copy_co (BoxesUnattendedFileCopyData* _data_) {
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	switch (_data_->_state_) {
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case 0:
#line 524 "unattended-file.c"
		goto _state_0;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case 1:
#line 528 "unattended-file.c"
		goto _state_1;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case 2:
#line 532 "unattended-file.c"
		goto _state_2;
		default:
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_assert_not_reached ();
#line 537 "unattended-file.c"
	}
	_state_0:
#line 12 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp0_ = _data_->cancellable;
#line 12 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_state_ = 1;
#line 12 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_file_get_source_file (_data_->self, _data_->_tmp0_, boxes_unattended_file_copy_ready, _data_);
#line 12 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return FALSE;
#line 548 "unattended-file.c"
	_state_1:
#line 12 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp1_ = NULL;
#line 12 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp1_ = boxes_unattended_file_get_source_file_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 12 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->source_file = _data_->_tmp1_;
#line 12 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (_data_->_inner_error_ != NULL) {
#line 12 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 12 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_error_free (_data_->_inner_error_);
#line 12 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (_data_->_state_ == 0) {
#line 12 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 566 "unattended-file.c"
		} else {
#line 12 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 570 "unattended-file.c"
		}
#line 12 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_object_unref (_data_->_async_result);
#line 12 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		return FALSE;
#line 576 "unattended-file.c"
	}
#line 14 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp2_ = boxes_unattended_file_get_dest_name (_data_->self);
#line 14 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp3_ = _data_->_tmp2_;
#line 14 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp4_ = boxes_unattended_file_get_installer (_data_->self);
#line 14 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp5_ = _data_->_tmp4_;
#line 14 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp6_ = _data_->_tmp5_->disk_file;
#line 14 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp7_ = NULL;
#line 14 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp7_ = g_file_get_path (_data_->_tmp6_);
#line 14 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp8_ = _data_->_tmp7_;
#line 14 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_debug ("unattended-file.vala:14: Copying unattended file '%s' into disk drive/" \
"image '%s'", _data_->_tmp3_, _data_->_tmp8_);
#line 14 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (_data_->_tmp8_);
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp9_ = g_strdup ("mcopy");
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp10_ = g_strdup ("-n");
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp11_ = g_strdup ("-o");
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp12_ = g_strdup ("-i");
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp13_ = boxes_unattended_file_get_installer (_data_->self);
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp14_ = _data_->_tmp13_;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp15_ = _data_->_tmp14_->disk_file;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp16_ = NULL;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp16_ = g_file_get_path (_data_->_tmp15_);
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp17_ = _data_->source_file;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp18_ = NULL;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp18_ = g_file_get_path (_data_->_tmp17_);
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp19_ = boxes_unattended_file_get_dest_name (_data_->self);
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp20_ = _data_->_tmp19_;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp21_ = g_strconcat ("::", _data_->_tmp20_, NULL);
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp22_ = NULL;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp22_ = g_new0 (gchar*, 7 + 1);
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp22_[0] = _data_->_tmp9_;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp22_[1] = _data_->_tmp10_;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp22_[2] = _data_->_tmp11_;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp22_[3] = _data_->_tmp12_;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp22_[4] = _data_->_tmp16_;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp22_[5] = _data_->_tmp18_;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp22_[6] = _data_->_tmp21_;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->argv = _data_->_tmp22_;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->argv_length1 = 7;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_argv_size_ = _data_->argv_length1;
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp23_ = _data_->argv;
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp23__length1 = _data_->argv_length1;
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp24_ = _data_->cancellable;
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_state_ = 2;
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_exec (_data_->_tmp23_, _data_->_tmp23__length1, _data_->_tmp24_, boxes_unattended_file_copy_ready, _data_);
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return FALSE;
#line 664 "unattended-file.c"
	_state_2:
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_exec_finish (_data_->_res_, NULL, NULL, &_data_->_inner_error_);
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (_data_->_inner_error_ != NULL) {
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_error_free (_data_->_inner_error_);
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->argv = (_vala_array_free (_data_->argv, _data_->argv_length1, (GDestroyNotify) g_free), NULL);
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_object_unref0 (_data_->source_file);
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (_data_->_state_ == 0) {
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 682 "unattended-file.c"
		} else {
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 686 "unattended-file.c"
		}
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_object_unref (_data_->_async_result);
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		return FALSE;
#line 692 "unattended-file.c"
	}
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp25_ = boxes_unattended_file_get_dest_name (_data_->self);
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp26_ = _data_->_tmp25_;
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp27_ = boxes_unattended_file_get_installer (_data_->self);
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp28_ = _data_->_tmp27_;
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp29_ = _data_->_tmp28_->disk_file;
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp30_ = NULL;
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp30_ = g_file_get_path (_data_->_tmp29_);
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp31_ = _data_->_tmp30_;
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_debug ("unattended-file.vala:20: Copied unattended file '%s' into disk drive/i" \
"mage '%s'", _data_->_tmp26_, _data_->_tmp31_);
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (_data_->_tmp31_);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->argv = (_vala_array_free (_data_->argv, _data_->argv_length1, (GDestroyNotify) g_free), NULL);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->source_file);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (_data_->_state_ == 0) {
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 722 "unattended-file.c"
	} else {
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 726 "unattended-file.c"
	}
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_unref (_data_->_async_result);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return FALSE;
#line 732 "unattended-file.c"
}


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


static gboolean boxes_unattended_raw_file_real_get_source_file_co (BoxesUnattendedRawFileGetSourceFileData* _data_) {
#line 38 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	switch (_data_->_state_) {
#line 38 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case 0:
#line 946 "unattended-file.c"
		goto _state_0;
		default:
#line 38 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_assert_not_reached ();
#line 951 "unattended-file.c"
	}
	_state_0:
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp0_ = boxes_unattended_file_get_src_path ((BoxesUnattendedFile*) _data_->self);
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp2_ = NULL;
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp2_ = g_file_new_for_path (_data_->_tmp1_);
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->result = _data_->_tmp2_;
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (_data_->_state_ == 0) {
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 968 "unattended-file.c"
	} else {
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 972 "unattended-file.c"
	}
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_unref (_data_->_async_result);
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return FALSE;
#line 38 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (_data_->_state_ == 0) {
#line 38 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 982 "unattended-file.c"
	} else {
#line 38 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 986 "unattended-file.c"
	}
#line 38 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_unref (_data_->_async_result);
#line 38 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return FALSE;
#line 992 "unattended-file.c"
}


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


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


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


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


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


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


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


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


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


static void boxes_unattended_raw_file_finalize (GObject* obj) {
	BoxesUnattendedRawFile * self;
#line 26 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_UNATTENDED_RAW_FILE, BoxesUnattendedRawFile);
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (self->priv->_dest_name);
#line 28 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (self->priv->_src_path);
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (self->priv->_installer);
#line 26 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	G_OBJECT_CLASS (boxes_unattended_raw_file_parent_class)->finalize (obj);
#line 1167 "unattended-file.c"
}


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


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


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


BoxesUnattendedScriptFile* boxes_unattended_script_file_construct (GType object_type, BoxesUnattendedInstaller* installer, OsinfoInstallScript* script, const gchar* dest_name) {
	BoxesUnattendedScriptFile * self = NULL;
	BoxesUnattendedInstaller* _tmp0_;
	OsinfoInstallScript* _tmp1_;
	const gchar* _tmp2_;
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_return_val_if_fail (installer != NULL, NULL);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_return_val_if_fail (script != NULL, NULL);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_return_val_if_fail (dest_name != NULL, NULL);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = (BoxesUnattendedScriptFile*) g_object_new (object_type, NULL);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = installer;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_file_set_installer ((BoxesUnattendedFile*) self, _tmp0_);
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp1_ = script;
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_script_file_set_script (self, _tmp1_);
#line 55 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp2_ = dest_name;
#line 55 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_file_set_dest_name ((BoxesUnattendedFile*) self, _tmp2_);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return self;
#line 1280 "unattended-file.c"
}


BoxesUnattendedScriptFile* boxes_unattended_script_file_new (BoxesUnattendedInstaller* installer, OsinfoInstallScript* script, const gchar* dest_name) {
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return boxes_unattended_script_file_construct (BOXES_TYPE_UNATTENDED_SCRIPT_FILE, installer, script, dest_name);
#line 1287 "unattended-file.c"
}


static void boxes_unattended_script_file_real_get_source_file_data_free (gpointer _data) {
	BoxesUnattendedScriptFileGetSourceFileData* _data_;
	_data_ = _data;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->cancellable);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->result);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->self);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_slice_free (BoxesUnattendedScriptFileGetSourceFileData, _data_);
#line 1302 "unattended-file.c"
}


static void boxes_unattended_script_file_real_get_source_file (BoxesUnattendedFile* base, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedScriptFile * self;
	BoxesUnattendedScriptFileGetSourceFileData* _data_;
	BoxesUnattendedScriptFile* _tmp0_;
	GCancellable* _tmp1_;
	GCancellable* _tmp2_;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = (BoxesUnattendedScriptFile*) base;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_ = g_slice_new0 (BoxesUnattendedScriptFileGetSourceFileData);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_script_file_real_get_source_file);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_script_file_real_get_source_file_data_free);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->self = _tmp0_;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp1_ = cancellable;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->cancellable);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->cancellable = _tmp2_;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_script_file_real_get_source_file_co (_data_);
#line 1334 "unattended-file.c"
}


static GFile* boxes_unattended_script_file_real_get_source_file_finish (BoxesUnattendedFile* base, GAsyncResult* _res_, GError** error) {
	GFile* result;
	BoxesUnattendedScriptFileGetSourceFileData* _data_;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		return NULL;
#line 1345 "unattended-file.c"
	}
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	result = _data_->result;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->result = NULL;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return result;
#line 1355 "unattended-file.c"
}


static void boxes_unattended_script_file_get_source_file_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesUnattendedScriptFileGetSourceFileData* _data_;
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_ = _user_data_;
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_source_object_ = source_object;
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_res_ = _res_;
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_script_file_real_get_source_file_co (_data_);
#line 1369 "unattended-file.c"
}


static gboolean boxes_unattended_script_file_real_get_source_file_co (BoxesUnattendedScriptFileGetSourceFileData* _data_) {
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	switch (_data_->_state_) {
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case 0:
#line 1378 "unattended-file.c"
		goto _state_0;
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case 1:
#line 1382 "unattended-file.c"
		goto _state_1;
		default:
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_assert_not_reached ();
#line 1387 "unattended-file.c"
	}
	_state_0:
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp0_ = boxes_unattended_file_get_installer ((BoxesUnattendedFile*) _data_->self);
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp2_ = _data_->self->priv->_script;
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_installer_configure_install_script (_data_->_tmp1_, _data_->_tmp2_);
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp3_ = NULL;
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp3_ = boxes_get_user_pkgcache (NULL);
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp5_ = NULL;
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp5_ = g_file_new_for_path (_data_->_tmp4_);
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (_data_->_tmp4_);
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->output_dir = _data_->_tmp6_;
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp7_ = _data_->self->priv->_script;
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp8_ = boxes_unattended_file_get_installer ((BoxesUnattendedFile*) _data_->self);
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp9_ = _data_->_tmp8_;
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp10_ = ((BoxesInstallerMedia*) _data_->_tmp9_)->os;
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp11_ = boxes_unattended_file_get_installer ((BoxesUnattendedFile*) _data_->self);
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp12_ = _data_->_tmp11_;
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp13_ = _data_->_tmp12_->config;
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp14_ = _data_->cancellable;
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_state_ = 1;
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	osinfo_install_script_generate_output_async (_data_->_tmp7_, _data_->_tmp10_, _data_->_tmp13_, _data_->output_dir, _data_->_tmp14_, boxes_unattended_script_file_get_source_file_ready, _data_);
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return FALSE;
#line 1436 "unattended-file.c"
	_state_1:
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp15_ = NULL;
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp15_ = osinfo_install_script_generate_output_finish (_data_->_tmp7_, _data_->_res_, &_data_->_inner_error_);
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp16_ = _data_->_tmp15_;
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (_data_->_inner_error_ != NULL) {
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_error_free (_data_->_inner_error_);
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_object_unref0 (_data_->output_dir);
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (_data_->_state_ == 0) {
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1456 "unattended-file.c"
		} else {
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1460 "unattended-file.c"
		}
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_object_unref (_data_->_async_result);
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		return FALSE;
#line 1466 "unattended-file.c"
	}
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->self->priv->unattended_tmp);
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->self->priv->unattended_tmp = _data_->_tmp16_;
#line 75 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp17_ = _data_->self->priv->unattended_tmp;
#line 75 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp18_ = _g_object_ref0 (_data_->_tmp17_);
#line 75 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->result = _data_->_tmp18_;
#line 75 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->output_dir);
#line 75 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (_data_->_state_ == 0) {
#line 75 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1484 "unattended-file.c"
	} else {
#line 75 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1488 "unattended-file.c"
	}
#line 75 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_unref (_data_->_async_result);
#line 75 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return FALSE;
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->output_dir);
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (_data_->_state_ == 0) {
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1500 "unattended-file.c"
	} else {
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1504 "unattended-file.c"
	}
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_unref (_data_->_async_result);
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return FALSE;
#line 1510 "unattended-file.c"
}


static const gchar* boxes_unattended_script_file_real_get_dest_name (BoxesUnattendedFile* base) {
	const gchar* result;
	BoxesUnattendedScriptFile* self;
	const gchar* _tmp0_;
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = (BoxesUnattendedScriptFile*) base;
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = self->priv->_dest_name;
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	result = _tmp0_;
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return result;
#line 1526 "unattended-file.c"
}


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


static const gchar* boxes_unattended_script_file_real_get_src_path (BoxesUnattendedFile* base) {
	const gchar* result;
	BoxesUnattendedScriptFile* self;
	const gchar* _tmp0_;
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = (BoxesUnattendedScriptFile*) base;
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = self->priv->_src_path;
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	result = _tmp0_;
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return result;
#line 1562 "unattended-file.c"
}


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


static BoxesUnattendedInstaller* boxes_unattended_script_file_real_get_installer (BoxesUnattendedFile* base) {
	BoxesUnattendedInstaller* result;
	BoxesUnattendedScriptFile* self;
	BoxesUnattendedInstaller* _tmp0_;
#line 47 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = (BoxesUnattendedScriptFile*) base;
#line 47 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = self->priv->_installer;
#line 47 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	result = _tmp0_;
#line 47 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return result;
#line 1598 "unattended-file.c"
}


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


OsinfoInstallScript* boxes_unattended_script_file_get_script (BoxesUnattendedScriptFile* self) {
	OsinfoInstallScript* result;
	OsinfoInstallScript* _tmp0_;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = self->priv->_script;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	result = _tmp0_;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return result;
#line 1633 "unattended-file.c"
}


void boxes_unattended_script_file_set_script (BoxesUnattendedScriptFile* self, OsinfoInstallScript* value) {
	OsinfoInstallScript* _tmp0_;
	OsinfoInstallScript* _tmp1_;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_return_if_fail (self != NULL);
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = value;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (self->priv->_script);
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self->priv->_script = _tmp1_;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_notify ((GObject *) self, "script");
#line 1652 "unattended-file.c"
}


static void boxes_unattended_script_file_class_init (BoxesUnattendedScriptFileClass * klass) {
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_script_file_parent_class = g_type_class_peek_parent (klass);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_type_class_add_private (klass, sizeof (BoxesUnattendedScriptFilePrivate));
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_unattended_script_file_get_property;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_boxes_unattended_script_file_set_property;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_unattended_script_file_finalize;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_SCRIPT_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 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_SCRIPT_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 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_SCRIPT_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 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_SCRIPT_FILE_SCRIPT, g_param_spec_object ("script", "script", "script", osinfo_install_script_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 1675 "unattended-file.c"
}


static void boxes_unattended_script_file_boxes_unattended_file_interface_init (BoxesUnattendedFileIface * iface) {
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_script_file_boxes_unattended_file_parent_iface = g_type_interface_peek_parent (iface);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	iface->get_source_file = (GFile* (*)(BoxesUnattendedFile*, GCancellable*, GError**)) boxes_unattended_script_file_real_get_source_file;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	iface->get_source_file_finish = boxes_unattended_script_file_real_get_source_file_finish;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	iface->get_dest_name = boxes_unattended_script_file_real_get_dest_name;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	iface->set_dest_name = boxes_unattended_script_file_real_set_dest_name;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	iface->get_src_path = boxes_unattended_script_file_real_get_src_path;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	iface->set_src_path = boxes_unattended_script_file_real_set_src_path;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	iface->get_installer = boxes_unattended_script_file_real_get_installer;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	iface->set_installer = boxes_unattended_script_file_real_set_installer;
#line 1698 "unattended-file.c"
}


static void boxes_unattended_script_file_instance_init (BoxesUnattendedScriptFile * self) {
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self->priv = BOXES_UNATTENDED_SCRIPT_FILE_GET_PRIVATE (self);
#line 1705 "unattended-file.c"
}


static void boxes_unattended_script_file_finalize (GObject* obj) {
	BoxesUnattendedScriptFile * self;
	GFile* _tmp0_;
	GError * _inner_error_ = NULL;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_UNATTENDED_SCRIPT_FILE, BoxesUnattendedScriptFile);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = self->priv->unattended_tmp;
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (_tmp0_ == NULL) {
#line 1719 "unattended-file.c"
		goto _return;
	}
	{
		GFile* _tmp1_;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_tmp1_ = self->priv->unattended_tmp;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		boxes_delete_file (_tmp1_, &_inner_error_);
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (_inner_error_ != NULL) {
#line 1730 "unattended-file.c"
			goto __catch77_g_error;
		}
	}
	goto __finally77;
	__catch77_g_error:
	{
		GError* e = NULL;
		GFile* _tmp2_;
		gchar* _tmp3_ = NULL;
		gchar* _tmp4_;
		GError* _tmp5_;
		const gchar* _tmp6_;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		e = _inner_error_;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_inner_error_ = NULL;
#line 65 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_tmp2_ = self->priv->unattended_tmp;
#line 65 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_tmp3_ = g_file_get_path (_tmp2_);
#line 65 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_tmp4_ = _tmp3_;
#line 65 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_tmp5_ = e;
#line 65 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_tmp6_ = _tmp5_->message;
#line 65 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_warning ("unattended-file.vala:65: Error deleting %s: %s", _tmp4_, _tmp6_);
#line 65 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_free0 (_tmp4_);
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_error_free0 (e);
#line 1763 "unattended-file.c"
	}
	__finally77:
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (_inner_error_ != NULL) {
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.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 62 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_clear_error (&_inner_error_);
#line 1772 "unattended-file.c"
	}
	_return:
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (self->priv->_dest_name);
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (self->priv->_src_path);
#line 47 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (self->priv->_installer);
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (self->priv->_script);
#line 50 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (self->priv->unattended_tmp);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	G_OBJECT_CLASS (boxes_unattended_script_file_parent_class)->finalize (obj);
#line 1787 "unattended-file.c"
}


GType boxes_unattended_script_file_get_type (void) {
	static volatile gsize boxes_unattended_script_file_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_unattended_script_file_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesUnattendedScriptFileClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_unattended_script_file_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesUnattendedScriptFile), 0, (GInstanceInitFunc) boxes_unattended_script_file_instance_init, NULL };
		static const GInterfaceInfo boxes_unattended_file_info = { (GInterfaceInitFunc) boxes_unattended_script_file_boxes_unattended_file_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType boxes_unattended_script_file_type_id;
		boxes_unattended_script_file_type_id = g_type_register_static (G_TYPE_OBJECT, "BoxesUnattendedScriptFile", &g_define_type_info, 0);
		g_type_add_interface_static (boxes_unattended_script_file_type_id, BOXES_TYPE_UNATTENDED_FILE, &boxes_unattended_file_info);
		g_once_init_leave (&boxes_unattended_script_file_type_id__volatile, boxes_unattended_script_file_type_id);
	}
	return boxes_unattended_script_file_type_id__volatile;
}


static void _vala_boxes_unattended_script_file_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	BoxesUnattendedScriptFile * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_UNATTENDED_SCRIPT_FILE, BoxesUnattendedScriptFile);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	switch (property_id) {
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_SCRIPT_FILE_DEST_NAME:
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_value_set_string (value, boxes_unattended_file_get_dest_name ((BoxesUnattendedFile*) self));
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_SCRIPT_FILE_SRC_PATH:
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_value_set_string (value, boxes_unattended_file_get_src_path ((BoxesUnattendedFile*) self));
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_SCRIPT_FILE_INSTALLER:
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_value_set_object (value, boxes_unattended_file_get_installer ((BoxesUnattendedFile*) self));
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_SCRIPT_FILE_SCRIPT:
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_value_set_object (value, boxes_unattended_script_file_get_script (self));
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 1834 "unattended-file.c"
		default:
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 1840 "unattended-file.c"
	}
}


static void _vala_boxes_unattended_script_file_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	BoxesUnattendedScriptFile * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_UNATTENDED_SCRIPT_FILE, BoxesUnattendedScriptFile);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	switch (property_id) {
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_SCRIPT_FILE_DEST_NAME:
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		boxes_unattended_file_set_dest_name ((BoxesUnattendedFile*) self, g_value_get_string (value));
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_SCRIPT_FILE_SRC_PATH:
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		boxes_unattended_file_set_src_path ((BoxesUnattendedFile*) self, g_value_get_string (value));
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_SCRIPT_FILE_INSTALLER:
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		boxes_unattended_file_set_installer ((BoxesUnattendedFile*) self, g_value_get_object (value));
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_SCRIPT_FILE_SCRIPT:
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		boxes_unattended_script_file_set_script (self, g_value_get_object (value));
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 1874 "unattended-file.c"
		default:
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 1880 "unattended-file.c"
	}
}


static void _vala_GdkPixbufFormat_free (GdkPixbufFormat* self) {
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_boxed_free (gdk_pixbuf_format_get_type (), self);
#line 1888 "unattended-file.c"
}


static gboolean _vala_string_array_contains (gchar** stack, int stack_length, gchar* needle) {
	int i;
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	for (i = 0; i < stack_length; i++) {
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (g_strcmp0 (stack[i], needle) == 0) {
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			return TRUE;
#line 1900 "unattended-file.c"
		}
	}
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return FALSE;
#line 1905 "unattended-file.c"
}


static GdkPixbufFormat* _vala_GdkPixbufFormat_copy (GdkPixbufFormat* self) {
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return g_boxed_copy (gdk_pixbuf_format_get_type (), self);
#line 1912 "unattended-file.c"
}


static gpointer __vala_GdkPixbufFormat_copy0 (gpointer self) {
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return self ? _vala_GdkPixbufFormat_copy (self) : NULL;
#line 1919 "unattended-file.c"
}


BoxesUnattendedAvatarFile* boxes_unattended_avatar_file_construct (GType object_type, BoxesUnattendedInstaller* installer, const gchar* src_path, OsinfoAvatarFormat* avatar_format, GError** error) {
	BoxesUnattendedAvatarFile * self = NULL;
	BoxesUnattendedInstaller* _tmp0_;
	const gchar* _tmp1_;
	OsinfoAvatarFormat* _tmp2_;
	OsinfoAvatarFormat* _tmp3_;
	GSList* _tmp4_ = NULL;
	GdkPixbufFormat* _tmp24_;
	BoxesUnattendedInstaller* _tmp26_;
	const gchar* _tmp27_;
	const gchar* _tmp28_;
	gchar* _tmp29_;
	gchar* _tmp30_;
	GdkPixbufFormat* _tmp31_;
	gchar** _tmp32_;
	gchar** _tmp33_ = NULL;
	gchar** _tmp34_;
	gint _tmp34__length1;
	const gchar* _tmp35_;
	gchar* _tmp36_;
	gchar* _tmp37_;
	GError * _inner_error_ = NULL;
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_return_val_if_fail (installer != NULL, NULL);
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_return_val_if_fail (src_path != NULL, NULL);
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = (BoxesUnattendedAvatarFile*) g_object_new (object_type, NULL);
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = installer;
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_file_set_installer ((BoxesUnattendedFile*) self, _tmp0_);
#line 93 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp1_ = src_path;
#line 93 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_file_set_src_path ((BoxesUnattendedFile*) self, _tmp1_);
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp2_ = avatar_format;
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (self->priv->avatar_format);
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self->priv->avatar_format = _tmp3_;
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp4_ = gdk_pixbuf_get_formats ();
#line 1969 "unattended-file.c"
	{
		GSList* format_collection = NULL;
		GSList* format_it = NULL;
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		format_collection = _tmp4_;
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		for (format_it = format_collection; format_it != NULL; format_it = format_it->next) {
#line 1977 "unattended-file.c"
			GdkPixbufFormat* format = NULL;
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			format = (GdkPixbufFormat*) format_it->data;
#line 1981 "unattended-file.c"
			{
				OsinfoAvatarFormat* _tmp5_;
				GdkPixbufFormat* _tmp23_;
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
				_tmp5_ = avatar_format;
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
				if (_tmp5_ != NULL) {
#line 1989 "unattended-file.c"
					OsinfoAvatarFormat* _tmp6_;
					GList* _tmp7_;
					GList* _tmp8_;
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
					_tmp6_ = avatar_format;
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
					_tmp7_ = osinfo_avatar_format_get_mime_types (_tmp6_);
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
					_tmp8_ = _tmp7_;
#line 1999 "unattended-file.c"
					{
						GList* mime_type_collection = NULL;
						GList* mime_type_it = NULL;
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
						mime_type_collection = _tmp8_;
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
						for (mime_type_it = mime_type_collection; mime_type_it != NULL; mime_type_it = mime_type_it->next) {
#line 2007 "unattended-file.c"
							const gchar* mime_type = NULL;
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
							mime_type = (const gchar*) mime_type_it->data;
#line 2011 "unattended-file.c"
							{
								const gchar* _tmp9_;
								GdkPixbufFormat* _tmp10_;
								gchar** _tmp11_;
								gchar** _tmp12_ = NULL;
								gchar** _tmp13_;
								gint _tmp13__length1;
								gboolean _tmp14_;
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
								_tmp9_ = mime_type;
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
								_tmp10_ = format;
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
								_tmp12_ = _tmp11_ = gdk_pixbuf_format_get_mime_types (_tmp10_);
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
								_tmp13_ = _tmp12_;
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
								_tmp13__length1 = _vala_array_length (_tmp11_);
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
								_tmp14_ = _vala_string_array_contains (_tmp13_, _vala_array_length (_tmp11_), _tmp9_);
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
								_tmp13_ = (_vala_array_free (_tmp13_, _tmp13__length1, (GDestroyNotify) g_free), NULL);
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
								if (_tmp14_) {
#line 2036 "unattended-file.c"
									GdkPixbufFormat* _tmp15_;
									GdkPixbufFormat* _tmp16_;
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
									_tmp15_ = format;
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
									_tmp16_ = __vala_GdkPixbufFormat_copy0 (_tmp15_);
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
									__vala_GdkPixbufFormat_free0 (self->priv->pixbuf_format);
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
									self->priv->pixbuf_format = _tmp16_;
#line 103 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
									break;
#line 2049 "unattended-file.c"
								}
							}
						}
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
						_g_list_free0 (mime_type_collection);
#line 2055 "unattended-file.c"
					}
				} else {
					GdkPixbufFormat* _tmp17_;
					gchar* _tmp18_ = NULL;
					gchar* _tmp19_;
					gboolean _tmp20_;
#line 106 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
					_tmp17_ = format;
#line 106 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
					_tmp18_ = gdk_pixbuf_format_get_name (_tmp17_);
#line 106 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
					_tmp19_ = _tmp18_;
#line 106 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
					_tmp20_ = g_strcmp0 (_tmp19_, "png") == 0;
#line 106 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
					_g_free0 (_tmp19_);
#line 106 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
					if (_tmp20_) {
#line 2074 "unattended-file.c"
						GdkPixbufFormat* _tmp21_;
						GdkPixbufFormat* _tmp22_;
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
						_tmp21_ = format;
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
						_tmp22_ = __vala_GdkPixbufFormat_copy0 (_tmp21_);
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
						__vala_GdkPixbufFormat_free0 (self->priv->pixbuf_format);
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
						self->priv->pixbuf_format = _tmp22_;
#line 2085 "unattended-file.c"
					}
				}
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
				_tmp23_ = self->priv->pixbuf_format;
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
				if (_tmp23_ != NULL) {
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
					break;
#line 2094 "unattended-file.c"
				}
			}
		}
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_slist_free0 (format_collection);
#line 2100 "unattended-file.c"
	}
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp24_ = self->priv->pixbuf_format;
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (_tmp24_ == NULL) {
#line 2106 "unattended-file.c"
		GError* _tmp25_;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_tmp25_ = g_error_new_literal (BOXES_ERROR, BOXES_ERROR_INVALID, "Failed to find suitable format to save user avatar file in.");
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_inner_error_ = _tmp25_;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (_inner_error_->domain == BOXES_ERROR) {
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			g_propagate_error (error, _inner_error_);
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_g_object_unref0 (self);
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			return NULL;
#line 2120 "unattended-file.c"
		} else {
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.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 114 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			g_clear_error (&_inner_error_);
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			return NULL;
#line 2128 "unattended-file.c"
		}
	}
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp26_ = installer;
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp27_ = boxes_unattended_installer_get_username (_tmp26_);
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp28_ = _tmp27_;
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp29_ = g_strconcat (_tmp28_, ".", NULL);
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp30_ = _tmp29_;
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp31_ = self->priv->pixbuf_format;
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp33_ = _tmp32_ = gdk_pixbuf_format_get_extensions (_tmp31_);
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp34_ = _tmp33_;
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp34__length1 = _vala_array_length (_tmp32_);
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp35_ = _tmp34_[0];
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp36_ = g_strconcat (_tmp30_, _tmp35_, NULL);
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp37_ = _tmp36_;
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_file_set_dest_name ((BoxesUnattendedFile*) self, _tmp37_);
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (_tmp37_);
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp34_ = (_vala_array_free (_tmp34_, _tmp34__length1, (GDestroyNotify) g_free), NULL);
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (_tmp30_);
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return self;
#line 2165 "unattended-file.c"
}


BoxesUnattendedAvatarFile* boxes_unattended_avatar_file_new (BoxesUnattendedInstaller* installer, const gchar* src_path, OsinfoAvatarFormat* avatar_format, GError** error) {
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return boxes_unattended_avatar_file_construct (BOXES_TYPE_UNATTENDED_AVATAR_FILE, installer, src_path, avatar_format, error);
#line 2172 "unattended-file.c"
}


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


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


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


static gboolean boxes_unattended_avatar_file_real_get_source_file_co (BoxesUnattendedAvatarFileGetSourceFileData* _data_) {
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	switch (_data_->_state_) {
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case 0:
#line 2249 "unattended-file.c"
		goto _state_0;
		default:
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_assert_not_reached ();
#line 2254 "unattended-file.c"
	}
	_state_0:
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp0_ = boxes_unattended_file_get_installer ((BoxesUnattendedFile*) _data_->self);
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp2_ = boxes_unattended_file_get_dest_name ((BoxesUnattendedFile*) _data_->self);
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp3_ = _data_->_tmp2_;
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp4_ = NULL;
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp4_ = boxes_unattended_installer_get_user_unattended (_data_->_tmp1_, _data_->_tmp3_);
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->destination_path = _data_->_tmp4_;
#line 2271 "unattended-file.c"
	{
#line 134 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp6_ = _data_->self->priv->avatar_format;
#line 134 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (_data_->_tmp6_ != NULL) {
#line 134 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp7_ = _data_->self->priv->avatar_format;
#line 134 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp8_ = osinfo_avatar_format_get_width (_data_->_tmp7_);
#line 134 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp9_ = _data_->_tmp8_;
#line 134 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp5_ = _data_->_tmp9_;
#line 2285 "unattended-file.c"
		} else {
#line 134 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp5_ = -1;
#line 2289 "unattended-file.c"
		}
#line 134 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp10_ = _data_->_tmp5_;
#line 134 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->width = _data_->_tmp10_;
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp12_ = _data_->self->priv->avatar_format;
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (_data_->_tmp12_ != NULL) {
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp13_ = _data_->self->priv->avatar_format;
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp14_ = osinfo_avatar_format_get_height (_data_->_tmp13_);
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp15_ = _data_->_tmp14_;
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp11_ = _data_->_tmp15_;
#line 2307 "unattended-file.c"
		} else {
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp11_ = -1;
#line 2311 "unattended-file.c"
		}
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp16_ = _data_->_tmp11_;
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->height = _data_->_tmp16_;
#line 136 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp17_ = boxes_unattended_file_get_src_path ((BoxesUnattendedFile*) _data_->self);
#line 136 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp18_ = _data_->_tmp17_;
#line 136 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp19_ = _data_->width;
#line 136 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp20_ = _data_->height;
#line 136 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp21_ = gdk_pixbuf_new_from_file_at_scale (_data_->_tmp18_, _data_->_tmp19_, _data_->_tmp20_, TRUE, &_data_->_inner_error_);
#line 136 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->pixbuf = _data_->_tmp21_;
#line 136 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (_data_->_inner_error_ != NULL) {
#line 2331 "unattended-file.c"
			goto __catch79_g_error;
		}
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp24_ = _data_->self->priv->avatar_format;
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (_data_->_tmp24_ != NULL) {
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp25_ = _data_->self->priv->avatar_format;
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp26_ = osinfo_avatar_format_get_alpha (_data_->_tmp25_);
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp27_ = _data_->_tmp26_;
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp23_ = !_data_->_tmp27_;
#line 2346 "unattended-file.c"
		} else {
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp23_ = FALSE;
#line 2350 "unattended-file.c"
		}
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp28_ = _data_->_tmp23_;
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (_data_->_tmp28_) {
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp29_ = _data_->pixbuf;
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp30_ = FALSE;
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp30_ = gdk_pixbuf_get_has_alpha (_data_->_tmp29_);
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp22_ = _data_->_tmp30_;
#line 2364 "unattended-file.c"
		} else {
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp22_ = FALSE;
#line 2368 "unattended-file.c"
		}
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp31_ = _data_->_tmp22_;
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (_data_->_tmp31_) {
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp32_ = _data_->pixbuf;
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp33_ = NULL;
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp33_ = boxes_remove_alpha (_data_->_tmp32_);
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_g_object_unref0 (_data_->pixbuf);
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->pixbuf = _data_->_tmp33_;
#line 2384 "unattended-file.c"
		}
#line 141 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp34_ = _data_->destination_path;
#line 141 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_debug ("unattended-file.vala:141: Saving user avatar file at '%s'..", _data_->_tmp34_);
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp35_ = _data_->pixbuf;
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp36_ = _data_->destination_path;
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp37_ = _data_->self->priv->pixbuf_format;
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp38_ = NULL;
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp38_ = gdk_pixbuf_format_get_name (_data_->_tmp37_);
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp39_ = _data_->_tmp38_;
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		gdk_pixbuf_save (_data_->_tmp35_, _data_->_tmp36_, _data_->_tmp39_, &_data_->_inner_error_, NULL);
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_free0 (_data_->_tmp39_);
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (_data_->_inner_error_ != NULL) {
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_g_object_unref0 (_data_->pixbuf);
#line 2410 "unattended-file.c"
			goto __catch79_g_error;
		}
#line 143 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp40_ = _data_->destination_path;
#line 143 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_debug ("unattended-file.vala:143: Saved user avatar file at '%s'.", _data_->_tmp40_);
#line 133 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_object_unref0 (_data_->pixbuf);
#line 2419 "unattended-file.c"
	}
	goto __finally79;
	__catch79_g_error:
	{
#line 133 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 133 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_inner_error_ = NULL;
#line 145 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp41_ = _data_->_error_;
#line 145 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp42_ = _data_->_tmp41_->message;
#line 145 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_warning ("unattended-file.vala:145: Failed to save user avatar: %s.", _data_->_tmp42_);
#line 133 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_error_free0 (_data_->_error_);
#line 2436 "unattended-file.c"
	}
	__finally79:
#line 133 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (_data_->_inner_error_ != NULL) {
#line 133 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 133 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_error_free (_data_->_inner_error_);
#line 133 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_free0 (_data_->destination_path);
#line 133 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (_data_->_state_ == 0) {
#line 133 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2451 "unattended-file.c"
		} else {
#line 133 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 2455 "unattended-file.c"
		}
#line 133 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_object_unref (_data_->_async_result);
#line 133 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		return FALSE;
#line 2461 "unattended-file.c"
	}
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp43_ = _data_->destination_path;
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp44_ = NULL;
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp44_ = g_file_new_for_path (_data_->_tmp43_);
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->self->priv->unattended_tmp);
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->self->priv->unattended_tmp = _data_->_tmp44_;
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp45_ = _data_->self->priv->unattended_tmp;
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp46_ = _g_object_ref0 (_data_->_tmp45_);
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->result = _data_->_tmp46_;
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (_data_->destination_path);
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (_data_->_state_ == 0) {
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2485 "unattended-file.c"
	} else {
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2489 "unattended-file.c"
	}
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_unref (_data_->_async_result);
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return FALSE;
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (_data_->destination_path);
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (_data_->_state_ == 0) {
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2501 "unattended-file.c"
	} else {
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2505 "unattended-file.c"
	}
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_unref (_data_->_async_result);
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return FALSE;
#line 2511 "unattended-file.c"
}


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


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


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


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


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


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


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


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


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


static void boxes_unattended_avatar_file_finalize (GObject* obj) {
	BoxesUnattendedAvatarFile * self;
	GFile* _tmp0_;
	GError * _inner_error_ = NULL;
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_UNATTENDED_AVATAR_FILE, BoxesUnattendedAvatarFile);
#line 120 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = self->priv->unattended_tmp;
#line 120 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (_tmp0_ == NULL) {
#line 2684 "unattended-file.c"
		goto _return;
	}
	{
		GFile* _tmp1_;
#line 124 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_tmp1_ = self->priv->unattended_tmp;
#line 124 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		boxes_delete_file (_tmp1_, &_inner_error_);
#line 124 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (_inner_error_ != NULL) {
#line 2695 "unattended-file.c"
			goto __catch78_g_error;
		}
	}
	goto __finally78;
	__catch78_g_error:
	{
		GError* e = NULL;
		GFile* _tmp2_;
		gchar* _tmp3_ = NULL;
		gchar* _tmp4_;
		GError* _tmp5_;
		const gchar* _tmp6_;
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		e = _inner_error_;
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_inner_error_ = NULL;
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_tmp2_ = self->priv->unattended_tmp;
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_tmp3_ = g_file_get_path (_tmp2_);
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_tmp4_ = _tmp3_;
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_tmp5_ = e;
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_tmp6_ = _tmp5_->message;
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_warning ("unattended-file.vala:126: Error deleting %s: %s", _tmp4_, _tmp6_);
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_free0 (_tmp4_);
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_error_free0 (e);
#line 2728 "unattended-file.c"
	}
	__finally78:
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (_inner_error_ != NULL) {
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.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 123 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_clear_error (&_inner_error_);
#line 2737 "unattended-file.c"
	}
	_return:
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (self->priv->_dest_name);
#line 81 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (self->priv->_src_path);
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (self->priv->_installer);
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (self->priv->unattended_tmp);
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (self->priv->avatar_format);
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	__vala_GdkPixbufFormat_free0 (self->priv->pixbuf_format);
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	G_OBJECT_CLASS (boxes_unattended_avatar_file_parent_class)->finalize (obj);
#line 2754 "unattended-file.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 79 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	switch (property_id) {
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_DEST_NAME:
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_value_set_string (value, boxes_unattended_file_get_dest_name ((BoxesUnattendedFile*) self));
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_SRC_PATH:
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_value_set_string (value, boxes_unattended_file_get_src_path ((BoxesUnattendedFile*) self));
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_INSTALLER:
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_value_set_object (value, boxes_unattended_file_get_installer ((BoxesUnattendedFile*) self));
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 2795 "unattended-file.c"
		default:
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 2801 "unattended-file.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 79 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	switch (property_id) {
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_DEST_NAME:
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		boxes_unattended_file_set_dest_name ((BoxesUnattendedFile*) self, g_value_get_string (value));
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_SRC_PATH:
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		boxes_unattended_file_set_src_path ((BoxesUnattendedFile*) self, g_value_get_string (value));
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_INSTALLER:
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		boxes_unattended_file_set_installer ((BoxesUnattendedFile*) self, g_value_get_object (value));
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 2829 "unattended-file.c"
		default:
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 2835 "unattended-file.c"
	}
}


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


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


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



