/* iso-extractor.c generated by valac 0.24.0.112-bbf5, the Vala compiler
 * generated from iso-extractor.vala, do not modify */

/* This file is part of GNOME Boxes. License: LGPLv2+*/
/* Helper class to extract files from an ISO image*/

#include <glib.h>
#include <glib-object.h>
#include <stdlib.h>
#include <string.h>
#include <gio/gio.h>
#include <libcommon.h>


#define BOXES_TYPE_ISO_EXTRACTOR (boxes_iso_extractor_get_type ())
#define BOXES_ISO_EXTRACTOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_ISO_EXTRACTOR, BoxesISOExtractor))
#define BOXES_ISO_EXTRACTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_ISO_EXTRACTOR, BoxesISOExtractorClass))
#define BOXES_IS_ISO_EXTRACTOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_ISO_EXTRACTOR))
#define BOXES_IS_ISO_EXTRACTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_ISO_EXTRACTOR))
#define BOXES_ISO_EXTRACTOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_ISO_EXTRACTOR, BoxesISOExtractorClass))

typedef struct _BoxesISOExtractor BoxesISOExtractor;
typedef struct _BoxesISOExtractorClass BoxesISOExtractorClass;
typedef struct _BoxesISOExtractorPrivate BoxesISOExtractorPrivate;
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
typedef struct _BoxesIsoExtractorExtractData BoxesIsoExtractorExtractData;

struct _BoxesISOExtractor {
	GObject parent_instance;
	BoxesISOExtractorPrivate * priv;
};

struct _BoxesISOExtractorClass {
	GObjectClass parent_class;
};

struct _BoxesISOExtractorPrivate {
	gchar* device_file;
};

struct _BoxesIsoExtractorExtractData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesISOExtractor* self;
	gchar* path;
	gchar* output_path;
	GCancellable* cancellable;
	const gchar* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
	gchar** argv;
	gchar* _tmp3_;
	gchar* _tmp4_;
	const gchar* _tmp5_;
	gchar* _tmp6_;
	gchar* _tmp7_;
	const gchar* _tmp8_;
	gchar* _tmp9_;
	gchar* _tmp10_;
	const gchar* _tmp11_;
	gchar* _tmp12_;
	gchar** _tmp13_;
	gint argv_length1;
	gint _argv_size_;
	GCancellable* _tmp14_;
	const gchar* _tmp15_;
	const gchar* _tmp16_;
	const gchar* _tmp17_;
	GError * _inner_error_;
};


static gpointer boxes_iso_extractor_parent_class = NULL;

GType boxes_iso_extractor_get_type (void) G_GNUC_CONST;
#define BOXES_ISO_EXTRACTOR_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_ISO_EXTRACTOR, BoxesISOExtractorPrivate))
enum  {
	BOXES_ISO_EXTRACTOR_DUMMY_PROPERTY
};
BoxesISOExtractor* boxes_iso_extractor_new (const gchar* iso_path);
BoxesISOExtractor* boxes_iso_extractor_construct (GType object_type, const gchar* iso_path);
static void boxes_iso_extractor_extract_data_free (gpointer _data);
void boxes_iso_extractor_extract (BoxesISOExtractor* self, const gchar* path, const gchar* output_path, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
void boxes_iso_extractor_extract_finish (BoxesISOExtractor* self, GAsyncResult* _res_, GError** error);
static gboolean boxes_iso_extractor_extract_co (BoxesIsoExtractorExtractData* _data_);
static void boxes_iso_extractor_extract_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void boxes_iso_extractor_finalize (GObject* obj);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);


BoxesISOExtractor* boxes_iso_extractor_construct (GType object_type, const gchar* iso_path) {
	BoxesISOExtractor * self = NULL;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 7 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	g_return_val_if_fail (iso_path != NULL, NULL);
#line 7 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	self = (BoxesISOExtractor*) g_object_new (object_type, NULL);
#line 8 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_tmp0_ = iso_path;
#line 8 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 8 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_g_free0 (self->priv->device_file);
#line 8 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	self->priv->device_file = _tmp1_;
#line 7 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	return self;
#line 114 "iso-extractor.c"
}


