/* gitg-diff-view-file-renderer-text.c generated by valac 0.35.5.2-9e6c0, the Vala compiler
 * generated from gitg-diff-view-file-renderer-text.vala, do not modify */

/*
 * This file is part of gitg
 *
 * Copyright (C) 2016 - Jesse van den Kieboom
 *
 * gitg is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * gitg is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with gitg. If not, see <http://www.gnu.org/licenses/>.
 */

#include <glib.h>
#include <glib-object.h>
#include <gtksourceview/gtksource.h>
#include <gtk/gtk.h>
#include <libgit2-glib/ggit.h>
#include <gee.h>
#include <gio/gio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <cairo.h>
#include <gdk/gdk.h>
#include <float.h>
#include <math.h>


#define GITG_TYPE_DIFF_SELECTABLE (gitg_diff_selectable_get_type ())
#define GITG_DIFF_SELECTABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_DIFF_SELECTABLE, GitgDiffSelectable))
#define GITG_IS_DIFF_SELECTABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_DIFF_SELECTABLE))
#define GITG_DIFF_SELECTABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GITG_TYPE_DIFF_SELECTABLE, GitgDiffSelectableIface))

typedef struct _GitgDiffSelectable GitgDiffSelectable;
typedef struct _GitgDiffSelectableIface GitgDiffSelectableIface;

#define GITG_TYPE_PATCH_SET (gitg_patch_set_get_type ())
#define GITG_PATCH_SET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_PATCH_SET, GitgPatchSet))
#define GITG_PATCH_SET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_PATCH_SET, GitgPatchSetClass))
#define GITG_IS_PATCH_SET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_PATCH_SET))
#define GITG_IS_PATCH_SET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_PATCH_SET))
#define GITG_PATCH_SET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_PATCH_SET, GitgPatchSetClass))

typedef struct _GitgPatchSet GitgPatchSet;
typedef struct _GitgPatchSetClass GitgPatchSetClass;

#define GITG_TYPE_DIFF_VIEW_FILE_RENDERER (gitg_diff_view_file_renderer_get_type ())
#define GITG_DIFF_VIEW_FILE_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_DIFF_VIEW_FILE_RENDERER, GitgDiffViewFileRenderer))
#define GITG_IS_DIFF_VIEW_FILE_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_DIFF_VIEW_FILE_RENDERER))
#define GITG_DIFF_VIEW_FILE_RENDERER_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GITG_TYPE_DIFF_VIEW_FILE_RENDERER, GitgDiffViewFileRendererIface))

typedef struct _GitgDiffViewFileRenderer GitgDiffViewFileRenderer;
typedef struct _GitgDiffViewFileRendererIface GitgDiffViewFileRendererIface;

#define GITG_TYPE_DIFF_VIEW_FILE_RENDERER_TEXT (gitg_diff_view_file_renderer_text_get_type ())
#define GITG_DIFF_VIEW_FILE_RENDERER_TEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_DIFF_VIEW_FILE_RENDERER_TEXT, GitgDiffViewFileRendererText))
#define GITG_DIFF_VIEW_FILE_RENDERER_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_DIFF_VIEW_FILE_RENDERER_TEXT, GitgDiffViewFileRendererTextClass))
#define GITG_IS_DIFF_VIEW_FILE_RENDERER_TEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_DIFF_VIEW_FILE_RENDERER_TEXT))
#define GITG_IS_DIFF_VIEW_FILE_RENDERER_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_DIFF_VIEW_FILE_RENDERER_TEXT))
#define GITG_DIFF_VIEW_FILE_RENDERER_TEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_DIFF_VIEW_FILE_RENDERER_TEXT, GitgDiffViewFileRendererTextClass))

typedef struct _GitgDiffViewFileRendererText GitgDiffViewFileRendererText;
typedef struct _GitgDiffViewFileRendererTextClass GitgDiffViewFileRendererTextClass;
typedef struct _GitgDiffViewFileRendererTextPrivate GitgDiffViewFileRendererTextPrivate;

#define GITG_PATCH_SET_TYPE_PATCH (gitg_patch_set_patch_get_type ())

#define GITG_PATCH_SET_TYPE_TYPE (gitg_patch_set_type_get_type ())
typedef struct _GitgPatchSetPatch GitgPatchSetPatch;

#define GITG_TYPE_DIFF_VIEW_FILE_SELECTABLE (gitg_diff_view_file_selectable_get_type ())
#define GITG_DIFF_VIEW_FILE_SELECTABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_DIFF_VIEW_FILE_SELECTABLE, GitgDiffViewFileSelectable))
#define GITG_DIFF_VIEW_FILE_SELECTABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_DIFF_VIEW_FILE_SELECTABLE, GitgDiffViewFileSelectableClass))
#define GITG_IS_DIFF_VIEW_FILE_SELECTABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_DIFF_VIEW_FILE_SELECTABLE))
#define GITG_IS_DIFF_VIEW_FILE_SELECTABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_DIFF_VIEW_FILE_SELECTABLE))
#define GITG_DIFF_VIEW_FILE_SELECTABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_DIFF_VIEW_FILE_SELECTABLE, GitgDiffViewFileSelectableClass))

typedef struct _GitgDiffViewFileSelectable GitgDiffViewFileSelectable;
typedef struct _GitgDiffViewFileSelectableClass GitgDiffViewFileSelectableClass;

#define GITG_TYPE_DIFF_VIEW_LINES_RENDERER (gitg_diff_view_lines_renderer_get_type ())
#define GITG_DIFF_VIEW_LINES_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_DIFF_VIEW_LINES_RENDERER, GitgDiffViewLinesRenderer))
#define GITG_DIFF_VIEW_LINES_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_DIFF_VIEW_LINES_RENDERER, GitgDiffViewLinesRendererClass))
#define GITG_IS_DIFF_VIEW_LINES_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_DIFF_VIEW_LINES_RENDERER))
#define GITG_IS_DIFF_VIEW_LINES_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_DIFF_VIEW_LINES_RENDERER))
#define GITG_DIFF_VIEW_LINES_RENDERER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_DIFF_VIEW_LINES_RENDERER, GitgDiffViewLinesRendererClass))

typedef struct _GitgDiffViewLinesRenderer GitgDiffViewLinesRenderer;
typedef struct _GitgDiffViewLinesRendererClass GitgDiffViewLinesRendererClass;

#define GITG_DIFF_VIEW_FILE_RENDERER_TEXT_TYPE_REGION (gitg_diff_view_file_renderer_text_region_get_type ())

#define GITG_DIFF_VIEW_FILE_RENDERER_TEXT_TYPE_REGION_TYPE (gitg_diff_view_file_renderer_text_region_type_get_type ())
typedef struct _GitgDiffViewFileRendererTextRegion GitgDiffViewFileRendererTextRegion;

#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;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

#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;
typedef struct _GitgDiffViewFileRendererTextInitHighlightingBufferOldData GitgDiffViewFileRendererTextInitHighlightingBufferOldData;
#define _g_free0(var) (var = (g_free (var), NULL))
#define _ggit_diff_file_unref0(var) ((var == NULL) ? NULL : (var = (ggit_diff_file_unref (var), NULL)))
typedef struct _GitgDiffViewFileRendererTextInitHighlightingBufferNewData GitgDiffViewFileRendererTextInitHighlightingBufferNewData;
#define __vala_GgitOId_free0(var) ((var == NULL) ? NULL : (var = (_vala_GgitOId_free (var), NULL)))
#define _g_bytes_unref0(var) ((var == NULL) ? NULL : (var = (g_bytes_unref (var), NULL)))
typedef struct _GitgDiffViewFileRendererTextInitHighlightingBufferData GitgDiffViewFileRendererTextInitHighlightingBufferData;
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
typedef struct _GitgDiffViewFileRendererTextInitHighlightingBufferFromStreamData GitgDiffViewFileRendererTextInitHighlightingBufferFromStreamData;
#define _g_slist_free0(var) ((var == NULL) ? NULL : (var = (g_slist_free (var), NULL)))
#define _g_regex_unref0(var) ((var == NULL) ? NULL : (var = (g_regex_unref (var), NULL)))
#define _ggit_diff_line_unref0(var) ((var == NULL) ? NULL : (var = (ggit_diff_line_unref (var), NULL)))
#define _g_string_free0(var) ((var == NULL) ? NULL : (var = (g_string_free (var, TRUE), NULL)))
typedef struct _GitgPatchSetPrivate GitgPatchSetPrivate;
#define _gitg_patch_set_patch_free0(var) ((var == NULL) ? NULL : (var = (gitg_patch_set_patch_free (var), NULL)))
#define _gitg_patch_set_unref0(var) ((var == NULL) ? NULL : (var = (gitg_patch_set_unref (var), NULL)))

#define GITG_DIFF_VIEW_LINES_RENDERER_TYPE_STYLE (gitg_diff_view_lines_renderer_style_get_type ())

struct _GitgDiffSelectableIface {
	GTypeInterface parent_iface;
	gboolean (*get_has_selection) (GitgDiffSelectable* self);
	gboolean (*get_can_select) (GitgDiffSelectable* self);
	void (*set_can_select) (GitgDiffSelectable* self, gboolean value);
	GitgPatchSet* (*get_selection) (GitgDiffSelectable* self);
};

struct _GitgDiffViewFileRendererIface {
	GTypeInterface parent_iface;
	void (*add_hunk) (GitgDiffViewFileRenderer* self, GgitDiffHunk* hunk, GeeArrayList* lines);
};

struct _GitgDiffViewFileRendererText {
	GtkSourceView parent_instance;
	GitgDiffViewFileRendererTextPrivate * priv;
};

struct _GitgDiffViewFileRendererTextClass {
	GtkSourceViewClass parent_class;
};

typedef enum  {
	GITG_PATCH_SET_TYPE_ADD = 'a',
	GITG_PATCH_SET_TYPE_REMOVE = 'r'
} GitgPatchSetType;

struct _GitgPatchSetPatch {
	GitgPatchSetType type;
	gsize old_offset;
	gsize new_offset;
	gsize length;
};

typedef enum  {
	GITG_DIFF_VIEW_FILE_RENDERER_TEXT_REGION_TYPE_ADDED,
	GITG_DIFF_VIEW_FILE_RENDERER_TEXT_REGION_TYPE_REMOVED,
	GITG_DIFF_VIEW_FILE_RENDERER_TEXT_REGION_TYPE_CONTEXT
} GitgDiffViewFileRendererTextRegionType;

struct _GitgDiffViewFileRendererTextRegion {
	GitgDiffViewFileRendererTextRegionType type;
	gint buffer_line_start;
	gint source_line_start;
	gint length;
};

struct _GitgDiffViewFileRendererTextPrivate {
	guint _added;
	guint _removed;
	gint64 d_doffset;
	GeeHashMap* d_lines;
	GitgDiffViewFileSelectable* d_selectable;
	GitgDiffViewLinesRenderer* d_old_lines;
	GitgDiffViewLinesRenderer* d_new_lines;
	GitgDiffViewLinesRenderer* d_sym_lines;
	gboolean d_highlight;
	GCancellable* d_higlight_cancellable;
	GtkSourceBuffer* d_old_highlight_buffer;
	GtkSourceBuffer* d_new_highlight_buffer;
	gboolean d_old_highlight_ready;
	gboolean d_new_highlight_ready;
	GitgDiffViewFileRendererTextRegion* d_regions;
	gint d_regions_length1;
	gint _d_regions_size_;
	gboolean d_constructed;
	gboolean _new_is_workdir;
	gint _maxlines;
	GitgDiffViewFileInfo* _info;
	gboolean d_has_selection;
	gboolean _can_select;
};

struct _GitgDiffViewFileRendererTextInitHighlightingBufferOldData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	gboolean _task_complete_;
	GitgDiffViewFileRendererText* self;
	GCancellable* cancellable;
	GtkSourceBuffer* buffer;
	GgitDiffDelta* _tmp0_;
	GgitDiffDelta* _tmp1_;
	GgitDiffFile* _tmp2_;
	GCancellable* _tmp3_;
	GtkSourceBuffer* _tmp4_;
	GCancellable* _tmp5_;
	gboolean _tmp6_;
	GtkSourceBuffer* _tmp7_;
	GtkSourceBuffer* _tmp8_;
};

struct _GitgDiffViewFileRendererTextInitHighlightingBufferNewData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	gboolean _task_complete_;
	GitgDiffViewFileRendererText* self;
	GCancellable* cancellable;
	GtkSourceBuffer* buffer;
	GgitDiffFile* file;
	GgitDiffDelta* _tmp0_;
	GgitDiffDelta* _tmp1_;
	GgitDiffFile* _tmp2_;
	GgitDiffFile* _tmp3_;
	GitgDiffViewFileInfo* _tmp4_;
	GInputStream* _tmp5_;
	GInputStream* _tmp6_;
	GInputStream* stream;
	GitgDiffViewFileInfo* _tmp7_;
	GInputStream* _tmp8_;
	GInputStream* _tmp9_;
	GInputStream* _tmp10_;
	GitgDiffViewFileInfo* _tmp11_;
	GgitDiffDelta* _tmp12_;
	GgitDiffDelta* _tmp13_;
	GgitDiffFile* _tmp14_;
	GgitDiffFile* _tmp15_;
	GFile* _tmp16_;
	GFile* _tmp17_;
	GInputStream* _tmp18_;
	GitgDiffViewFileInfo* _tmp19_;
	const gchar* _tmp20_;
	const gchar* _tmp21_;
	GCancellable* _tmp22_;
	GtkSourceBuffer* _tmp23_;
	GgitDiffDelta* _tmp24_;
	GgitDiffDelta* _tmp25_;
	GgitDiffFile* _tmp26_;
	GitgDiffViewFileInfo* _tmp27_;
	gboolean _tmp28_;
	gboolean _tmp29_;
	GCancellable* _tmp30_;
	GtkSourceBuffer* _tmp31_;
	GCancellable* _tmp32_;
	gboolean _tmp33_;
	GtkSourceBuffer* _tmp34_;
	GtkSourceBuffer* _tmp35_;
};

struct _GitgDiffViewFileRendererTextInitHighlightingBufferData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	gboolean _task_complete_;
	GitgDiffViewFileRendererText* self;
	GgitDiffFile* file;
	gboolean from_workdir;
	GCancellable* cancellable;
	GtkSourceBuffer* result;
	GgitOId* id;
	GgitDiffFile* _tmp0_;
	GgitOId* _tmp1_;
	GgitOId* _tmp2_;
	GFile* location;
	GgitDiffFile* _tmp3_;
	GFile* _tmp4_;
	gboolean _tmp5_;
	gboolean _tmp6_;
	GgitOId* _tmp7_;
	gboolean _tmp8_;
	gboolean _tmp9_;
	gboolean _tmp10_;
	GFile* _tmp11_;
	gboolean _tmp12_;
	guint8* content;
	gint content_length1;
	gint _content_size_;
	gboolean _tmp13_;
	GgitBlob* blob;
	GgitBlob* _tmp14_;
	GitgRepository* _tmp15_;
	GitgRepository* _tmp16_;
	GgitOId* _tmp17_;
	gpointer _tmp18_;
	GgitBlob* _tmp19_;
	GgitBlob* _tmp20_;
	gsize _tmp21_;
	guint8* _tmp22_;
	guint8* _tmp23_;
	gint _tmp23__length1;
	gchar* etag;
	GFile* _tmp24_;
	GCancellable* _tmp25_;
	guint8* _tmp26_;
	gsize _tmp27_;
	gchar* _tmp28_;
	gboolean uncertain;
	gchar* content_type;
	GFile* _tmp29_;
	gchar* _tmp30_;
	gchar* _tmp31_;
	guint8* _tmp32_;
	gint _tmp32__length1;
	gboolean _tmp33_;
	gchar* _tmp34_;
	gchar* _tmp35_;
	GMemoryInputStream* stream;
	guint8* _tmp36_;
	gint _tmp36__length1;
	GBytes* _tmp37_;
	GBytes* _tmp38_;
	GMemoryInputStream* _tmp39_;
	GMemoryInputStream* _tmp40_;
	GgitDiffFile* _tmp41_;
	GFile* _tmp42_;
	GMemoryInputStream* _tmp43_;
	const gchar* _tmp44_;
	GCancellable* _tmp45_;
	GtkSourceBuffer* _tmp46_;
	GError * _inner_error_;
};

struct _GitgDiffViewFileRendererTextInitHighlightingBufferFromStreamData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	gboolean _task_complete_;
	GitgDiffViewFileRendererText* self;
	GgitDiffFile* file;
	GFile* location;
	GInputStream* stream;
	gchar* content_type;
	GCancellable* cancellable;
	GtkSourceBuffer* result;
	GtkSourceLanguageManager* manager;
	GtkSourceLanguageManager* _tmp0_;
	GtkSourceLanguageManager* _tmp1_;
	gchar* _tmp2_;
	GFile* _tmp3_;
	GFile* _tmp4_;
	gchar* _tmp5_;
	GtkSourceLanguage* language;
	GtkSourceLanguageManager* _tmp6_;
	const gchar* _tmp7_;
	GtkSourceLanguage* _tmp8_;
	GtkSourceLanguage* _tmp9_;
	GtkSourceLanguage* _tmp10_;
	GtkSourceBuffer* buffer;
	GtkTextBuffer* _tmp11_;
	GtkTextBuffer* _tmp12_;
	GtkTextTagTable* _tmp13_;
	GtkTextTagTable* _tmp14_;
	GtkSourceBuffer* _tmp15_;
	GtkSourceStyleSchemeManager* style_scheme_manager;
	GtkSourceStyleSchemeManager* _tmp16_;
	GtkSourceStyleSchemeManager* _tmp17_;
	GtkSourceBuffer* _tmp18_;
	GtkSourceLanguage* _tmp19_;
	GtkSourceBuffer* _tmp20_;
	GtkSourceBuffer* _tmp21_;
	GtkSourceStyleSchemeManager* _tmp22_;
	GtkSourceStyleScheme* _tmp23_;
	GtkSourceFile* sfile;
	GtkSourceFile* _tmp24_;
	GtkSourceFile* _tmp25_;
	GFile* _tmp26_;
	GtkSourceFileLoader* loader;
	GtkSourceBuffer* _tmp27_;
	GtkSourceFile* _tmp28_;
	GInputStream* _tmp29_;
	GtkSourceFileLoader* _tmp30_;
	GtkSourceFileLoader* _tmp31_;
	GCancellable* _tmp32_;
	GtkSourceBuffer* _tmp33_;
	GError* e;
	GCancellable* _tmp34_;
	gboolean _tmp35_;
	FILE* _tmp36_;
	GgitDiffFile* _tmp37_;
	const gchar* _tmp38_;
	const gchar* _tmp39_;
	GError* _tmp40_;
	const gchar* _tmp41_;
	const gchar* _tmp42_;
	gchar* _tmp43_;
	gchar* _tmp44_;
	GError * _inner_error_;
};

struct _GitgPatchSet {
	GTypeInstance parent_instance;
	volatile int ref_count;
	GitgPatchSetPrivate * priv;
	gchar* filename;
	GitgPatchSetPatch* patches;
	gint patches_length1;
};

struct _GitgPatchSetClass {
	GTypeClass parent_class;
	void (*finalize) (GitgPatchSet *self);
};

typedef enum  {
	GITG_DIFF_VIEW_LINES_RENDERER_STYLE_OLD,
	GITG_DIFF_VIEW_LINES_RENDERER_STYLE_NEW,
	GITG_DIFF_VIEW_LINES_RENDERER_STYLE_SYMBOL
} GitgDiffViewLinesRendererStyle;


static gpointer gitg_diff_view_file_renderer_text_parent_class = NULL;
static GitgDiffSelectableIface * gitg_diff_view_file_renderer_text_gitg_diff_selectable_parent_iface = NULL;
static GitgDiffViewFileRendererIface * gitg_diff_view_file_renderer_text_gitg_diff_view_file_renderer_parent_iface = NULL;

