/* gitg-diff-view-file-info.c generated by valac 0.32.1, the Vala compiler
 * generated from gitg-diff-view-file-info.vala, do not modify */


#include <glib.h>
#include <glib-object.h>
#include <libgit2-glib/ggit.h>
#include <gio/gio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>


#define GITG_TYPE_DIFF_VIEW_FILE_INFO (gitg_diff_view_file_info_get_type ())
#define GITG_DIFF_VIEW_FILE_INFO(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_DIFF_VIEW_FILE_INFO, GitgDiffViewFileInfo))
#define GITG_DIFF_VIEW_FILE_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_DIFF_VIEW_FILE_INFO, GitgDiffViewFileInfoClass))
#define GITG_IS_DIFF_VIEW_FILE_INFO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_DIFF_VIEW_FILE_INFO))
#define GITG_IS_DIFF_VIEW_FILE_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_DIFF_VIEW_FILE_INFO))
#define GITG_DIFF_VIEW_FILE_INFO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_DIFF_VIEW_FILE_INFO, GitgDiffViewFileInfoClass))

typedef struct _GitgDiffViewFileInfo GitgDiffViewFileInfo;
typedef struct _GitgDiffViewFileInfoClass GitgDiffViewFileInfoClass;
typedef struct _GitgDiffViewFileInfoPrivate GitgDiffViewFileInfoPrivate;

#define GITG_TYPE_REPOSITORY (gitg_repository_get_type ())
#define GITG_REPOSITORY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_REPOSITORY, GitgRepository))
#define GITG_REPOSITORY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_REPOSITORY, GitgRepositoryClass))
#define GITG_IS_REPOSITORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_REPOSITORY))
#define GITG_IS_REPOSITORY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_REPOSITORY))
#define GITG_REPOSITORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_REPOSITORY, GitgRepositoryClass))

typedef struct _GitgRepository GitgRepository;
typedef struct _GitgRepositoryClass GitgRepositoryClass;
#define _ggit_diff_delta_unref0(var) ((var == NULL) ? NULL : (var = (ggit_diff_delta_unref (var), NULL)))
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
typedef struct _GitgDiffViewFileInfoQueryData GitgDiffViewFileInfoQueryData;
#define __vala_GgitOId_free0(var) ((var == NULL) ? NULL : (var = (_vala_GgitOId_free (var), NULL)))
#define _ggit_diff_file_unref0(var) ((var == NULL) ? NULL : (var = (ggit_diff_file_unref (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
#define _g_bytes_unref0(var) ((var == NULL) ? NULL : (var = (g_bytes_unref (var), NULL)))
typedef struct _GitgDiffViewFileInfoQueryContentData GitgDiffViewFileInfoQueryContentData;
typedef struct _GitgDiffViewFileInfoGuessContentTypeData GitgDiffViewFileInfoGuessContentTypeData;

struct _GitgDiffViewFileInfo {
	GObject parent_instance;
	GitgDiffViewFileInfoPrivate * priv;
};

struct _GitgDiffViewFileInfoClass {
	GObjectClass parent_class;
};

struct _GitgDiffViewFileInfoPrivate {
	GgitDiffDelta* _delta;
	gboolean _from_workdir;
	GitgRepository* _repository;
	GInputStream* _new_file_input_stream;
	gchar* _new_file_content_type;
};

struct _GitgDiffViewFileInfoQueryData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgDiffViewFileInfo* self;
	GCancellable* cancellable;
	GCancellable* _tmp0_;
};

struct _GitgDiffViewFileInfoQueryContentData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgDiffViewFileInfo* self;
	GCancellable* cancellable;
	GgitDiffFile* file;
	GgitDiffDelta* _tmp0_;
	GgitDiffFile* _tmp1_;
	GgitDiffFile* _tmp2_;
	GgitOId* id;
	GgitDiffFile* _tmp3_;
	GgitOId* _tmp4_;
	GgitOId* _tmp5_;
	gchar* path;
	GgitDiffFile* _tmp6_;
	const gchar* _tmp7_;
	gchar* _tmp8_;
	gboolean _tmp9_;
	gboolean _tmp10_;
	GitgRepository* _tmp11_;
	gboolean _tmp12_;
	GgitOId* _tmp13_;
	gboolean _tmp14_;
	gboolean _tmp15_;
	gboolean _tmp16_;
	const gchar* _tmp17_;
	gboolean _tmp18_;
	GFile* workdir;
	GitgRepository* _tmp19_;
	GFile* _tmp20_;
	GFile* _tmp21_;
	GFile* _tmp22_;
	GFile* _tmp23_;
	const gchar* _tmp24_;
	GFile* _tmp25_;
	GFile* location;
	GFile* _tmp26_;
	gboolean _tmp27_;
	GgitBlob* blob;
	GgitBlob* _tmp28_;
	GitgRepository* _tmp29_;
	GgitOId* _tmp30_;
	gpointer _tmp31_;
	GgitBlob* _tmp32_;
	GError* e;
	GBytes* bytes;
	GgitBlob* _tmp33_;
	gsize _tmp34_;
	guint8* _tmp35_;
	GBytes* _tmp36_;
	GBytes* _tmp37_;
	GMemoryInputStream* _tmp38_;
	GMemoryInputStream* _tmp39_;
	GFile* _tmp40_;
	GFileInputStream* _tmp41_;
	GFile* _tmp42_;
	GCancellable* _tmp43_;
	GFileInputStream* _tmp44_;
	GSeekable* seekable;
	GInputStream* _tmp45_;
	GSeekable* _tmp46_;
	gboolean _tmp47_;
	GSeekable* _tmp48_;
	GSeekable* _tmp49_;
	gboolean _tmp50_;
	gchar* _tmp51_;
	GFile* _tmp52_;
	GFile* _tmp53_;
	gchar* _tmp54_;
	GInputStream* _tmp55_;
	GCancellable* _tmp56_;
	GSeekable* _tmp57_;
	GCancellable* _tmp58_;
	GError* _vala1_e;
	FILE* _tmp59_;
	GError * _inner_error_;
};

struct _GitgDiffViewFileInfoGuessContentTypeData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgDiffViewFileInfo* self;
	GInputStream* stream;
	gchar* basename;
	GCancellable* cancellable;
	guint8* buffer;
	guint8* _tmp0_;
	gint buffer_length1;
	gint _buffer_size_;
	gsize bytes_read;
	GInputStream* _tmp1_;
	GCancellable* _tmp2_;
	gsize _tmp3_;
	GError* e;
	gsize _tmp4_;
	gsize _tmp5_;
	gint _tmp6_;
	gboolean uncertain;
	const gchar* _tmp7_;
	gboolean _tmp8_;
	gchar* _tmp9_;
	gchar* _tmp10_;
	GError * _inner_error_;
};