BoxesISOExtractor* boxes_iso_extractor_new (const gchar* iso_path) {
#line 7 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	return boxes_iso_extractor_construct (BOXES_TYPE_ISO_EXTRACTOR, iso_path);
#line 121 "iso-extractor.c"
}


static void boxes_iso_extractor_extract_data_free (gpointer _data) {
	BoxesIsoExtractorExtractData* _data_;
	_data_ = _data;
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_g_free0 (_data_->path);
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_g_free0 (_data_->output_path);
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_g_object_unref0 (_data_->cancellable);
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_g_object_unref0 (_data_->self);
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	g_slice_free (BoxesIsoExtractorExtractData, _data_);
#line 138 "iso-extractor.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	return self ? g_object_ref (self) : NULL;
#line 145 "iso-extractor.c"
}


void boxes_iso_extractor_extract (BoxesISOExtractor* self, const gchar* path, const gchar* output_path, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesIsoExtractorExtractData* _data_;
	BoxesISOExtractor* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	GCancellable* _tmp5_ = NULL;
	GCancellable* _tmp6_ = NULL;
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_ = g_slice_new0 (BoxesIsoExtractorExtractData);
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_iso_extractor_extract);
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_iso_extractor_extract_data_free);
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->self = _tmp0_;
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_tmp1_ = path;
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_g_free0 (_data_->path);
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->path = _tmp2_;
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_tmp3_ = output_path;
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_tmp4_ = g_strdup (_tmp3_);
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_g_free0 (_data_->output_path);
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->output_path = _tmp4_;
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_tmp5_ = cancellable;
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_tmp6_ = _g_object_ref0 (_tmp5_);
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_g_object_unref0 (_data_->cancellable);
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->cancellable = _tmp6_;
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	boxes_iso_extractor_extract_co (_data_);
#line 194 "iso-extractor.c"
}


void boxes_iso_extractor_extract_finish (BoxesISOExtractor* self, GAsyncResult* _res_, GError** error) {
	BoxesIsoExtractorExtractData* _data_;
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
		return;
#line 204 "iso-extractor.c"
	}
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 208 "iso-extractor.c"
}


static void boxes_iso_extractor_extract_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesIsoExtractorExtractData* _data_;
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_ = _user_data_;
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_source_object_ = source_object;
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_res_ = _res_;
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	boxes_iso_extractor_extract_co (_data_);
#line 222 "iso-extractor.c"
}


static gboolean boxes_iso_extractor_extract_co (BoxesIsoExtractorExtractData* _data_) {
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	switch (_data_->_state_) {
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
		case 0:
#line 231 "iso-extractor.c"
		goto _state_0;
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
		case 1:
#line 235 "iso-extractor.c"
		goto _state_1;
		default:
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
		g_assert_not_reached ();
#line 240 "iso-extractor.c"
	}
	_state_0:
#line 12 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp0_ = NULL;
#line 12 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp0_ = _data_->path;
#line 12 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp1_ = NULL;
#line 12 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp1_ = _data_->self->priv->device_file;
#line 12 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp2_ = NULL;
#line 12 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp2_ = _data_->output_path;
#line 12 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	g_debug ("iso-extractor.vala:12: Extracting '%s' from '%s' at path '%s'..", _data_->_tmp0_, _data_->_tmp1_, _data_->_tmp2_);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp3_ = NULL;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp3_ = g_strdup ("iso-read");
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp4_ = NULL;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp4_ = g_strdup ("-i");
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp5_ = NULL;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp5_ = _data_->self->priv->device_file;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp6_ = NULL;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp6_ = g_strdup (_data_->_tmp5_);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp7_ = NULL;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp7_ = g_strdup ("-e");
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp8_ = NULL;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp8_ = _data_->path;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp9_ = NULL;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp9_ = g_strdup (_data_->_tmp8_);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp10_ = NULL;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp10_ = g_strdup ("-o");
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp11_ = NULL;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp11_ = _data_->output_path;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp12_ = NULL;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp12_ = g_strdup (_data_->_tmp11_);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp13_ = NULL;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp13_ = g_new0 (gchar*, 7 + 1);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp13_[0] = _data_->_tmp3_;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp13_[1] = _data_->_tmp4_;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp13_[2] = _data_->_tmp6_;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp13_[3] = _data_->_tmp7_;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp13_[4] = _data_->_tmp9_;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp13_[5] = _data_->_tmp10_;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp13_[6] = _data_->_tmp12_;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->argv_length1 = 0;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_argv_size_ = 0;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->argv = _data_->_tmp13_;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->argv_length1 = 7;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_argv_size_ = _data_->argv_length1;
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp14_ = NULL;
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp14_ = _data_->cancellable;
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_state_ = 1;
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	boxes_exec (_data_->argv, _data_->argv_length1, _data_->_tmp14_, boxes_iso_extractor_extract_ready, _data_);
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	return FALSE;
#line 335 "iso-extractor.c"
	_state_1:
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	boxes_exec_finish (_data_->_res_, NULL, NULL, &_data_->_inner_error_);
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
		g_error_free (_data_->_inner_error_);
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
		_data_->argv = (_vala_array_free (_data_->argv, _data_->argv_length1, (GDestroyNotify) g_free), NULL);
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
		if (_data_->_state_ == 0) {
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 351 "iso-extractor.c"
		} else {
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 355 "iso-extractor.c"
		}
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
		g_object_unref (_data_->_async_result);
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
		return FALSE;
#line 361 "iso-extractor.c"
	}