gpointer gitg_patch_set_ref (gpointer instance);
void gitg_patch_set_unref (gpointer instance);
GParamSpec* gitg_param_spec_patch_set (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void gitg_value_set_patch_set (GValue* value, gpointer v_object);
void gitg_value_take_patch_set (GValue* value, gpointer v_object);
gpointer gitg_value_get_patch_set (const GValue* value);
GType gitg_patch_set_get_type (void) G_GNUC_CONST;
GType gitg_diff_selectable_get_type (void) G_GNUC_CONST;
GType gitg_diff_view_file_renderer_get_type (void) G_GNUC_CONST;
GType gitg_diff_view_file_renderer_text_get_type (void) G_GNUC_CONST;
GType gitg_patch_set_patch_get_type (void) G_GNUC_CONST;
GType gitg_patch_set_type_get_type (void) G_GNUC_CONST;
GitgPatchSetPatch* gitg_patch_set_patch_dup (const GitgPatchSetPatch* self);
void gitg_patch_set_patch_free (GitgPatchSetPatch* self);
GType gitg_diff_view_file_selectable_get_type (void) G_GNUC_CONST;
GType gitg_diff_view_lines_renderer_get_type (void) G_GNUC_CONST;
static GType gitg_diff_view_file_renderer_text_region_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
static GType gitg_diff_view_file_renderer_text_region_type_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
static GitgDiffViewFileRendererTextRegion* gitg_diff_view_file_renderer_text_region_dup (const GitgDiffViewFileRendererTextRegion* self);
static void gitg_diff_view_file_renderer_text_region_free (GitgDiffViewFileRendererTextRegion* self);
GType gitg_diff_view_file_info_get_type (void) G_GNUC_CONST;
#define GITG_DIFF_VIEW_FILE_RENDERER_TEXT_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_TYPE_DIFF_VIEW_FILE_RENDERER_TEXT, GitgDiffViewFileRendererTextPrivate))
enum  {
	GITG_DIFF_VIEW_FILE_RENDERER_TEXT_DUMMY_PROPERTY,
	GITG_DIFF_VIEW_FILE_RENDERER_TEXT_ADDED,
	GITG_DIFF_VIEW_FILE_RENDERER_TEXT_REMOVED,
	GITG_DIFF_VIEW_FILE_RENDERER_TEXT_NEW_IS_WORKDIR,
	GITG_DIFF_VIEW_FILE_RENDERER_TEXT_WRAP_LINES,
	GITG_DIFF_VIEW_FILE_RENDERER_TEXT_TAB_WIDTH,
	GITG_DIFF_VIEW_FILE_RENDERER_TEXT_MAXLINES,
	GITG_DIFF_VIEW_FILE_RENDERER_TEXT_INFO,
	GITG_DIFF_VIEW_FILE_RENDERER_TEXT_DELTA,
	GITG_DIFF_VIEW_FILE_RENDERER_TEXT_REPOSITORY,
	GITG_DIFF_VIEW_FILE_RENDERER_TEXT_HIGHLIGHT,
	GITG_DIFF_VIEW_FILE_RENDERER_TEXT_HAS_SELECTION,
	GITG_DIFF_VIEW_FILE_RENDERER_TEXT_CAN_SELECT,
	GITG_DIFF_VIEW_FILE_RENDERER_TEXT_SELECTION
};
GitgDiffViewFileRendererText* gitg_diff_view_file_renderer_text_new (GitgDiffViewFileInfo* info, gboolean can_select);
GitgDiffViewFileRendererText* gitg_diff_view_file_renderer_text_construct (GType object_type, GitgDiffViewFileInfo* info, gboolean can_select);
static void gitg_diff_view_file_renderer_text_real_dispose (GObject* base);
static void gitg_diff_view_file_renderer_text_update_highlight (GitgDiffViewFileRendererText* self);
gboolean gitg_diff_view_file_renderer_text_get_highlight (GitgDiffViewFileRendererText* self);
GType gitg_repository_get_type (void) G_GNUC_CONST;
GitgRepository* gitg_diff_view_file_renderer_text_get_repository (GitgDiffViewFileRendererText* self);
GgitDiffDelta* gitg_diff_view_file_renderer_text_get_delta (GitgDiffViewFileRendererText* self);
static void gitg_diff_view_file_renderer_text_init_highlighting_buffer_old (GitgDiffViewFileRendererText* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void gitg_diff_view_file_renderer_text_init_highlighting_buffer_old_finish (GitgDiffViewFileRendererText* self, GAsyncResult* _res_);
static void ___lambda51_ (GitgDiffViewFileRendererText* self, GObject* obj, GAsyncResult* res);
static void ____lambda51__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void gitg_diff_view_file_renderer_text_init_highlighting_buffer_new (GitgDiffViewFileRendererText* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void gitg_diff_view_file_renderer_text_init_highlighting_buffer_new_finish (GitgDiffViewFileRendererText* self, GAsyncResult* _res_);
static void ___lambda52_ (GitgDiffViewFileRendererText* self, GObject* obj, GAsyncResult* res);
static void ____lambda52__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void gitg_diff_view_file_renderer_text_update_highlighting_ready (GitgDiffViewFileRendererText* self);
static void gitg_diff_view_file_renderer_text_init_highlighting_buffer_old_data_free (gpointer _data);
static gboolean gitg_diff_view_file_renderer_text_init_highlighting_buffer_old_co (GitgDiffViewFileRendererTextInitHighlightingBufferOldData* _data_);
static void gitg_diff_view_file_renderer_text_init_highlighting_buffer (GitgDiffViewFileRendererText* self, GgitDiffFile* file, gboolean from_workdir, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static GtkSourceBuffer* gitg_diff_view_file_renderer_text_init_highlighting_buffer_finish (GitgDiffViewFileRendererText* self, GAsyncResult* _res_);
static void gitg_diff_view_file_renderer_text_init_highlighting_buffer_old_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static GFile* gitg_diff_view_file_renderer_text_get_file_location (GitgDiffViewFileRendererText* self, GgitDiffFile* file);
static void gitg_diff_view_file_renderer_text_init_highlighting_buffer_new_data_free (gpointer _data);
static gboolean gitg_diff_view_file_renderer_text_init_highlighting_buffer_new_co (GitgDiffViewFileRendererTextInitHighlightingBufferNewData* _data_);
GitgDiffViewFileInfo* gitg_diff_view_file_renderer_text_get_info (GitgDiffViewFileRendererText* self);
GInputStream* gitg_diff_view_file_info_get_new_file_input_stream (GitgDiffViewFileInfo* self);
void gitg_diff_view_file_info_set_new_file_input_stream (GitgDiffViewFileInfo* self, GInputStream* value);
static void gitg_diff_view_file_renderer_text_init_highlighting_buffer_from_stream (GitgDiffViewFileRendererText* self, GgitDiffFile* file, GFile* location, GInputStream* stream, const gchar* content_type, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static GtkSourceBuffer* gitg_diff_view_file_renderer_text_init_highlighting_buffer_from_stream_finish (GitgDiffViewFileRendererText* self, GAsyncResult* _res_);
const gchar* gitg_diff_view_file_info_get_new_file_content_type (GitgDiffViewFileInfo* self);
static void gitg_diff_view_file_renderer_text_init_highlighting_buffer_new_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
gboolean gitg_diff_view_file_info_get_from_workdir (GitgDiffViewFileInfo* self);
static void gitg_diff_view_file_renderer_text_init_highlighting_buffer_data_free (gpointer _data);
static gboolean gitg_diff_view_file_renderer_text_init_highlighting_buffer_co (GitgDiffViewFileRendererTextInitHighlightingBufferData* _data_);
static GgitOId* _vala_GgitOId_copy (GgitOId* 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);
static guint8* _vala_array_dup9 (guint8* self, int length);
static void gitg_diff_view_file_renderer_text_init_highlighting_buffer_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void gitg_diff_view_file_renderer_text_init_highlighting_buffer_from_stream_data_free (gpointer _data);
static gboolean gitg_diff_view_file_renderer_text_init_highlighting_buffer_from_stream_co (GitgDiffViewFileRendererTextInitHighlightingBufferFromStreamData* _data_);
static void gitg_diff_view_file_renderer_text_init_highlighting_buffer_from_stream_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void gitg_diff_view_file_renderer_text_strip_carriage_returns (GitgDiffViewFileRendererText* self, GtkSourceBuffer* buffer);
static gboolean gitg_diff_view_file_renderer_text_real_draw (GtkWidget* base, cairo_t* cr);
static void gitg_diff_view_file_renderer_text_update_theme (GitgDiffViewFileRendererText* self);
static void gitg_diff_view_file_renderer_text_real_constructed (GObject* base);
static void gitg_diff_view_file_renderer_text_real_add_hunk (GitgDiffViewFileRenderer* base, GgitDiffHunk* hunk, GeeArrayList* lines);
guint gitg_diff_view_file_renderer_text_get_added (GitgDiffViewFileRendererText* self);
void gitg_diff_view_file_renderer_text_set_added (GitgDiffViewFileRendererText* self, guint value);
guint gitg_diff_view_file_renderer_text_get_removed (GitgDiffViewFileRendererText* self);
void gitg_diff_view_file_renderer_text_set_removed (GitgDiffViewFileRendererText* self, guint value);
static void _vala_array_add4 (GitgDiffViewFileRendererTextRegion* * array, int* length, int* size, const GitgDiffViewFileRendererTextRegion* value);
static guint8* _vala_array_dup10 (guint8* self, int length);
static void _vala_array_add5 (GitgDiffViewFileRendererTextRegion* * array, int* length, int* size, const GitgDiffViewFileRendererTextRegion* value);
void gitg_diff_view_lines_renderer_add_hunk (GitgDiffViewLinesRenderer* self, gint buffer_line_start, gint buffer_line_end, GgitDiffHunk* hunk, GeeArrayList* lines);
gboolean gitg_diff_view_file_renderer_text_get_new_is_workdir (GitgDiffViewFileRendererText* self);
void gitg_diff_view_file_renderer_text_set_new_is_workdir (GitgDiffViewFileRendererText* self, gboolean value);
gboolean gitg_diff_view_file_renderer_text_get_wrap_lines (GitgDiffViewFileRendererText* self);
void gitg_diff_view_file_renderer_text_set_wrap_lines (GitgDiffViewFileRendererText* self, gboolean value);
gint gitg_diff_view_file_renderer_text_get_tab_width (GitgDiffViewFileRendererText* self);
void gitg_diff_view_file_renderer_text_set_tab_width (GitgDiffViewFileRendererText* self, gint value);
gint gitg_diff_view_file_renderer_text_get_maxlines (GitgDiffViewFileRendererText* self);
void gitg_diff_view_file_renderer_text_set_maxlines (GitgDiffViewFileRendererText* self, gint value);
void gitg_diff_view_file_renderer_text_set_info (GitgDiffViewFileRendererText* self, GitgDiffViewFileInfo* value);
GgitDiffDelta* gitg_diff_view_file_info_get_delta (GitgDiffViewFileInfo* self);
GitgRepository* gitg_diff_view_file_info_get_repository (GitgDiffViewFileInfo* self);
void gitg_diff_view_file_renderer_text_set_highlight (GitgDiffViewFileRendererText* self, gboolean value);
GitgPatchSet* gitg_patch_set_new (void);
GitgPatchSet* gitg_patch_set_construct (GType object_type);
gboolean gitg_diff_selectable_get_can_select (GitgDiffSelectable* self);
gint* gitg_diff_view_file_selectable_get_selected_lines (GitgDiffViewFileSelectable* self, int* result_length1);
static void _vala_array_add6 (GitgPatchSetPatch* * array, int* length, int* size, const GitgPatchSetPatch* value);
static void _vala_array_add7 (GitgPatchSetPatch* * array, int* length, int* size, const GitgPatchSetPatch* value);
static GitgPatchSetPatch* _vala_array_dup11 (GitgPatchSetPatch* self, int length);
static GObject * gitg_diff_view_file_renderer_text_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
GType gitg_diff_view_lines_renderer_style_get_type (void) G_GNUC_CONST;
GitgDiffViewLinesRenderer* gitg_diff_view_lines_renderer_new (GitgDiffViewLinesRendererStyle style);
GitgDiffViewLinesRenderer* gitg_diff_view_lines_renderer_construct (GType object_type, GitgDiffViewLinesRendererStyle style);
static void _gitg_diff_view_file_renderer_text_update_theme_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
GitgDiffViewFileSelectable* gitg_diff_view_file_selectable_new (GtkSourceView* source_view);
GitgDiffViewFileSelectable* gitg_diff_view_file_selectable_construct (GType object_type, GtkSourceView* source_view);
static void _gitg_diff_view_file_renderer_text____lambda53_ (GitgDiffViewFileRendererText* self);
gboolean gitg_diff_view_file_selectable_get_has_selection (GitgDiffViewFileSelectable* self);
static void __gitg_diff_view_file_renderer_text____lambda53__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void gitg_diff_view_file_renderer_text_finalize (GObject * obj);
gboolean gitg_diff_selectable_get_has_selection (GitgDiffSelectable* self);
GitgPatchSet* gitg_diff_selectable_get_selection (GitgDiffSelectable* self);
static void _vala_gitg_diff_view_file_renderer_text_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
void gitg_diff_selectable_set_can_select (GitgDiffSelectable* self, gboolean value);
static void _vala_gitg_diff_view_file_renderer_text_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);


static GType gitg_diff_view_file_renderer_text_region_type_get_type (void) {
	static volatile gsize gitg_diff_view_file_renderer_text_region_type_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_diff_view_file_renderer_text_region_type_type_id__volatile)) {
		static const GEnumValue values[] = {{GITG_DIFF_VIEW_FILE_RENDERER_TEXT_REGION_TYPE_ADDED, "GITG_DIFF_VIEW_FILE_RENDERER_TEXT_REGION_TYPE_ADDED", "added"}, {GITG_DIFF_VIEW_FILE_RENDERER_TEXT_REGION_TYPE_REMOVED, "GITG_DIFF_VIEW_FILE_RENDERER_TEXT_REGION_TYPE_REMOVED", "removed"}, {GITG_DIFF_VIEW_FILE_RENDERER_TEXT_REGION_TYPE_CONTEXT, "GITG_DIFF_VIEW_FILE_RENDERER_TEXT_REGION_TYPE_CONTEXT", "context"}, {0, NULL, NULL}};
		GType gitg_diff_view_file_renderer_text_region_type_type_id;
		gitg_diff_view_file_renderer_text_region_type_type_id = g_enum_register_static ("GitgDiffViewFileRendererTextRegionType", values);
		g_once_init_leave (&gitg_diff_view_file_renderer_text_region_type_type_id__volatile, gitg_diff_view_file_renderer_text_region_type_type_id);
	}
	return gitg_diff_view_file_renderer_text_region_type_type_id__volatile;
}


GitgDiffViewFileRendererText* gitg_diff_view_file_renderer_text_construct (GType object_type, GitgDiffViewFileInfo* info, gboolean can_select) {
	GitgDiffViewFileRendererText * self = NULL;
	GitgDiffViewFileInfo* _tmp0_;
	gboolean _tmp1_;
#line 171 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_val_if_fail (info != NULL, NULL);
#line 173 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp0_ = info;
#line 173 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp1_ = can_select;
#line 173 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	self = (GitgDiffViewFileRendererText*) g_object_new (object_type, "info", _tmp0_, "can-select", _tmp1_, NULL);
#line 171 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return self;
#line 612 "gitg-diff-view-file-renderer-text.c"
}


GitgDiffViewFileRendererText* gitg_diff_view_file_renderer_text_new (GitgDiffViewFileInfo* info, gboolean can_select) {
#line 171 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return gitg_diff_view_file_renderer_text_construct (GITG_TYPE_DIFF_VIEW_FILE_RENDERER_TEXT, info, can_select);
#line 619 "gitg-diff-view-file-renderer-text.c"
}


static void gitg_diff_view_file_renderer_text_real_dispose (GObject* base) {
	GitgDiffViewFileRendererText * self;
	GCancellable* _tmp0_;
#line 215 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	self = (GitgDiffViewFileRendererText*) base;
#line 217 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	G_OBJECT_CLASS (gitg_diff_view_file_renderer_text_parent_class)->dispose ((GObject*) G_TYPE_CHECK_INSTANCE_CAST (self, gtk_source_view_get_type (), GtkSourceView));
#line 219 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp0_ = self->priv->d_higlight_cancellable;
#line 219 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (_tmp0_ != NULL) {
#line 634 "gitg-diff-view-file-renderer-text.c"
		GCancellable* _tmp1_;
#line 221 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp1_ = self->priv->d_higlight_cancellable;
#line 221 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_cancellable_cancel (_tmp1_);
#line 222 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (self->priv->d_higlight_cancellable);
#line 222 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		self->priv->d_higlight_cancellable = NULL;
#line 644 "gitg-diff-view-file-renderer-text.c"
	}
}


static gpointer _g_object_ref0 (gpointer self) {
#line 248 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return self ? g_object_ref (self) : NULL;
#line 652 "gitg-diff-view-file-renderer-text.c"
}


static void ___lambda51_ (GitgDiffViewFileRendererText* self, GObject* obj, GAsyncResult* res) {
	GAsyncResult* _tmp0_;
#line 250 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_if_fail (res != NULL);
#line 251 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp0_ = res;
#line 251 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gitg_diff_view_file_renderer_text_init_highlighting_buffer_old_finish (self, _tmp0_);
#line 664 "gitg-diff-view-file-renderer-text.c"
}


static void ____lambda51__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 250 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	___lambda51_ ((GitgDiffViewFileRendererText*) self, source_object, res);
#line 250 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_unref (self);
#line 673 "gitg-diff-view-file-renderer-text.c"
}


static void ___lambda52_ (GitgDiffViewFileRendererText* self, GObject* obj, GAsyncResult* res) {
	GAsyncResult* _tmp0_;
#line 254 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_if_fail (res != NULL);
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp0_ = res;
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gitg_diff_view_file_renderer_text_init_highlighting_buffer_new_finish (self, _tmp0_);
#line 685 "gitg-diff-view-file-renderer-text.c"
}


static void ____lambda52__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 254 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	___lambda52_ ((GitgDiffViewFileRendererText*) self, source_object, res);
#line 254 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_unref (self);
#line 694 "gitg-diff-view-file-renderer-text.c"
}


static void gitg_diff_view_file_renderer_text_update_highlight (GitgDiffViewFileRendererText* self) {
	gboolean _tmp0_;
	GCancellable* _tmp1_;
	gboolean _tmp3_ = FALSE;
	gboolean _tmp4_ = FALSE;
	gboolean _tmp5_;
	gboolean _tmp6_;
#line 226 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_if_fail (self != NULL);
#line 228 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp0_ = self->priv->d_constructed;
#line 228 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (!_tmp0_) {
#line 230 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		return;
#line 713 "gitg-diff-view-file-renderer-text.c"
	}
#line 233 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp1_ = self->priv->d_higlight_cancellable;
#line 233 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (_tmp1_ != NULL) {
#line 719 "gitg-diff-view-file-renderer-text.c"
		GCancellable* _tmp2_;
#line 235 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp2_ = self->priv->d_higlight_cancellable;
#line 235 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_cancellable_cancel (_tmp2_);
#line 236 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (self->priv->d_higlight_cancellable);
#line 236 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		self->priv->d_higlight_cancellable = NULL;
#line 729 "gitg-diff-view-file-renderer-text.c"
	}
#line 239 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (self->priv->d_old_highlight_buffer);
#line 239 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	self->priv->d_old_highlight_buffer = NULL;
#line 240 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (self->priv->d_new_highlight_buffer);
#line 240 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	self->priv->d_new_highlight_buffer = NULL;
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	self->priv->d_old_highlight_ready = FALSE;
#line 243 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	self->priv->d_new_highlight_ready = FALSE;
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp5_ = gitg_diff_view_file_renderer_text_get_highlight (self);
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp6_ = _tmp5_;
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (_tmp6_) {
#line 749 "gitg-diff-view-file-renderer-text.c"
		GitgRepository* _tmp7_;
		GitgRepository* _tmp8_;
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp7_ = gitg_diff_view_file_renderer_text_get_repository (self);
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp8_ = _tmp7_;
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp4_ = _tmp8_ != NULL;
#line 758 "gitg-diff-view-file-renderer-text.c"
	} else {
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp4_ = FALSE;
#line 762 "gitg-diff-view-file-renderer-text.c"
	}
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (_tmp4_) {
#line 766 "gitg-diff-view-file-renderer-text.c"
		GgitDiffDelta* _tmp9_;
		GgitDiffDelta* _tmp10_;
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp9_ = gitg_diff_view_file_renderer_text_get_delta (self);
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp10_ = _tmp9_;
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp3_ = _tmp10_ != NULL;
#line 775 "gitg-diff-view-file-renderer-text.c"
	} else {
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp3_ = FALSE;
#line 779 "gitg-diff-view-file-renderer-text.c"
	}
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (_tmp3_) {
#line 783 "gitg-diff-view-file-renderer-text.c"
		GCancellable* cancellable;
		GCancellable* _tmp11_;
		GCancellable* _tmp12_;
		GCancellable* _tmp13_;
		GCancellable* _tmp14_;
		GCancellable* _tmp15_;
#line 247 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp11_ = g_cancellable_new ();
#line 247 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		cancellable = _tmp11_;
#line 248 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp12_ = cancellable;
#line 248 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp13_ = _g_object_ref0 (_tmp12_);
#line 248 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (self->priv->d_higlight_cancellable);
#line 248 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		self->priv->d_higlight_cancellable = _tmp13_;
#line 250 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp14_ = cancellable;
#line 250 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		gitg_diff_view_file_renderer_text_init_highlighting_buffer_old (self, _tmp14_, ____lambda51__gasync_ready_callback, g_object_ref (self));
#line 254 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp15_ = cancellable;
#line 254 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		gitg_diff_view_file_renderer_text_init_highlighting_buffer_new (self, _tmp15_, ____lambda52__gasync_ready_callback, g_object_ref (self));
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (cancellable);
#line 812 "gitg-diff-view-file-renderer-text.c"
	} else {
#line 260 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		gitg_diff_view_file_renderer_text_update_highlighting_ready (self);
#line 816 "gitg-diff-view-file-renderer-text.c"
	}
}


static void gitg_diff_view_file_renderer_text_init_highlighting_buffer_old_data_free (gpointer _data) {
	GitgDiffViewFileRendererTextInitHighlightingBufferOldData* _data_;
	_data_ = _data;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (_data_->cancellable);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (_data_->self);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_slice_free (GitgDiffViewFileRendererTextInitHighlightingBufferOldData, _data_);
#line 830 "gitg-diff-view-file-renderer-text.c"
}


static void gitg_diff_view_file_renderer_text_init_highlighting_buffer_old (GitgDiffViewFileRendererText* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgDiffViewFileRendererTextInitHighlightingBufferOldData* _data_;
	GitgDiffViewFileRendererText* _tmp0_;
	GCancellable* _tmp1_;
	GCancellable* _tmp2_;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_ = g_slice_new0 (GitgDiffViewFileRendererTextInitHighlightingBufferOldData);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), cancellable, _callback_, _user_data_);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (_callback_ == NULL) {
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_task_complete_ = TRUE;
#line 847 "gitg-diff-view-file-renderer-text.c"
	}
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_task_set_task_data (_data_->_async_result, _data_, gitg_diff_view_file_renderer_text_init_highlighting_buffer_old_data_free);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->self = _tmp0_;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp1_ = cancellable;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (_data_->cancellable);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->cancellable = _tmp2_;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gitg_diff_view_file_renderer_text_init_highlighting_buffer_old_co (_data_);
#line 865 "gitg-diff-view-file-renderer-text.c"
}


static void gitg_diff_view_file_renderer_text_init_highlighting_buffer_old_finish (GitgDiffViewFileRendererText* self, GAsyncResult* _res_) {
	GitgDiffViewFileRendererTextInitHighlightingBufferOldData* _data_;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (NULL == _data_) {
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		return;
#line 877 "gitg-diff-view-file-renderer-text.c"
	}
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_task_complete_ = TRUE;
#line 881 "gitg-diff-view-file-renderer-text.c"
}


static void gitg_diff_view_file_renderer_text_init_highlighting_buffer_old_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgDiffViewFileRendererTextInitHighlightingBufferOldData* _data_;
#line 266 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_ = _user_data_;
#line 266 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_source_object_ = source_object;
#line 266 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_res_ = _res_;
#line 266 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_task_complete_ = TRUE;
#line 266 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gitg_diff_view_file_renderer_text_init_highlighting_buffer_old_co (_data_);
#line 897 "gitg-diff-view-file-renderer-text.c"
}


static gboolean gitg_diff_view_file_renderer_text_init_highlighting_buffer_old_co (GitgDiffViewFileRendererTextInitHighlightingBufferOldData* _data_) {
#line 264 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	switch (_data_->_state_) {
#line 264 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case 0:
#line 906 "gitg-diff-view-file-renderer-text.c"
		goto _state_0;
#line 264 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case 1:
#line 910 "gitg-diff-view-file-renderer-text.c"
		goto _state_1;
		default:
#line 264 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_assert_not_reached ();
#line 915 "gitg-diff-view-file-renderer-text.c"
	}
	_state_0:
#line 266 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp0_ = gitg_diff_view_file_renderer_text_get_delta (_data_->self);
#line 266 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 266 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp2_ = ggit_diff_delta_get_old_file (_data_->_tmp1_);
#line 266 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp3_ = _data_->cancellable;
#line 266 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_state_ = 1;
#line 266 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gitg_diff_view_file_renderer_text_init_highlighting_buffer (_data_->self, _data_->_tmp2_, FALSE, _data_->_tmp3_, gitg_diff_view_file_renderer_text_init_highlighting_buffer_old_ready, _data_);
#line 266 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return FALSE;
#line 932 "gitg-diff-view-file-renderer-text.c"
	_state_1:
#line 266 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp4_ = gitg_diff_view_file_renderer_text_init_highlighting_buffer_finish (_data_->self, _data_->_res_);
#line 266 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->buffer = _data_->_tmp4_;
#line 268 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp5_ = _data_->cancellable;
#line 268 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp6_ = g_cancellable_is_cancelled (_data_->_tmp5_);
#line 268 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (!_data_->_tmp6_) {
#line 270 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp7_ = _data_->buffer;
#line 270 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp8_ = _g_object_ref0 (_data_->_tmp7_);
#line 270 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (_data_->self->priv->d_old_highlight_buffer);
#line 270 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->self->priv->d_old_highlight_buffer = _data_->_tmp8_;
#line 271 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->self->priv->d_old_highlight_ready = TRUE;
#line 273 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		gitg_diff_view_file_renderer_text_update_highlighting_ready (_data_->self);
#line 956 "gitg-diff-view-file-renderer-text.c"
	}
#line 264 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (_data_->buffer);
#line 264 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 264 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (_data_->_state_ != 0) {
#line 264 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 264 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 968 "gitg-diff-view-file-renderer-text.c"
		}
	}
#line 264 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_unref (_data_->_async_result);
#line 264 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return FALSE;
#line 975 "gitg-diff-view-file-renderer-text.c"
}


static GFile* gitg_diff_view_file_renderer_text_get_file_location (GitgDiffViewFileRendererText* self, GgitDiffFile* file) {
	GFile* result = NULL;
	gchar* path;
	GgitDiffFile* _tmp0_;
	const gchar* _tmp1_;
	gchar* _tmp2_;
	const gchar* _tmp3_;
	GFile* workdir;
	GitgRepository* _tmp4_;
	GitgRepository* _tmp5_;
	GFile* _tmp6_;
	GFile* _tmp7_;
	GFile* _tmp8_;
	const gchar* _tmp9_;
	GFile* _tmp10_;
#line 277 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 277 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_val_if_fail (file != NULL, NULL);
#line 279 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp0_ = file;
#line 279 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp1_ = ggit_diff_file_get_path (_tmp0_);
#line 279 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 279 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	path = _tmp2_;
#line 281 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp3_ = path;
#line 281 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (_tmp3_ == NULL) {
#line 283 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		result = NULL;
#line 283 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_free0 (path);
#line 283 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		return result;
#line 1016 "gitg-diff-view-file-renderer-text.c"
	}
#line 286 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp4_ = gitg_diff_view_file_renderer_text_get_repository (self);
#line 286 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp5_ = _tmp4_;
#line 286 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp6_ = ggit_repository_get_workdir ((GgitRepository*) _tmp5_);
#line 286 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	workdir = _tmp6_;
#line 288 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp7_ = workdir;
#line 288 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (_tmp7_ == NULL) {
#line 290 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		result = NULL;
#line 290 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (workdir);
#line 290 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_free0 (path);
#line 290 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		return result;
#line 1038 "gitg-diff-view-file-renderer-text.c"
	}
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp8_ = workdir;
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp9_ = path;
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp10_ = g_file_get_child (_tmp8_, _tmp9_);
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	result = _tmp10_;
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (workdir);
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_free0 (path);
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return result;
#line 1054 "gitg-diff-view-file-renderer-text.c"
}


static void gitg_diff_view_file_renderer_text_init_highlighting_buffer_new_data_free (gpointer _data) {
	GitgDiffViewFileRendererTextInitHighlightingBufferNewData* _data_;
	_data_ = _data;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (_data_->cancellable);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (_data_->self);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_slice_free (GitgDiffViewFileRendererTextInitHighlightingBufferNewData, _data_);
#line 1067 "gitg-diff-view-file-renderer-text.c"
}


static void gitg_diff_view_file_renderer_text_init_highlighting_buffer_new (GitgDiffViewFileRendererText* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgDiffViewFileRendererTextInitHighlightingBufferNewData* _data_;
	GitgDiffViewFileRendererText* _tmp0_;
	GCancellable* _tmp1_;
	GCancellable* _tmp2_;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_ = g_slice_new0 (GitgDiffViewFileRendererTextInitHighlightingBufferNewData);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), cancellable, _callback_, _user_data_);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (_callback_ == NULL) {
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_task_complete_ = TRUE;
#line 1084 "gitg-diff-view-file-renderer-text.c"
	}
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_task_set_task_data (_data_->_async_result, _data_, gitg_diff_view_file_renderer_text_init_highlighting_buffer_new_data_free);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->self = _tmp0_;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp1_ = cancellable;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (_data_->cancellable);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->cancellable = _tmp2_;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gitg_diff_view_file_renderer_text_init_highlighting_buffer_new_co (_data_);
#line 1102 "gitg-diff-view-file-renderer-text.c"
}


static void gitg_diff_view_file_renderer_text_init_highlighting_buffer_new_finish (GitgDiffViewFileRendererText* self, GAsyncResult* _res_) {
	GitgDiffViewFileRendererTextInitHighlightingBufferNewData* _data_;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (NULL == _data_) {
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		return;
#line 1114 "gitg-diff-view-file-renderer-text.c"
	}
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_task_complete_ = TRUE;
#line 1118 "gitg-diff-view-file-renderer-text.c"
}


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


static void gitg_diff_view_file_renderer_text_init_highlighting_buffer_new_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgDiffViewFileRendererTextInitHighlightingBufferNewData* _data_;
#line 308 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_ = _user_data_;
#line 308 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_source_object_ = source_object;
#line 308 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_res_ = _res_;
#line 308 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_task_complete_ = TRUE;
#line 308 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gitg_diff_view_file_renderer_text_init_highlighting_buffer_new_co (_data_);
#line 1141 "gitg-diff-view-file-renderer-text.c"
}