static gpointer gitg_diff_view_file_info_parent_class = NULL;

GType gitg_diff_view_file_info_get_type (void) G_GNUC_CONST;
GType gitg_repository_get_type (void) G_GNUC_CONST;
#define GITG_DIFF_VIEW_FILE_INFO_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_TYPE_DIFF_VIEW_FILE_INFO, GitgDiffViewFileInfoPrivate))
enum  {
	GITG_DIFF_VIEW_FILE_INFO_DUMMY_PROPERTY,
	GITG_DIFF_VIEW_FILE_INFO_DELTA,
	GITG_DIFF_VIEW_FILE_INFO_FROM_WORKDIR,
	GITG_DIFF_VIEW_FILE_INFO_REPOSITORY,
	GITG_DIFF_VIEW_FILE_INFO_NEW_FILE_INPUT_STREAM,
	GITG_DIFF_VIEW_FILE_INFO_NEW_FILE_CONTENT_TYPE
};
GitgDiffViewFileInfo* gitg_diff_view_file_info_new (GitgRepository* repository, GgitDiffDelta* delta, gboolean from_workdir);
GitgDiffViewFileInfo* gitg_diff_view_file_info_construct (GType object_type, GitgRepository* repository, GgitDiffDelta* delta, gboolean from_workdir);
static void gitg_diff_view_file_info_query_data_free (gpointer _data);
void gitg_diff_view_file_info_query (GitgDiffViewFileInfo* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
void gitg_diff_view_file_info_query_finish (GitgDiffViewFileInfo* self, GAsyncResult* _res_);
static gboolean gitg_diff_view_file_info_query_co (GitgDiffViewFileInfoQueryData* _data_);
static void gitg_diff_view_file_info_query_content (GitgDiffViewFileInfo* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void gitg_diff_view_file_info_query_content_finish (GitgDiffViewFileInfo* self, GAsyncResult* _res_);
static void gitg_diff_view_file_info_query_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void gitg_diff_view_file_info_query_content_data_free (gpointer _data);
static gboolean gitg_diff_view_file_info_query_content_co (GitgDiffViewFileInfoQueryContentData* _data_);
GgitDiffDelta* gitg_diff_view_file_info_get_delta (GitgDiffViewFileInfo* self);
static GgitOId* _vala_GgitOId_copy (GgitOId* self);
GitgRepository* gitg_diff_view_file_info_get_repository (GitgDiffViewFileInfo* self);
gboolean gitg_diff_view_file_info_get_from_workdir (GitgDiffViewFileInfo* self);
static void _vala_GgitOId_free (GgitOId* self);
gpointer gitg_repository_lookup (GitgRepository* self, GType t_type, GBoxedCopyFunc t_dup_func, GDestroyNotify t_destroy_func, GgitOId* id, GError** error);
void gitg_diff_view_file_info_set_new_file_input_stream (GitgDiffViewFileInfo* self, GInputStream* value);
static void gitg_diff_view_file_info_query_content_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
GInputStream* gitg_diff_view_file_info_get_new_file_input_stream (GitgDiffViewFileInfo* self);
static void gitg_diff_view_file_info_guess_content_type (GitgDiffViewFileInfo* self, GInputStream* stream, const gchar* basename, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void gitg_diff_view_file_info_guess_content_type_finish (GitgDiffViewFileInfo* self, GAsyncResult* _res_);
static void gitg_diff_view_file_info_guess_content_type_data_free (gpointer _data);
static gboolean gitg_diff_view_file_info_guess_content_type_co (GitgDiffViewFileInfoGuessContentTypeData* _data_);
static void gitg_diff_view_file_info_guess_content_type_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void gitg_diff_view_file_info_set_new_file_content_type (GitgDiffViewFileInfo* self, const gchar* value);
void gitg_diff_view_file_info_set_delta (GitgDiffViewFileInfo* self, GgitDiffDelta* value);
void gitg_diff_view_file_info_set_from_workdir (GitgDiffViewFileInfo* self, gboolean value);
void gitg_diff_view_file_info_set_repository (GitgDiffViewFileInfo* self, GitgRepository* value);
const gchar* gitg_diff_view_file_info_get_new_file_content_type (GitgDiffViewFileInfo* self);
static void gitg_diff_view_file_info_finalize (GObject* obj);
static void _vala_gitg_diff_view_file_info_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_gitg_diff_view_file_info_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);


GitgDiffViewFileInfo* gitg_diff_view_file_info_construct (GType object_type, GitgRepository* repository, GgitDiffDelta* delta, gboolean from_workdir) {
	GitgDiffViewFileInfo * self = NULL;
	GitgRepository* _tmp0_ = NULL;
	GgitDiffDelta* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
#line 10 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_return_val_if_fail (delta != NULL, NULL);
#line 12 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp0_ = repository;
#line 12 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp1_ = delta;
#line 12 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp2_ = from_workdir;
#line 12 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	self = (GitgDiffViewFileInfo*) g_object_new (object_type, "repository", _tmp0_, "delta", _tmp1_, "from-workdir", _tmp2_, NULL);
#line 10 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	return self;
#line 248 "gitg-diff-view-file-info.c"
}


GitgDiffViewFileInfo* gitg_diff_view_file_info_new (GitgRepository* repository, GgitDiffDelta* delta, gboolean from_workdir) {
#line 10 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	return gitg_diff_view_file_info_construct (GITG_TYPE_DIFF_VIEW_FILE_INFO, repository, delta, from_workdir);
#line 255 "gitg-diff-view-file-info.c"
}


static void gitg_diff_view_file_info_query_data_free (gpointer _data) {
	GitgDiffViewFileInfoQueryData* _data_;
	_data_ = _data;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->cancellable);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->self);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_slice_free (GitgDiffViewFileInfoQueryData, _data_);
#line 268 "gitg-diff-view-file-info.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	return self ? g_object_ref (self) : NULL;
#line 275 "gitg-diff-view-file-info.c"
}


void gitg_diff_view_file_info_query (GitgDiffViewFileInfo* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgDiffViewFileInfoQueryData* _data_;
	GitgDiffViewFileInfo* _tmp0_ = NULL;
	GCancellable* _tmp1_ = NULL;
	GCancellable* _tmp2_ = NULL;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_ = g_slice_new0 (GitgDiffViewFileInfoQueryData);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_diff_view_file_info_query);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_diff_view_file_info_query_data_free);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->self = _tmp0_;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp1_ = cancellable;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->cancellable);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->cancellable = _tmp2_;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	gitg_diff_view_file_info_query_co (_data_);