#line 15 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp15_ = NULL;
#line 15 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp15_ = _data_->path;
#line 15 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp16_ = NULL;
#line 15 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp16_ = _data_->self->priv->device_file;
#line 15 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp17_ = NULL;
#line 15 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->_tmp17_ = _data_->output_path;
#line 15 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	g_debug ("iso-extractor.vala:15: Extracted '%s' from '%s' at path '%s'.", _data_->_tmp15_, _data_->_tmp16_, _data_->_tmp17_);
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_data_->argv = (_vala_array_free (_data_->argv, _data_->argv_length1, (GDestroyNotify) g_free), NULL);
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	if (_data_->_state_ == 0) {
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 383 "iso-extractor.c"
	} else {
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 387 "iso-extractor.c"
	}
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	g_object_unref (_data_->_async_result);
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	return FALSE;
#line 393 "iso-extractor.c"
}


static void boxes_iso_extractor_class_init (BoxesISOExtractorClass * klass) {
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	boxes_iso_extractor_parent_class = g_type_class_peek_parent (klass);
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	g_type_class_add_private (klass, sizeof (BoxesISOExtractorPrivate));
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_iso_extractor_finalize;
#line 404 "iso-extractor.c"
}


static void boxes_iso_extractor_instance_init (BoxesISOExtractor * self) {
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	self->priv = BOXES_ISO_EXTRACTOR_GET_PRIVATE (self);
#line 411 "iso-extractor.c"
}


static void boxes_iso_extractor_finalize (GObject* obj) {
	BoxesISOExtractor * self;
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_ISO_EXTRACTOR, BoxesISOExtractor);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	_g_free0 (self->priv->device_file);
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/iso-extractor.vala"
	G_OBJECT_CLASS (boxes_iso_extractor_parent_class)->finalize (obj);
#line 423 "iso-extractor.c"
}


GType boxes_iso_extractor_get_type (void) {
	static volatile gsize boxes_iso_extractor_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_iso_extractor_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesISOExtractorClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_iso_extractor_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesISOExtractor), 0, (GInstanceInitFunc) boxes_iso_extractor_instance_init, NULL };
		GType boxes_iso_extractor_type_id;
		boxes_iso_extractor_type_id = g_type_register_static (G_TYPE_OBJECT, "BoxesISOExtractor", &g_define_type_info, 0);
		g_once_init_leave (&boxes_iso_extractor_type_id__volatile, boxes_iso_extractor_type_id);
	}
	return boxes_iso_extractor_type_id__volatile;
}


static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) {
	if ((array != NULL) && (destroy_func != NULL)) {
		int i;
		for (i = 0; i < array_length; i = i + 1) {
			if (((gpointer*) array)[i] != NULL) {
				destroy_func (((gpointer*) array)[i]);
			}
		}
	}
}


static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) {
	_vala_array_destroy (array, array_length, destroy_func);
	g_free (array);
}