static gboolean gitg_diff_view_file_renderer_text_init_highlighting_buffer_new_co (GitgDiffViewFileRendererTextInitHighlightingBufferNewData* _data_) {
#line 296 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	switch (_data_->_state_) {
#line 296 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case 0:
#line 1150 "gitg-diff-view-file-renderer-text.c"
		goto _state_0;
#line 296 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case 1:
#line 1154 "gitg-diff-view-file-renderer-text.c"
		goto _state_1;
#line 296 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case 2:
#line 1158 "gitg-diff-view-file-renderer-text.c"
		goto _state_2;
		default:
#line 296 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_assert_not_reached ();
#line 1163 "gitg-diff-view-file-renderer-text.c"
	}
	_state_0:
#line 300 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp0_ = gitg_diff_view_file_renderer_text_get_delta (_data_->self);
#line 300 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 300 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp2_ = ggit_diff_delta_get_new_file (_data_->_tmp1_);
#line 300 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp3_ = _ggit_diff_file_ref0 (_data_->_tmp2_);
#line 300 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->file = _data_->_tmp3_;
#line 302 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp4_ = _data_->self->priv->_info;
#line 302 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp5_ = gitg_diff_view_file_info_get_new_file_input_stream (_data_->_tmp4_);
#line 302 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 302 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (_data_->_tmp6_ != NULL) {
#line 305 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp7_ = _data_->self->priv->_info;
#line 305 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp8_ = gitg_diff_view_file_info_get_new_file_input_stream (_data_->_tmp7_);
#line 305 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp9_ = _data_->_tmp8_;
#line 305 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp10_ = _g_object_ref0 (_data_->_tmp9_);
#line 305 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->stream = _data_->_tmp10_;
#line 306 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp11_ = _data_->self->priv->_info;
#line 306 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		gitg_diff_view_file_info_set_new_file_input_stream (_data_->_tmp11_, NULL);
#line 308 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp12_ = gitg_diff_view_file_renderer_text_get_delta (_data_->self);
#line 308 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp13_ = _data_->_tmp12_;
#line 308 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp14_ = ggit_diff_delta_get_new_file (_data_->_tmp13_);
#line 308 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp15_ = _data_->file;
#line 308 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp16_ = gitg_diff_view_file_renderer_text_get_file_location (_data_->self, _data_->_tmp15_);
#line 308 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp17_ = _data_->_tmp16_;
#line 308 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp18_ = _data_->stream;
#line 308 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp19_ = _data_->self->priv->_info;
#line 308 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp20_ = gitg_diff_view_file_info_get_new_file_content_type (_data_->_tmp19_);
#line 308 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp21_ = _data_->_tmp20_;
#line 308 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp22_ = _data_->cancellable;
#line 308 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_state_ = 1;
#line 308 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		gitg_diff_view_file_renderer_text_init_highlighting_buffer_from_stream (_data_->self, _data_->_tmp14_, _data_->_tmp17_, _data_->_tmp18_, _data_->_tmp21_, _data_->_tmp22_, gitg_diff_view_file_renderer_text_init_highlighting_buffer_new_ready, _data_);
#line 308 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		return FALSE;
#line 1226 "gitg-diff-view-file-renderer-text.c"
		_state_1:
#line 308 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp23_ = gitg_diff_view_file_renderer_text_init_highlighting_buffer_from_stream_finish (_data_->self, _data_->_res_);
#line 308 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (_data_->buffer);
#line 308 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->buffer = _data_->_tmp23_;
#line 308 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (_data_->_tmp17_);
#line 302 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (_data_->stream);
#line 1238 "gitg-diff-view-file-renderer-text.c"
	} else {
#line 316 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp24_ = gitg_diff_view_file_renderer_text_get_delta (_data_->self);
#line 316 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp25_ = _data_->_tmp24_;
#line 316 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp26_ = ggit_diff_delta_get_new_file (_data_->_tmp25_);
#line 316 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp27_ = _data_->self->priv->_info;
#line 316 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp28_ = gitg_diff_view_file_info_get_from_workdir (_data_->_tmp27_);
#line 316 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp29_ = _data_->_tmp28_;
#line 316 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp30_ = _data_->cancellable;
#line 316 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_state_ = 2;
#line 316 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		gitg_diff_view_file_renderer_text_init_highlighting_buffer (_data_->self, _data_->_tmp26_, _data_->_tmp29_, _data_->_tmp30_, gitg_diff_view_file_renderer_text_init_highlighting_buffer_new_ready, _data_);
#line 316 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		return FALSE;
#line 1260 "gitg-diff-view-file-renderer-text.c"
		_state_2:
#line 316 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp31_ = gitg_diff_view_file_renderer_text_init_highlighting_buffer_finish (_data_->self, _data_->_res_);
#line 316 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (_data_->buffer);
#line 316 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->buffer = _data_->_tmp31_;
#line 1268 "gitg-diff-view-file-renderer-text.c"
	}
#line 319 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp32_ = _data_->cancellable;
#line 319 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp33_ = g_cancellable_is_cancelled (_data_->_tmp32_);
#line 319 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (!_data_->_tmp33_) {
#line 321 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp34_ = _data_->buffer;
#line 321 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp35_ = _g_object_ref0 (_data_->_tmp34_);
#line 321 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (_data_->self->priv->d_new_highlight_buffer);
#line 321 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->self->priv->d_new_highlight_buffer = _data_->_tmp35_;
#line 322 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->self->priv->d_new_highlight_ready = TRUE;
#line 324 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		gitg_diff_view_file_renderer_text_update_highlighting_ready (_data_->self);
#line 1288 "gitg-diff-view-file-renderer-text.c"
	}
#line 296 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_ggit_diff_file_unref0 (_data_->file);
#line 296 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (_data_->buffer);
#line 296 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 296 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (_data_->_state_ != 0) {
#line 296 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 296 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 1302 "gitg-diff-view-file-renderer-text.c"
		}
	}
#line 296 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_unref (_data_->_async_result);
#line 296 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return FALSE;
#line 1309 "gitg-diff-view-file-renderer-text.c"
}


static void gitg_diff_view_file_renderer_text_init_highlighting_buffer_data_free (gpointer _data) {
	GitgDiffViewFileRendererTextInitHighlightingBufferData* _data_;
	_data_ = _data;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_ggit_diff_file_unref0 (_data_->file);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (_data_->cancellable);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (_data_->result);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (_data_->self);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_slice_free (GitgDiffViewFileRendererTextInitHighlightingBufferData, _data_);
#line 1326 "gitg-diff-view-file-renderer-text.c"
}


static void gitg_diff_view_file_renderer_text_init_highlighting_buffer (GitgDiffViewFileRendererText* self, GgitDiffFile* file, gboolean from_workdir, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgDiffViewFileRendererTextInitHighlightingBufferData* _data_;
	GitgDiffViewFileRendererText* _tmp0_;
	GgitDiffFile* _tmp1_;
	GgitDiffFile* _tmp2_;
	gboolean _tmp3_;
	GCancellable* _tmp4_;
	GCancellable* _tmp5_;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_ = g_slice_new0 (GitgDiffViewFileRendererTextInitHighlightingBufferData);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), cancellable, _callback_, _user_data_);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (_callback_ == NULL) {
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_task_complete_ = TRUE;
#line 1346 "gitg-diff-view-file-renderer-text.c"
	}
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_task_set_task_data (_data_->_async_result, _data_, gitg_diff_view_file_renderer_text_init_highlighting_buffer_data_free);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->self = _tmp0_;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp1_ = file;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp2_ = _ggit_diff_file_ref0 (_tmp1_);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_ggit_diff_file_unref0 (_data_->file);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->file = _tmp2_;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp3_ = from_workdir;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->from_workdir = _tmp3_;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp4_ = cancellable;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp5_ = _g_object_ref0 (_tmp4_);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (_data_->cancellable);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->cancellable = _tmp5_;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gitg_diff_view_file_renderer_text_init_highlighting_buffer_co (_data_);
#line 1376 "gitg-diff-view-file-renderer-text.c"
}


static GtkSourceBuffer* gitg_diff_view_file_renderer_text_init_highlighting_buffer_finish (GitgDiffViewFileRendererText* self, GAsyncResult* _res_) {
	GtkSourceBuffer* result;
	GitgDiffViewFileRendererTextInitHighlightingBufferData* _data_;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (NULL == _data_) {
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		return NULL;
#line 1389 "gitg-diff-view-file-renderer-text.c"
	}
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_task_complete_ = TRUE;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	result = _data_->result;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->result = NULL;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return result;
#line 1399 "gitg-diff-view-file-renderer-text.c"
}


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


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


static void _vala_GgitOId_free (GgitOId* self) {
#line 335 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_boxed_free (ggit_oid_get_type (), self);
#line 1420 "gitg-diff-view-file-renderer-text.c"
}


static guint8* _vala_array_dup9 (guint8* self, int length) {
#line 353 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return g_memdup (self, length * sizeof (guint8));
#line 1427 "gitg-diff-view-file-renderer-text.c"
}


static void gitg_diff_view_file_renderer_text_init_highlighting_buffer_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgDiffViewFileRendererTextInitHighlightingBufferData* _data_;
#line 364 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_ = _user_data_;
#line 364 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_source_object_ = source_object;
#line 364 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_res_ = _res_;
#line 364 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_task_complete_ = TRUE;
#line 364 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gitg_diff_view_file_renderer_text_init_highlighting_buffer_co (_data_);
#line 1443 "gitg-diff-view-file-renderer-text.c"
}


static gboolean gitg_diff_view_file_renderer_text_init_highlighting_buffer_co (GitgDiffViewFileRendererTextInitHighlightingBufferData* _data_) {
#line 328 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	switch (_data_->_state_) {
#line 328 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case 0:
#line 1452 "gitg-diff-view-file-renderer-text.c"
		goto _state_0;
#line 328 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case 1:
#line 1456 "gitg-diff-view-file-renderer-text.c"
		goto _state_1;
#line 328 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case 2:
#line 1460 "gitg-diff-view-file-renderer-text.c"
		goto _state_2;
		default:
#line 328 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_assert_not_reached ();
#line 1465 "gitg-diff-view-file-renderer-text.c"
	}
	_state_0:
#line 330 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp0_ = _data_->file;
#line 330 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp1_ = ggit_diff_file_get_oid (_data_->_tmp0_);
#line 330 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp2_ = __vala_GgitOId_copy0 (_data_->_tmp1_);
#line 330 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->id = _data_->_tmp2_;
#line 331 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp3_ = _data_->file;
#line 331 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp4_ = gitg_diff_view_file_renderer_text_get_file_location (_data_->self, _data_->_tmp3_);
#line 331 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->location = _data_->_tmp4_;
#line 333 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp7_ = _data_->id;
#line 333 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp8_ = ggit_oid_is_zero (_data_->_tmp7_);
#line 333 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (_data_->_tmp8_) {
#line 333 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp9_ = _data_->from_workdir;
#line 333 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp6_ = !_data_->_tmp9_;
#line 1492 "gitg-diff-view-file-renderer-text.c"
	} else {
#line 333 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp6_ = FALSE;
#line 1496 "gitg-diff-view-file-renderer-text.c"
	}
#line 333 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (_data_->_tmp6_) {
#line 333 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp5_ = TRUE;
#line 1502 "gitg-diff-view-file-renderer-text.c"
	} else {
#line 333 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp11_ = _data_->location;
#line 333 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		if (_data_->_tmp11_ == NULL) {
#line 333 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->_tmp12_ = _data_->from_workdir;
#line 333 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->_tmp10_ = _data_->_tmp12_;
#line 1512 "gitg-diff-view-file-renderer-text.c"
		} else {
#line 333 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->_tmp10_ = FALSE;
#line 1516 "gitg-diff-view-file-renderer-text.c"
		}
#line 333 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp5_ = _data_->_tmp10_;
#line 1520 "gitg-diff-view-file-renderer-text.c"
	}
#line 333 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (_data_->_tmp5_) {
#line 335 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->result = NULL;
#line 335 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (_data_->location);
#line 335 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		__vala_GgitOId_free0 (_data_->id);
#line 335 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 335 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		if (_data_->_state_ != 0) {
#line 335 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			while (_data_->_task_complete_ != TRUE) {
#line 335 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 1538 "gitg-diff-view-file-renderer-text.c"
			}
		}
#line 335 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_object_unref (_data_->_async_result);
#line 335 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		return FALSE;
#line 1545 "gitg-diff-view-file-renderer-text.c"
	}
#line 338 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->content_length1 = 0;
#line 338 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_content_size_ = 0;
#line 340 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp13_ = _data_->from_workdir;
#line 340 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (!_data_->_tmp13_) {
#line 1555 "gitg-diff-view-file-renderer-text.c"
		{
#line 346 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->_tmp15_ = gitg_diff_view_file_renderer_text_get_repository (_data_->self);
#line 346 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->_tmp16_ = _data_->_tmp15_;
#line 346 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->_tmp17_ = _data_->id;
#line 346 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->_tmp18_ = gitg_repository_lookup (_data_->_tmp16_, ggit_blob_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, _data_->_tmp17_, &_data_->_inner_error_);
#line 346 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->_tmp14_ = (GgitBlob*) _data_->_tmp18_;
#line 346 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1569 "gitg-diff-view-file-renderer-text.c"
				goto __catch41_g_error;
			}
#line 346 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->_tmp19_ = _data_->_tmp14_;
#line 346 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->_tmp14_ = NULL;
#line 346 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_g_object_unref0 (_data_->blob);
#line 346 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->blob = _data_->_tmp19_;
#line 344 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_g_object_unref0 (_data_->_tmp14_);
#line 1582 "gitg-diff-view-file-renderer-text.c"
		}
		goto __finally41;
		__catch41_g_error:
		{
#line 344 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			g_clear_error (&_data_->_inner_error_);
#line 344 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->_inner_error_ = NULL;
#line 350 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->result = NULL;
#line 350 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_g_object_unref0 (_data_->blob);
#line 350 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->content = (g_free (_data_->content), NULL);
#line 350 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_g_object_unref0 (_data_->location);
#line 350 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			__vala_GgitOId_free0 (_data_->id);
#line 350 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 350 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			if (_data_->_state_ != 0) {
#line 350 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				while (_data_->_task_complete_ != TRUE) {
#line 350 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 1609 "gitg-diff-view-file-renderer-text.c"
				}
			}
#line 350 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			g_object_unref (_data_->_async_result);
#line 350 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			return FALSE;
#line 1616 "gitg-diff-view-file-renderer-text.c"
		}
		__finally41:
#line 344 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 344 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_g_object_unref0 (_data_->blob);
#line 344 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->content = (g_free (_data_->content), NULL);
#line 344 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_g_object_unref0 (_data_->location);
#line 344 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			__vala_GgitOId_free0 (_data_->id);
#line 344 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.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 344 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			g_clear_error (&_data_->_inner_error_);
#line 344 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			return FALSE;
#line 1635 "gitg-diff-view-file-renderer-text.c"
		}
#line 353 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp20_ = _data_->blob;
#line 353 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp22_ = ggit_blob_get_raw_content (_data_->_tmp20_, &_data_->_tmp21_);
#line 353 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp23_ = (_data_->_tmp22_ != NULL) ? _vala_array_dup9 (_data_->_tmp22_, _data_->_tmp21_) : ((gpointer) _data_->_tmp22_);
#line 353 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp23__length1 = _data_->_tmp21_;
#line 353 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->content = (g_free (_data_->content), NULL);
#line 353 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->content = _data_->_tmp23_;
#line 353 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->content_length1 = _data_->_tmp23__length1;
#line 353 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_content_size_ = _data_->content_length1;
#line 340 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (_data_->blob);
#line 1655 "gitg-diff-view-file-renderer-text.c"
	} else {
		{
#line 364 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->_tmp24_ = _data_->location;
#line 364 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->_tmp25_ = _data_->cancellable;
#line 364 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->_tmp26_ = NULL;
#line 364 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->_tmp28_ = NULL;
#line 364 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->_state_ = 1;
#line 364 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			g_file_load_contents_async (_data_->_tmp24_, _data_->_tmp25_, gitg_diff_view_file_renderer_text_init_highlighting_buffer_ready, _data_);
#line 364 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			return FALSE;
#line 1672 "gitg-diff-view-file-renderer-text.c"
			_state_1:
#line 364 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			g_file_load_contents_finish (_data_->_tmp24_, _data_->_res_, &_data_->_tmp26_, &_data_->_tmp27_, &_data_->_tmp28_, &_data_->_inner_error_);
#line 364 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->content = (g_free (_data_->content), NULL);
#line 364 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->content = _data_->_tmp26_;
#line 364 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->content_length1 = _data_->_tmp27_;
#line 364 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->_content_size_ = _data_->content_length1;
#line 364 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_g_free0 (_data_->etag);
#line 364 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->etag = _data_->_tmp28_;
#line 364 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 364 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_g_free0 (_data_->etag);
#line 1692 "gitg-diff-view-file-renderer-text.c"
				goto __catch42_g_error;
			}
#line 358 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_g_free0 (_data_->etag);
#line 1697 "gitg-diff-view-file-renderer-text.c"
		}
		goto __finally42;
		__catch42_g_error:
		{
#line 358 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			g_clear_error (&_data_->_inner_error_);
#line 358 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->_inner_error_ = NULL;
#line 368 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->result = NULL;
#line 368 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->content = (g_free (_data_->content), NULL);
#line 368 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_g_object_unref0 (_data_->location);
#line 368 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			__vala_GgitOId_free0 (_data_->id);
#line 368 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 368 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			if (_data_->_state_ != 0) {
#line 368 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				while (_data_->_task_complete_ != TRUE) {
#line 368 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 1722 "gitg-diff-view-file-renderer-text.c"
				}
			}
#line 368 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			g_object_unref (_data_->_async_result);
#line 368 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			return FALSE;
#line 1729 "gitg-diff-view-file-renderer-text.c"
		}
		__finally42:
#line 358 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 358 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->content = (g_free (_data_->content), NULL);
#line 358 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_g_object_unref0 (_data_->location);
#line 358 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			__vala_GgitOId_free0 (_data_->id);
#line 358 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.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 358 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			g_clear_error (&_data_->_inner_error_);
#line 358 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			return FALSE;
#line 1746 "gitg-diff-view-file-renderer-text.c"
		}
	}
#line 373 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp29_ = _data_->location;
#line 373 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp30_ = g_file_get_basename (_data_->_tmp29_);
#line 373 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp31_ = _data_->_tmp30_;
#line 373 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp32_ = _data_->content;
#line 373 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp32__length1 = _data_->content_length1;
#line 373 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp33_ = FALSE;
#line 373 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp34_ = g_content_type_guess (_data_->_tmp31_, _data_->_tmp32_, (gsize) _data_->_tmp32__length1, &_data_->_tmp33_);
#line 373 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->uncertain = _data_->_tmp33_;
#line 373 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp35_ = _data_->_tmp34_;
#line 373 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_free0 (_data_->_tmp31_);
#line 373 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->content_type = _data_->_tmp35_;
#line 375 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp36_ = _data_->content;
#line 375 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp36__length1 = _data_->content_length1;
#line 375 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp37_ = g_bytes_new (_data_->_tmp36_, _data_->_tmp36__length1);
#line 375 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp38_ = _data_->_tmp37_;
#line 375 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp39_ = (GMemoryInputStream*) g_memory_input_stream_new_from_bytes (_data_->_tmp38_);
#line 375 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp40_ = _data_->_tmp39_;
#line 375 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_bytes_unref0 (_data_->_tmp38_);
#line 375 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->stream = _data_->_tmp40_;
#line 377 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp41_ = _data_->file;
#line 377 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp42_ = _data_->location;
#line 377 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp43_ = _data_->stream;
#line 377 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp44_ = _data_->content_type;
#line 377 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp45_ = _data_->cancellable;
#line 377 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_state_ = 2;
#line 377 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gitg_diff_view_file_renderer_text_init_highlighting_buffer_from_stream (_data_->self, _data_->_tmp41_, _data_->_tmp42_, (GInputStream*) _data_->_tmp43_, _data_->_tmp44_, _data_->_tmp45_, gitg_diff_view_file_renderer_text_init_highlighting_buffer_ready, _data_);
#line 377 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return FALSE;
#line 1803 "gitg-diff-view-file-renderer-text.c"
	_state_2:
#line 377 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp46_ = gitg_diff_view_file_renderer_text_init_highlighting_buffer_from_stream_finish (_data_->self, _data_->_res_);
#line 377 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->result = _data_->_tmp46_;
#line 377 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (_data_->stream);
#line 377 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_free0 (_data_->content_type);
#line 377 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->content = (g_free (_data_->content), NULL);
#line 377 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (_data_->location);
#line 377 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	__vala_GgitOId_free0 (_data_->id);
#line 377 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 377 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (_data_->_state_ != 0) {
#line 377 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 377 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 1827 "gitg-diff-view-file-renderer-text.c"
		}
	}
#line 377 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_unref (_data_->_async_result);
#line 377 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return FALSE;
#line 1834 "gitg-diff-view-file-renderer-text.c"
}


static void gitg_diff_view_file_renderer_text_init_highlighting_buffer_from_stream_data_free (gpointer _data) {
	GitgDiffViewFileRendererTextInitHighlightingBufferFromStreamData* _data_;
	_data_ = _data;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_ggit_diff_file_unref0 (_data_->file);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (_data_->location);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (_data_->stream);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_free0 (_data_->content_type);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (_data_->cancellable);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (_data_->result);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (_data_->self);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_slice_free (GitgDiffViewFileRendererTextInitHighlightingBufferFromStreamData, _data_);
#line 1857 "gitg-diff-view-file-renderer-text.c"
}


static void gitg_diff_view_file_renderer_text_init_highlighting_buffer_from_stream (GitgDiffViewFileRendererText* self, GgitDiffFile* file, GFile* location, GInputStream* stream, const gchar* content_type, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgDiffViewFileRendererTextInitHighlightingBufferFromStreamData* _data_;
	GitgDiffViewFileRendererText* _tmp0_;
	GgitDiffFile* _tmp1_;
	GgitDiffFile* _tmp2_;
	GFile* _tmp3_;
	GFile* _tmp4_;
	GInputStream* _tmp5_;
	GInputStream* _tmp6_;
	const gchar* _tmp7_;
	gchar* _tmp8_;
	GCancellable* _tmp9_;
	GCancellable* _tmp10_;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_ = g_slice_new0 (GitgDiffViewFileRendererTextInitHighlightingBufferFromStreamData);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), cancellable, _callback_, _user_data_);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (_callback_ == NULL) {
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_task_complete_ = TRUE;
#line 1882 "gitg-diff-view-file-renderer-text.c"
	}
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_task_set_task_data (_data_->_async_result, _data_, gitg_diff_view_file_renderer_text_init_highlighting_buffer_from_stream_data_free);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->self = _tmp0_;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp1_ = file;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp2_ = _ggit_diff_file_ref0 (_tmp1_);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_ggit_diff_file_unref0 (_data_->file);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->file = _tmp2_;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp3_ = location;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (_data_->location);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->location = _tmp4_;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp5_ = stream;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp6_ = _g_object_ref0 (_tmp5_);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (_data_->stream);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->stream = _tmp6_;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp7_ = content_type;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp8_ = g_strdup (_tmp7_);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_free0 (_data_->content_type);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->content_type = _tmp8_;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp9_ = cancellable;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp10_ = _g_object_ref0 (_tmp9_);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (_data_->cancellable);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->cancellable = _tmp10_;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gitg_diff_view_file_renderer_text_init_highlighting_buffer_from_stream_co (_data_);
#line 1932 "gitg-diff-view-file-renderer-text.c"
}


static GtkSourceBuffer* gitg_diff_view_file_renderer_text_init_highlighting_buffer_from_stream_finish (GitgDiffViewFileRendererText* self, GAsyncResult* _res_) {
	GtkSourceBuffer* result;
	GitgDiffViewFileRendererTextInitHighlightingBufferFromStreamData* _data_;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (NULL == _data_) {
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		return NULL;
#line 1945 "gitg-diff-view-file-renderer-text.c"
	}
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_task_complete_ = TRUE;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	result = _data_->result;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->result = NULL;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return result;
#line 1955 "gitg-diff-view-file-renderer-text.c"
}


static void gitg_diff_view_file_renderer_text_init_highlighting_buffer_from_stream_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgDiffViewFileRendererTextInitHighlightingBufferFromStreamData* _data_;
#line 405 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_ = _user_data_;
#line 405 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_source_object_ = source_object;
#line 405 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_res_ = _res_;
#line 405 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_task_complete_ = TRUE;
#line 405 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gitg_diff_view_file_renderer_text_init_highlighting_buffer_from_stream_co (_data_);
#line 1971 "gitg-diff-view-file-renderer-text.c"
}


static const gchar* string_to_string (const gchar* self) {
	const gchar* result = NULL;
#line 1434 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1435 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	result = self;
#line 1435 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	return result;
#line 1983 "gitg-diff-view-file-renderer-text.c"
}


static gboolean gitg_diff_view_file_renderer_text_init_highlighting_buffer_from_stream_co (GitgDiffViewFileRendererTextInitHighlightingBufferFromStreamData* _data_) {
#line 380 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	switch (_data_->_state_) {
#line 380 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case 0:
#line 1992 "gitg-diff-view-file-renderer-text.c"
		goto _state_0;
#line 380 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case 1:
#line 1996 "gitg-diff-view-file-renderer-text.c"
		goto _state_1;
		default:
#line 380 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_assert_not_reached ();
#line 2001 "gitg-diff-view-file-renderer-text.c"
	}
	_state_0:
#line 382 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp0_ = gtk_source_language_manager_get_default ();
#line 382 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp1_ = _g_object_ref0 (_data_->_tmp0_);
#line 382 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->manager = _data_->_tmp1_;
#line 383 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp3_ = _data_->location;
#line 383 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (_data_->_tmp3_ != NULL) {
#line 383 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp4_ = _data_->location;
#line 383 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp5_ = g_file_get_basename (_data_->_tmp4_);
#line 383 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_free0 (_data_->_tmp2_);
#line 383 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp2_ = _data_->_tmp5_;
#line 2022 "gitg-diff-view-file-renderer-text.c"
	} else {
#line 383 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_free0 (_data_->_tmp2_);
#line 383 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp2_ = NULL;
#line 2028 "gitg-diff-view-file-renderer-text.c"
	}
#line 383 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp6_ = _data_->manager;
#line 383 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp7_ = _data_->content_type;
#line 383 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp8_ = gtk_source_language_manager_guess_language (_data_->_tmp6_, _data_->_tmp2_, _data_->_tmp7_);
#line 383 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp9_ = _g_object_ref0 (_data_->_tmp8_);
#line 383 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->language = _data_->_tmp9_;
#line 385 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp10_ = _data_->language;
#line 385 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (_data_->_tmp10_ == NULL) {
#line 387 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->result = NULL;
#line 387 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (_data_->language);
#line 387 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_free0 (_data_->_tmp2_);
#line 387 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (_data_->manager);
#line 387 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 387 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		if (_data_->_state_ != 0) {
#line 387 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			while (_data_->_task_complete_ != TRUE) {
#line 387 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 2060 "gitg-diff-view-file-renderer-text.c"
			}
		}
#line 387 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_object_unref (_data_->_async_result);
#line 387 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		return FALSE;
#line 2067 "gitg-diff-view-file-renderer-text.c"
	}
#line 390 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp11_ = gtk_text_view_get_buffer ((GtkTextView*) _data_->self);
#line 390 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp12_ = _data_->_tmp11_;
#line 390 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp13_ = gtk_text_buffer_get_tag_table (_data_->_tmp12_);
#line 390 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp14_ = _data_->_tmp13_;
#line 390 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp15_ = gtk_source_buffer_new (_data_->_tmp14_);
#line 390 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->buffer = _data_->_tmp15_;
#line 392 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp16_ = gtk_source_style_scheme_manager_get_default ();
#line 392 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp17_ = _g_object_ref0 (_data_->_tmp16_);
#line 392 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->style_scheme_manager = _data_->_tmp17_;
#line 394 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp18_ = _data_->buffer;
#line 394 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp19_ = _data_->language;
#line 394 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_source_buffer_set_language (_data_->_tmp18_, _data_->_tmp19_);
#line 395 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp20_ = _data_->buffer;
#line 395 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_source_buffer_set_highlight_syntax (_data_->_tmp20_, TRUE);
#line 396 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp21_ = _data_->buffer;
#line 396 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp22_ = _data_->style_scheme_manager;
#line 396 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp23_ = gtk_source_style_scheme_manager_get_scheme (_data_->_tmp22_, "classic");
#line 396 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_source_buffer_set_style_scheme (_data_->_tmp21_, _data_->_tmp23_);
#line 398 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp24_ = gtk_source_file_new ();
#line 398 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->sfile = _data_->_tmp24_;
#line 399 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp25_ = _data_->sfile;
#line 399 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp26_ = _data_->location;
#line 399 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_source_file_set_location (_data_->_tmp25_, _data_->_tmp26_);
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp27_ = _data_->buffer;
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp28_ = _data_->sfile;
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp29_ = _data_->stream;
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->_tmp30_ = gtk_source_file_loader_new_from_stream (_data_->_tmp27_, _data_->_tmp28_, _data_->_tmp29_);
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->loader = _data_->_tmp30_;
#line 2125 "gitg-diff-view-file-renderer-text.c"
	{
#line 405 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp31_ = _data_->loader;
#line 405 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp32_ = _data_->cancellable;
#line 405 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_state_ = 1;
#line 405 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		gtk_source_file_loader_load_async (_data_->_tmp31_, G_PRIORITY_LOW, _data_->_tmp32_, NULL, NULL, NULL, gitg_diff_view_file_renderer_text_init_highlighting_buffer_from_stream_ready, _data_);
#line 405 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		return FALSE;
#line 2137 "gitg-diff-view-file-renderer-text.c"
		_state_1:
#line 405 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		gtk_source_file_loader_load_finish (_data_->_tmp31_, _data_->_res_, &_data_->_inner_error_);
#line 405 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 2143 "gitg-diff-view-file-renderer-text.c"
			goto __catch43_g_error;
		}
#line 406 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp33_ = _data_->buffer;
#line 406 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		gitg_diff_view_file_renderer_text_strip_carriage_returns (_data_->self, _data_->_tmp33_);
#line 2150 "gitg-diff-view-file-renderer-text.c"
	}
	goto __finally43;
	__catch43_g_error:
	{
#line 403 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->e = _data_->_inner_error_;
#line 403 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_inner_error_ = NULL;
#line 410 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp34_ = _data_->cancellable;
#line 410 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->_tmp35_ = g_cancellable_is_cancelled (_data_->_tmp34_);
#line 410 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		if (!_data_->_tmp35_) {
#line 412 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->_tmp36_ = stderr;
#line 412 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->_tmp37_ = _data_->file;
#line 412 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->_tmp38_ = ggit_diff_file_get_path (_data_->_tmp37_);
#line 412 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->_tmp39_ = string_to_string (_data_->_tmp38_);
#line 412 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->_tmp40_ = _data_->e;
#line 412 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->_tmp41_ = _data_->_tmp40_->message;
#line 412 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->_tmp42_ = string_to_string (_data_->_tmp41_);
#line 412 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->_tmp43_ = g_strconcat ("ERROR: failed to load ", _data_->_tmp39_, " for highlighting: ", _data_->_tmp42_, "\n", NULL);
#line 412 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_data_->_tmp44_ = _data_->_tmp43_;
#line 412 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			fprintf (_data_->_tmp36_, "%s", _data_->_tmp44_);
#line 412 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_g_free0 (_data_->_tmp44_);
#line 2187 "gitg-diff-view-file-renderer-text.c"
		}
#line 415 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_data_->result = NULL;
#line 415 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_error_free0 (_data_->e);
#line 415 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (_data_->loader);
#line 415 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (_data_->sfile);
#line 415 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (_data_->style_scheme_manager);
#line 415 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (_data_->buffer);
#line 415 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (_data_->language);
#line 415 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_free0 (_data_->_tmp2_);
#line 415 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (_data_->manager);
#line 415 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 415 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		if (_data_->_state_ != 0) {
#line 415 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			while (_data_->_task_complete_ != TRUE) {
#line 415 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 2215 "gitg-diff-view-file-renderer-text.c"
			}
		}
#line 415 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_object_unref (_data_->_async_result);
#line 415 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		return FALSE;
#line 2222 "gitg-diff-view-file-renderer-text.c"
	}
	__finally43:
#line 403 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 403 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (_data_->loader);
#line 403 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (_data_->sfile);
#line 403 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (_data_->style_scheme_manager);
#line 403 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (_data_->buffer);
#line 403 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (_data_->language);
#line 403 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_free0 (_data_->_tmp2_);
#line 403 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (_data_->manager);
#line 403 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.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 403 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_clear_error (&_data_->_inner_error_);
#line 403 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		return FALSE;
#line 2247 "gitg-diff-view-file-renderer-text.c"
	}
#line 418 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_data_->result = _data_->buffer;
#line 418 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (_data_->loader);
#line 418 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (_data_->sfile);
#line 418 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (_data_->style_scheme_manager);
#line 418 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (_data_->language);
#line 418 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_free0 (_data_->_tmp2_);
#line 418 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (_data_->manager);
#line 418 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 418 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (_data_->_state_ != 0) {
#line 418 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 418 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 2271 "gitg-diff-view-file-renderer-text.c"
		}
	}
#line 418 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_unref (_data_->_async_result);
#line 418 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return FALSE;
#line 2278 "gitg-diff-view-file-renderer-text.c"
}


static void gitg_diff_view_file_renderer_text_strip_carriage_returns (GitgDiffViewFileRendererText* self, GtkSourceBuffer* buffer) {
	GtkSourceSearchSettings* search_settings;
	GtkSourceSearchSettings* _tmp0_;
	GtkSourceSearchContext* search_context;
	GtkSourceBuffer* _tmp1_;
	GtkSourceSearchContext* _tmp2_;
	GError * _inner_error_ = NULL;
#line 421 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_if_fail (self != NULL);
#line 421 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_if_fail (buffer != NULL);
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp0_ = gtk_source_search_settings_new ();
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	search_settings = _tmp0_;
#line 425 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_source_search_settings_set_regex_enabled (search_settings, TRUE);
#line 426 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_source_search_settings_set_search_text (search_settings, "\\r");
#line 428 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp1_ = buffer;
#line 428 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp2_ = gtk_source_search_context_new (_tmp1_, search_settings);
#line 428 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	search_context = _tmp2_;
#line 2307 "gitg-diff-view-file-renderer-text.c"
	{
#line 432 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		gtk_source_search_context_replace_all (search_context, "", 0, &_inner_error_);
#line 432 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2313 "gitg-diff-view-file-renderer-text.c"
			goto __catch44_g_error;
		}
	}
	goto __finally44;
	__catch44_g_error:
	{
		GError* e = NULL;
#line 430 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		e = _inner_error_;
#line 430 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_inner_error_ = NULL;
#line 430 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_error_free0 (e);
#line 2327 "gitg-diff-view-file-renderer-text.c"
	}
	__finally44:
#line 430 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 430 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (search_context);
#line 430 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (search_settings);
#line 430 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 430 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_clear_error (&_inner_error_);
#line 430 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		return;
#line 2342 "gitg-diff-view-file-renderer-text.c"
	}
#line 421 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (search_context);
#line 421 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (search_settings);
#line 2348 "gitg-diff-view-file-renderer-text.c"
}


static void gitg_diff_view_file_renderer_text_update_highlighting_ready (GitgDiffViewFileRendererText* self) {
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_;
	GtkTextBuffer* buffer;
	GtkTextBuffer* _tmp6_;
	GtkTextBuffer* _tmp7_;
	GtkTextBuffer* _tmp8_;
	GitgDiffViewFileRendererTextRegion* _tmp9_;
	gint _tmp9__length1;
#line 436 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_if_fail (self != NULL);
#line 438 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp1_ = self->priv->d_old_highlight_ready;
#line 438 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (!_tmp1_) {
#line 2367 "gitg-diff-view-file-renderer-text.c"
		gboolean _tmp2_;
#line 438 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp2_ = self->priv->d_new_highlight_ready;
#line 438 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp0_ = !_tmp2_;
#line 2373 "gitg-diff-view-file-renderer-text.c"
	} else {
#line 438 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp0_ = FALSE;
#line 2377 "gitg-diff-view-file-renderer-text.c"
	}
#line 438 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (_tmp0_) {
#line 441 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		return;
#line 2383 "gitg-diff-view-file-renderer-text.c"
	} else {
		gboolean _tmp3_ = FALSE;
		gboolean _tmp4_;
#line 443 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp4_ = self->priv->d_old_highlight_ready;
#line 443 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		if (!_tmp4_) {
#line 443 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_tmp3_ = TRUE;
#line 2393 "gitg-diff-view-file-renderer-text.c"
		} else {
			gboolean _tmp5_;
#line 443 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_tmp5_ = self->priv->d_new_highlight_ready;
#line 443 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_tmp3_ = !_tmp5_;
#line 2400 "gitg-diff-view-file-renderer-text.c"
		}
#line 443 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		if (_tmp3_) {
#line 446 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			return;
#line 2406 "gitg-diff-view-file-renderer-text.c"
		}
	}
#line 449 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp6_ = gtk_text_view_get_buffer ((GtkTextView*) self);
#line 449 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp7_ = _tmp6_;
#line 449 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp8_ = _g_object_ref0 (_tmp7_);
#line 449 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	buffer = _tmp8_;
#line 453 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp9_ = self->priv->d_regions;
#line 453 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp9__length1 = self->priv->d_regions_length1;
#line 2421 "gitg-diff-view-file-renderer-text.c"
	{
		GitgDiffViewFileRendererTextRegion* region_collection = NULL;
		gint region_collection_length1 = 0;
		gint _region_collection_size_ = 0;
		gint region_it = 0;
#line 453 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		region_collection = _tmp9_;
#line 453 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		region_collection_length1 = _tmp9__length1;
#line 453 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		for (region_it = 0; region_it < _tmp9__length1; region_it = region_it + 1) {
#line 2433 "gitg-diff-view-file-renderer-text.c"
			GitgDiffViewFileRendererTextRegion region = {0};
#line 453 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			region = region_collection[region_it];
#line 2437 "gitg-diff-view-file-renderer-text.c"
			{
				GtkSourceBuffer* source = NULL;
				GitgDiffViewFileRendererTextRegion _tmp10_;
				GitgDiffViewFileRendererTextRegionType _tmp11_;
				GtkSourceBuffer* _tmp16_;
				GtkTextIter buffer_iter = {0};
				GtkTextIter source_iter = {0};
				GtkTextBuffer* _tmp17_;
				GitgDiffViewFileRendererTextRegion _tmp18_;
				gint _tmp19_;
				GtkTextIter _tmp20_ = {0};
				GtkSourceBuffer* _tmp21_;
				GitgDiffViewFileRendererTextRegion _tmp22_;
				gint _tmp23_;
				GtkTextIter _tmp24_ = {0};
				GtkTextIter source_end_iter;
				GtkTextIter _tmp25_;
				GitgDiffViewFileRendererTextRegion _tmp26_;
				gint _tmp27_;
				GtkSourceBuffer* _tmp28_;
				GtkTextIter _tmp29_;
				GtkTextIter _tmp30_;
				GtkTextIter buffer_end_iter;
				GtkTextIter _tmp31_;
				GitgDiffViewFileRendererTextRegion _tmp32_;
				gint _tmp33_;
				GtkTextIter source_next_iter;
				GtkTextIter _tmp34_;
				GSList* tags;
				GSList* _tmp35_;
				GSList* _tmp51_;
#line 457 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp10_ = region;
#line 457 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp11_ = _tmp10_.type;
#line 457 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				if (_tmp11_ == GITG_DIFF_VIEW_FILE_RENDERER_TEXT_REGION_TYPE_REMOVED) {
#line 2475 "gitg-diff-view-file-renderer-text.c"
					GtkSourceBuffer* _tmp12_;
					GtkSourceBuffer* _tmp13_;
#line 459 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp12_ = self->priv->d_old_highlight_buffer;
#line 459 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp13_ = _g_object_ref0 (_tmp12_);
#line 459 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_g_object_unref0 (source);
#line 459 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					source = _tmp13_;
#line 2486 "gitg-diff-view-file-renderer-text.c"
				} else {
					GtkSourceBuffer* _tmp14_;
					GtkSourceBuffer* _tmp15_;
#line 463 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp14_ = self->priv->d_new_highlight_buffer;
#line 463 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp15_ = _g_object_ref0 (_tmp14_);
#line 463 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_g_object_unref0 (source);
#line 463 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					source = _tmp15_;
#line 2498 "gitg-diff-view-file-renderer-text.c"
				}
#line 466 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp16_ = source;
#line 466 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				if (_tmp16_ == NULL) {
#line 468 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_g_object_unref0 (source);
#line 468 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					continue;
#line 2508 "gitg-diff-view-file-renderer-text.c"
				}
#line 473 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp17_ = buffer;
#line 473 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp18_ = region;
#line 473 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp19_ = _tmp18_.buffer_line_start;
#line 473 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				gtk_text_buffer_get_iter_at_line (_tmp17_, &_tmp20_, _tmp19_);
#line 473 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				buffer_iter = _tmp20_;
#line 474 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp21_ = source;
#line 474 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp22_ = region;
#line 474 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp23_ = _tmp22_.source_line_start;
#line 474 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				gtk_text_buffer_get_iter_at_line ((GtkTextBuffer*) _tmp21_, &_tmp24_, _tmp23_);
#line 474 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				source_iter = _tmp24_;
#line 476 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp25_ = source_iter;
#line 476 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				source_end_iter = _tmp25_;
#line 477 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp26_ = region;
#line 477 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp27_ = _tmp26_.length;
#line 477 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				gtk_text_iter_forward_lines (&source_end_iter, _tmp27_);
#line 479 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp28_ = source;
#line 479 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp29_ = source_iter;
#line 479 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp30_ = source_end_iter;
#line 479 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				gtk_source_buffer_ensure_highlight (_tmp28_, &_tmp29_, &_tmp30_);
#line 481 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp31_ = buffer_iter;
#line 481 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				buffer_end_iter = _tmp31_;
#line 482 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp32_ = region;
#line 482 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp33_ = _tmp32_.length;
#line 482 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				gtk_text_iter_forward_lines (&buffer_end_iter, _tmp33_);
#line 484 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp34_ = source_iter;
#line 484 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				source_next_iter = _tmp34_;
#line 485 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp35_ = gtk_text_iter_get_tags (&source_iter);
#line 485 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				tags = _tmp35_;
#line 487 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				while (TRUE) {
#line 2568 "gitg-diff-view-file-renderer-text.c"
					gboolean _tmp36_ = FALSE;
					gboolean _tmp37_;
					GtkTextIter buffer_next_iter;
					GtkTextIter _tmp40_;
					gint _tmp41_;
					gint _tmp42_;
					GSList* _tmp43_;
					GtkTextIter _tmp48_;
					GtkTextIter _tmp49_;
					GSList* _tmp50_;
#line 487 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp37_ = gtk_text_iter_forward_to_tag_toggle (&source_next_iter, NULL);
#line 487 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					if (_tmp37_) {
#line 2583 "gitg-diff-view-file-renderer-text.c"
						GtkTextIter _tmp38_;
						gint _tmp39_;
#line 487 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp38_ = source_end_iter;
#line 487 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp39_ = gtk_text_iter_compare (&source_next_iter, &_tmp38_);
#line 487 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp36_ = _tmp39_ < 0;
#line 2592 "gitg-diff-view-file-renderer-text.c"
					} else {
#line 487 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp36_ = FALSE;
#line 2596 "gitg-diff-view-file-renderer-text.c"
					}
#line 487 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					if (!_tmp36_) {
#line 487 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						break;
#line 2602 "gitg-diff-view-file-renderer-text.c"
					}
#line 489 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp40_ = buffer_iter;
#line 489 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					buffer_next_iter = _tmp40_;
#line 490 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp41_ = gtk_text_iter_get_offset (&source_next_iter);
#line 490 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp42_ = gtk_text_iter_get_offset (&source_iter);
#line 490 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					gtk_text_iter_forward_chars (&buffer_next_iter, _tmp41_ - _tmp42_);
#line 492 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp43_ = tags;
#line 2616 "gitg-diff-view-file-renderer-text.c"
					{
						GSList* tag_collection = NULL;
						GSList* tag_it = NULL;
#line 492 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						tag_collection = _tmp43_;
#line 492 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						for (tag_it = tag_collection; tag_it != NULL; tag_it = tag_it->next) {
#line 2624 "gitg-diff-view-file-renderer-text.c"
							GtkTextTag* tag = NULL;
#line 492 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
							tag = (GtkTextTag*) tag_it->data;
#line 2628 "gitg-diff-view-file-renderer-text.c"
							{
								GtkTextBuffer* _tmp44_;
								GtkTextTag* _tmp45_;
								GtkTextIter _tmp46_;
								GtkTextIter _tmp47_;
#line 494 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
								_tmp44_ = buffer;
#line 494 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
								_tmp45_ = tag;
#line 494 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
								_tmp46_ = buffer_iter;
#line 494 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
								_tmp47_ = buffer_next_iter;
#line 494 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
								gtk_text_buffer_apply_tag (_tmp44_, _tmp45_, &_tmp46_, &_tmp47_);
#line 2644 "gitg-diff-view-file-renderer-text.c"
							}
						}
					}
#line 497 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp48_ = source_next_iter;
#line 497 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					source_iter = _tmp48_;
#line 498 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp49_ = buffer_next_iter;
#line 498 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					buffer_iter = _tmp49_;
#line 500 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp50_ = gtk_text_iter_get_tags (&source_iter);
#line 500 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_g_slist_free0 (tags);
#line 500 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					tags = _tmp50_;
#line 2662 "gitg-diff-view-file-renderer-text.c"
				}
#line 503 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp51_ = tags;
#line 2666 "gitg-diff-view-file-renderer-text.c"
				{
					GSList* tag_collection = NULL;
					GSList* tag_it = NULL;
#line 503 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					tag_collection = _tmp51_;
#line 503 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					for (tag_it = tag_collection; tag_it != NULL; tag_it = tag_it->next) {
#line 2674 "gitg-diff-view-file-renderer-text.c"
						GtkTextTag* tag = NULL;
#line 503 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						tag = (GtkTextTag*) tag_it->data;
#line 2678 "gitg-diff-view-file-renderer-text.c"
						{
							GtkTextBuffer* _tmp52_;
							GtkTextTag* _tmp53_;
							GtkTextIter _tmp54_;
							GtkTextIter _tmp55_;
#line 505 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
							_tmp52_ = buffer;
#line 505 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
							_tmp53_ = tag;
#line 505 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
							_tmp54_ = buffer_iter;
#line 505 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
							_tmp55_ = buffer_end_iter;
#line 505 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
							gtk_text_buffer_apply_tag (_tmp52_, _tmp53_, &_tmp54_, &_tmp55_);
#line 2694 "gitg-diff-view-file-renderer-text.c"
						}
					}
				}
#line 453 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_g_slist_free0 (tags);
#line 453 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_g_object_unref0 (source);
#line 2702 "gitg-diff-view-file-renderer-text.c"
			}
		}
	}
#line 436 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (buffer);
#line 2708 "gitg-diff-view-file-renderer-text.c"
}


static gboolean gitg_diff_view_file_renderer_text_real_draw (GtkWidget* base, cairo_t* cr) {
	GitgDiffViewFileRendererText * self;
	gboolean result = FALSE;
	cairo_t* _tmp0_;
	GdkWindow* win;
	GdkWindow* _tmp1_;
	GdkWindow* _tmp2_;
	cairo_t* _tmp3_;
	GdkWindow* _tmp4_;
	gboolean _tmp5_;
	GtkStyleContext* ctx;
	GtkStyleContext* _tmp6_;
	GtkStyleContext* _tmp7_;
	gint old_lines_width;
	GitgDiffViewLinesRenderer* _tmp8_;
	gint _tmp9_;
	gint _tmp10_;
	GitgDiffViewLinesRenderer* _tmp11_;
	gint _tmp12_;
	gint _tmp13_;
	gint new_lines_width;
	GitgDiffViewLinesRenderer* _tmp14_;
	gint _tmp15_;
	gint _tmp16_;
	GitgDiffViewLinesRenderer* _tmp17_;
	gint _tmp18_;
	gint _tmp19_;
	gint sym_lines_width;
	GitgDiffViewLinesRenderer* _tmp20_;
	gint _tmp21_;
	gint _tmp22_;
	GitgDiffViewLinesRenderer* _tmp23_;
	gint _tmp24_;
	gint _tmp25_;
	GtkStyleContext* _tmp26_;
	cairo_t* _tmp27_;
	GdkWindow* _tmp28_;
	GtkStyleContext* _tmp29_;
	GtkStyleContext* _tmp30_;
	cairo_t* _tmp31_;
	gint _tmp32_;
	GdkWindow* _tmp33_;
	gint _tmp34_;
	GtkStyleContext* _tmp35_;
	GtkStyleContext* _tmp36_;
	cairo_t* _tmp37_;
	GdkWindow* _tmp38_;
	GtkStyleContext* _tmp39_;
	GtkStyleContext* _tmp40_;
	cairo_t* _tmp41_;
	gint _tmp42_;
	gint _tmp43_;
	gint _tmp44_;
	GdkWindow* _tmp45_;
	gint _tmp46_;
	GtkStyleContext* _tmp47_;
#line 510 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	self = (GitgDiffViewFileRendererText*) base;
#line 510 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_val_if_fail (cr != NULL, FALSE);
#line 512 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp0_ = cr;
#line 512 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	GTK_WIDGET_CLASS (gitg_diff_view_file_renderer_text_parent_class)->draw ((GtkWidget*) G_TYPE_CHECK_INSTANCE_CAST (self, gtk_source_view_get_type (), GtkSourceView), _tmp0_);
#line 514 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp1_ = gtk_text_view_get_window ((GtkTextView*) self, GTK_TEXT_WINDOW_LEFT);
#line 514 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 514 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	win = _tmp2_;
#line 516 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp3_ = cr;
#line 516 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp4_ = win;
#line 516 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp5_ = gtk_cairo_should_draw_window (_tmp3_, _tmp4_);
#line 516 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (!_tmp5_) {
#line 518 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		result = FALSE;
#line 518 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (win);
#line 518 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		return result;
#line 2796 "gitg-diff-view-file-renderer-text.c"
	}