#line 304 "gitg-diff-view-file-info.c"
}


void gitg_diff_view_file_info_query_finish (GitgDiffViewFileInfo* self, GAsyncResult* _res_) {
	GitgDiffViewFileInfoQueryData* _data_;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 312 "gitg-diff-view-file-info.c"
}


static void gitg_diff_view_file_info_query_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgDiffViewFileInfoQueryData* _data_;
#line 17 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_ = _user_data_;
#line 17 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_source_object_ = source_object;
#line 17 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_res_ = _res_;
#line 17 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	gitg_diff_view_file_info_query_co (_data_);
#line 326 "gitg-diff-view-file-info.c"
}


static gboolean gitg_diff_view_file_info_query_co (GitgDiffViewFileInfoQueryData* _data_) {
#line 15 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	switch (_data_->_state_) {
#line 15 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		case 0:
#line 335 "gitg-diff-view-file-info.c"
		goto _state_0;
#line 15 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		case 1:
#line 339 "gitg-diff-view-file-info.c"
		goto _state_1;
		default:
#line 15 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_assert_not_reached ();
#line 344 "gitg-diff-view-file-info.c"
	}
	_state_0:
#line 17 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp0_ = NULL;
#line 17 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp0_ = _data_->cancellable;
#line 17 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_state_ = 1;
#line 17 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	gitg_diff_view_file_info_query_content (_data_->self, _data_->_tmp0_, gitg_diff_view_file_info_query_ready, _data_);
#line 17 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	return FALSE;
#line 357 "gitg-diff-view-file-info.c"
	_state_1:
#line 17 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	gitg_diff_view_file_info_query_content_finish (_data_->self, _data_->_res_);
#line 15 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (_data_->_state_ == 0) {
#line 15 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 365 "gitg-diff-view-file-info.c"
	} else {
#line 15 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 369 "gitg-diff-view-file-info.c"
	}
#line 15 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_object_unref (_data_->_async_result);
#line 15 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	return FALSE;
#line 375 "gitg-diff-view-file-info.c"
}


static void gitg_diff_view_file_info_query_content_data_free (gpointer _data) {
	GitgDiffViewFileInfoQueryContentData* _data_;
	_data_ = _data;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->cancellable);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->self);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_slice_free (GitgDiffViewFileInfoQueryContentData, _data_);
#line 388 "gitg-diff-view-file-info.c"
}


static void gitg_diff_view_file_info_query_content (GitgDiffViewFileInfo* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgDiffViewFileInfoQueryContentData* _data_;
	GitgDiffViewFileInfo* _tmp0_ = NULL;
	GCancellable* _tmp1_ = NULL;
	GCancellable* _tmp2_ = NULL;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_ = g_slice_new0 (GitgDiffViewFileInfoQueryContentData);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_diff_view_file_info_query_content);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_diff_view_file_info_query_content_data_free);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->self = _tmp0_;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp1_ = cancellable;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->cancellable);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->cancellable = _tmp2_;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	gitg_diff_view_file_info_query_content_co (_data_);
#line 417 "gitg-diff-view-file-info.c"
}


static void gitg_diff_view_file_info_query_content_finish (GitgDiffViewFileInfo* self, GAsyncResult* _res_) {
	GitgDiffViewFileInfoQueryContentData* _data_;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 425 "gitg-diff-view-file-info.c"
}


static gpointer _ggit_diff_file_ref0 (gpointer self) {
#line 22 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	return self ? ggit_diff_file_ref (self) : NULL;
#line 432 "gitg-diff-view-file-info.c"
}


static GgitOId* _vala_GgitOId_copy (GgitOId* self) {
#line 23 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	return g_boxed_copy (ggit_oid_get_type (), self);
#line 439 "gitg-diff-view-file-info.c"
}


static gpointer __vala_GgitOId_copy0 (gpointer self) {
#line 23 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	return self ? _vala_GgitOId_copy (self) : NULL;
#line 446 "gitg-diff-view-file-info.c"
}


static void _vala_GgitOId_free (GgitOId* self) {
#line 28 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_boxed_free (ggit_oid_get_type (), self);
#line 453 "gitg-diff-view-file-info.c"
}


static void gitg_diff_view_file_info_query_content_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgDiffViewFileInfoQueryContentData* _data_;
#line 55 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_ = _user_data_;
#line 55 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_source_object_ = source_object;
#line 55 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_res_ = _res_;
#line 55 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	gitg_diff_view_file_info_query_content_co (_data_);
#line 467 "gitg-diff-view-file-info.c"
}


static gboolean gitg_diff_view_file_info_query_content_co (GitgDiffViewFileInfoQueryContentData* _data_) {
#line 20 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	switch (_data_->_state_) {
#line 20 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		case 0:
#line 476 "gitg-diff-view-file-info.c"
		goto _state_0;
#line 20 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		case 1:
#line 480 "gitg-diff-view-file-info.c"
		goto _state_1;
#line 20 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		case 2:
#line 484 "gitg-diff-view-file-info.c"
		goto _state_2;
		default:
#line 20 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_assert_not_reached ();
#line 489 "gitg-diff-view-file-info.c"
	}
	_state_0:
#line 22 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp0_ = NULL;
#line 22 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp0_ = _data_->self->priv->_delta;
#line 22 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp1_ = NULL;
#line 22 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp1_ = ggit_diff_delta_get_new_file (_data_->_tmp0_);
#line 22 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp2_ = NULL;
#line 22 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp2_ = _ggit_diff_file_ref0 (_data_->_tmp1_);
#line 22 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->file = _data_->_tmp2_;
#line 23 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp3_ = NULL;
#line 23 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp3_ = _data_->file;
#line 23 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp4_ = NULL;
#line 23 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp4_ = ggit_diff_file_get_oid (_data_->_tmp3_);
#line 23 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp5_ = NULL;
#line 23 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp5_ = __vala_GgitOId_copy0 (_data_->_tmp4_);
#line 23 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->id = _data_->_tmp5_;
#line 24 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp6_ = NULL;
#line 24 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp6_ = _data_->file;
#line 24 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp7_ = NULL;
#line 24 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp7_ = ggit_diff_file_get_path (_data_->_tmp6_);
#line 24 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp8_ = NULL;
#line 24 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp8_ = g_strdup (_data_->_tmp7_);
#line 24 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->path = _data_->_tmp8_;
#line 26 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp11_ = NULL;
#line 26 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp11_ = _data_->self->priv->_repository;
#line 26 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (_data_->_tmp11_ == NULL) {
#line 26 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp10_ = TRUE;
#line 542 "gitg-diff-view-file-info.c"
	} else {
#line 26 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp13_ = NULL;
#line 26 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp13_ = _data_->id;
#line 26 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp14_ = FALSE;
#line 26 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp14_ = ggit_oid_is_zero (_data_->_tmp13_);
#line 26 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		if (_data_->_tmp14_) {
#line 26 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp15_ = FALSE;
#line 26 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp15_ = _data_->self->priv->_from_workdir;
#line 26 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp12_ = !_data_->_tmp15_;
#line 560 "gitg-diff-view-file-info.c"
		} else {
#line 26 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp12_ = FALSE;
#line 564 "gitg-diff-view-file-info.c"
		}
