/* gitg-diff-view-file-info.c generated by valac 0.35.5.2-9e6c0, 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_;
	GTask* _async_result;
	gboolean _task_complete_;
	GitgDiffViewFileInfo* self;
	GCancellable* cancellable;
	GCancellable* _tmp0_;
};

struct _GitgDiffViewFileInfoQueryContentData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	gboolean _task_complete_;
	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_;
	GTask* _async_result;
	gboolean _task_complete_;
	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_;
	GgitDiffDelta* _tmp1_;
	gboolean _tmp2_;
#line 10 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_return_val_if_fail (delta != NULL, NULL);
#line 12 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp0_ = repository;
#line 12 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp1_ = delta;
#line 12 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp2_ = from_workdir;
#line 12 "/home/mcatanzaro/Projects/GNOME/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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	return self;
#line 251 "gitg-diff-view-file-info.c"
}


GitgDiffViewFileInfo* gitg_diff_view_file_info_new (GitgRepository* repository, GgitDiffDelta* delta, gboolean from_workdir) {
#line 10 "/home/mcatanzaro/Projects/GNOME/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 258 "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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->cancellable);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->self);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_slice_free (GitgDiffViewFileInfoQueryData, _data_);
#line 271 "gitg-diff-view-file-info.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	return self ? g_object_ref (self) : NULL;
#line 278 "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_;
	GCancellable* _tmp1_;
	GCancellable* _tmp2_;
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_ = g_slice_new0 (GitgDiffViewFileInfoQueryData);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), cancellable, _callback_, _user_data_);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (_callback_ == NULL) {
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_task_complete_ = TRUE;
#line 295 "gitg-diff-view-file-info.c"
	}
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_task_set_task_data (_data_->_async_result, _data_, gitg_diff_view_file_info_query_data_free);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->self = _tmp0_;
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp1_ = cancellable;
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->cancellable);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->cancellable = _tmp2_;
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	gitg_diff_view_file_info_query_co (_data_);
#line 313 "gitg-diff-view-file-info.c"
}


void gitg_diff_view_file_info_query_finish (GitgDiffViewFileInfo* self, GAsyncResult* _res_) {
	GitgDiffViewFileInfoQueryData* _data_;
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (NULL == _data_) {
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		return;
#line 325 "gitg-diff-view-file-info.c"
	}
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_task_complete_ = TRUE;
#line 329 "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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_ = _user_data_;
#line 17 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_source_object_ = source_object;
#line 17 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_res_ = _res_;
#line 17 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_task_complete_ = TRUE;
#line 17 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	gitg_diff_view_file_info_query_co (_data_);
#line 345 "gitg-diff-view-file-info.c"
}


static gboolean gitg_diff_view_file_info_query_co (GitgDiffViewFileInfoQueryData* _data_) {
#line 15 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	switch (_data_->_state_) {
#line 15 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		case 0:
#line 354 "gitg-diff-view-file-info.c"
		goto _state_0;
#line 15 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		case 1:
#line 358 "gitg-diff-view-file-info.c"
		goto _state_1;
		default:
#line 15 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_assert_not_reached ();
#line 363 "gitg-diff-view-file-info.c"
	}
	_state_0:
#line 17 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp0_ = _data_->cancellable;
#line 17 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_state_ = 1;
#line 17 "/home/mcatanzaro/Projects/GNOME/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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	return FALSE;
#line 374 "gitg-diff-view-file-info.c"
	_state_1:
#line 17 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	gitg_diff_view_file_info_query_content_finish (_data_->self, _data_->_res_);
#line 15 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 15 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (_data_->_state_ != 0) {
#line 15 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 15 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 386 "gitg-diff-view-file-info.c"
		}
	}
#line 15 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_object_unref (_data_->_async_result);
#line 15 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	return FALSE;
#line 393 "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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->cancellable);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->self);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_slice_free (GitgDiffViewFileInfoQueryContentData, _data_);
#line 406 "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_;
	GCancellable* _tmp1_;
	GCancellable* _tmp2_;
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_ = g_slice_new0 (GitgDiffViewFileInfoQueryContentData);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), cancellable, _callback_, _user_data_);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (_callback_ == NULL) {
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_task_complete_ = TRUE;
#line 423 "gitg-diff-view-file-info.c"
	}
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_task_set_task_data (_data_->_async_result, _data_, gitg_diff_view_file_info_query_content_data_free);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->self = _tmp0_;
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp1_ = cancellable;
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->cancellable);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->cancellable = _tmp2_;
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	gitg_diff_view_file_info_query_content_co (_data_);
#line 441 "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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (NULL == _data_) {
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		return;
#line 453 "gitg-diff-view-file-info.c"
	}
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_task_complete_ = TRUE;
#line 457 "gitg-diff-view-file-info.c"
}


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


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


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


static void _vala_GgitOId_free (GgitOId* self) {
#line 28 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_boxed_free (ggit_oid_get_type (), self);
#line 485 "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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_ = _user_data_;
#line 55 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_source_object_ = source_object;
#line 55 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_res_ = _res_;
#line 55 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_task_complete_ = TRUE;
#line 55 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	gitg_diff_view_file_info_query_content_co (_data_);
#line 501 "gitg-diff-view-file-info.c"
}


static gboolean gitg_diff_view_file_info_query_content_co (GitgDiffViewFileInfoQueryContentData* _data_) {
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	switch (_data_->_state_) {
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		case 0:
#line 510 "gitg-diff-view-file-info.c"
		goto _state_0;
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		case 1:
#line 514 "gitg-diff-view-file-info.c"
		goto _state_1;
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		case 2:
#line 518 "gitg-diff-view-file-info.c"
		goto _state_2;
		default:
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_assert_not_reached ();
#line 523 "gitg-diff-view-file-info.c"
	}
	_state_0:
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp0_ = _data_->self->priv->_delta;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp1_ = ggit_diff_delta_get_new_file (_data_->_tmp0_);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp2_ = _ggit_diff_file_ref0 (_data_->_tmp1_);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->file = _data_->_tmp2_;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp3_ = _data_->file;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp4_ = ggit_diff_file_get_oid (_data_->_tmp3_);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp5_ = __vala_GgitOId_copy0 (_data_->_tmp4_);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->id = _data_->_tmp5_;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp6_ = _data_->file;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp7_ = ggit_diff_file_get_path (_data_->_tmp6_);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp8_ = g_strdup (_data_->_tmp7_);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->path = _data_->_tmp8_;
#line 26 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp11_ = _data_->self->priv->_repository;
#line 26 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (_data_->_tmp11_ == NULL) {
#line 26 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp10_ = TRUE;
#line 556 "gitg-diff-view-file-info.c"
	} else {
#line 26 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp13_ = _data_->id;
#line 26 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp14_ = ggit_oid_is_zero (_data_->_tmp13_);
#line 26 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		if (_data_->_tmp14_) {
#line 26 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp15_ = _data_->self->priv->_from_workdir;
#line 26 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp12_ = !_data_->_tmp15_;
#line 568 "gitg-diff-view-file-info.c"
		} else {
#line 26 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp12_ = FALSE;
#line 572 "gitg-diff-view-file-info.c"
		}
#line 26 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp10_ = _data_->_tmp12_;
#line 576 "gitg-diff-view-file-info.c"
	}
#line 26 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (_data_->_tmp10_) {
#line 26 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp9_ = TRUE;
#line 582 "gitg-diff-view-file-info.c"
	} else {
#line 26 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp17_ = _data_->path;
#line 26 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		if (_data_->_tmp17_ == NULL) {
#line 26 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp18_ = _data_->self->priv->_from_workdir;
#line 26 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp16_ = _data_->_tmp18_;
#line 592 "gitg-diff-view-file-info.c"
		} else {
#line 26 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp16_ = FALSE;
#line 596 "gitg-diff-view-file-info.c"
		}
#line 26 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp9_ = _data_->_tmp16_;
#line 600 "gitg-diff-view-file-info.c"
	}
#line 26 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (_data_->_tmp9_) {
#line 28 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_g_free0 (_data_->path);
#line 28 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		__vala_GgitOId_free0 (_data_->id);
#line 28 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_ggit_diff_file_unref0 (_data_->file);
#line 28 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 28 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		if (_data_->_state_ != 0) {
#line 28 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			while (_data_->_task_complete_ != TRUE) {
#line 28 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 618 "gitg-diff-view-file-info.c"
			}
		}
#line 28 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_object_unref (_data_->_async_result);
#line 28 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		return FALSE;
#line 625 "gitg-diff-view-file-info.c"
	}
#line 31 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp19_ = _data_->self->priv->_repository;
#line 31 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp20_ = ggit_repository_get_workdir ((GgitRepository*) _data_->_tmp19_);
#line 31 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->workdir = _data_->_tmp20_;
#line 32 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp22_ = _data_->workdir;
#line 32 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (_data_->_tmp22_ != NULL) {
#line 32 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp23_ = _data_->workdir;
#line 32 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp24_ = _data_->path;
#line 32 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp25_ = g_file_get_child (_data_->_tmp23_, _data_->_tmp24_);
#line 32 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_g_object_unref0 (_data_->_tmp21_);
#line 32 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp21_ = _data_->_tmp25_;
#line 647 "gitg-diff-view-file-info.c"
	} else {
#line 32 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_g_object_unref0 (_data_->_tmp21_);
#line 32 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp21_ = NULL;
#line 653 "gitg-diff-view-file-info.c"
	}
#line 32 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp26_ = _g_object_ref0 (_data_->_tmp21_);
#line 32 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->location = _data_->_tmp26_;
#line 34 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp27_ = _data_->self->priv->_from_workdir;
#line 34 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (!_data_->_tmp27_) {
#line 663 "gitg-diff-view-file-info.c"
		{
#line 40 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp29_ = _data_->self->priv->_repository;
#line 40 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp30_ = _data_->id;
#line 40 "/home/mcatanzaro/Projects/GNOME/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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp28_ = (GgitBlob*) _data_->_tmp31_;
#line 40 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 675 "gitg-diff-view-file-info.c"
				goto __catch37_g_error;
			}
#line 40 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp32_ = _data_->_tmp28_;
#line 40 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp28_ = NULL;
#line 40 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_object_unref0 (_data_->blob);
#line 40 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->blob = _data_->_tmp32_;
#line 38 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_object_unref0 (_data_->_tmp28_);
#line 688 "gitg-diff-view-file-info.c"
		}
		goto __finally37;
		__catch37_g_error:
		{
#line 38 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->e = _data_->_inner_error_;
#line 38 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_inner_error_ = NULL;
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_error_free0 (_data_->e);
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_object_unref0 (_data_->blob);
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_object_unref0 (_data_->location);
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_object_unref0 (_data_->_tmp21_);
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_object_unref0 (_data_->workdir);
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_free0 (_data_->path);
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			__vala_GgitOId_free0 (_data_->id);
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_ggit_diff_file_unref0 (_data_->file);
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			if (_data_->_state_ != 0) {
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				while (_data_->_task_complete_ != TRUE) {
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
					g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 721 "gitg-diff-view-file-info.c"
				}
			}
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			g_object_unref (_data_->_async_result);
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			return FALSE;
#line 728 "gitg-diff-view-file-info.c"
		}
		__finally37:
#line 38 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 38 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_object_unref0 (_data_->blob);
#line 38 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_object_unref0 (_data_->location);
#line 38 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_object_unref0 (_data_->_tmp21_);
#line 38 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_object_unref0 (_data_->workdir);
#line 38 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_free0 (_data_->path);
#line 38 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			__vala_GgitOId_free0 (_data_->id);
#line 38 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_ggit_diff_file_unref0 (_data_->file);
#line 38 "/home/mcatanzaro/Projects/GNOME/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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			g_clear_error (&_data_->_inner_error_);
#line 38 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			return FALSE;
#line 753 "gitg-diff-view-file-info.c"
		}
#line 47 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp33_ = _data_->blob;
#line 47 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp35_ = ggit_blob_get_raw_content (_data_->_tmp33_, &_data_->_tmp34_);
#line 47 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp36_ = g_bytes_new (_data_->_tmp35_, _data_->_tmp34_);
#line 47 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->bytes = _data_->_tmp36_;
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp37_ = _data_->bytes;
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp38_ = (GMemoryInputStream*) g_memory_input_stream_new_from_bytes (_data_->_tmp37_);
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp39_ = _data_->_tmp38_;
#line 48 "/home/mcatanzaro/Projects/GNOME/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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_g_object_unref0 (_data_->_tmp39_);
#line 34 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_g_bytes_unref0 (_data_->bytes);
#line 34 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_g_object_unref0 (_data_->blob);
#line 777 "gitg-diff-view-file-info.c"
	} else {
#line 50 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp40_ = _data_->location;
#line 50 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		if (_data_->_tmp40_ != NULL) {
#line 783 "gitg-diff-view-file-info.c"
			{
#line 55 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				_data_->_tmp42_ = _data_->location;
#line 55 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				_data_->_tmp43_ = _data_->cancellable;
#line 55 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				_data_->_state_ = 1;
#line 55 "/home/mcatanzaro/Projects/GNOME/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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				return FALSE;
#line 795 "gitg-diff-view-file-info.c"
				_state_1:
#line 55 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				_data_->_tmp44_ = g_file_read_finish (_data_->_tmp42_, _data_->_res_, &_data_->_inner_error_);
#line 55 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				_data_->_tmp41_ = _data_->_tmp44_;
#line 55 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 803 "gitg-diff-view-file-info.c"
					goto __catch38_g_error;
				}
#line 55 "/home/mcatanzaro/Projects/GNOME/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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				_g_object_unref0 (_data_->_tmp41_);
#line 810 "gitg-diff-view-file-info.c"
			}
			goto __finally38;
			__catch38_g_error:
			{
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				g_clear_error (&_data_->_inner_error_);
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				_data_->_inner_error_ = NULL;
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				_g_object_unref0 (_data_->location);
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				_g_object_unref0 (_data_->_tmp21_);
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				_g_object_unref0 (_data_->workdir);
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				_g_free0 (_data_->path);
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				__vala_GgitOId_free0 (_data_->id);
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				_ggit_diff_file_unref0 (_data_->file);
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				if (_data_->_state_ != 0) {
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
					while (_data_->_task_complete_ != TRUE) {
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
						g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 839 "gitg-diff-view-file-info.c"
					}
				}
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				g_object_unref (_data_->_async_result);
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				return FALSE;
#line 846 "gitg-diff-view-file-info.c"
			}
			__finally38:
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				_g_object_unref0 (_data_->location);
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				_g_object_unref0 (_data_->_tmp21_);
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				_g_object_unref0 (_data_->workdir);
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				_g_free0 (_data_->path);
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				__vala_GgitOId_free0 (_data_->id);
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				_ggit_diff_file_unref0 (_data_->file);
#line 53 "/home/mcatanzaro/Projects/GNOME/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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				g_clear_error (&_data_->_inner_error_);
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				return FALSE;
#line 869 "gitg-diff-view-file-info.c"
			}
		}
	}
#line 63 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp45_ = _data_->self->priv->_new_file_input_stream;
#line 63 "/home/mcatanzaro/Projects/GNOME/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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->seekable = _data_->_tmp46_;
#line 65 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp48_ = _data_->seekable;
#line 65 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (_data_->_tmp48_ != NULL) {
#line 65 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp49_ = _data_->seekable;
#line 65 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp50_ = g_seekable_can_seek (_data_->_tmp49_);
#line 65 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp47_ = _data_->_tmp50_;
#line 889 "gitg-diff-view-file-info.c"
	} else {
#line 65 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp47_ = FALSE;
#line 893 "gitg-diff-view-file-info.c"
	}
#line 65 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (_data_->_tmp47_) {
#line 68 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp52_ = _data_->location;
#line 68 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		if (_data_->_tmp52_ != NULL) {
#line 68 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp53_ = _data_->location;
#line 68 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp54_ = g_file_get_basename (_data_->_tmp53_);
#line 68 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_free0 (_data_->_tmp51_);
#line 68 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp51_ = _data_->_tmp54_;
#line 909 "gitg-diff-view-file-info.c"
		} else {
#line 68 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_free0 (_data_->_tmp51_);
#line 68 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp51_ = NULL;
#line 915 "gitg-diff-view-file-info.c"
		}
#line 68 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp55_ = _data_->self->priv->_new_file_input_stream;
#line 68 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp56_ = _data_->cancellable;
#line 68 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_state_ = 2;
#line 68 "/home/mcatanzaro/Projects/GNOME/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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		return FALSE;
#line 927 "gitg-diff-view-file-info.c"
		_state_2:
#line 68 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		gitg_diff_view_file_info_guess_content_type_finish (_data_->self, _data_->_res_);
#line 931 "gitg-diff-view-file-info.c"
		{
#line 72 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp57_ = _data_->seekable;
#line 72 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp58_ = _data_->cancellable;
#line 72 "/home/mcatanzaro/Projects/GNOME/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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 941 "gitg-diff-view-file-info.c"
				goto __catch39_g_error;
			}
		}
		goto __finally39;
		__catch39_g_error:
		{
#line 70 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_vala1_e = _data_->_inner_error_;
#line 70 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_inner_error_ = NULL;
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->_tmp59_ = stderr;
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			fprintf (_data_->_tmp59_, "Failed to seek back to beginning of stream...\n");
#line 77 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			gitg_diff_view_file_info_set_new_file_input_stream (_data_->self, NULL);
#line 70 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_error_free0 (_data_->_vala1_e);
#line 960 "gitg-diff-view-file-info.c"
		}
		__finally39:
#line 70 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 70 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_free0 (_data_->_tmp51_);
#line 70 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_object_unref0 (_data_->seekable);
#line 70 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_object_unref0 (_data_->location);
#line 70 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_object_unref0 (_data_->_tmp21_);
#line 70 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_object_unref0 (_data_->workdir);
#line 70 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_free0 (_data_->path);
#line 70 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			__vala_GgitOId_free0 (_data_->id);
#line 70 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_ggit_diff_file_unref0 (_data_->file);
#line 70 "/home/mcatanzaro/Projects/GNOME/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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			g_clear_error (&_data_->_inner_error_);
#line 70 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			return FALSE;
#line 987 "gitg-diff-view-file-info.c"
		}
#line 65 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_g_free0 (_data_->_tmp51_);
#line 991 "gitg-diff-view-file-info.c"
	}
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->seekable);
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->location);
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->_tmp21_);
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->workdir);
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_free0 (_data_->path);
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	__vala_GgitOId_free0 (_data_->id);
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_ggit_diff_file_unref0 (_data_->file);
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (_data_->_state_ != 0) {
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 1015 "gitg-diff-view-file-info.c"
		}
	}
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_object_unref (_data_->_async_result);
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	return FALSE;
#line 1022 "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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->stream);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_free0 (_data_->basename);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->cancellable);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->self);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_slice_free (GitgDiffViewFileInfoGuessContentTypeData, _data_);
#line 1039 "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_;
	GInputStream* _tmp1_;
	GInputStream* _tmp2_;
	const gchar* _tmp3_;
	gchar* _tmp4_;
	GCancellable* _tmp5_;
	GCancellable* _tmp6_;
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_ = g_slice_new0 (GitgDiffViewFileInfoGuessContentTypeData);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), cancellable, _callback_, _user_data_);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (_callback_ == NULL) {
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_task_complete_ = TRUE;
#line 1060 "gitg-diff-view-file-info.c"
	}
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_task_set_task_data (_data_->_async_result, _data_, gitg_diff_view_file_info_guess_content_type_data_free);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->self = _tmp0_;
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp1_ = stream;
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->stream);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->stream = _tmp2_;
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp3_ = basename;
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp4_ = g_strdup (_tmp3_);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_free0 (_data_->basename);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->basename = _tmp4_;
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp5_ = cancellable;
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp6_ = _g_object_ref0 (_tmp5_);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (_data_->cancellable);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->cancellable = _tmp6_;
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	gitg_diff_view_file_info_guess_content_type_co (_data_);
#line 1094 "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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (NULL == _data_) {
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		return;
#line 1106 "gitg-diff-view-file-info.c"
	}
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_task_complete_ = TRUE;
#line 1110 "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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_ = _user_data_;
#line 89 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_source_object_ = source_object;
#line 89 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_res_ = _res_;
#line 89 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_task_complete_ = TRUE;
#line 89 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	gitg_diff_view_file_info_guess_content_type_co (_data_);
#line 1126 "gitg-diff-view-file-info.c"
}


static gboolean gitg_diff_view_file_info_guess_content_type_co (GitgDiffViewFileInfoGuessContentTypeData* _data_) {
#line 82 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	switch (_data_->_state_) {
#line 82 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		case 0:
#line 1135 "gitg-diff-view-file-info.c"
		goto _state_0;
#line 82 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		case 1:
#line 1139 "gitg-diff-view-file-info.c"
		goto _state_1;
		default:
#line 82 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_assert_not_reached ();
#line 1144 "gitg-diff-view-file-info.c"
	}
	_state_0:
#line 84 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp0_ = g_new0 (guint8, 4096);
#line 84 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->buffer = _data_->_tmp0_;
#line 84 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->buffer_length1 = 4096;
#line 84 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_buffer_size_ = _data_->buffer_length1;
#line 85 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->bytes_read = (gsize) 0;
#line 1157 "gitg-diff-view-file-info.c"
	{
#line 89 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp1_ = _data_->stream;
#line 89 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp2_ = _data_->cancellable;
#line 89 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp3_ = 0UL;
#line 89 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_state_ = 1;
#line 89 "/home/mcatanzaro/Projects/GNOME/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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		return FALSE;
#line 1171 "gitg-diff-view-file-info.c"
		_state_1:
#line 89 "/home/mcatanzaro/Projects/GNOME/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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->bytes_read = _data_->_tmp3_;
#line 89 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1179 "gitg-diff-view-file-info.c"
			goto __catch40_g_error;
		}
	}
	goto __finally40;
	__catch40_g_error:
	{
#line 87 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->e = _data_->_inner_error_;
#line 87 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_inner_error_ = NULL;
#line 93 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->_tmp4_ = _data_->bytes_read;
#line 93 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		if (_data_->_tmp4_ <= ((gsize) 0)) {
#line 95 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_g_error_free0 (_data_->e);
#line 95 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			_data_->buffer = (g_free (_data_->buffer), NULL);
#line 95 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 95 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			if (_data_->_state_ != 0) {
#line 95 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
				while (_data_->_task_complete_ != TRUE) {
#line 95 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
					g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 1206 "gitg-diff-view-file-info.c"
				}
			}
#line 95 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			g_object_unref (_data_->_async_result);
#line 95 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			return FALSE;
#line 1213 "gitg-diff-view-file-info.c"
		}
#line 87 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_g_error_free0 (_data_->e);
#line 1217 "gitg-diff-view-file-info.c"
	}
	__finally40:
#line 87 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 87 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_data_->buffer = (g_free (_data_->buffer), NULL);
#line 87 "/home/mcatanzaro/Projects/GNOME/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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_clear_error (&_data_->_inner_error_);
#line 87 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		return FALSE;
#line 1230 "gitg-diff-view-file-info.c"
	}
#line 99 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp5_ = _data_->bytes_read;
#line 99 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->buffer_length1 = (gint) _data_->_tmp5_;
#line 99 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp6_ = _data_->buffer_length1;
#line 102 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp7_ = _data_->basename;
#line 102 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp8_ = FALSE;
#line 102 "/home/mcatanzaro/Projects/GNOME/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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->uncertain = _data_->_tmp8_;
#line 102 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->_tmp10_ = _data_->_tmp9_;
#line 102 "/home/mcatanzaro/Projects/GNOME/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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_free0 (_data_->_tmp10_);
#line 82 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_data_->buffer = (g_free (_data_->buffer), NULL);
#line 82 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 82 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (_data_->_state_ != 0) {
#line 82 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 82 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 1262 "gitg-diff-view-file-info.c"
		}
	}
#line 82 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_object_unref (_data_->_async_result);
#line 82 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	return FALSE;
#line 1269 "gitg-diff-view-file-info.c"
}


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


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


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


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


void gitg_diff_view_file_info_set_from_workdir (GitgDiffViewFileInfo* self, gboolean value) {
#line 4 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_return_if_fail (self != NULL);
#line 4 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (gitg_diff_view_file_info_get_from_workdir (self) != value) {
#line 1338 "gitg-diff-view-file-info.c"
		gboolean _tmp0_;
#line 4 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_tmp0_ = value;
#line 4 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		self->priv->_from_workdir = _tmp0_;
#line 4 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_object_notify ((GObject *) self, "from-workdir");
#line 1346 "gitg-diff-view-file-info.c"
	}
}


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


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


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


void gitg_diff_view_file_info_set_new_file_input_stream (GitgDiffViewFileInfo* self, GInputStream* value) {
#line 7 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_return_if_fail (self != NULL);
#line 7 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (gitg_diff_view_file_info_get_new_file_input_stream (self) != value) {
#line 1409 "gitg-diff-view-file-info.c"
		GInputStream* _tmp0_;
		GInputStream* _tmp1_;
#line 7 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_tmp0_ = value;
#line 7 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 7 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_g_object_unref0 (self->priv->_new_file_input_stream);
#line 7 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		self->priv->_new_file_input_stream = _tmp1_;
#line 7 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_object_notify ((GObject *) self, "new-file-input-stream");
#line 1422 "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_;
#line 8 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 8 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_tmp0_ = self->priv->_new_file_content_type;
#line 8 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	result = _tmp0_;
#line 8 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	return result;
#line 1438 "gitg-diff-view-file-info.c"
}


static void gitg_diff_view_file_info_set_new_file_content_type (GitgDiffViewFileInfo* self, const gchar* value) {
#line 8 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_return_if_fail (self != NULL);
#line 8 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	if (g_strcmp0 (value, gitg_diff_view_file_info_get_new_file_content_type (self)) != 0) {
#line 1447 "gitg-diff-view-file-info.c"
		const gchar* _tmp0_;
		gchar* _tmp1_;
#line 8 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_tmp0_ = value;
#line 8 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_tmp1_ = g_strdup (_tmp0_);
#line 8 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		_g_free0 (self->priv->_new_file_content_type);
#line 8 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		self->priv->_new_file_content_type = _tmp1_;
#line 8 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_object_notify ((GObject *) self, "new-file-content-type");
#line 1460 "gitg-diff-view-file-info.c"
	}
}


static void gitg_diff_view_file_info_class_init (GitgDiffViewFileInfoClass * klass) {
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	gitg_diff_view_file_info_parent_class = g_type_class_peek_parent (klass);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	g_type_class_add_private (klass, sizeof (GitgDiffViewFileInfoPrivate));
#line 1 "/home/mcatanzaro/Projects/GNOME/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/mcatanzaro/Projects/GNOME/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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_diff_view_file_info_finalize;
#line 1 "/home/mcatanzaro/Projects/GNOME/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/mcatanzaro/Projects/GNOME/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/mcatanzaro/Projects/GNOME/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/mcatanzaro/Projects/GNOME/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_input_stream_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 1 "/home/mcatanzaro/Projects/GNOME/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 1486 "gitg-diff-view-file-info.c"
}


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


static void gitg_diff_view_file_info_finalize (GObject * obj) {
	GitgDiffViewFileInfo * self;
#line 1 "/home/mcatanzaro/Projects/GNOME/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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_ggit_diff_delta_unref0 (self->priv->_delta);
#line 5 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (self->priv->_repository);
#line 7 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_object_unref0 (self->priv->_new_file_input_stream);
#line 8 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	_g_free0 (self->priv->_new_file_content_type);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	G_OBJECT_CLASS (gitg_diff_view_file_info_parent_class)->finalize (obj);
#line 1511 "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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	switch (property_id) {
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		case GITG_DIFF_VIEW_FILE_INFO_DELTA:
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_value_set_boxed (value, gitg_diff_view_file_info_get_delta (self));
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		break;
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		case GITG_DIFF_VIEW_FILE_INFO_FROM_WORKDIR:
#line 1 "/home/mcatanzaro/Projects/GNOME/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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		break;
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		case GITG_DIFF_VIEW_FILE_INFO_REPOSITORY:
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		g_value_set_object (value, gitg_diff_view_file_info_get_repository (self));
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		break;
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		case GITG_DIFF_VIEW_FILE_INFO_NEW_FILE_INPUT_STREAM:
#line 1 "/home/mcatanzaro/Projects/GNOME/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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		break;
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		case GITG_DIFF_VIEW_FILE_INFO_NEW_FILE_CONTENT_TYPE:
#line 1 "/home/mcatanzaro/Projects/GNOME/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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		break;
#line 1562 "gitg-diff-view-file-info.c"
		default:
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		break;
#line 1568 "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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
	switch (property_id) {
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		case GITG_DIFF_VIEW_FILE_INFO_DELTA:
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		gitg_diff_view_file_info_set_delta (self, g_value_get_boxed (value));
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		break;
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		case GITG_DIFF_VIEW_FILE_INFO_FROM_WORKDIR:
#line 1 "/home/mcatanzaro/Projects/GNOME/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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		break;
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		case GITG_DIFF_VIEW_FILE_INFO_REPOSITORY:
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		gitg_diff_view_file_info_set_repository (self, g_value_get_object (value));
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		break;
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		case GITG_DIFF_VIEW_FILE_INFO_NEW_FILE_INPUT_STREAM:
#line 1 "/home/mcatanzaro/Projects/GNOME/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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		break;
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		case GITG_DIFF_VIEW_FILE_INFO_NEW_FILE_CONTENT_TYPE:
#line 1 "/home/mcatanzaro/Projects/GNOME/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/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		break;
#line 1608 "gitg-diff-view-file-info.c"
		default:
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 1 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-info.vala"
		break;
#line 1614 "gitg-diff-view-file-info.c"
	}
}