#line 521 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp6_ = gtk_widget_get_style_context ((GtkWidget*) self);
#line 521 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp7_ = _g_object_ref0 (_tmp6_);
#line 521 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	ctx = _tmp7_;
#line 523 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp8_ = self->priv->d_old_lines;
#line 523 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp9_ = gtk_source_gutter_renderer_get_size ((GtkSourceGutterRenderer*) _tmp8_);
#line 523 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp10_ = _tmp9_;
#line 523 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp11_ = self->priv->d_old_lines;
#line 523 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_get ((GtkSourceGutterRenderer*) _tmp11_, "xpad", &_tmp12_, NULL);
#line 523 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp13_ = _tmp12_;
#line 523 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	old_lines_width = _tmp10_ + (_tmp13_ * 2);
#line 524 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp14_ = self->priv->d_new_lines;
#line 524 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp15_ = gtk_source_gutter_renderer_get_size ((GtkSourceGutterRenderer*) _tmp14_);
#line 524 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp16_ = _tmp15_;
#line 524 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp17_ = self->priv->d_new_lines;
#line 524 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_get ((GtkSourceGutterRenderer*) _tmp17_, "xpad", &_tmp18_, NULL);
#line 524 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp19_ = _tmp18_;
#line 524 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	new_lines_width = _tmp16_ + (_tmp19_ * 2);
#line 525 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp20_ = self->priv->d_sym_lines;
#line 525 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp21_ = gtk_source_gutter_renderer_get_size ((GtkSourceGutterRenderer*) _tmp20_);
#line 525 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp22_ = _tmp21_;
#line 525 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp23_ = self->priv->d_sym_lines;
#line 525 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_get ((GtkSourceGutterRenderer*) _tmp23_, "xpad", &_tmp24_, NULL);
#line 525 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp25_ = _tmp24_;
#line 525 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	sym_lines_width = _tmp22_ + (_tmp25_ * 2);
#line 527 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp26_ = ctx;
#line 527 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_style_context_save (_tmp26_);
#line 528 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp27_ = cr;
#line 528 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp28_ = win;
#line 528 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_cairo_transform_to_window (_tmp27_, (GtkWidget*) self, _tmp28_);
#line 529 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp29_ = ctx;
#line 529 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_style_context_add_class (_tmp29_, "diff-lines-separator");
#line 530 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp30_ = ctx;
#line 530 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp31_ = cr;
#line 530 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp32_ = old_lines_width;
#line 530 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp33_ = win;
#line 530 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp34_ = gdk_window_get_height (_tmp33_);
#line 530 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_render_frame (_tmp30_, _tmp31_, (gdouble) 0, (gdouble) 0, (gdouble) _tmp32_, (gdouble) _tmp34_);
#line 531 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp35_ = ctx;
#line 531 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_style_context_restore (_tmp35_);
#line 533 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp36_ = ctx;
#line 533 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_style_context_save (_tmp36_);
#line 534 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp37_ = cr;
#line 534 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp38_ = win;
#line 534 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_cairo_transform_to_window (_tmp37_, (GtkWidget*) self, _tmp38_);
#line 535 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp39_ = ctx;
#line 535 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_style_context_add_class (_tmp39_, "diff-lines-gutter-border");
#line 536 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp40_ = ctx;
#line 536 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp41_ = cr;
#line 536 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp42_ = old_lines_width;
#line 536 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp43_ = new_lines_width;
#line 536 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp44_ = sym_lines_width;
#line 536 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp45_ = win;
#line 536 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp46_ = gdk_window_get_height (_tmp45_);
#line 536 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_render_frame (_tmp40_, _tmp41_, (gdouble) (_tmp42_ + _tmp43_), (gdouble) 0, (gdouble) _tmp44_, (gdouble) _tmp46_);
#line 537 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp47_ = ctx;
#line 537 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_style_context_restore (_tmp47_);
#line 539 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	result = FALSE;
#line 539 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (ctx);
#line 539 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (win);
#line 539 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return result;
#line 2918 "gitg-diff-view-file-renderer-text.c"
}


static void gitg_diff_view_file_renderer_text_update_theme (GitgDiffViewFileRendererText* self) {
	GtkSourceMarkAttributes* header_attributes;
	GtkSourceMarkAttributes* _tmp0_;
	GtkSourceMarkAttributes* added_attributes;
	GtkSourceMarkAttributes* _tmp1_;
	GtkSourceMarkAttributes* removed_attributes;
	GtkSourceMarkAttributes* _tmp2_;
	GtkSettings* settings;
	GtkSettings* _tmp3_;
	GtkSettings* _tmp4_;
	gchar* theme;
	const gchar* _tmp5_;
	gchar* _tmp6_;
	gboolean _tmp7_ = FALSE;
	GtkSettings* _tmp8_;
	gboolean _tmp9_;
	gboolean _tmp10_;
	gboolean dark;
	gboolean _tmp15_;
	GtkSourceMarkAttributes* _tmp28_;
	GtkSourceMarkAttributes* _tmp29_;
	GtkSourceMarkAttributes* _tmp30_;
#line 542 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_if_fail (self != NULL);
#line 544 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp0_ = gtk_source_mark_attributes_new ();
#line 544 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	header_attributes = _tmp0_;
#line 545 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp1_ = gtk_source_mark_attributes_new ();
#line 545 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	added_attributes = _tmp1_;
#line 546 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp2_ = gtk_source_mark_attributes_new ();
#line 546 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	removed_attributes = _tmp2_;
#line 548 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp3_ = gtk_settings_get_default ();
#line 548 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 548 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	settings = _tmp4_;
#line 549 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp5_ = g_getenv ("GTK_THEME");
#line 549 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp6_ = g_strdup (_tmp5_);
#line 549 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	theme = _tmp6_;
#line 551 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp8_ = settings;
#line 551 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_get (_tmp8_, "gtk-application-prefer-dark-theme", &_tmp9_, NULL);
#line 551 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp10_ = _tmp9_;
#line 551 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (_tmp10_) {
#line 551 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp7_ = TRUE;
#line 2980 "gitg-diff-view-file-renderer-text.c"
	} else {
		gboolean _tmp11_ = FALSE;
		const gchar* _tmp12_;
#line 551 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp12_ = theme;
#line 551 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		if (_tmp12_ != NULL) {
#line 2988 "gitg-diff-view-file-renderer-text.c"
			const gchar* _tmp13_;
			gboolean _tmp14_;
#line 551 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_tmp13_ = theme;
#line 551 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_tmp14_ = g_str_has_suffix (_tmp13_, ":dark");
#line 551 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_tmp11_ = _tmp14_;
#line 2997 "gitg-diff-view-file-renderer-text.c"
		} else {
#line 551 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_tmp11_ = FALSE;
#line 3001 "gitg-diff-view-file-renderer-text.c"
		}
#line 551 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp7_ = _tmp11_;
#line 3005 "gitg-diff-view-file-renderer-text.c"
	}
#line 551 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	dark = _tmp7_;
#line 553 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp15_ = dark;
#line 553 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (_tmp15_) {
#line 3013 "gitg-diff-view-file-renderer-text.c"
		GtkSourceMarkAttributes* _tmp16_;
		GdkRGBA _tmp17_ = {0};
		GtkSourceMarkAttributes* _tmp18_;
		GdkRGBA _tmp19_ = {0};
		GtkSourceMarkAttributes* _tmp20_;
		GdkRGBA _tmp21_ = {0};
#line 555 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp16_ = header_attributes;
#line 555 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		memset (&_tmp17_, 0, sizeof (GdkRGBA));
#line 555 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp17_.red = 136.0 / 255.0;
#line 555 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp17_.green = 138.0 / 255.0;
#line 555 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp17_.blue = 133.0 / 255.0;
#line 555 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp17_.alpha = 1.0;
#line 555 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_object_set (_tmp16_, "background", &_tmp17_, NULL);
#line 556 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp18_ = added_attributes;
#line 556 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		memset (&_tmp19_, 0, sizeof (GdkRGBA));
#line 556 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp19_.red = 78.0 / 255.0;
#line 556 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp19_.green = 154.0 / 255.0;
#line 556 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp19_.blue = 6.0 / 255.0;
#line 556 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp19_.alpha = 1.0;
#line 556 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_object_set (_tmp18_, "background", &_tmp19_, NULL);
#line 557 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp20_ = removed_attributes;
#line 557 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		memset (&_tmp21_, 0, sizeof (GdkRGBA));
#line 557 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp21_.red = 164.0 / 255.0;
#line 557 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp21_.green = 0.0;
#line 557 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp21_.blue = 0.0;
#line 557 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp21_.alpha = 1.0;
#line 557 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_object_set (_tmp20_, "background", &_tmp21_, NULL);
#line 3062 "gitg-diff-view-file-renderer-text.c"
	} else {
		GtkSourceMarkAttributes* _tmp22_;
		GdkRGBA _tmp23_ = {0};
		GtkSourceMarkAttributes* _tmp24_;
		GdkRGBA _tmp25_ = {0};
		GtkSourceMarkAttributes* _tmp26_;
		GdkRGBA _tmp27_ = {0};
#line 561 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp22_ = header_attributes;
#line 561 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		memset (&_tmp23_, 0, sizeof (GdkRGBA));
#line 561 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp23_.red = 244.0 / 255.0;
#line 561 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp23_.green = 247.0 / 255.0;
#line 561 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp23_.blue = 251.0 / 255.0;
#line 561 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp23_.alpha = 1.0;
#line 561 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_object_set (_tmp22_, "background", &_tmp23_, NULL);
#line 562 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp24_ = added_attributes;
#line 562 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		memset (&_tmp25_, 0, sizeof (GdkRGBA));
#line 562 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp25_.red = 220.0 / 255.0;
#line 562 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp25_.green = 1.0;
#line 562 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp25_.blue = 220.0 / 255.0;
#line 562 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp25_.alpha = 1.0;
#line 562 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_object_set (_tmp24_, "background", &_tmp25_, NULL);
#line 563 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp26_ = removed_attributes;
#line 563 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		memset (&_tmp27_, 0, sizeof (GdkRGBA));
#line 563 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp27_.red = 1.0;
#line 563 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp27_.green = 220.0 / 255.0;
#line 563 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp27_.blue = 220.0 / 255.0;
#line 563 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp27_.alpha = 1.0;
#line 563 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_object_set (_tmp26_, "background", &_tmp27_, NULL);
#line 3112 "gitg-diff-view-file-renderer-text.c"
	}
#line 566 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp28_ = header_attributes;
#line 566 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_source_view_set_mark_attributes ((GtkSourceView*) self, "header", _tmp28_, 0);
#line 567 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp29_ = added_attributes;
#line 567 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_source_view_set_mark_attributes ((GtkSourceView*) self, "added", _tmp29_, 0);
#line 568 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp30_ = removed_attributes;
#line 568 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_source_view_set_mark_attributes ((GtkSourceView*) self, "removed", _tmp30_, 0);
#line 542 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_free0 (theme);
#line 542 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (settings);
#line 542 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (removed_attributes);
#line 542 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (added_attributes);
#line 542 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (header_attributes);
#line 3136 "gitg-diff-view-file-renderer-text.c"
}


static void gitg_diff_view_file_renderer_text_real_constructed (GObject* base) {
	GitgDiffViewFileRendererText * self;
#line 571 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	self = (GitgDiffViewFileRendererText*) base;
#line 573 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	G_OBJECT_CLASS (gitg_diff_view_file_renderer_text_parent_class)->constructed ((GObject*) G_TYPE_CHECK_INSTANCE_CAST (self, gtk_source_view_get_type (), GtkSourceView));
#line 575 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	self->priv->d_constructed = TRUE;
#line 576 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gitg_diff_view_file_renderer_text_update_highlight (self);
#line 3150 "gitg-diff-view-file-renderer-text.c"
}


static gint string_last_index_of (const gchar* self, const gchar* needle, gint start_index) {
	gint result = 0;
	gchar* _result_;
	gint _tmp0_;
	const gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
#line 1013 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, 0);
#line 1013 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	g_return_val_if_fail (needle != NULL, 0);
#line 1014 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp0_ = start_index;
#line 1014 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp1_ = needle;
#line 1014 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp2_ = g_strrstr (((gchar*) self) + _tmp0_, (gchar*) _tmp1_);
#line 1014 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_result_ = _tmp2_;
#line 1016 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp3_ = _result_;
#line 1016 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp3_ != NULL) {
#line 3177 "gitg-diff-view-file-renderer-text.c"
		gchar* _tmp4_;
#line 1017 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp4_ = _result_;
#line 1017 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		result = (gint) (_tmp4_ - ((gchar*) self));
#line 1017 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		return result;
#line 3185 "gitg-diff-view-file-renderer-text.c"
	} else {
#line 1019 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		result = -1;
#line 1019 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		return result;
#line 3191 "gitg-diff-view-file-renderer-text.c"
	}
}


static glong string_strnlen (gchar* str, glong maxlen) {
	glong result = 0L;
	gchar* end;
	gchar* _tmp0_;
	glong _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
#line 1314 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp0_ = str;
#line 1314 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp1_ = maxlen;
#line 1314 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
#line 1314 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	end = _tmp2_;
#line 1315 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp3_ = end;
#line 1315 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp3_ == NULL) {
#line 3215 "gitg-diff-view-file-renderer-text.c"
		glong _tmp4_;
#line 1316 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp4_ = maxlen;
#line 1316 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		result = _tmp4_;
#line 1316 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		return result;
#line 3223 "gitg-diff-view-file-renderer-text.c"
	} else {
		gchar* _tmp5_;
		gchar* _tmp6_;
#line 1318 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp5_ = end;
#line 1318 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp6_ = str;
#line 1318 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		result = (glong) (_tmp5_ - _tmp6_);
#line 1318 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		return result;
#line 3235 "gitg-diff-view-file-renderer-text.c"
	}
}


static gchar* string_substring (const gchar* self, glong offset, glong len) {
	gchar* result = NULL;
	glong string_length = 0L;
	gboolean _tmp0_ = FALSE;
	glong _tmp1_;
	glong _tmp8_;
	glong _tmp14_;
	glong _tmp17_;
	glong _tmp18_;
	glong _tmp19_;
	glong _tmp20_;
	glong _tmp21_;
	gchar* _tmp22_;
#line 1325 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1327 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp1_ = offset;
#line 1327 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp1_ >= ((glong) 0)) {
#line 3259 "gitg-diff-view-file-renderer-text.c"
		glong _tmp2_;
#line 1327 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp2_ = len;
#line 1327 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp0_ = _tmp2_ >= ((glong) 0);
#line 3265 "gitg-diff-view-file-renderer-text.c"
	} else {
#line 1327 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp0_ = FALSE;
#line 3269 "gitg-diff-view-file-renderer-text.c"
	}
#line 1327 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp0_) {
#line 3273 "gitg-diff-view-file-renderer-text.c"
		glong _tmp3_;
		glong _tmp4_;
		glong _tmp5_;
#line 1329 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp3_ = offset;
#line 1329 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp4_ = len;
#line 1329 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
#line 1329 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		string_length = _tmp5_;
#line 3285 "gitg-diff-view-file-renderer-text.c"
	} else {
		gint _tmp6_;
		gint _tmp7_;
#line 1331 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp6_ = strlen (self);
#line 1331 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp7_ = _tmp6_;
#line 1331 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		string_length = (glong) _tmp7_;
#line 3295 "gitg-diff-view-file-renderer-text.c"
	}
#line 1334 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp8_ = offset;
#line 1334 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp8_ < ((glong) 0)) {
#line 3301 "gitg-diff-view-file-renderer-text.c"
		glong _tmp9_;
		glong _tmp10_;
		glong _tmp11_;
#line 1335 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp9_ = string_length;
#line 1335 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp10_ = offset;
#line 1335 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		offset = _tmp9_ + _tmp10_;
#line 1336 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp11_ = offset;
#line 1336 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 3315 "gitg-diff-view-file-renderer-text.c"
	} else {
		glong _tmp12_;
		glong _tmp13_;
#line 1338 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp12_ = offset;
#line 1338 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp13_ = string_length;
#line 1338 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 3325 "gitg-diff-view-file-renderer-text.c"
	}
#line 1340 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp14_ = len;
#line 1340 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp14_ < ((glong) 0)) {
#line 3331 "gitg-diff-view-file-renderer-text.c"
		glong _tmp15_;
		glong _tmp16_;
#line 1341 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp15_ = string_length;
#line 1341 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp16_ = offset;
#line 1341 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		len = _tmp15_ - _tmp16_;
#line 3340 "gitg-diff-view-file-renderer-text.c"
	}
#line 1343 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp17_ = offset;
#line 1343 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp18_ = len;
#line 1343 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp19_ = string_length;
#line 1343 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
#line 1344 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp20_ = offset;
#line 1344 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp21_ = len;
#line 1344 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
#line 1344 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	result = _tmp22_;
#line 1344 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	return result;
#line 3360 "gitg-diff-view-file-renderer-text.c"
}


static gchar* string_chug (const gchar* self) {
	gchar* result = NULL;
	gchar* _result_;
	gchar* _tmp0_;
	const gchar* _tmp1_;
#line 1218 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1219 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp0_ = g_strdup (self);
#line 1219 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_result_ = _tmp0_;
#line 1220 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp1_ = _result_;
#line 1220 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	g_strchug (_tmp1_);
#line 1221 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	result = _result_;
#line 1221 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	return result;
#line 3383 "gitg-diff-view-file-renderer-text.c"
}


static gchar* string_chomp (const gchar* self) {
	gchar* result = NULL;
	gchar* _result_;
	gchar* _tmp0_;
	const gchar* _tmp1_;
#line 1210 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1211 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp0_ = g_strdup (self);
#line 1211 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_result_ = _tmp0_;
#line 1212 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp1_ = _result_;
#line 1212 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	g_strchomp (_tmp1_);
#line 1213 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	result = _result_;
#line 1213 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	return result;
#line 3406 "gitg-diff-view-file-renderer-text.c"
}


static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) {
	gchar* result = NULL;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	GError * _inner_error_ = NULL;
#line 1399 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1399 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	g_return_val_if_fail (old != NULL, NULL);
#line 1399 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	g_return_val_if_fail (replacement != NULL, NULL);
#line 1400 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	if ((*((gchar*) self)) == '\0') {
#line 1400 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp1_ = TRUE;
#line 3425 "gitg-diff-view-file-renderer-text.c"
	} else {
		const gchar* _tmp2_;
#line 1400 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp2_ = old;
#line 1400 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp1_ = (*((gchar*) _tmp2_)) == '\0';
#line 3432 "gitg-diff-view-file-renderer-text.c"
	}
#line 1400 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp1_) {
#line 1400 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp0_ = TRUE;
#line 3438 "gitg-diff-view-file-renderer-text.c"
	} else {
		const gchar* _tmp3_;
		const gchar* _tmp4_;
#line 1400 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp3_ = old;
#line 1400 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp4_ = replacement;
#line 1400 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp0_ = g_strcmp0 (_tmp3_, _tmp4_) == 0;
#line 3448 "gitg-diff-view-file-renderer-text.c"
	}
#line 1400 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp0_) {
#line 3452 "gitg-diff-view-file-renderer-text.c"
		gchar* _tmp5_;
#line 1401 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp5_ = g_strdup (self);
#line 1401 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		result = _tmp5_;
#line 1401 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		return result;
#line 3460 "gitg-diff-view-file-renderer-text.c"
	}
	{
		GRegex* regex;
		const gchar* _tmp6_;
		gchar* _tmp7_;
		gchar* _tmp8_;
		GRegex* _tmp9_;
		GRegex* _tmp10_;
		gchar* _tmp11_;
		GRegex* _tmp12_;
		const gchar* _tmp13_;
		gchar* _tmp14_;
		gchar* _tmp15_;
#line 1404 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp6_ = old;
#line 1404 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp7_ = g_regex_escape_string (_tmp6_, -1);
#line 1404 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp8_ = _tmp7_;
#line 1404 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp9_ = g_regex_new (_tmp8_, 0, 0, &_inner_error_);
#line 1404 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp10_ = _tmp9_;
#line 1404 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_g_free0 (_tmp8_);
#line 1404 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		regex = _tmp10_;
#line 1404 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1404 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
			if (_inner_error_->domain == G_REGEX_ERROR) {
#line 3492 "gitg-diff-view-file-renderer-text.c"
				goto __catch45_g_regex_error;
			}
#line 1404 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1404 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
			g_clear_error (&_inner_error_);
#line 1404 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
			return NULL;
#line 3501 "gitg-diff-view-file-renderer-text.c"
		}
#line 1405 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp12_ = regex;
#line 1405 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp13_ = replacement;
#line 1405 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp14_ = g_regex_replace_literal (_tmp12_, self, (gssize) -1, 0, _tmp13_, 0, &_inner_error_);
#line 1405 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp11_ = _tmp14_;
#line 1405 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1405 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
			_g_regex_unref0 (regex);
#line 1405 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
			if (_inner_error_->domain == G_REGEX_ERROR) {
#line 3517 "gitg-diff-view-file-renderer-text.c"
				goto __catch45_g_regex_error;
			}
#line 1405 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
			_g_regex_unref0 (regex);
#line 1405 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1405 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
			g_clear_error (&_inner_error_);
#line 1405 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
			return NULL;
#line 3528 "gitg-diff-view-file-renderer-text.c"
		}
#line 1405 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp15_ = _tmp11_;
#line 1405 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp11_ = NULL;
#line 1405 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		result = _tmp15_;
#line 1405 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_g_free0 (_tmp11_);
#line 1405 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_g_regex_unref0 (regex);
#line 1405 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		return result;
#line 3542 "gitg-diff-view-file-renderer-text.c"
	}
	goto __finally45;
	__catch45_g_regex_error:
	{
		GError* e = NULL;
#line 1403 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		e = _inner_error_;
#line 1403 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_inner_error_ = NULL;
#line 1407 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		g_assert_not_reached ();
#line 1403 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_g_error_free0 (e);
#line 3556 "gitg-diff-view-file-renderer-text.c"
	}
	__finally45:
#line 1403 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1403 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1403 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		g_clear_error (&_inner_error_);
#line 1403 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		return NULL;
#line 3567 "gitg-diff-view-file-renderer-text.c"
	}
}


static void _vala_array_add4 (GitgDiffViewFileRendererTextRegion* * array, int* length, int* size, const GitgDiffViewFileRendererTextRegion* value) {
#line 657 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if ((*length) == (*size)) {
#line 657 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 657 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		*array = g_renew (GitgDiffViewFileRendererTextRegion, *array, *size);
#line 3579 "gitg-diff-view-file-renderer-text.c"
	}
#line 657 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	(*array)[(*length)++] = *value;
#line 3583 "gitg-diff-view-file-renderer-text.c"
}


static guint8* _vala_array_dup10 (guint8* self, int length) {
#line 684 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return g_memdup (self, length * sizeof (guint8));
#line 3590 "gitg-diff-view-file-renderer-text.c"
}


static gchar string_get (const gchar* self, glong index) {
	gchar result = '\0';
	glong _tmp0_;
	gchar _tmp1_;
#line 1102 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, '\0');
#line 1103 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp0_ = index;
#line 1103 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp1_ = ((gchar*) self)[_tmp0_];
#line 1103 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	result = _tmp1_;
#line 1103 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	return result;
#line 3608 "gitg-diff-view-file-renderer-text.c"
}


static gchar* string_slice (const gchar* self, glong start, glong end) {
	gchar* result = NULL;
	glong string_length;
	gint _tmp0_;
	gint _tmp1_;
	glong _tmp2_;
	glong _tmp5_;
	gboolean _tmp8_ = FALSE;
	glong _tmp9_;
	gboolean _tmp12_ = FALSE;
	glong _tmp13_;
	glong _tmp16_;
	glong _tmp17_;
	glong _tmp18_;
	glong _tmp19_;
	glong _tmp20_;
	gchar* _tmp21_;
#line 1347 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1348 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp0_ = strlen (self);
#line 1348 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp1_ = _tmp0_;
#line 1348 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	string_length = (glong) _tmp1_;
#line 1349 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp2_ = start;
#line 1349 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp2_ < ((glong) 0)) {
#line 3641 "gitg-diff-view-file-renderer-text.c"
		glong _tmp3_;
		glong _tmp4_;
#line 1350 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp3_ = string_length;
#line 1350 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp4_ = start;
#line 1350 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		start = _tmp3_ + _tmp4_;
#line 3650 "gitg-diff-view-file-renderer-text.c"
	}
#line 1352 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp5_ = end;
#line 1352 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp5_ < ((glong) 0)) {
#line 3656 "gitg-diff-view-file-renderer-text.c"
		glong _tmp6_;
		glong _tmp7_;
#line 1353 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp6_ = string_length;
#line 1353 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp7_ = end;
#line 1353 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		end = _tmp6_ + _tmp7_;
#line 3665 "gitg-diff-view-file-renderer-text.c"
	}
#line 1355 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp9_ = start;
#line 1355 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp9_ >= ((glong) 0)) {
#line 3671 "gitg-diff-view-file-renderer-text.c"
		glong _tmp10_;
		glong _tmp11_;
#line 1355 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp10_ = start;
#line 1355 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp11_ = string_length;
#line 1355 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp8_ = _tmp10_ <= _tmp11_;
#line 3680 "gitg-diff-view-file-renderer-text.c"
	} else {
#line 1355 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp8_ = FALSE;
#line 3684 "gitg-diff-view-file-renderer-text.c"
	}
#line 1355 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	g_return_val_if_fail (_tmp8_, NULL);
#line 1356 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp13_ = end;
#line 1356 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp13_ >= ((glong) 0)) {
#line 3692 "gitg-diff-view-file-renderer-text.c"
		glong _tmp14_;
		glong _tmp15_;
#line 1356 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp14_ = end;
#line 1356 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp15_ = string_length;
#line 1356 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp12_ = _tmp14_ <= _tmp15_;
#line 3701 "gitg-diff-view-file-renderer-text.c"
	} else {
#line 1356 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp12_ = FALSE;
#line 3705 "gitg-diff-view-file-renderer-text.c"
	}
#line 1356 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	g_return_val_if_fail (_tmp12_, NULL);
#line 1357 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp16_ = start;
#line 1357 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp17_ = end;
#line 1357 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	g_return_val_if_fail (_tmp16_ <= _tmp17_, NULL);
#line 1358 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp18_ = start;
#line 1358 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp19_ = end;
#line 1358 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp20_ = start;
#line 1358 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp21_ = g_strndup (((gchar*) self) + _tmp18_, (gsize) (_tmp19_ - _tmp20_));
#line 1358 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	result = _tmp21_;
#line 1358 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	return result;
#line 3727 "gitg-diff-view-file-renderer-text.c"
}