#line 26 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp10_ = _data_->_tmp12_;
#line 568 "gitg-diff-view-file-info.c"
	}
#line 26 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (_data_->_tmp10_) {
#line 26 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp9_ = TRUE;
#line 574 "gitg-diff-view-file-info.c"
	} else {
#line 26 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp17_ = NULL;
#line 26 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp17_ = _data_->path;
#line 26 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		if (_data_->_tmp17_ == NULL) {
#line 26 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp18_ = FALSE;
#line 26 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp18_ = _data_->self->priv->_from_workdir;
#line 26 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp16_ = _data_->_tmp18_;
#line 588 "gitg-diff-view-file-info.c"
		} else {
#line 26 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp16_ = FALSE;
#line 592 "gitg-diff-view-file-info.c"
		}
#line 26 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp9_ = _data_->_tmp16_;
#line 596 "gitg-diff-view-file-info.c"
	}
#line 26 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (_data_->_tmp9_) {
#line 28 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_g_free0 (_data_->path);
#line 28 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		__vala_GgitOId_free0 (_data_->id);
#line 28 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_ggit_diff_file_unref0 (_data_->file);
#line 28 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		if (_data_->_state_ == 0) {
#line 28 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 610 "gitg-diff-view-file-info.c"
		} else {
#line 28 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 614 "gitg-diff-view-file-info.c"
		}
#line 28 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_object_unref (_data_->_async_result);
#line 28 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		return FALSE;
#line 620 "gitg-diff-view-file-info.c"
	}
#line 31 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp19_ = NULL;
#line 31 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp19_ = _data_->self->priv->_repository;
#line 31 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp20_ = NULL;
#line 31 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp20_ = ggit_repository_get_workdir ((GgitRepository*) _data_->_tmp19_);
#line 31 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->workdir = _data_->_tmp20_;
#line 32 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp22_ = NULL;
#line 32 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp22_ = _data_->workdir;
#line 32 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (_data_->_tmp22_ != NULL) {
#line 32 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp23_ = NULL;
#line 32 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp23_ = _data_->workdir;
#line 32 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp24_ = NULL;
#line 32 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp24_ = _data_->path;
#line 32 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp25_ = NULL;
#line 32 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp25_ = g_file_get_child (_data_->_tmp23_, _data_->_tmp24_);
#line 32 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_g_object_unref0 (_data_->_tmp21_);
#line 32 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp21_ = _data_->_tmp25_;
#line 654 "gitg-diff-view-file-info.c"
	} else {
#line 32 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_g_object_unref0 (_data_->_tmp21_);
#line 32 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp21_ = NULL;
#line 660 "gitg-diff-view-file-info.c"
	}
#line 32 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp26_ = NULL;
#line 32 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp26_ = _g_object_ref0 (_data_->_tmp21_);
#line 32 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->location = _data_->_tmp26_;
#line 34 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp27_ = FALSE;
#line 34 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp27_ = _data_->self->priv->_from_workdir;
#line 34 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (!_data_->_tmp27_) {
#line 674 "gitg-diff-view-file-info.c"
		{
#line 40 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp29_ = NULL;
#line 40 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp29_ = _data_->self->priv->_repository;
#line 40 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp30_ = NULL;
#line 40 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp30_ = _data_->id;
#line 40 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp31_ = NULL;
#line 40 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp31_ = gitg_repository_lookup (_data_->_tmp29_, ggit_blob_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, _data_->_tmp30_, &_data_->_inner_error_);
#line 40 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp28_ = (GgitBlob*) _data_->_tmp31_;
#line 40 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 692 "gitg-diff-view-file-info.c"
				goto __catch37_g_error;
			}
#line 40 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp32_ = NULL;
#line 40 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp32_ = _data_->_tmp28_;
#line 40 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp28_ = NULL;
#line 40 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_object_unref0 (_data_->blob);
#line 40 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->blob = _data_->_tmp32_;
#line 38 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_object_unref0 (_data_->_tmp28_);
#line 707 "gitg-diff-view-file-info.c"
		}
		goto __finally37;
		__catch37_g_error:
		{
#line 38 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->e = _data_->_inner_error_;
#line 38 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_inner_error_ = NULL;
#line 44 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_error_free0 (_data_->e);
#line 44 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_object_unref0 (_data_->blob);
#line 44 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_object_unref0 (_data_->location);
#line 44 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_object_unref0 (_data_->_tmp21_);
#line 44 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_object_unref0 (_data_->workdir);
#line 44 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_free0 (_data_->path);
#line 44 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			__vala_GgitOId_free0 (_data_->id);
#line 44 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_ggit_diff_file_unref0 (_data_->file);
#line 44 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			if (_data_->_state_ == 0) {
#line 44 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 736 "gitg-diff-view-file-info.c"
			} else {
#line 44 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 740 "gitg-diff-view-file-info.c"
			}
#line 44 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			g_object_unref (_data_->_async_result);
#line 44 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			return FALSE;
#line 746 "gitg-diff-view-file-info.c"
		}
		__finally37:
#line 38 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 38 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_object_unref0 (_data_->blob);
#line 38 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_object_unref0 (_data_->location);
#line 38 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_object_unref0 (_data_->_tmp21_);
#line 38 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_object_unref0 (_data_->workdir);
#line 38 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_free0 (_data_->path);
#line 38 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			__vala_GgitOId_free0 (_data_->id);
#line 38 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_ggit_diff_file_unref0 (_data_->file);
#line 38 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 38 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			g_clear_error (&_data_->_inner_error_);
#line 38 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			return FALSE;
#line 771 "gitg-diff-view-file-info.c"
		}
#line 47 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp33_ = NULL;
#line 47 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp33_ = _data_->blob;
#line 47 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		memset (&_data_->_tmp34_, 0, sizeof (gsize));
#line 47 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp35_ = NULL;
#line 47 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp35_ = ggit_blob_get_raw_content (_data_->_tmp33_, &_data_->_tmp34_);
#line 47 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp36_ = NULL;
#line 47 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp36_ = g_bytes_new (_data_->_tmp35_, _data_->_tmp34_);
#line 47 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->bytes = _data_->_tmp36_;
#line 48 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp37_ = NULL;
#line 48 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp37_ = _data_->bytes;
#line 48 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp38_ = NULL;
#line 48 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp38_ = (GMemoryInputStream*) g_memory_input_stream_new_from_bytes (_data_->_tmp37_);
#line 48 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp39_ = NULL;
#line 48 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp39_ = _data_->_tmp38_;
#line 48 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		gitg_diff_view_file_info_set_new_file_input_stream (_data_->self, (GInputStream*) _data_->_tmp39_);
#line 48 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_g_object_unref0 (_data_->_tmp39_);
#line 34 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_g_bytes_unref0 (_data_->bytes);
#line 34 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_g_object_unref0 (_data_->blob);
#line 809 "gitg-diff-view-file-info.c"
	} else {
#line 50 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp40_ = NULL;
#line 50 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp40_ = _data_->location;
#line 50 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		if (_data_->_tmp40_ != NULL) {
#line 817 "gitg-diff-view-file-info.c"
			{
#line 55 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				_data_->_tmp42_ = NULL;
#line 55 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				_data_->_tmp42_ = _data_->location;
#line 55 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				_data_->_tmp43_ = NULL;
#line 55 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				_data_->_tmp43_ = _data_->cancellable;
#line 55 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				_data_->_state_ = 1;
#line 55 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				g_file_read_async (_data_->_tmp42_, G_PRIORITY_DEFAULT, _data_->_tmp43_, gitg_diff_view_file_info_query_content_ready, _data_);
#line 55 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				return FALSE;
#line 833 "gitg-diff-view-file-info.c"
				_state_1:
#line 55 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				_data_->_tmp44_ = NULL;
#line 55 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				_data_->_tmp44_ = g_file_read_finish (_data_->_tmp42_, _data_->_res_, &_data_->_inner_error_);
#line 55 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				_data_->_tmp41_ = _data_->_tmp44_;
#line 55 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 843 "gitg-diff-view-file-info.c"
					goto __catch38_g_error;
				}
#line 55 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				gitg_diff_view_file_info_set_new_file_input_stream (_data_->self, (GInputStream*) _data_->_tmp41_);
#line 53 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				_g_object_unref0 (_data_->_tmp41_);
#line 850 "gitg-diff-view-file-info.c"
			}
			goto __finally38;
			__catch38_g_error:
			{
#line 53 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				g_clear_error (&_data_->_inner_error_);
#line 53 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				_data_->_inner_error_ = NULL;
#line 59 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				_g_object_unref0 (_data_->location);
#line 59 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				_g_object_unref0 (_data_->_tmp21_);
#line 59 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				_g_object_unref0 (_data_->workdir);
#line 59 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				_g_free0 (_data_->path);
#line 59 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				__vala_GgitOId_free0 (_data_->id);
#line 59 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				_ggit_diff_file_unref0 (_data_->file);
#line 59 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				if (_data_->_state_ == 0) {
#line 59 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
					g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 875 "gitg-diff-view-file-info.c"
				} else {
#line 59 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
					g_simple_async_result_complete (_data_->_async_result);
#line 879 "gitg-diff-view-file-info.c"
				}
#line 59 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				g_object_unref (_data_->_async_result);
#line 59 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				return FALSE;
#line 885 "gitg-diff-view-file-info.c"
			}
			__finally38:
#line 53 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 53 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				_g_object_unref0 (_data_->location);
#line 53 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				_g_object_unref0 (_data_->_tmp21_);
#line 53 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				_g_object_unref0 (_data_->workdir);
#line 53 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				_g_free0 (_data_->path);
#line 53 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				__vala_GgitOId_free0 (_data_->id);
#line 53 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				_ggit_diff_file_unref0 (_data_->file);
#line 53 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 53 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				g_clear_error (&_data_->_inner_error_);
#line 53 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				return FALSE;
#line 908 "gitg-diff-view-file-info.c"
			}
		}
	}
#line 63 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp45_ = NULL;
#line 63 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp45_ = _data_->self->priv->_new_file_input_stream;
#line 63 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp46_ = NULL;
#line 63 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp46_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_data_->_tmp45_, g_seekable_get_type ()) ? ((GSeekable*) _data_->_tmp45_) : NULL);
#line 63 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->seekable = _data_->_tmp46_;
#line 65 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp48_ = NULL;
#line 65 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp48_ = _data_->seekable;
#line 65 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (_data_->_tmp48_ != NULL) {
#line 65 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp49_ = NULL;
#line 65 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp49_ = _data_->seekable;
#line 65 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp50_ = FALSE;
#line 65 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp50_ = g_seekable_can_seek (_data_->_tmp49_);
#line 65 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp47_ = _data_->_tmp50_;
#line 938 "gitg-diff-view-file-info.c"
	} else {
#line 65 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp47_ = FALSE;
#line 942 "gitg-diff-view-file-info.c"
	}
#line 65 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (_data_->_tmp47_) {
#line 68 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp52_ = NULL;
#line 68 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp52_ = _data_->location;
#line 68 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		if (_data_->_tmp52_ != NULL) {
#line 68 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp53_ = NULL;
#line 68 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp53_ = _data_->location;
#line 68 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp54_ = NULL;
#line 68 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp54_ = g_file_get_basename (_data_->_tmp53_);
#line 68 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_free0 (_data_->_tmp51_);
#line 68 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp51_ = _data_->_tmp54_;
#line 964 "gitg-diff-view-file-info.c"
		} else {
#line 68 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_free0 (_data_->_tmp51_);
#line 68 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp51_ = NULL;
#line 970 "gitg-diff-view-file-info.c"
		}
#line 68 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp55_ = NULL;
#line 68 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp55_ = _data_->self->priv->_new_file_input_stream;
#line 68 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp56_ = NULL;
#line 68 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp56_ = _data_->cancellable;
#line 68 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_state_ = 2;
#line 68 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		gitg_diff_view_file_info_guess_content_type (_data_->self, _data_->_tmp55_, _data_->_tmp51_, _data_->_tmp56_, gitg_diff_view_file_info_query_content_ready, _data_);
#line 68 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		return FALSE;
#line 986 "gitg-diff-view-file-info.c"
		_state_2:
#line 68 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		gitg_diff_view_file_info_guess_content_type_finish (_data_->self, _data_->_res_);
#line 990 "gitg-diff-view-file-info.c"
		{
#line 72 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp57_ = NULL;
#line 72 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp57_ = _data_->seekable;
#line 72 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp58_ = NULL;
#line 72 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp58_ = _data_->cancellable;
#line 72 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			g_seekable_seek (_data_->_tmp57_, (gint64) 0, G_SEEK_SET, _data_->_tmp58_, &_data_->_inner_error_);
#line 72 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1004 "gitg-diff-view-file-info.c"
				goto __catch39_g_error;
			}
		}
		goto __finally39;
		__catch39_g_error:
		{
#line 70 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_vala1_e = _data_->_inner_error_;
#line 70 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_inner_error_ = NULL;
#line 76 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp59_ = NULL;
#line 76 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp59_ = stderr;
#line 76 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			fprintf (_data_->_tmp59_, "Failed to seek back to beginning of stream...\n");
#line 77 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			gitg_diff_view_file_info_set_new_file_input_stream (_data_->self, NULL);
#line 70 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_error_free0 (_data_->_vala1_e);
#line 1025 "gitg-diff-view-file-info.c"
		}
		__finally39:
#line 70 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 70 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_free0 (_data_->_tmp51_);
#line 70 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_object_unref0 (_data_->seekable);
#line 70 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_object_unref0 (_data_->location);
#line 70 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_object_unref0 (_data_->_tmp21_);
#line 70 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_object_unref0 (_data_->workdir);
#line 70 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_free0 (_data_->path);
#line 70 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			__vala_GgitOId_free0 (_data_->id);
#line 70 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_ggit_diff_file_unref0 (_data_->file);
#line 70 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 70 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			g_clear_error (&_data_->_inner_error_);
#line 70 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			return FALSE;
#line 1052 "gitg-diff-view-file-info.c"
		}
#line 65 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_g_free0 (_data_->_tmp51_);
#line 1056 "gitg-diff-view-file-info.c"
	}
#line 20 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->seekable);
#line 20 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->location);
#line 20 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->_tmp21_);
#line 20 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->workdir);
#line 20 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_free0 (_data_->path);
#line 20 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	__vala_GgitOId_free0 (_data_->id);
#line 20 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_ggit_diff_file_unref0 (_data_->file);
#line 20 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (_data_->_state_ == 0) {
#line 20 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1076 "gitg-diff-view-file-info.c"
	} else {
#line 20 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1080 "gitg-diff-view-file-info.c"
	}
#line 20 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_object_unref (_data_->_async_result);
#line 20 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	return FALSE;
#line 1086 "gitg-diff-view-file-info.c"
}


static void gitg_diff_view_file_info_guess_content_type_data_free (gpointer _data) {
	GitgDiffViewFileInfoGuessContentTypeData* _data_;
	_data_ = _data;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->stream);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_free0 (_data_->basename);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->cancellable);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->self);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_slice_free (GitgDiffViewFileInfoGuessContentTypeData, _data_);
#line 1103 "gitg-diff-view-file-info.c"
}


static void gitg_diff_view_file_info_guess_content_type (GitgDiffViewFileInfo* self, GInputStream* stream, const gchar* basename, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgDiffViewFileInfoGuessContentTypeData* _data_;
	GitgDiffViewFileInfo* _tmp0_ = NULL;
	GInputStream* _tmp1_ = NULL;
	GInputStream* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	GCancellable* _tmp5_ = NULL;
	GCancellable* _tmp6_ = NULL;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_ = g_slice_new0 (GitgDiffViewFileInfoGuessContentTypeData);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_diff_view_file_info_guess_content_type);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_diff_view_file_info_guess_content_type_data_free);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->self = _tmp0_;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp1_ = stream;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->stream);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->stream = _tmp2_;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp3_ = basename;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp4_ = g_strdup (_tmp3_);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_free0 (_data_->basename);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->basename = _tmp4_;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp5_ = cancellable;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp6_ = _g_object_ref0 (_tmp5_);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->cancellable);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->cancellable = _tmp6_;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	gitg_diff_view_file_info_guess_content_type_co (_data_);
#line 1152 "gitg-diff-view-file-info.c"
}


static void gitg_diff_view_file_info_guess_content_type_finish (GitgDiffViewFileInfo* self, GAsyncResult* _res_) {
	GitgDiffViewFileInfoGuessContentTypeData* _data_;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 1160 "gitg-diff-view-file-info.c"
}


static void gitg_diff_view_file_info_guess_content_type_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgDiffViewFileInfoGuessContentTypeData* _data_;
#line 89 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_ = _user_data_;
#line 89 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_source_object_ = source_object;
#line 89 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_res_ = _res_;
#line 89 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	gitg_diff_view_file_info_guess_content_type_co (_data_);
#line 1174 "gitg-diff-view-file-info.c"
}


static gboolean gitg_diff_view_file_info_guess_content_type_co (GitgDiffViewFileInfoGuessContentTypeData* _data_) {
#line 82 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	switch (_data_->_state_) {
#line 82 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		case 0:
#line 1183 "gitg-diff-view-file-info.c"
		goto _state_0;
#line 82 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		case 1:
#line 1187 "gitg-diff-view-file-info.c"
		goto _state_1;
		default:
#line 82 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_assert_not_reached ();
#line 1192 "gitg-diff-view-file-info.c"
	}
	_state_0:
#line 84 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp0_ = NULL;
#line 84 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp0_ = g_new0 (guint8, 4096);
#line 84 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->buffer_length1 = 0;
#line 84 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_buffer_size_ = 0;
#line 84 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->buffer = _data_->_tmp0_;
#line 84 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->buffer_length1 = 4096;
#line 84 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_buffer_size_ = _data_->buffer_length1;
#line 85 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->bytes_read = (gsize) 0;
#line 1211 "gitg-diff-view-file-info.c"
	{
#line 89 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp1_ = NULL;
#line 89 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp1_ = _data_->stream;
#line 89 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp2_ = NULL;
#line 89 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp2_ = _data_->cancellable;
#line 89 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp3_ = 0UL;
#line 89 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_state_ = 1;
#line 89 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_input_stream_read_all_async (_data_->_tmp1_, _data_->buffer, (gsize) _data_->buffer_length1, G_PRIORITY_DEFAULT, _data_->_tmp2_, gitg_diff_view_file_info_guess_content_type_ready, _data_);
#line 89 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		return FALSE;
#line 1229 "gitg-diff-view-file-info.c"
		_state_1:
#line 89 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_input_stream_read_all_finish (_data_->_tmp1_, _data_->_res_, &_data_->_tmp3_, &_data_->_inner_error_);
#line 89 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->bytes_read = _data_->_tmp3_;
#line 89 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1237 "gitg-diff-view-file-info.c"
			goto __catch40_g_error;
		}
	}
	goto __finally40;
	__catch40_g_error:
	{
#line 87 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->e = _data_->_inner_error_;
#line 87 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_inner_error_ = NULL;
#line 93 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp4_ = 0UL;
#line 93 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp4_ = _data_->bytes_read;
#line 93 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		if (_data_->_tmp4_ <= ((gsize) 0)) {
#line 95 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_error_free0 (_data_->e);
#line 95 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->buffer = (g_free (_data_->buffer), NULL);
#line 95 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			if (_data_->_state_ == 0) {
#line 95 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1262 "gitg-diff-view-file-info.c"
			} else {
#line 95 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 1266 "gitg-diff-view-file-info.c"
			}