static void _vala_array_add5 (GitgDiffViewFileRendererTextRegion* * array, int* length, int* size, const GitgDiffViewFileRendererTextRegion* value) {
#line 717 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if ((*length) == (*size)) {
#line 717 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 717 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		*array = g_renew (GitgDiffViewFileRendererTextRegion, *array, *size);
#line 3738 "gitg-diff-view-file-renderer-text.c"
	}
#line 717 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	(*array)[(*length)++] = *value;
#line 3742 "gitg-diff-view-file-renderer-text.c"
}


static guint8* g_string_get_data (GString* self, int* result_length1) {
	guint8* result;
	guint8* res;
	const gchar* _tmp0_;
	gint res_length1;
	gint _res_size_;
	gssize _tmp1_;
	gint _tmp2_;
	guint8* _tmp3_;
	gint _tmp3__length1;
	guint8* _tmp4_;
	gint _tmp4__length1;
#line 4837 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 4838 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp0_ = self->str;
#line 4838 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	res = (guint8*) _tmp0_;
#line 4838 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	res_length1 = -1;
#line 4838 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_res_size_ = res_length1;
#line 4839 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp1_ = self->len;
#line 4839 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	res_length1 = (gint) _tmp1_;
#line 4839 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp2_ = res_length1;
#line 4840 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp3_ = res;
#line 4840 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp3__length1 = res_length1;
#line 4840 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp4_ = _tmp3_;
#line 4840 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp4__length1 = _tmp3__length1;
#line 4840 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	if (result_length1) {
#line 4840 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		*result_length1 = _tmp4__length1;
#line 3786 "gitg-diff-view-file-renderer-text.c"
	}
#line 4840 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	result = _tmp4_;
#line 4840 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	return result;
#line 3792 "gitg-diff-view-file-renderer-text.c"
}


static void gitg_diff_view_file_renderer_text_real_add_hunk (GitgDiffViewFileRenderer* base, GgitDiffHunk* hunk, GeeArrayList* lines) {
	GitgDiffViewFileRendererText * self;
	GtkSourceBuffer* buffer;
	GtkTextBuffer* _tmp0_;
	GtkTextBuffer* _tmp1_;
	GtkSourceBuffer* _tmp2_;
	gchar* h;
	GgitDiffHunk* _tmp3_;
	const gchar* _tmp4_;
	gchar* _tmp5_;
	gint pos;
	const gchar* _tmp6_;
	gint _tmp7_;
	gint _tmp8_;
	const gchar* _tmp14_;
	gchar* _tmp15_;
	GtkTextIter iter = {0};
	GtkSourceBuffer* _tmp16_;
	GtkTextIter _tmp17_ = {0};
	gboolean _tmp18_;
	GtkSourceBuffer* _tmp20_;
	GtkTextIter _tmp21_;
	gchar* header;
	GgitDiffHunk* _tmp22_;
	gint _tmp23_;
	gchar* _tmp24_;
	gchar* _tmp25_;
	GgitDiffHunk* _tmp26_;
	gint _tmp27_;
	gchar* _tmp28_;
	gchar* _tmp29_;
	GgitDiffHunk* _tmp30_;
	gint _tmp31_;
	gchar* _tmp32_;
	gchar* _tmp33_;
	GgitDiffHunk* _tmp34_;
	gint _tmp35_;
	gchar* _tmp36_;
	gchar* _tmp37_;
	const gchar* _tmp38_;
	const gchar* _tmp39_;
	gchar* _tmp40_;
	gchar* _tmp41_;
	GtkSourceBuffer* _tmp42_;
	const gchar* _tmp43_;
	gint buffer_line;
	gint _tmp44_;
	GString* content;
	GString* _tmp45_;
	GitgDiffViewFileRendererTextRegion region;
	GitgDiffViewFileRendererTextRegion _tmp46_ = {0};
	GeeArrayList* _tmp137_;
	gint _tmp138_;
	gint _tmp139_;
	gint line_hunk_start;
	gint _tmp142_;
	GtkSourceBuffer* _tmp143_;
	GString* _tmp144_;
	guint8* _tmp145_;
	gint _tmp145__length1;
	guint8* _tmp146_;
	gint _tmp146__length1;
	GitgDiffViewLinesRenderer* _tmp147_;
	gint _tmp148_;
	gint _tmp149_;
	GgitDiffHunk* _tmp150_;
	GeeArrayList* _tmp151_;
	GitgDiffViewLinesRenderer* _tmp152_;
	gint _tmp153_;
	gint _tmp154_;
	GgitDiffHunk* _tmp155_;
	GeeArrayList* _tmp156_;
	GitgDiffViewLinesRenderer* _tmp157_;
	gint _tmp158_;
	gint _tmp159_;
	GgitDiffHunk* _tmp160_;
	GeeArrayList* _tmp161_;
#line 579 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	self = (GitgDiffViewFileRendererText*) base;
#line 579 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_if_fail (hunk != NULL);
#line 579 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_if_fail (lines != NULL);
#line 581 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp0_ = gtk_text_view_get_buffer ((GtkTextView*) self);
#line 581 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp1_ = _tmp0_;
#line 581 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_source_buffer_get_type ()) ? ((GtkSourceBuffer*) _tmp1_) : NULL);
#line 581 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	buffer = _tmp2_;
#line 584 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp3_ = hunk;
#line 584 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp4_ = ggit_diff_hunk_get_header (_tmp3_);
#line 584 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp5_ = g_strdup (_tmp4_);
#line 584 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	h = _tmp5_;
#line 585 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp6_ = h;
#line 585 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp7_ = string_last_index_of (_tmp6_, "@@", 0);
#line 585 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	pos = _tmp7_;
#line 587 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp8_ = pos;
#line 587 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (_tmp8_ >= 0) {
#line 3905 "gitg-diff-view-file-renderer-text.c"
		const gchar* _tmp9_;
		gint _tmp10_;
		gchar* _tmp11_;
		gchar* _tmp12_;
		gchar* _tmp13_;
#line 589 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp9_ = h;
#line 589 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp10_ = pos;
#line 589 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp11_ = string_substring (_tmp9_, (glong) (_tmp10_ + 2), (glong) -1);
#line 589 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp12_ = _tmp11_;
#line 589 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp13_ = string_chug (_tmp12_);
#line 589 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_free0 (h);
#line 589 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		h = _tmp13_;
#line 589 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_free0 (_tmp12_);
#line 3927 "gitg-diff-view-file-renderer-text.c"
	}
#line 592 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp14_ = h;
#line 592 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp15_ = string_chomp (_tmp14_);
#line 592 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_free0 (h);
#line 592 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	h = _tmp15_;
#line 595 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp16_ = buffer;
#line 595 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_text_buffer_get_end_iter ((GtkTextBuffer*) _tmp16_, &_tmp17_);
#line 595 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	iter = _tmp17_;
#line 597 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp18_ = gtk_text_iter_is_start (&iter);
#line 597 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (!_tmp18_) {
#line 3947 "gitg-diff-view-file-renderer-text.c"
		GtkSourceBuffer* _tmp19_;
#line 599 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp19_ = buffer;
#line 599 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		gtk_text_buffer_insert ((GtkTextBuffer*) _tmp19_, &iter, "\n", 1);
#line 3953 "gitg-diff-view-file-renderer-text.c"
	}
#line 602 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_text_iter_set_line_offset (&iter, 0);
#line 603 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp20_ = buffer;
#line 603 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp21_ = iter;
#line 603 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_source_buffer_create_source_mark (_tmp20_, NULL, "header", &_tmp21_);
#line 605 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp22_ = hunk;
#line 605 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp23_ = ggit_diff_hunk_get_old_start (_tmp22_);
#line 605 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp24_ = g_strdup_printf ("%i", _tmp23_);
#line 605 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp25_ = _tmp24_;
#line 605 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp26_ = hunk;
#line 605 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp27_ = ggit_diff_hunk_get_old_lines (_tmp26_);
#line 605 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp28_ = g_strdup_printf ("%i", _tmp27_);
#line 605 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp29_ = _tmp28_;
#line 605 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp30_ = hunk;
#line 605 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp31_ = ggit_diff_hunk_get_new_start (_tmp30_);
#line 605 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp32_ = g_strdup_printf ("%i", _tmp31_);
#line 605 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp33_ = _tmp32_;
#line 605 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp34_ = hunk;
#line 605 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp35_ = ggit_diff_hunk_get_new_lines (_tmp34_);
#line 605 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp36_ = g_strdup_printf ("%i", _tmp35_);
#line 605 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp37_ = _tmp36_;
#line 605 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp38_ = h;
#line 605 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp39_ = string_to_string (_tmp38_);
#line 605 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp40_ = g_strconcat ("@@ -", _tmp25_, ",", _tmp29_, " +", _tmp33_, ",", _tmp37_, " @@ ", _tmp39_, "\n", NULL);
#line 605 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp41_ = _tmp40_;
#line 605 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_free0 (_tmp37_);
#line 605 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_free0 (_tmp33_);
#line 605 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_free0 (_tmp29_);
#line 605 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_free0 (_tmp25_);
#line 605 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	header = _tmp41_;
#line 606 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp42_ = buffer;
#line 606 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp43_ = header;
#line 606 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_text_buffer_insert ((GtkTextBuffer*) _tmp42_, &iter, _tmp43_, -1);
#line 608 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp44_ = gtk_text_iter_get_line (&iter);
#line 608 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	buffer_line = _tmp44_;
#line 611 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp45_ = g_string_new ("");
#line 611 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	content = _tmp45_;
#line 613 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	memset (&_tmp46_, 0, sizeof (GitgDiffViewFileRendererTextRegion));
#line 613 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp46_.type = GITG_DIFF_VIEW_FILE_RENDERER_TEXT_REGION_TYPE_CONTEXT;
#line 613 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp46_.buffer_line_start = 0;
#line 613 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp46_.source_line_start = 0;
#line 613 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp46_.length = 0;
#line 613 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	region = _tmp46_;
#line 620 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_freeze_notify ((GObject*) self);
#line 4041 "gitg-diff-view-file-renderer-text.c"
	{
		gint i;
#line 622 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		i = 0;
#line 4046 "gitg-diff-view-file-renderer-text.c"
		{
			gboolean _tmp47_;
#line 622 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_tmp47_ = TRUE;
#line 622 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			while (TRUE) {
#line 4053 "gitg-diff-view-file-renderer-text.c"
				gint _tmp49_;
				GeeArrayList* _tmp50_;
				gint _tmp51_;
				gint _tmp52_;
				GgitDiffLine* line;
				GeeArrayList* _tmp53_;
				gint _tmp54_;
				gpointer _tmp55_;
				gchar* text;
				GgitDiffLine* _tmp56_;
				const gchar* _tmp57_;
				gchar* _tmp58_;
				gboolean added;
				gboolean removed;
				GgitDiffLineType origin;
				GgitDiffLine* _tmp59_;
				GgitDiffLineType _tmp60_;
				GitgDiffViewFileRendererTextRegionType rtype;
				GgitDiffLineType _tmp61_;
				gboolean _tmp66_ = FALSE;
				gint _tmp67_;
				gint _tmp84_;
				gboolean _tmp85_ = FALSE;
				gboolean _tmp86_;
				gboolean _tmp115_ = FALSE;
				gboolean _tmp116_ = FALSE;
				gint _tmp117_;
				GeeArrayList* _tmp118_;
				gint _tmp119_;
				gint _tmp120_;
				GString* _tmp134_;
				const gchar* _tmp135_;
				gint _tmp136_;
#line 622 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				if (!_tmp47_) {
#line 4089 "gitg-diff-view-file-renderer-text.c"
					gint _tmp48_;
#line 622 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp48_ = i;
#line 622 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					i = _tmp48_ + 1;
#line 4095 "gitg-diff-view-file-renderer-text.c"
				}
#line 622 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp47_ = FALSE;
#line 622 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp49_ = i;
#line 622 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp50_ = lines;
#line 622 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp51_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp50_);
#line 622 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp52_ = _tmp51_;
#line 622 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				if (!(_tmp49_ < _tmp52_)) {
#line 622 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					break;
#line 4111 "gitg-diff-view-file-renderer-text.c"
				}
#line 624 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp53_ = lines;
#line 624 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp54_ = i;
#line 624 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp55_ = gee_abstract_list_get ((GeeAbstractList*) _tmp53_, _tmp54_);
#line 624 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				line = (GgitDiffLine*) _tmp55_;
#line 625 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp56_ = line;
#line 625 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp57_ = ggit_diff_line_get_text (_tmp56_);
#line 625 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp58_ = string_replace (_tmp57_, "\r", "");
#line 625 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				text = _tmp58_;
#line 626 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				added = FALSE;
#line 627 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				removed = FALSE;
#line 628 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp59_ = line;
#line 628 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp60_ = ggit_diff_line_get_origin (_tmp59_);
#line 628 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				origin = _tmp60_;
#line 630 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				rtype = GITG_DIFF_VIEW_FILE_RENDERER_TEXT_REGION_TYPE_CONTEXT;
#line 632 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp61_ = origin;
#line 632 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				switch (_tmp61_) {
#line 632 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					case GGIT_DIFF_LINE_ADDITION:
#line 4147 "gitg-diff-view-file-renderer-text.c"
					{
						guint _tmp62_;
#line 635 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						added = TRUE;
#line 636 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp62_ = self->priv->_added;
#line 636 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						gitg_diff_view_file_renderer_text_set_added (self, _tmp62_ + 1);
#line 638 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						rtype = GITG_DIFF_VIEW_FILE_RENDERER_TEXT_REGION_TYPE_ADDED;
#line 639 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						break;
#line 4160 "gitg-diff-view-file-renderer-text.c"
					}
#line 632 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					case GGIT_DIFF_LINE_DELETION:
#line 4164 "gitg-diff-view-file-renderer-text.c"
					{
						guint _tmp63_;
#line 641 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						removed = TRUE;
#line 642 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp63_ = self->priv->_removed;
#line 642 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						gitg_diff_view_file_renderer_text_set_removed (self, _tmp63_ + 1);
#line 644 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						rtype = GITG_DIFF_VIEW_FILE_RENDERER_TEXT_REGION_TYPE_REMOVED;
#line 645 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						break;
#line 4177 "gitg-diff-view-file-renderer-text.c"
					}
#line 632 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					case GGIT_DIFF_LINE_CONTEXT_EOFNL:
#line 632 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					case GGIT_DIFF_LINE_ADD_EOFNL:
#line 632 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					case GGIT_DIFF_LINE_DEL_EOFNL:
#line 4185 "gitg-diff-view-file-renderer-text.c"
					{
						const gchar* _tmp64_;
						gchar* _tmp65_;
#line 649 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp64_ = text;
#line 649 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp65_ = string_substring (_tmp64_, (glong) 1, (glong) -1);
#line 649 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_g_free0 (text);
#line 649 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						text = _tmp65_;
#line 650 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						break;
#line 4199 "gitg-diff-view-file-renderer-text.c"
					}
					default:
#line 632 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					break;
#line 4204 "gitg-diff-view-file-renderer-text.c"
				}
#line 653 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp67_ = i;
#line 653 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				if (_tmp67_ == 0) {
#line 653 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp66_ = TRUE;
#line 4212 "gitg-diff-view-file-renderer-text.c"
				} else {
					GitgDiffViewFileRendererTextRegionType _tmp68_;
					GitgDiffViewFileRendererTextRegion _tmp69_;
					GitgDiffViewFileRendererTextRegionType _tmp70_;
#line 653 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp68_ = rtype;
#line 653 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp69_ = region;
#line 653 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp70_ = _tmp69_.type;
#line 653 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp66_ = _tmp68_ != _tmp70_;
#line 4225 "gitg-diff-view-file-renderer-text.c"
				}
#line 653 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				if (_tmp66_) {
#line 4229 "gitg-diff-view-file-renderer-text.c"
					gint _tmp71_;
					gint source_line_start = 0;
					GitgDiffViewFileRendererTextRegionType _tmp74_;
					GitgDiffViewFileRendererTextRegionType _tmp79_;
					gint _tmp80_;
					gint _tmp81_;
					GitgDiffViewFileRendererTextRegion _tmp82_ = {0};
					GitgDiffViewFileRendererTextRegion _tmp83_;
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp71_ = i;
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					if (_tmp71_ != 0) {
#line 4242 "gitg-diff-view-file-renderer-text.c"
						GitgDiffViewFileRendererTextRegion* _tmp72_;
						gint _tmp72__length1;
						GitgDiffViewFileRendererTextRegion _tmp73_;
#line 657 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp72_ = self->priv->d_regions;
#line 657 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp72__length1 = self->priv->d_regions_length1;
#line 657 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp73_ = region;
#line 657 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_vala_array_add4 (&self->priv->d_regions, &self->priv->d_regions_length1, &self->priv->_d_regions_size_, &_tmp73_);
#line 4254 "gitg-diff-view-file-renderer-text.c"
					}
#line 662 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp74_ = rtype;
#line 662 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					if (_tmp74_ == GITG_DIFF_VIEW_FILE_RENDERER_TEXT_REGION_TYPE_REMOVED) {
#line 4260 "gitg-diff-view-file-renderer-text.c"
						GgitDiffLine* _tmp75_;
						gint _tmp76_;
#line 664 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp75_ = line;
#line 664 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp76_ = ggit_diff_line_get_old_lineno (_tmp75_);
#line 664 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						source_line_start = _tmp76_ - 1;
#line 4269 "gitg-diff-view-file-renderer-text.c"
					} else {
						GgitDiffLine* _tmp77_;
						gint _tmp78_;
#line 668 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp77_ = line;
#line 668 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp78_ = ggit_diff_line_get_new_lineno (_tmp77_);
#line 668 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						source_line_start = _tmp78_ - 1;
#line 4279 "gitg-diff-view-file-renderer-text.c"
					}
#line 671 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp79_ = rtype;
#line 671 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp80_ = buffer_line;
#line 671 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp81_ = source_line_start;
#line 671 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					memset (&_tmp82_, 0, sizeof (GitgDiffViewFileRendererTextRegion));
#line 671 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp82_.type = _tmp79_;
#line 671 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp82_.buffer_line_start = _tmp80_;
#line 671 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp82_.source_line_start = _tmp81_;
#line 671 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp82_.length = 0;
#line 671 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					region = _tmp82_;
#line 671 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp83_ = region;
#line 4301 "gitg-diff-view-file-renderer-text.c"
				}
#line 679 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp84_ = region.length;
#line 679 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				region.length = _tmp84_ + 1;
#line 681 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp86_ = added;
#line 681 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				if (_tmp86_) {
#line 681 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp85_ = TRUE;
#line 4313 "gitg-diff-view-file-renderer-text.c"
				} else {
					gboolean _tmp87_;
#line 681 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp87_ = removed;
#line 681 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp85_ = _tmp87_;
#line 4320 "gitg-diff-view-file-renderer-text.c"
				}
#line 681 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				if (_tmp85_) {
#line 4324 "gitg-diff-view-file-renderer-text.c"
					gsize offset;
					GgitDiffLine* _tmp88_;
					gint64 _tmp89_;
					guint8* bytes;
					GgitDiffLine* _tmp90_;
					gsize _tmp91_;
					guint8* _tmp92_;
					guint8* _tmp93_;
					gint _tmp93__length1;
					gint bytes_length1;
					gint _bytes_size_;
					GitgPatchSetType _tmp94_ = 0;
					gboolean _tmp95_;
					GitgPatchSetPatch pset;
					gsize _tmp96_;
					gsize _tmp97_;
					guint8* _tmp98_;
					gint _tmp98__length1;
					GitgPatchSetPatch _tmp99_ = {0};
					gboolean _tmp100_;
					GeeHashMap* _tmp107_;
					gint _tmp108_;
					GitgPatchSetPatch _tmp109_;
					gint64 _tmp110_ = 0LL;
					gboolean _tmp111_;
					gint64 _tmp114_;
#line 683 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp88_ = line;
#line 683 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp89_ = ggit_diff_line_get_content_offset (_tmp88_);
#line 683 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					offset = (gsize) _tmp89_;
#line 684 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp90_ = line;
#line 684 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp92_ = ggit_diff_line_get_content (_tmp90_, &_tmp91_);
#line 684 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp93_ = (_tmp92_ != NULL) ? _vala_array_dup10 (_tmp92_, _tmp91_) : ((gpointer) _tmp92_);
#line 684 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp93__length1 = _tmp91_;
#line 684 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					bytes = _tmp93_;
#line 684 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					bytes_length1 = _tmp93__length1;
#line 684 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_bytes_size_ = bytes_length1;
#line 687 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp95_ = added;
#line 687 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					if (_tmp95_) {
#line 687 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp94_ = GITG_PATCH_SET_TYPE_ADD;
#line 4377 "gitg-diff-view-file-renderer-text.c"
					} else {
#line 687 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp94_ = GITG_PATCH_SET_TYPE_REMOVE;
#line 4381 "gitg-diff-view-file-renderer-text.c"
					}
#line 686 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp96_ = offset;
#line 686 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp97_ = offset;
#line 686 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp98_ = bytes;
#line 686 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp98__length1 = bytes_length1;
#line 686 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					memset (&_tmp99_, 0, sizeof (GitgPatchSetPatch));
#line 686 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp99_.type = _tmp94_;
#line 686 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp99_.old_offset = _tmp96_;
#line 686 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp99_.new_offset = _tmp97_;
#line 686 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp99_.length = (gsize) _tmp98__length1;
#line 686 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					pset = _tmp99_;
#line 693 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp100_ = added;
#line 693 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					if (_tmp100_) {
#line 4407 "gitg-diff-view-file-renderer-text.c"
						GitgPatchSetPatch _tmp101_;
						gsize _tmp102_;
						gint64 _tmp103_;
#line 695 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp101_ = pset;
#line 695 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp102_ = _tmp101_.old_offset;
#line 695 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp103_ = self->priv->d_doffset;
#line 695 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						pset.old_offset = (gsize) (((gint64) _tmp102_) - _tmp103_);
#line 4419 "gitg-diff-view-file-renderer-text.c"
					} else {
						GitgPatchSetPatch _tmp104_;
						gsize _tmp105_;
						gint64 _tmp106_;
#line 699 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp104_ = pset;
#line 699 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp105_ = _tmp104_.new_offset;
#line 699 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp106_ = self->priv->d_doffset;
#line 699 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						pset.new_offset = (gsize) (((gint64) _tmp105_) + _tmp106_);
#line 4432 "gitg-diff-view-file-renderer-text.c"
					}
#line 702 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp107_ = self->priv->d_lines;
#line 702 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp108_ = buffer_line;
#line 702 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp109_ = pset;
#line 702 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					gee_abstract_map_set ((GeeAbstractMap*) _tmp107_, (gpointer) ((gintptr) _tmp108_), &_tmp109_);
#line 703 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp111_ = added;
#line 703 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					if (_tmp111_) {
#line 4446 "gitg-diff-view-file-renderer-text.c"
						guint8* _tmp112_;
						gint _tmp112__length1;
#line 703 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp112_ = bytes;
#line 703 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp112__length1 = bytes_length1;
#line 703 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp110_ = (gint64) _tmp112__length1;
#line 4455 "gitg-diff-view-file-renderer-text.c"
					} else {
						guint8* _tmp113_;
						gint _tmp113__length1;
#line 703 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp113_ = bytes;
#line 703 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp113__length1 = bytes_length1;
#line 703 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp110_ = -((gint64) _tmp113__length1);
#line 4465 "gitg-diff-view-file-renderer-text.c"
					}
#line 703 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp114_ = self->priv->d_doffset;
#line 703 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					self->priv->d_doffset = _tmp114_ + _tmp110_;
#line 681 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					bytes = (g_free (bytes), NULL);
#line 4473 "gitg-diff-view-file-renderer-text.c"
				}
#line 706 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp117_ = i;
#line 706 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp118_ = lines;
#line 706 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp119_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp118_);
#line 706 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp120_ = _tmp119_;
#line 706 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				if (_tmp117_ == (_tmp120_ - 1)) {
#line 4485 "gitg-diff-view-file-renderer-text.c"
					const gchar* _tmp121_;
					gint _tmp122_;
					gint _tmp123_;
#line 706 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp121_ = text;
#line 706 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp122_ = strlen (_tmp121_);
#line 706 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp123_ = _tmp122_;
#line 706 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp116_ = _tmp123_ > 0;
#line 4497 "gitg-diff-view-file-renderer-text.c"
				} else {
#line 706 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp116_ = FALSE;
#line 4501 "gitg-diff-view-file-renderer-text.c"
				}
#line 706 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				if (_tmp116_) {
#line 4505 "gitg-diff-view-file-renderer-text.c"
					const gchar* _tmp124_;
					const gchar* _tmp125_;
					gint _tmp126_;
					gint _tmp127_;
					gchar _tmp128_;
#line 706 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp124_ = text;
#line 706 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp125_ = text;
#line 706 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp126_ = strlen (_tmp125_);
#line 706 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp127_ = _tmp126_;
#line 706 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp128_ = string_get (_tmp124_, (glong) (_tmp127_ - 1));
#line 706 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp115_ = _tmp128_ == '\n';
#line 4523 "gitg-diff-view-file-renderer-text.c"
				} else {
#line 706 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp115_ = FALSE;
#line 4527 "gitg-diff-view-file-renderer-text.c"
				}
#line 706 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				if (_tmp115_) {
#line 4531 "gitg-diff-view-file-renderer-text.c"
					const gchar* _tmp129_;
					const gchar* _tmp130_;
					gint _tmp131_;
					gint _tmp132_;
					gchar* _tmp133_;