#line 95 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			g_object_unref (_data_->_async_result);
#line 95 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
			return FALSE;
#line 1272 "gitg-diff-view-file-info.c"
		}
#line 87 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_g_error_free0 (_data_->e);
#line 1276 "gitg-diff-view-file-info.c"
	}
	__finally40:
#line 87 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 87 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->buffer = (g_free (_data_->buffer), NULL);
#line 87 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 87 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_clear_error (&_data_->_inner_error_);
#line 87 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		return FALSE;
#line 1289 "gitg-diff-view-file-info.c"
	}
#line 99 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp5_ = 0UL;
#line 99 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp5_ = _data_->bytes_read;
#line 99 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->buffer_length1 = (gint) _data_->_tmp5_;
#line 99 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp6_ = 0;
#line 99 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp6_ = _data_->buffer_length1;
#line 102 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp7_ = NULL;
#line 102 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp7_ = _data_->basename;
#line 102 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp8_ = FALSE;
#line 102 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp9_ = NULL;
#line 102 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp9_ = g_content_type_guess (_data_->_tmp7_, _data_->buffer, (gsize) _data_->buffer_length1, &_data_->_tmp8_);
#line 102 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->uncertain = _data_->_tmp8_;
#line 102 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp10_ = NULL;
#line 102 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp10_ = _data_->_tmp9_;
#line 102 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	gitg_diff_view_file_info_set_new_file_content_type (_data_->self, _data_->_tmp10_);
#line 102 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_free0 (_data_->_tmp10_);
#line 82 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->buffer = (g_free (_data_->buffer), NULL);
#line 82 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (_data_->_state_ == 0) {
#line 82 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1327 "gitg-diff-view-file-info.c"
	} else {
#line 82 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1331 "gitg-diff-view-file-info.c"
	}
#line 82 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_object_unref (_data_->_async_result);
#line 82 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	return FALSE;
#line 1337 "gitg-diff-view-file-info.c"
}


GgitDiffDelta* gitg_diff_view_file_info_get_delta (GitgDiffViewFileInfo* self) {
	GgitDiffDelta* result;
	GgitDiffDelta* _tmp0_ = NULL;
#line 3 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 3 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp0_ = self->priv->_delta;
#line 3 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	result = _tmp0_;
#line 3 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	return result;
#line 1352 "gitg-diff-view-file-info.c"
}


static gpointer _ggit_diff_delta_ref0 (gpointer self) {
#line 3 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	return self ? ggit_diff_delta_ref (self) : NULL;
#line 1359 "gitg-diff-view-file-info.c"
}


void gitg_diff_view_file_info_set_delta (GitgDiffViewFileInfo* self, GgitDiffDelta* value) {
	GgitDiffDelta* _tmp0_ = NULL;
	GgitDiffDelta* _tmp1_ = NULL;
#line 3 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_return_if_fail (self != NULL);
#line 3 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp0_ = value;
#line 3 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp1_ = _ggit_diff_delta_ref0 (_tmp0_);
#line 3 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_ggit_diff_delta_unref0 (self->priv->_delta);
#line 3 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	self->priv->_delta = _tmp1_;
#line 3 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_object_notify ((GObject *) self, "delta");
#line 1378 "gitg-diff-view-file-info.c"
}


gboolean gitg_diff_view_file_info_get_from_workdir (GitgDiffViewFileInfo* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
#line 4 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 4 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp0_ = self->priv->_from_workdir;
#line 4 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	result = _tmp0_;
#line 4 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	return result;
#line 1393 "gitg-diff-view-file-info.c"
}


void gitg_diff_view_file_info_set_from_workdir (GitgDiffViewFileInfo* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
#line 4 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_return_if_fail (self != NULL);
#line 4 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp0_ = value;
#line 4 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	self->priv->_from_workdir = _tmp0_;
#line 4 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_object_notify ((GObject *) self, "from-workdir");
#line 1407 "gitg-diff-view-file-info.c"
}


GitgRepository* gitg_diff_view_file_info_get_repository (GitgDiffViewFileInfo* self) {
	GitgRepository* result;
	GitgRepository* _tmp0_ = NULL;
#line 5 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 5 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp0_ = self->priv->_repository;
#line 5 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	result = _tmp0_;
#line 5 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	return result;
#line 1422 "gitg-diff-view-file-info.c"
}


void gitg_diff_view_file_info_set_repository (GitgDiffViewFileInfo* self, GitgRepository* value) {
	GitgRepository* _tmp0_ = NULL;
	GitgRepository* _tmp1_ = NULL;
#line 5 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_return_if_fail (self != NULL);
#line 5 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp0_ = value;
#line 5 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 5 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (self->priv->_repository);
#line 5 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	self->priv->_repository = _tmp1_;
#line 5 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_object_notify ((GObject *) self, "repository");
#line 1441 "gitg-diff-view-file-info.c"
}


GInputStream* gitg_diff_view_file_info_get_new_file_input_stream (GitgDiffViewFileInfo* self) {
	GInputStream* result;
	GInputStream* _tmp0_ = NULL;
#line 7 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 7 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp0_ = self->priv->_new_file_input_stream;
#line 7 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	result = _tmp0_;
#line 7 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	return result;
#line 1456 "gitg-diff-view-file-info.c"
}


void gitg_diff_view_file_info_set_new_file_input_stream (GitgDiffViewFileInfo* self, GInputStream* value) {
	GInputStream* _tmp0_ = NULL;
	GInputStream* _tmp1_ = NULL;
#line 7 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_return_if_fail (self != NULL);
#line 7 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp0_ = value;
#line 7 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 7 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (self->priv->_new_file_input_stream);
#line 7 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	self->priv->_new_file_input_stream = _tmp1_;
#line 7 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_object_notify ((GObject *) self, "new-file-input-stream");
#line 1475 "gitg-diff-view-file-info.c"
}