#line 708 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp129_ = text;
#line 708 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp130_ = text;
#line 708 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp131_ = strlen (_tmp130_);
#line 708 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp132_ = _tmp131_;
#line 708 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp133_ = string_slice (_tmp129_, (glong) 0, (glong) (_tmp132_ - 1));
#line 708 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_g_free0 (text);
#line 708 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					text = _tmp133_;
#line 4551 "gitg-diff-view-file-renderer-text.c"
				}
#line 711 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp134_ = content;
#line 711 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp135_ = text;
#line 711 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				g_string_append (_tmp134_, _tmp135_);
#line 712 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp136_ = buffer_line;
#line 712 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				buffer_line = _tmp136_ + 1;
#line 622 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_g_free0 (text);
#line 622 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_ggit_diff_line_unref0 (line);
#line 4567 "gitg-diff-view-file-renderer-text.c"
			}
		}
	}
#line 715 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp137_ = lines;
#line 715 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp138_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp137_);
#line 715 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp139_ = _tmp138_;
#line 715 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (_tmp139_ != 0) {
#line 4579 "gitg-diff-view-file-renderer-text.c"
		GitgDiffViewFileRendererTextRegion* _tmp140_;
		gint _tmp140__length1;
		GitgDiffViewFileRendererTextRegion _tmp141_;
#line 717 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp140_ = self->priv->d_regions;
#line 717 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp140__length1 = self->priv->d_regions_length1;
#line 717 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp141_ = region;
#line 717 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_vala_array_add5 (&self->priv->d_regions, &self->priv->d_regions_length1, &self->priv->_d_regions_size_, &_tmp141_);
#line 4591 "gitg-diff-view-file-renderer-text.c"
	}
#line 720 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp142_ = gtk_text_iter_get_line (&iter);
#line 720 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	line_hunk_start = _tmp142_;
#line 722 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp143_ = buffer;
#line 722 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp144_ = content;
#line 722 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp145_ = g_string_get_data (_tmp144_, &_tmp145__length1);
#line 722 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp146_ = _tmp145_;
#line 722 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp146__length1 = _tmp145__length1;
#line 722 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_text_buffer_insert ((GtkTextBuffer*) _tmp143_, &iter, (const gchar*) _tmp146_, -1);
#line 724 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp147_ = self->priv->d_old_lines;
#line 724 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp148_ = line_hunk_start;
#line 724 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp149_ = gtk_text_iter_get_line (&iter);
#line 724 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp150_ = hunk;
#line 724 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp151_ = lines;
#line 724 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gitg_diff_view_lines_renderer_add_hunk (_tmp147_, _tmp148_, _tmp149_, _tmp150_, _tmp151_);
#line 725 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp152_ = self->priv->d_new_lines;
#line 725 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp153_ = line_hunk_start;
#line 725 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp154_ = gtk_text_iter_get_line (&iter);
#line 725 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp155_ = hunk;
#line 725 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp156_ = lines;
#line 725 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gitg_diff_view_lines_renderer_add_hunk (_tmp152_, _tmp153_, _tmp154_, _tmp155_, _tmp156_);
#line 726 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp157_ = self->priv->d_sym_lines;
#line 726 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp158_ = line_hunk_start;
#line 726 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp159_ = gtk_text_iter_get_line (&iter);
#line 726 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp160_ = hunk;
#line 726 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp161_ = lines;
#line 726 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gitg_diff_view_lines_renderer_add_hunk (_tmp157_, _tmp158_, _tmp159_, _tmp160_, _tmp161_);
#line 4645 "gitg-diff-view-file-renderer-text.c"
	{
		gint i;
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		i = 0;
#line 4650 "gitg-diff-view-file-renderer-text.c"
		{
			gboolean _tmp162_;
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_tmp162_ = TRUE;
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			while (TRUE) {
#line 4657 "gitg-diff-view-file-renderer-text.c"
				gint _tmp164_;
				GeeArrayList* _tmp165_;
				gint _tmp166_;
				gint _tmp167_;
				GgitDiffLine* line;
				GeeArrayList* _tmp168_;
				gint _tmp169_;
				gpointer _tmp170_;
				gchar* category;
				GgitDiffLine* _tmp171_;
				GgitDiffLineType _tmp172_;
				const gchar* _tmp175_;
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				if (!_tmp162_) {
#line 4672 "gitg-diff-view-file-renderer-text.c"
					gint _tmp163_;
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp163_ = i;
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					i = _tmp163_ + 1;
#line 4678 "gitg-diff-view-file-renderer-text.c"
				}
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp162_ = FALSE;
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp164_ = i;
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp165_ = lines;
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp166_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp165_);
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp167_ = _tmp166_;
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				if (!(_tmp164_ < _tmp167_)) {
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					break;
#line 4694 "gitg-diff-view-file-renderer-text.c"
				}
#line 730 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp168_ = lines;
#line 730 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp169_ = i;
#line 730 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp170_ = gee_abstract_list_get ((GeeAbstractList*) _tmp168_, _tmp169_);
#line 730 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				line = (GgitDiffLine*) _tmp170_;
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				category = NULL;
#line 733 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp171_ = line;
#line 733 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp172_ = ggit_diff_line_get_origin (_tmp171_);
#line 733 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				switch (_tmp172_) {
#line 733 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					case GGIT_DIFF_LINE_ADDITION:
#line 4714 "gitg-diff-view-file-renderer-text.c"
					{
						gchar* _tmp173_;
#line 736 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp173_ = g_strdup ("added");
#line 736 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_g_free0 (category);
#line 736 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						category = _tmp173_;
#line 737 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						break;
#line 4725 "gitg-diff-view-file-renderer-text.c"
					}
#line 733 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					case GGIT_DIFF_LINE_DELETION:
#line 4729 "gitg-diff-view-file-renderer-text.c"
					{
						gchar* _tmp174_;
#line 739 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_tmp174_ = g_strdup ("removed");
#line 739 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						_g_free0 (category);
#line 739 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						category = _tmp174_;
#line 740 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
						break;
#line 4740 "gitg-diff-view-file-renderer-text.c"
					}
					default:
#line 733 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					break;
#line 4745 "gitg-diff-view-file-renderer-text.c"
				}
#line 743 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp175_ = category;
#line 743 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				if (_tmp175_ != NULL) {
#line 4751 "gitg-diff-view-file-renderer-text.c"
					GtkSourceBuffer* _tmp176_;
					gint _tmp177_;
					gint _tmp178_;
					GtkTextIter _tmp179_ = {0};
					GtkSourceBuffer* _tmp180_;
					const gchar* _tmp181_;
					GtkTextIter _tmp182_;
#line 745 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp176_ = buffer;
#line 745 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp177_ = line_hunk_start;
#line 745 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp178_ = i;
#line 745 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					gtk_text_buffer_get_iter_at_line ((GtkTextBuffer*) _tmp176_, &_tmp179_, _tmp177_ + _tmp178_);
#line 745 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					iter = _tmp179_;
#line 746 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp180_ = buffer;
#line 746 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp181_ = category;
#line 746 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp182_ = iter;
#line 746 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					gtk_source_buffer_create_source_mark (_tmp180_, NULL, _tmp181_, &_tmp182_);
#line 4777 "gitg-diff-view-file-renderer-text.c"
				}
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_g_free0 (category);
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_ggit_diff_line_unref0 (line);
#line 4783 "gitg-diff-view-file-renderer-text.c"
			}
		}
	}
#line 750 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_thaw_notify ((GObject*) self);
#line 752 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_widget_set_sensitive ((GtkWidget*) self, TRUE);
#line 579 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_string_free0 (content);
#line 579 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_free0 (header);
#line 579 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_free0 (h);
#line 579 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (buffer);
#line 4799 "gitg-diff-view-file-renderer-text.c"
}


guint gitg_diff_view_file_renderer_text_get_added (GitgDiffViewFileRendererText* self) {
	guint result;
	guint _tmp0_;
#line 38 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_val_if_fail (self != NULL, 0U);
#line 38 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp0_ = self->priv->_added;
#line 38 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	result = _tmp0_;
#line 38 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return result;
#line 4814 "gitg-diff-view-file-renderer-text.c"
}


void gitg_diff_view_file_renderer_text_set_added (GitgDiffViewFileRendererText* self, guint value) {
#line 38 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_if_fail (self != NULL);
#line 38 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (gitg_diff_view_file_renderer_text_get_added (self) != value) {
#line 4823 "gitg-diff-view-file-renderer-text.c"
		guint _tmp0_;
#line 38 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp0_ = value;
#line 38 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		self->priv->_added = _tmp0_;
#line 38 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_object_notify ((GObject *) self, "added");
#line 4831 "gitg-diff-view-file-renderer-text.c"
	}
}


guint gitg_diff_view_file_renderer_text_get_removed (GitgDiffViewFileRendererText* self) {
	guint result;
	guint _tmp0_;
#line 39 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_val_if_fail (self != NULL, 0U);
#line 39 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp0_ = self->priv->_removed;
#line 39 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	result = _tmp0_;
#line 39 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return result;
#line 4847 "gitg-diff-view-file-renderer-text.c"
}


void gitg_diff_view_file_renderer_text_set_removed (GitgDiffViewFileRendererText* self, guint value) {
#line 39 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_if_fail (self != NULL);
#line 39 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (gitg_diff_view_file_renderer_text_get_removed (self) != value) {
#line 4856 "gitg-diff-view-file-renderer-text.c"
		guint _tmp0_;
#line 39 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp0_ = value;
#line 39 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		self->priv->_removed = _tmp0_;
#line 39 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_object_notify ((GObject *) self, "removed");
#line 4864 "gitg-diff-view-file-renderer-text.c"
	}
}


gboolean gitg_diff_view_file_renderer_text_get_new_is_workdir (GitgDiffViewFileRendererText* self) {
	gboolean result;
	gboolean _tmp0_;
#line 61 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 61 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp0_ = self->priv->_new_is_workdir;
#line 61 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	result = _tmp0_;
#line 61 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return result;
#line 4880 "gitg-diff-view-file-renderer-text.c"
}


void gitg_diff_view_file_renderer_text_set_new_is_workdir (GitgDiffViewFileRendererText* self, gboolean value) {
#line 61 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_if_fail (self != NULL);
#line 61 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (gitg_diff_view_file_renderer_text_get_new_is_workdir (self) != value) {
#line 4889 "gitg-diff-view-file-renderer-text.c"
		gboolean _tmp0_;
#line 61 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp0_ = value;
#line 61 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		self->priv->_new_is_workdir = _tmp0_;
#line 61 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_object_notify ((GObject *) self, "new-is-workdir");
#line 4897 "gitg-diff-view-file-renderer-text.c"
	}
}


gboolean gitg_diff_view_file_renderer_text_get_wrap_lines (GitgDiffViewFileRendererText* self) {
	gboolean result;
	GtkWrapMode _tmp0_;
	GtkWrapMode _tmp1_;
#line 65 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 65 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp0_ = gtk_text_view_get_wrap_mode ((GtkTextView*) self);
#line 65 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp1_ = _tmp0_;
#line 65 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	result = _tmp1_ != GTK_WRAP_NONE;
#line 65 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return result;
#line 4916 "gitg-diff-view-file-renderer-text.c"
}


void gitg_diff_view_file_renderer_text_set_wrap_lines (GitgDiffViewFileRendererText* self, gboolean value) {
#line 66 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_if_fail (self != NULL);
#line 66 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (gitg_diff_view_file_renderer_text_get_wrap_lines (self) != value) {
#line 4925 "gitg-diff-view-file-renderer-text.c"
		gboolean _tmp0_;
#line 68 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp0_ = value;
#line 68 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		if (_tmp0_) {
#line 70 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			gtk_text_view_set_wrap_mode ((GtkTextView*) self, GTK_WRAP_WORD_CHAR);
#line 4933 "gitg-diff-view-file-renderer-text.c"
		} else {
#line 74 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			gtk_text_view_set_wrap_mode ((GtkTextView*) self, GTK_WRAP_NONE);
#line 4937 "gitg-diff-view-file-renderer-text.c"
		}
#line 66 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_object_notify ((GObject *) self, "wrap-lines");
#line 4941 "gitg-diff-view-file-renderer-text.c"
	}
}


gint gitg_diff_view_file_renderer_text_get_tab_width (GitgDiffViewFileRendererText* self) {
	gint result;
	guint _tmp0_;
#line 81 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 81 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp0_ = gtk_source_view_get_tab_width ((GtkSourceView*) self);
#line 81 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	result = (gint) _tmp0_;
#line 81 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return result;
#line 4957 "gitg-diff-view-file-renderer-text.c"
}


void gitg_diff_view_file_renderer_text_set_tab_width (GitgDiffViewFileRendererText* self, gint value) {
#line 82 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_if_fail (self != NULL);
#line 82 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (gitg_diff_view_file_renderer_text_get_tab_width (self) != value) {
#line 4966 "gitg-diff-view-file-renderer-text.c"
		gint _tmp0_;
#line 82 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp0_ = value;
#line 82 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		gtk_source_view_set_tab_width ((GtkSourceView*) self, (guint) _tmp0_);
#line 82 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_object_notify ((GObject *) self, "tab-width");
#line 4974 "gitg-diff-view-file-renderer-text.c"
	}
}


gint gitg_diff_view_file_renderer_text_get_maxlines (GitgDiffViewFileRendererText* self) {
	gint result;
	gint _tmp0_;
#line 85 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 85 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp0_ = self->priv->_maxlines;
#line 85 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	result = _tmp0_;
#line 85 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return result;
#line 4990 "gitg-diff-view-file-renderer-text.c"
}


void gitg_diff_view_file_renderer_text_set_maxlines (GitgDiffViewFileRendererText* self, gint value) {
#line 85 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_if_fail (self != NULL);
#line 85 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (gitg_diff_view_file_renderer_text_get_maxlines (self) != value) {
#line 4999 "gitg-diff-view-file-renderer-text.c"
		gint _tmp0_;
#line 85 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp0_ = value;
#line 85 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		self->priv->_maxlines = _tmp0_;
#line 85 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_object_notify ((GObject *) self, "maxlines");
#line 5007 "gitg-diff-view-file-renderer-text.c"
	}
}


GitgDiffViewFileInfo* gitg_diff_view_file_renderer_text_get_info (GitgDiffViewFileRendererText* self) {
	GitgDiffViewFileInfo* result;
	GitgDiffViewFileInfo* _tmp0_;
#line 87 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 87 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp0_ = self->priv->_info;
#line 87 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	result = _tmp0_;
#line 87 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return result;
#line 5023 "gitg-diff-view-file-renderer-text.c"
}


void gitg_diff_view_file_renderer_text_set_info (GitgDiffViewFileRendererText* self, GitgDiffViewFileInfo* value) {
#line 87 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_if_fail (self != NULL);
#line 87 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (gitg_diff_view_file_renderer_text_get_info (self) != value) {
#line 5032 "gitg-diff-view-file-renderer-text.c"
		GitgDiffViewFileInfo* _tmp0_;
		GitgDiffViewFileInfo* _tmp1_;
#line 87 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp0_ = value;
#line 87 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 87 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (self->priv->_info);
#line 87 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		self->priv->_info = _tmp1_;
#line 87 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_object_notify ((GObject *) self, "info");
#line 5045 "gitg-diff-view-file-renderer-text.c"
	}
}


GgitDiffDelta* gitg_diff_view_file_renderer_text_get_delta (GitgDiffViewFileRendererText* self) {
	GgitDiffDelta* result;
	GitgDiffViewFileInfo* _tmp0_;
	GgitDiffDelta* _tmp1_;
	GgitDiffDelta* _tmp2_;
#line 91 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 91 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp0_ = self->priv->_info;
#line 91 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp1_ = gitg_diff_view_file_info_get_delta (_tmp0_);
#line 91 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp2_ = _tmp1_;
#line 91 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	result = _tmp2_;
#line 91 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return result;
#line 5067 "gitg-diff-view-file-renderer-text.c"
}


GitgRepository* gitg_diff_view_file_renderer_text_get_repository (GitgDiffViewFileRendererText* self) {
	GitgRepository* result;
	GitgDiffViewFileInfo* _tmp0_;
	GitgRepository* _tmp1_;
	GitgRepository* _tmp2_;
#line 96 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 96 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp0_ = self->priv->_info;
#line 96 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp1_ = gitg_diff_view_file_info_get_repository (_tmp0_);
#line 96 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp2_ = _tmp1_;
#line 96 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	result = _tmp2_;
#line 96 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return result;
#line 5088 "gitg-diff-view-file-renderer-text.c"
}


gboolean gitg_diff_view_file_renderer_text_get_highlight (GitgDiffViewFileRendererText* self) {
	gboolean result;
	gboolean _tmp0_;
#line 101 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 101 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp0_ = self->priv->d_highlight;
#line 101 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	result = _tmp0_;
#line 101 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return result;
#line 5103 "gitg-diff-view-file-renderer-text.c"
}


void gitg_diff_view_file_renderer_text_set_highlight (GitgDiffViewFileRendererText* self, gboolean value) {
#line 103 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_return_if_fail (self != NULL);
#line 103 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (gitg_diff_view_file_renderer_text_get_highlight (self) != value) {
#line 5112 "gitg-diff-view-file-renderer-text.c"
		gboolean _tmp0_;
		gboolean _tmp1_;
#line 105 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp0_ = self->priv->d_highlight;
#line 105 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp1_ = value;
#line 105 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		if (_tmp0_ != _tmp1_) {
#line 5121 "gitg-diff-view-file-renderer-text.c"
			gboolean _tmp2_;
#line 107 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_tmp2_ = value;
#line 107 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			self->priv->d_highlight = _tmp2_;
#line 108 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			gitg_diff_view_file_renderer_text_update_highlight (self);
#line 5129 "gitg-diff-view-file-renderer-text.c"
		}
#line 103 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_object_notify ((GObject *) self, "highlight");
#line 5133 "gitg-diff-view-file-renderer-text.c"
	}
}


static gboolean gitg_diff_view_file_renderer_text_real_get_has_selection (GitgDiffSelectable* base) {
	gboolean result;
	GitgDiffViewFileRendererText* self;
	gboolean _tmp0_;
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	self = (GitgDiffViewFileRendererText*) base;
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp0_ = self->priv->d_has_selection;
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	result = _tmp0_;
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return result;
#line 5150 "gitg-diff-view-file-renderer-text.c"
}


static gboolean gitg_diff_view_file_renderer_text_real_get_can_select (GitgDiffSelectable* base) {
	gboolean result;
	GitgDiffViewFileRendererText* self;
	gboolean _tmp0_;
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	self = (GitgDiffViewFileRendererText*) base;
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp0_ = self->priv->_can_select;
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	result = _tmp0_;
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return result;
#line 5166 "gitg-diff-view-file-renderer-text.c"
}


static void gitg_diff_view_file_renderer_text_real_set_can_select (GitgDiffSelectable* base, gboolean value) {
	GitgDiffViewFileRendererText* self;
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	self = (GitgDiffViewFileRendererText*) base;
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (gitg_diff_view_file_renderer_text_real_get_can_select (self) != value) {
#line 5176 "gitg-diff-view-file-renderer-text.c"
		gboolean _tmp0_;
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp0_ = value;
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		self->priv->_can_select = _tmp0_;
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_object_notify ((GObject *) self, "can-select");
#line 5184 "gitg-diff-view-file-renderer-text.c"
	}
}


static void _vala_array_add6 (GitgPatchSetPatch* * array, int* length, int* size, const GitgPatchSetPatch* value) {
#line 148 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if ((*length) == (*size)) {
#line 148 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 148 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		*array = g_renew (GitgPatchSetPatch, *array, *size);
#line 5196 "gitg-diff-view-file-renderer-text.c"
	}
#line 148 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	(*array)[(*length)++] = *value;
#line 5200 "gitg-diff-view-file-renderer-text.c"
}


static void _vala_array_add7 (GitgPatchSetPatch* * array, int* length, int* size, const GitgPatchSetPatch* value) {
#line 162 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if ((*length) == (*size)) {
#line 162 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 162 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		*array = g_renew (GitgPatchSetPatch, *array, *size);
#line 5211 "gitg-diff-view-file-renderer-text.c"
	}
#line 162 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	(*array)[(*length)++] = *value;
#line 5215 "gitg-diff-view-file-renderer-text.c"
}


static GitgPatchSetPatch* _vala_array_dup11 (GitgPatchSetPatch* self, int length) {
#line 166 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return g_memdup (self, length * sizeof (GitgPatchSetPatch));
#line 5222 "gitg-diff-view-file-renderer-text.c"
}


static GitgPatchSet* gitg_diff_view_file_renderer_text_real_get_selection (GitgDiffSelectable* base) {
	GitgPatchSet* result;
	GitgDiffViewFileRendererText* self;
	GitgPatchSet* ret;
	GitgPatchSet* _tmp0_;
	GitgPatchSet* _tmp1_;
	GgitDiffDelta* _tmp2_;
	GgitDiffDelta* _tmp3_;
	GgitDiffFile* _tmp4_;
	const gchar* _tmp5_;
	gchar* _tmp6_;
	GitgPatchSetPatch* patches;
	GitgPatchSetPatch* _tmp7_;
	gint patches_length1;
	gint _patches_size_;
	gboolean _tmp8_;
	gboolean _tmp9_;
	gint* selected;
	GitgDiffViewFileSelectable* _tmp10_;
	gint* _tmp11_;
	gint _tmp11__length1;
	gint* _tmp12_;
	gint _tmp12__length1;
	gint selected_length1;
	gint _selected_size_;
	GitgPatchSet* _tmp51_;
	GitgPatchSetPatch* _tmp52_;
	gint _tmp52__length1;
	GitgPatchSetPatch* _tmp53_;
	gint _tmp53__length1;
#line 126 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	self = (GitgDiffViewFileRendererText*) base;
#line 128 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp0_ = gitg_patch_set_new ();
#line 128 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	ret = _tmp0_;
#line 130 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp1_ = ret;
#line 130 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp2_ = gitg_diff_view_file_renderer_text_get_delta (self);
#line 130 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp3_ = _tmp2_;
#line 130 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp4_ = ggit_diff_delta_get_new_file (_tmp3_);
#line 130 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp5_ = ggit_diff_file_get_path (_tmp4_);
#line 130 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp6_ = g_strdup (_tmp5_);
#line 130 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_free0 (_tmp1_->filename);
#line 130 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp1_->filename = _tmp6_;
#line 132 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp7_ = g_new0 (GitgPatchSetPatch, 0);
#line 132 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	patches = _tmp7_;
#line 132 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	patches_length1 = 0;
#line 132 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_patches_size_ = patches_length1;
#line 134 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp8_ = gitg_diff_selectable_get_can_select ((GitgDiffSelectable*) self);
#line 134 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp9_ = _tmp8_;
#line 134 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (!_tmp9_) {
#line 136 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		result = ret;
#line 136 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		patches = (g_free (patches), NULL);
#line 136 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		return result;
#line 5298 "gitg-diff-view-file-renderer-text.c"
	}
#line 139 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp10_ = self->priv->d_selectable;
#line 139 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp11_ = gitg_diff_view_file_selectable_get_selected_lines (_tmp10_, &_tmp11__length1);
#line 139 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp12_ = _tmp11_;
#line 139 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp12__length1 = _tmp11__length1;
#line 139 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	selected = _tmp12_;
#line 139 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	selected_length1 = _tmp12__length1;
#line 139 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_selected_size_ = selected_length1;
#line 5314 "gitg-diff-view-file-renderer-text.c"
	{
		gint i;
#line 141 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		i = 0;
#line 5319 "gitg-diff-view-file-renderer-text.c"
		{
			gboolean _tmp13_;
#line 141 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			_tmp13_ = TRUE;
#line 141 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
			while (TRUE) {
#line 5326 "gitg-diff-view-file-renderer-text.c"
				gint _tmp15_;
				gint* _tmp16_;
				gint _tmp16__length1;
				gint line;
				gint* _tmp17_;
				gint _tmp17__length1;
				gint _tmp18_;
				gint _tmp19_;
				GitgPatchSetPatch* pset;
				GeeHashMap* _tmp20_;
				gint _tmp21_;
				gpointer _tmp22_;
				gint _tmp23_;
				GitgPatchSetPatch last;
				GitgPatchSetPatch* _tmp27_;
				gint _tmp27__length1;
				GitgPatchSetPatch* _tmp28_;
				gint _tmp28__length1;
				GitgPatchSetPatch _tmp29_;
				gboolean _tmp30_ = FALSE;
				GitgPatchSetPatch _tmp31_;
				gsize _tmp32_;
				GitgPatchSetPatch _tmp33_;
				gsize _tmp34_;
				GitgPatchSetPatch* _tmp35_;
				gsize _tmp36_;
#line 141 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				if (!_tmp13_) {
#line 5355 "gitg-diff-view-file-renderer-text.c"
					gint _tmp14_;
#line 141 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp14_ = i;
#line 141 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					i = _tmp14_ + 1;
#line 5361 "gitg-diff-view-file-renderer-text.c"
				}
#line 141 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp13_ = FALSE;
#line 141 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp15_ = i;
#line 141 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp16_ = selected;
#line 141 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp16__length1 = selected_length1;
#line 141 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				if (!(_tmp15_ < _tmp16__length1)) {
#line 141 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					break;
#line 5375 "gitg-diff-view-file-renderer-text.c"
				}
#line 143 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp17_ = selected;
#line 143 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp17__length1 = selected_length1;
#line 143 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp18_ = i;
#line 143 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp19_ = _tmp17_[_tmp18_];
#line 143 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				line = _tmp19_;
#line 144 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp20_ = self->priv->d_lines;
#line 144 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp21_ = line;
#line 144 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp22_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp20_, (gpointer) ((gintptr) _tmp21_));
#line 144 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				pset = (GitgPatchSetPatch*) _tmp22_;
#line 146 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp23_ = i;
#line 146 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				if (_tmp23_ == 0) {
#line 5399 "gitg-diff-view-file-renderer-text.c"
					GitgPatchSetPatch* _tmp24_;
					gint _tmp24__length1;
					GitgPatchSetPatch* _tmp25_;
					GitgPatchSetPatch _tmp26_;
#line 148 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp24_ = patches;
#line 148 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp24__length1 = patches_length1;
#line 148 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp25_ = pset;
#line 148 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp26_ = *_tmp25_;
#line 148 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_vala_array_add6 (&patches, &patches_length1, &_patches_size_, &_tmp26_);
#line 149 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_gitg_patch_set_patch_free0 (pset);
#line 149 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					continue;
#line 5418 "gitg-diff-view-file-renderer-text.c"
				}
#line 152 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp27_ = patches;
#line 152 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp27__length1 = patches_length1;
#line 152 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp28_ = patches;
#line 152 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp28__length1 = patches_length1;
#line 152 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp29_ = _tmp27_[_tmp28__length1 - 1];
#line 152 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				last = _tmp29_;
#line 154 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp31_ = last;
#line 154 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp32_ = _tmp31_.new_offset;
#line 154 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp33_ = last;
#line 154 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp34_ = _tmp33_.length;
#line 154 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp35_ = pset;
#line 154 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_tmp36_ = (*_tmp35_).new_offset;
#line 154 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				if ((_tmp32_ + _tmp34_) == _tmp36_) {
#line 5446 "gitg-diff-view-file-renderer-text.c"
					GitgPatchSetPatch _tmp37_;
					GitgPatchSetType _tmp38_;
					GitgPatchSetPatch* _tmp39_;
					GitgPatchSetType _tmp40_;
#line 155 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp37_ = last;
#line 155 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp38_ = _tmp37_.type;
#line 155 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp39_ = pset;
#line 155 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp40_ = (*_tmp39_).type;
#line 155 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp30_ = _tmp38_ == _tmp40_;
#line 5461 "gitg-diff-view-file-renderer-text.c"
				} else {
#line 154 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp30_ = FALSE;
#line 5465 "gitg-diff-view-file-renderer-text.c"
				}
#line 154 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				if (_tmp30_) {
#line 5469 "gitg-diff-view-file-renderer-text.c"
					gsize _tmp41_;
					GitgPatchSetPatch* _tmp42_;
					gsize _tmp43_;
					GitgPatchSetPatch* _tmp44_;
					gint _tmp44__length1;
					GitgPatchSetPatch* _tmp45_;
					gint _tmp45__length1;
					GitgPatchSetPatch _tmp46_;
					GitgPatchSetPatch _tmp47_;
#line 157 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp41_ = last.length;
#line 157 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp42_ = pset;
#line 157 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp43_ = (*_tmp42_).length;
#line 157 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					last.length = _tmp41_ + _tmp43_;
#line 158 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp44_ = patches;
#line 158 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp44__length1 = patches_length1;
#line 158 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp45_ = patches;
#line 158 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp45__length1 = patches_length1;
#line 158 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp46_ = last;
#line 158 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp44_[_tmp45__length1 - 1] = _tmp46_;
#line 158 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp47_ = _tmp44_[_tmp45__length1 - 1];
#line 5501 "gitg-diff-view-file-renderer-text.c"
				} else {
					GitgPatchSetPatch* _tmp48_;
					gint _tmp48__length1;
					GitgPatchSetPatch* _tmp49_;
					GitgPatchSetPatch _tmp50_;
#line 162 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp48_ = patches;
#line 162 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp48__length1 = patches_length1;
#line 162 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp49_ = pset;
#line 162 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_tmp50_ = *_tmp49_;
#line 162 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
					_vala_array_add7 (&patches, &patches_length1, &_patches_size_, &_tmp50_);
#line 5517 "gitg-diff-view-file-renderer-text.c"
				}
#line 141 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
				_gitg_patch_set_patch_free0 (pset);
#line 5521 "gitg-diff-view-file-renderer-text.c"
			}
		}
	}
#line 166 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp51_ = ret;
#line 166 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp52_ = patches;
#line 166 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp52__length1 = patches_length1;
#line 166 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp53_ = (_tmp52_ != NULL) ? _vala_array_dup11 (_tmp52_, _tmp52__length1) : ((gpointer) _tmp52_);
#line 166 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp53__length1 = _tmp52__length1;
#line 166 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp51_->patches = (g_free (_tmp51_->patches), NULL);
#line 166 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp51_->patches = _tmp53_;
#line 166 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp51_->patches_length1 = _tmp53__length1;
#line 167 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	result = ret;
#line 167 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	selected = (g_free (selected), NULL);
#line 167 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	patches = (g_free (patches), NULL);
#line 167 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return result;
#line 5549 "gitg-diff-view-file-renderer-text.c"
}


static void _gitg_diff_view_file_renderer_text_update_theme_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 198 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gitg_diff_view_file_renderer_text_update_theme ((GitgDiffViewFileRendererText*) self);
#line 5556 "gitg-diff-view-file-renderer-text.c"
}


static void _gitg_diff_view_file_renderer_text____lambda53_ (GitgDiffViewFileRendererText* self) {
	GitgDiffViewFileSelectable* _tmp0_;
	gboolean _tmp1_;
	gboolean _tmp2_;
#line 207 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp0_ = self->priv->d_selectable;
#line 207 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp1_ = gitg_diff_view_file_selectable_get_has_selection (_tmp0_);
#line 207 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp2_ = _tmp1_;
#line 207 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	self->priv->d_has_selection = _tmp2_;
#line 208 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_notify ((GObject*) self, "has-selection");
#line 5574 "gitg-diff-view-file-renderer-text.c"
}


static void __gitg_diff_view_file_renderer_text____lambda53__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 206 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_gitg_diff_view_file_renderer_text____lambda53_ ((GitgDiffViewFileRendererText*) self);
#line 5581 "gitg-diff-view-file-renderer-text.c"
}


static GObject * gitg_diff_view_file_renderer_text_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) {
	GObject * obj;
	GObjectClass * parent_class;
	GitgDiffViewFileRendererText * self;
	GtkSourceGutter* gutter;
	GtkSourceGutter* _tmp0_;
	GtkSourceGutter* _tmp1_;
	GitgDiffViewLinesRenderer* _tmp2_;
	GitgDiffViewLinesRenderer* _tmp3_;
	GitgDiffViewLinesRenderer* _tmp4_;
	GitgDiffViewLinesRenderer* _tmp5_;
	GitgDiffViewLinesRenderer* _tmp6_;
	GitgDiffViewLinesRenderer* _tmp7_;
	GitgDiffViewLinesRenderer* _tmp8_;
	GitgDiffViewLinesRenderer* _tmp9_;
	GtkSourceGutter* _tmp10_;
	GitgDiffViewLinesRenderer* _tmp11_;
	GtkSourceGutter* _tmp12_;
	GitgDiffViewLinesRenderer* _tmp13_;
	GtkSourceGutter* _tmp14_;
	GitgDiffViewLinesRenderer* _tmp15_;
	GtkSettings* settings;
	GtkSettings* _tmp16_;
	GtkSettings* _tmp17_;
	GtkSettings* _tmp18_;
	gboolean _tmp19_;
	gboolean _tmp20_;
	GeeHashMap* _tmp23_;
#line 176 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	parent_class = G_OBJECT_CLASS (gitg_diff_view_file_renderer_text_parent_class);
#line 176 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 176 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_DIFF_VIEW_FILE_RENDERER_TEXT, GitgDiffViewFileRendererText);
#line 178 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp0_ = gtk_source_view_get_gutter ((GtkSourceView*) self, GTK_TEXT_WINDOW_LEFT);
#line 178 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 178 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gutter = _tmp1_;
#line 180 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp2_ = gitg_diff_view_lines_renderer_new (GITG_DIFF_VIEW_LINES_RENDERER_STYLE_OLD);
#line 180 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_ref_sink (_tmp2_);
#line 180 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (self->priv->d_old_lines);
#line 180 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	self->priv->d_old_lines = _tmp2_;
#line 181 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp3_ = gitg_diff_view_lines_renderer_new (GITG_DIFF_VIEW_LINES_RENDERER_STYLE_NEW);
#line 181 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_ref_sink (_tmp3_);
#line 181 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (self->priv->d_new_lines);
#line 181 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	self->priv->d_new_lines = _tmp3_;
#line 182 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp4_ = gitg_diff_view_lines_renderer_new (GITG_DIFF_VIEW_LINES_RENDERER_STYLE_SYMBOL);
#line 182 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_ref_sink (_tmp4_);
#line 182 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (self->priv->d_sym_lines);
#line 182 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	self->priv->d_sym_lines = _tmp4_;
#line 184 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp5_ = self->priv->d_old_lines;
#line 184 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_bind_property_with_closures ((GObject*) self, "maxlines", (GObject*) _tmp5_, "maxlines", G_BINDING_DEFAULT | G_BINDING_SYNC_CREATE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp6_ = self->priv->d_new_lines;
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_bind_property_with_closures ((GObject*) self, "maxlines", (GObject*) _tmp6_, "maxlines", G_BINDING_DEFAULT | G_BINDING_SYNC_CREATE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 187 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp7_ = self->priv->d_old_lines;
#line 187 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_set ((GtkSourceGutterRenderer*) _tmp7_, "xpad", 8, NULL);
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp8_ = self->priv->d_new_lines;
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_set ((GtkSourceGutterRenderer*) _tmp8_, "xpad", 8, NULL);
#line 189 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp9_ = self->priv->d_sym_lines;
#line 189 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_set ((GtkSourceGutterRenderer*) _tmp9_, "xpad", 6, NULL);
#line 191 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp10_ = gutter;
#line 191 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp11_ = self->priv->d_old_lines;
#line 191 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_source_gutter_insert (_tmp10_, (GtkSourceGutterRenderer*) _tmp11_, 0);
#line 192 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp12_ = gutter;
#line 192 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp13_ = self->priv->d_new_lines;
#line 192 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_source_gutter_insert (_tmp12_, (GtkSourceGutterRenderer*) _tmp13_, 1);
#line 193 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp14_ = gutter;
#line 193 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp15_ = self->priv->d_sym_lines;
#line 193 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_source_gutter_insert (_tmp14_, (GtkSourceGutterRenderer*) _tmp15_, 2);
#line 195 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_text_view_set_border_window_size ((GtkTextView*) self, GTK_TEXT_WINDOW_TOP, 1);
#line 197 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp16_ = gtk_settings_get_default ();
#line 197 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp17_ = _g_object_ref0 (_tmp16_);
#line 197 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	settings = _tmp17_;
#line 198 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp18_ = settings;
#line 198 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_signal_connect_object ((GObject*) _tmp18_, "notify::gtk-application-prefer-dark-theme", (GCallback) _gitg_diff_view_file_renderer_text_update_theme_g_object_notify, self, 0);
#line 200 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gitg_diff_view_file_renderer_text_update_theme (self);
#line 202 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp19_ = gitg_diff_selectable_get_can_select ((GitgDiffSelectable*) self);
#line 202 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp20_ = _tmp19_;
#line 202 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	if (_tmp20_) {
#line 5707 "gitg-diff-view-file-renderer-text.c"
		GitgDiffViewFileSelectable* _tmp21_;
		GitgDiffViewFileSelectable* _tmp22_;
#line 204 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp21_ = gitg_diff_view_file_selectable_new ((GtkSourceView*) self);
#line 204 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_g_object_unref0 (self->priv->d_selectable);
#line 204 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		self->priv->d_selectable = _tmp21_;
#line 206 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		_tmp22_ = self->priv->d_selectable;
#line 206 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_signal_connect_object ((GObject*) _tmp22_, "notify::has-selection", (GCallback) __gitg_diff_view_file_renderer_text____lambda53__g_object_notify, self, 0);
#line 5720 "gitg-diff-view-file-renderer-text.c"
	}
#line 212 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_tmp23_ = gee_hash_map_new (G_TYPE_INT, NULL, NULL, GITG_PATCH_SET_TYPE_PATCH, (GBoxedCopyFunc) gitg_patch_set_patch_dup, gitg_patch_set_patch_free, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
#line 212 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (self->priv->d_lines);
#line 212 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	self->priv->d_lines = _tmp23_;
#line 176 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (settings);
#line 176 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (gutter);
#line 176 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return obj;
#line 5734 "gitg-diff-view-file-renderer-text.c"
}


static GitgDiffViewFileRendererTextRegion* gitg_diff_view_file_renderer_text_region_dup (const GitgDiffViewFileRendererTextRegion* self) {
	GitgDiffViewFileRendererTextRegion* dup;
#line 30 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	dup = g_new0 (GitgDiffViewFileRendererTextRegion, 1);
#line 30 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	memcpy (dup, self, sizeof (GitgDiffViewFileRendererTextRegion));
#line 30 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	return dup;
#line 5746 "gitg-diff-view-file-renderer-text.c"
}


static void gitg_diff_view_file_renderer_text_region_free (GitgDiffViewFileRendererTextRegion* self) {
#line 30 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_free (self);
#line 5753 "gitg-diff-view-file-renderer-text.c"
}


static GType gitg_diff_view_file_renderer_text_region_get_type (void) {
	static volatile gsize gitg_diff_view_file_renderer_text_region_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_diff_view_file_renderer_text_region_type_id__volatile)) {
		GType gitg_diff_view_file_renderer_text_region_type_id;
		gitg_diff_view_file_renderer_text_region_type_id = g_boxed_type_register_static ("GitgDiffViewFileRendererTextRegion", (GBoxedCopyFunc) gitg_diff_view_file_renderer_text_region_dup, (GBoxedFreeFunc) gitg_diff_view_file_renderer_text_region_free);
		g_once_init_leave (&gitg_diff_view_file_renderer_text_region_type_id__volatile, gitg_diff_view_file_renderer_text_region_type_id);
	}
	return gitg_diff_view_file_renderer_text_region_type_id__volatile;
}


static void gitg_diff_view_file_renderer_text_class_init (GitgDiffViewFileRendererTextClass * klass) {
	gint GitgDiffViewFileRendererText_private_offset;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gitg_diff_view_file_renderer_text_parent_class = g_type_class_peek_parent (klass);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_type_class_add_private (klass, sizeof (GitgDiffViewFileRendererTextPrivate));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	((GObjectClass *) klass)->dispose = gitg_diff_view_file_renderer_text_real_dispose;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	((GtkWidgetClass *) klass)->draw = gitg_diff_view_file_renderer_text_real_draw;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	((GObjectClass *) klass)->constructed = gitg_diff_view_file_renderer_text_real_constructed;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_diff_view_file_renderer_text_get_property;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_diff_view_file_renderer_text_set_property;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	G_OBJECT_CLASS (klass)->constructor = gitg_diff_view_file_renderer_text_constructor;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_diff_view_file_renderer_text_finalize;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_FILE_RENDERER_TEXT_ADDED, g_param_spec_uint ("added", "added", "added", 0, G_MAXUINT, 0U, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_FILE_RENDERER_TEXT_REMOVED, g_param_spec_uint ("removed", "removed", "removed", 0, G_MAXUINT, 0U, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_FILE_RENDERER_TEXT_NEW_IS_WORKDIR, g_param_spec_boolean ("new-is-workdir", "new-is-workdir", "new-is-workdir", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_FILE_RENDERER_TEXT_WRAP_LINES, g_param_spec_boolean ("wrap-lines", "wrap-lines", "wrap-lines", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_FILE_RENDERER_TEXT_TAB_WIDTH, g_param_spec_int ("tab-width", "tab-width", "tab-width", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_FILE_RENDERER_TEXT_MAXLINES, g_param_spec_int ("maxlines", "maxlines", "maxlines", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_FILE_RENDERER_TEXT_INFO, g_param_spec_object ("info", "info", "info", GITG_TYPE_DIFF_VIEW_FILE_INFO, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_FILE_RENDERER_TEXT_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));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_FILE_RENDERER_TEXT_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));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_FILE_RENDERER_TEXT_HIGHLIGHT, g_param_spec_boolean ("highlight", "highlight", "highlight", TRUE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_FILE_RENDERER_TEXT_HAS_SELECTION, g_param_spec_boolean ("has-selection", "has-selection", "has-selection", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_FILE_RENDERER_TEXT_CAN_SELECT, g_param_spec_boolean ("can-select", "can-select", "can-select", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_FILE_RENDERER_TEXT_SELECTION, gitg_param_spec_patch_set ("selection", "selection", "selection", GITG_TYPE_PATCH_SET, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	GitgDiffViewFileRendererText_private_offset = g_type_class_get_instance_private_offset (klass);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/gitg/ui/gitg-diff-view-file-renderer-text.ui");
#line 5818 "gitg-diff-view-file-renderer-text.c"
}


static void gitg_diff_view_file_renderer_text_gitg_diff_selectable_interface_init (GitgDiffSelectableIface * iface) {
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gitg_diff_view_file_renderer_text_gitg_diff_selectable_parent_iface = g_type_interface_peek_parent (iface);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	iface->get_has_selection = gitg_diff_view_file_renderer_text_real_get_has_selection;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	iface->get_can_select = gitg_diff_view_file_renderer_text_real_get_can_select;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	iface->set_can_select = gitg_diff_view_file_renderer_text_real_set_can_select;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	iface->get_selection = gitg_diff_view_file_renderer_text_real_get_selection;
#line 5833 "gitg-diff-view-file-renderer-text.c"
}


static void gitg_diff_view_file_renderer_text_gitg_diff_view_file_renderer_interface_init (GitgDiffViewFileRendererIface * iface) {
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gitg_diff_view_file_renderer_text_gitg_diff_view_file_renderer_parent_iface = g_type_interface_peek_parent (iface);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	iface->add_hunk = (void (*) (GitgDiffViewFileRenderer *, GgitDiffHunk*, GeeArrayList*)) gitg_diff_view_file_renderer_text_real_add_hunk;
#line 5842 "gitg-diff-view-file-renderer-text.c"
}


static void gitg_diff_view_file_renderer_text_instance_init (GitgDiffViewFileRendererText * self) {
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	self->priv = GITG_DIFF_VIEW_FILE_RENDERER_TEXT_GET_PRIVATE (self);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	gtk_widget_init_template (GTK_WIDGET (self));
#line 5851 "gitg-diff-view-file-renderer-text.c"
}


static void gitg_diff_view_file_renderer_text_finalize (GObject * obj) {
	GitgDiffViewFileRendererText * self;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_DIFF_VIEW_FILE_RENDERER_TEXT, GitgDiffViewFileRendererText);
#line 43 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (self->priv->d_lines);
#line 45 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (self->priv->d_selectable);
#line 46 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (self->priv->d_old_lines);
#line 47 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (self->priv->d_new_lines);
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (self->priv->d_sym_lines);
#line 52 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (self->priv->d_higlight_cancellable);
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (self->priv->d_old_highlight_buffer);
#line 54 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (self->priv->d_new_highlight_buffer);
#line 58 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	self->priv->d_regions = (g_free (self->priv->d_regions), NULL);
#line 87 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	_g_object_unref0 (self->priv->_info);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	G_OBJECT_CLASS (gitg_diff_view_file_renderer_text_parent_class)->finalize (obj);
#line 5881 "gitg-diff-view-file-renderer-text.c"
}


GType gitg_diff_view_file_renderer_text_get_type (void) {
	static volatile gsize gitg_diff_view_file_renderer_text_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_diff_view_file_renderer_text_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgDiffViewFileRendererTextClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_diff_view_file_renderer_text_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgDiffViewFileRendererText), 0, (GInstanceInitFunc) gitg_diff_view_file_renderer_text_instance_init, NULL };
		static const GInterfaceInfo gitg_diff_selectable_info = { (GInterfaceInitFunc) gitg_diff_view_file_renderer_text_gitg_diff_selectable_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		static const GInterfaceInfo gitg_diff_view_file_renderer_info = { (GInterfaceInitFunc) gitg_diff_view_file_renderer_text_gitg_diff_view_file_renderer_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType gitg_diff_view_file_renderer_text_type_id;
		gitg_diff_view_file_renderer_text_type_id = g_type_register_static (gtk_source_view_get_type (), "GitgDiffViewFileRendererText", &g_define_type_info, 0);
		g_type_add_interface_static (gitg_diff_view_file_renderer_text_type_id, GITG_TYPE_DIFF_SELECTABLE, &gitg_diff_selectable_info);
		g_type_add_interface_static (gitg_diff_view_file_renderer_text_type_id, GITG_TYPE_DIFF_VIEW_FILE_RENDERER, &gitg_diff_view_file_renderer_info);
		g_once_init_leave (&gitg_diff_view_file_renderer_text_type_id__volatile, gitg_diff_view_file_renderer_text_type_id);
	}
	return gitg_diff_view_file_renderer_text_type_id__volatile;
}


static void _vala_gitg_diff_view_file_renderer_text_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GitgDiffViewFileRendererText * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_DIFF_VIEW_FILE_RENDERER_TEXT, GitgDiffViewFileRendererText);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	switch (property_id) {
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case GITG_DIFF_VIEW_FILE_RENDERER_TEXT_ADDED:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_value_set_uint (value, gitg_diff_view_file_renderer_text_get_added (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case GITG_DIFF_VIEW_FILE_RENDERER_TEXT_REMOVED:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_value_set_uint (value, gitg_diff_view_file_renderer_text_get_removed (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case GITG_DIFF_VIEW_FILE_RENDERER_TEXT_NEW_IS_WORKDIR:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_value_set_boolean (value, gitg_diff_view_file_renderer_text_get_new_is_workdir (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case GITG_DIFF_VIEW_FILE_RENDERER_TEXT_WRAP_LINES:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_value_set_boolean (value, gitg_diff_view_file_renderer_text_get_wrap_lines (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case GITG_DIFF_VIEW_FILE_RENDERER_TEXT_TAB_WIDTH:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_value_set_int (value, gitg_diff_view_file_renderer_text_get_tab_width (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case GITG_DIFF_VIEW_FILE_RENDERER_TEXT_MAXLINES:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_value_set_int (value, gitg_diff_view_file_renderer_text_get_maxlines (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case GITG_DIFF_VIEW_FILE_RENDERER_TEXT_INFO:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_value_set_object (value, gitg_diff_view_file_renderer_text_get_info (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case GITG_DIFF_VIEW_FILE_RENDERER_TEXT_DELTA:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_value_set_boxed (value, gitg_diff_view_file_renderer_text_get_delta (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case GITG_DIFF_VIEW_FILE_RENDERER_TEXT_REPOSITORY:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_value_set_object (value, gitg_diff_view_file_renderer_text_get_repository (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case GITG_DIFF_VIEW_FILE_RENDERER_TEXT_HIGHLIGHT:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_value_set_boolean (value, gitg_diff_view_file_renderer_text_get_highlight (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case GITG_DIFF_VIEW_FILE_RENDERER_TEXT_HAS_SELECTION:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_value_set_boolean (value, gitg_diff_selectable_get_has_selection ((GitgDiffSelectable*) self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case GITG_DIFF_VIEW_FILE_RENDERER_TEXT_CAN_SELECT:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		g_value_set_boolean (value, gitg_diff_selectable_get_can_select ((GitgDiffSelectable*) self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case GITG_DIFF_VIEW_FILE_RENDERER_TEXT_SELECTION:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		gitg_value_take_patch_set (value, gitg_diff_selectable_get_selection ((GitgDiffSelectable*) self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		break;
#line 5984 "gitg-diff-view-file-renderer-text.c"
		default:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		break;
#line 5990 "gitg-diff-view-file-renderer-text.c"
	}
}


static void _vala_gitg_diff_view_file_renderer_text_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	GitgDiffViewFileRendererText * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_DIFF_VIEW_FILE_RENDERER_TEXT, GitgDiffViewFileRendererText);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
	switch (property_id) {
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case GITG_DIFF_VIEW_FILE_RENDERER_TEXT_ADDED:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		gitg_diff_view_file_renderer_text_set_added (self, g_value_get_uint (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case GITG_DIFF_VIEW_FILE_RENDERER_TEXT_REMOVED:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		gitg_diff_view_file_renderer_text_set_removed (self, g_value_get_uint (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case GITG_DIFF_VIEW_FILE_RENDERER_TEXT_NEW_IS_WORKDIR:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		gitg_diff_view_file_renderer_text_set_new_is_workdir (self, g_value_get_boolean (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case GITG_DIFF_VIEW_FILE_RENDERER_TEXT_WRAP_LINES:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		gitg_diff_view_file_renderer_text_set_wrap_lines (self, g_value_get_boolean (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case GITG_DIFF_VIEW_FILE_RENDERER_TEXT_TAB_WIDTH:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		gitg_diff_view_file_renderer_text_set_tab_width (self, g_value_get_int (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case GITG_DIFF_VIEW_FILE_RENDERER_TEXT_MAXLINES:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		gitg_diff_view_file_renderer_text_set_maxlines (self, g_value_get_int (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case GITG_DIFF_VIEW_FILE_RENDERER_TEXT_INFO:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		gitg_diff_view_file_renderer_text_set_info (self, g_value_get_object (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case GITG_DIFF_VIEW_FILE_RENDERER_TEXT_HIGHLIGHT:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		gitg_diff_view_file_renderer_text_set_highlight (self, g_value_get_boolean (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		case GITG_DIFF_VIEW_FILE_RENDERER_TEXT_CAN_SELECT:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		gitg_diff_selectable_set_can_select ((GitgDiffSelectable*) self, g_value_get_boolean (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		break;
#line 6054 "gitg-diff-view-file-renderer-text.c"
		default:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file-renderer-text.vala"
		break;
#line 6060 "gitg-diff-view-file-renderer-text.c"
	}
}