const gchar* gitg_diff_view_file_info_get_new_file_content_type (GitgDiffViewFileInfo* self) {
	const gchar* result;
	const gchar* _tmp0_ = NULL;
#line 8 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 8 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp0_ = self->priv->_new_file_content_type;
#line 8 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	result = _tmp0_;
#line 8 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	return result;
#line 1490 "gitg-diff-view-file-info.c"
}


static void gitg_diff_view_file_info_set_new_file_content_type (GitgDiffViewFileInfo* self, const gchar* value) {
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 8 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_return_if_fail (self != NULL);
#line 8 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp0_ = value;
#line 8 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 8 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_free0 (self->priv->_new_file_content_type);
#line 8 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	self->priv->_new_file_content_type = _tmp1_;
#line 8 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_object_notify ((GObject *) self, "new-file-content-type");
#line 1509 "gitg-diff-view-file-info.c"
}


static void gitg_diff_view_file_info_class_init (GitgDiffViewFileInfoClass * klass) {
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	gitg_diff_view_file_info_parent_class = g_type_class_peek_parent (klass);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_type_class_add_private (klass, sizeof (GitgDiffViewFileInfoPrivate));
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_diff_view_file_info_get_property;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_diff_view_file_info_set_property;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_diff_view_file_info_finalize;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_FILE_INFO_DELTA, g_param_spec_boxed ("delta", "delta", "delta", ggit_diff_delta_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_FILE_INFO_FROM_WORKDIR, g_param_spec_boolean ("from-workdir", "from-workdir", "from-workdir", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_FILE_INFO_REPOSITORY, g_param_spec_object ("repository", "repository", "repository", GITG_TYPE_REPOSITORY, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_FILE_INFO_NEW_FILE_INPUT_STREAM, g_param_spec_object ("new-file-input-stream", "new-file-input-stream", "new-file-input-stream", G_TYPE_INPUT_STREAM, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_FILE_INFO_NEW_FILE_CONTENT_TYPE, g_param_spec_string ("new-file-content-type", "new-file-content-type", "new-file-content-type", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 1534 "gitg-diff-view-file-info.c"
}


static void gitg_diff_view_file_info_instance_init (GitgDiffViewFileInfo * self) {
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	self->priv = GITG_DIFF_VIEW_FILE_INFO_GET_PRIVATE (self);
#line 1541 "gitg-diff-view-file-info.c"
}


static void gitg_diff_view_file_info_finalize (GObject* obj) {
	GitgDiffViewFileInfo * self;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_DIFF_VIEW_FILE_INFO, GitgDiffViewFileInfo);
#line 3 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_ggit_diff_delta_unref0 (self->priv->_delta);
#line 5 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (self->priv->_repository);
#line 7 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (self->priv->_new_file_input_stream);
#line 8 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_free0 (self->priv->_new_file_content_type);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	G_OBJECT_CLASS (gitg_diff_view_file_info_parent_class)->finalize (obj);
#line 1559 "gitg-diff-view-file-info.c"
}


GType gitg_diff_view_file_info_get_type (void) {
	static volatile gsize gitg_diff_view_file_info_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_diff_view_file_info_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgDiffViewFileInfoClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_diff_view_file_info_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgDiffViewFileInfo), 0, (GInstanceInitFunc) gitg_diff_view_file_info_instance_init, NULL };
		GType gitg_diff_view_file_info_type_id;
		gitg_diff_view_file_info_type_id = g_type_register_static (G_TYPE_OBJECT, "GitgDiffViewFileInfo", &g_define_type_info, 0);
		g_once_init_leave (&gitg_diff_view_file_info_type_id__volatile, gitg_diff_view_file_info_type_id);
	}
	return gitg_diff_view_file_info_type_id__volatile;
}


static void _vala_gitg_diff_view_file_info_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GitgDiffViewFileInfo * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_DIFF_VIEW_FILE_INFO, GitgDiffViewFileInfo);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	switch (property_id) {
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		case GITG_DIFF_VIEW_FILE_INFO_DELTA:
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_value_set_boxed (value, gitg_diff_view_file_info_get_delta (self));
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		break;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		case GITG_DIFF_VIEW_FILE_INFO_FROM_WORKDIR:
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_value_set_boolean (value, gitg_diff_view_file_info_get_from_workdir (self));
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		break;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		case GITG_DIFF_VIEW_FILE_INFO_REPOSITORY:
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_value_set_object (value, gitg_diff_view_file_info_get_repository (self));
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		break;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		case GITG_DIFF_VIEW_FILE_INFO_NEW_FILE_INPUT_STREAM:
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_value_set_object (value, gitg_diff_view_file_info_get_new_file_input_stream (self));
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		break;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		case GITG_DIFF_VIEW_FILE_INFO_NEW_FILE_CONTENT_TYPE:
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_value_set_string (value, gitg_diff_view_file_info_get_new_file_content_type (self));
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		break;
#line 1610 "gitg-diff-view-file-info.c"
		default:
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		break;
#line 1616 "gitg-diff-view-file-info.c"
	}
}


static void _vala_gitg_diff_view_file_info_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	GitgDiffViewFileInfo * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_DIFF_VIEW_FILE_INFO, GitgDiffViewFileInfo);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
	switch (property_id) {
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		case GITG_DIFF_VIEW_FILE_INFO_DELTA:
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		gitg_diff_view_file_info_set_delta (self, g_value_get_boxed (value));
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		break;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		case GITG_DIFF_VIEW_FILE_INFO_FROM_WORKDIR:
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		gitg_diff_view_file_info_set_from_workdir (self, g_value_get_boolean (value));
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		break;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		case GITG_DIFF_VIEW_FILE_INFO_REPOSITORY:
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		gitg_diff_view_file_info_set_repository (self, g_value_get_object (value));
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		break;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		case GITG_DIFF_VIEW_FILE_INFO_NEW_FILE_INPUT_STREAM:
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		gitg_diff_view_file_info_set_new_file_input_stream (self, g_value_get_object (value));
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		break;
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		case GITG_DIFF_VIEW_FILE_INFO_NEW_FILE_CONTENT_TYPE:
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		gitg_diff_view_file_info_set_new_file_content_type (self, g_value_get_string (value));
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		break;
#line 1656 "gitg-diff-view-file-info.c"
		default:
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 1 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-file-info.vala"
		break;
#line 1662 "gitg-diff-view-file-info.c"
	}
}



