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

/*
 * This file is part of gitg
 *
 * Copyright (C) 2015 - 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 <gtk/gtk.h>
#include <libgit2-glib/ggit.h>
#include <gio/gio.h>
#include <gee.h>
#include <stdlib.h>
#include <string.h>
#include <gdk/gdk.h>
#include <float.h>
#include <math.h>
#include <gtksourceview/gtksource.h>
#include <cairo.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <stdio.h>


#define GITG_TYPE_DIFF_VIEW (gitg_diff_view_get_type ())
#define GITG_DIFF_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_DIFF_VIEW, GitgDiffView))
#define GITG_DIFF_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_DIFF_VIEW, GitgDiffViewClass))
#define GITG_IS_DIFF_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_DIFF_VIEW))
#define GITG_IS_DIFF_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_DIFF_VIEW))
#define GITG_DIFF_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_DIFF_VIEW, GitgDiffViewClass))

typedef struct _GitgDiffView GitgDiffView;
typedef struct _GitgDiffViewClass GitgDiffViewClass;
typedef struct _GitgDiffViewPrivate GitgDiffViewPrivate;

#define GITG_TYPE_DIFF_VIEW_COMMIT_DETAILS (gitg_diff_view_commit_details_get_type ())
#define GITG_DIFF_VIEW_COMMIT_DETAILS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_DIFF_VIEW_COMMIT_DETAILS, GitgDiffViewCommitDetails))
#define GITG_DIFF_VIEW_COMMIT_DETAILS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_DIFF_VIEW_COMMIT_DETAILS, GitgDiffViewCommitDetailsClass))
#define GITG_IS_DIFF_VIEW_COMMIT_DETAILS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_DIFF_VIEW_COMMIT_DETAILS))
#define GITG_IS_DIFF_VIEW_COMMIT_DETAILS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_DIFF_VIEW_COMMIT_DETAILS))
#define GITG_DIFF_VIEW_COMMIT_DETAILS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_DIFF_VIEW_COMMIT_DETAILS, GitgDiffViewCommitDetailsClass))

typedef struct _GitgDiffViewCommitDetails GitgDiffViewCommitDetails;
typedef struct _GitgDiffViewCommitDetailsClass GitgDiffViewCommitDetailsClass;

#define GITG_TYPE_DIFF_VIEW_OPTIONS (gitg_diff_view_options_get_type ())
#define GITG_DIFF_VIEW_OPTIONS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_DIFF_VIEW_OPTIONS, GitgDiffViewOptions))
#define GITG_DIFF_VIEW_OPTIONS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_DIFF_VIEW_OPTIONS, GitgDiffViewOptionsClass))
#define GITG_IS_DIFF_VIEW_OPTIONS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_DIFF_VIEW_OPTIONS))
#define GITG_IS_DIFF_VIEW_OPTIONS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_DIFF_VIEW_OPTIONS))
#define GITG_DIFF_VIEW_OPTIONS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_DIFF_VIEW_OPTIONS, GitgDiffViewOptionsClass))

typedef struct _GitgDiffViewOptions GitgDiffViewOptions;
typedef struct _GitgDiffViewOptionsClass GitgDiffViewOptionsClass;

#define GITG_TYPE_COMMIT (gitg_commit_get_type ())
#define GITG_COMMIT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_COMMIT, GitgCommit))
#define GITG_COMMIT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_COMMIT, GitgCommitClass))
#define GITG_IS_COMMIT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_COMMIT))
#define GITG_IS_COMMIT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_COMMIT))
#define GITG_COMMIT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_COMMIT, GitgCommitClass))

typedef struct _GitgCommit GitgCommit;
typedef struct _GitgCommitClass GitgCommitClass;

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

typedef struct _GitgRepository GitgRepository;
typedef struct _GitgRepositoryClass GitgRepositoryClass;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

#define GITG_TYPE_DIFF_VIEW_FILE (gitg_diff_view_file_get_type ())
#define GITG_DIFF_VIEW_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_DIFF_VIEW_FILE, GitgDiffViewFile))
#define GITG_DIFF_VIEW_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_DIFF_VIEW_FILE, GitgDiffViewFileClass))
#define GITG_IS_DIFF_VIEW_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_DIFF_VIEW_FILE))
#define GITG_IS_DIFF_VIEW_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_DIFF_VIEW_FILE))
#define GITG_DIFF_VIEW_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_DIFF_VIEW_FILE, GitgDiffViewFileClass))

typedef struct _GitgDiffViewFile GitgDiffViewFile;
typedef struct _GitgDiffViewFileClass GitgDiffViewFileClass;
#define _g_list_free0(var) ((var == NULL) ? NULL : (var = (g_list_free (var), NULL)))
#define _g_match_info_unref0(var) ((var == NULL) ? NULL : (var = (g_match_info_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
#define __vala_GgitOId_free0(var) ((var == NULL) ? NULL : (var = (_vala_GgitOId_free (var), NULL)))

#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 _ggit_diff_file_unref0(var) ((var == NULL) ? NULL : (var = (ggit_diff_file_unref (var), NULL)))

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

typedef struct _GitgDiffViewFileInfo GitgDiffViewFileInfo;
typedef struct _GitgDiffViewFileInfoClass GitgDiffViewFileInfoClass;
typedef struct _Block6Data Block6Data;
typedef struct _Block7Data Block7Data;
#define _ggit_diff_delta_unref0(var) ((var == NULL) ? NULL : (var = (ggit_diff_delta_unref (var), NULL)))
typedef struct _Block8Data Block8Data;
#define _ggit_diff_hunk_unref0(var) ((var == NULL) ? NULL : (var = (ggit_diff_hunk_unref (var), NULL)))

#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 _GitgPatchSetPrivate GitgPatchSetPrivate;

#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_patch_set_unref0(var) ((var == NULL) ? NULL : (var = (gitg_patch_set_unref (var), NULL)))
#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 _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
enum  {
	GITG_DIFF_VIEW_OPTIONS_CHANGED_SIGNAL,
	GITG_DIFF_VIEW_LAST_SIGNAL
};
static guint gitg_diff_view_signals[GITG_DIFF_VIEW_LAST_SIGNAL] = {0};

struct _GitgDiffView {
	GtkGrid parent_instance;
	GitgDiffViewPrivate * priv;
};

struct _GitgDiffViewClass {
	GtkGridClass parent_class;
	void (*options_changed) (GitgDiffView* self);
};

struct _GitgDiffViewPrivate {
	GitgDiffViewCommitDetails* d_commit_details;
	GtkScrolledWindow* d_scrolledwindow;
	GtkGrid* d_grid_files;
	GtkEventBox* d_event_box;
	GtkRevealer* d_revealer_options;
	GitgDiffViewOptions* d_diff_view_options;
	GtkTextView* d_text_view_message;
	GgitDiff* d_diff;
	GitgCommit* d_commit;
	GgitDiffOptions* d_options;
	GCancellable* d_cancellable;
	gulong d_expanded_notify;
	gulong d_parent_commit_notify;
	gboolean d_changes_inline;
	guint d_reveal_options_timeout;
	guint d_unreveal_options_timeout;
	gboolean _has_selection;
	gboolean _wrap_lines;
	gboolean _staged;
	gboolean _unstaged;
	gboolean _show_parents;
	gboolean _default_collapse_all;
	gboolean _use_gravatar;
	gint _tab_width;
	gboolean _handle_selection;
	gboolean _highlight;
	GitgRepository* _repository;
	gboolean _new_is_workdir;
};

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);
};

typedef void (*GitgDiffViewAnon) (void* user_data);
struct _Block6Data {
	int _ref_count_;
	GitgDiffView* self;
	gint nqueries;
	gboolean finished;
	GeeHashMap* infomap;
	GitgDiffViewAnon check_finish;
	gpointer check_finish_target;
	GDestroyNotify check_finish_target_destroy_notify;
	GgitDiff* diff;
	gboolean preserve_expanded;
	GCancellable* cancellable;
};

struct _Block7Data {
	int _ref_count_;
	Block6Data * _data6_;
	GgitDiffDelta* delta;
	GitgDiffViewFileInfo* info;
};

struct _Block8Data {
	int _ref_count_;
	GitgDiffView* self;
	GeeArrayList* files;
	GitgDiffViewFile* current_file;
	GgitDiffHunk* current_hunk;
	GeeArrayList* current_lines;
	gboolean current_is_binary;
	gint maxlines;
	GitgDiffViewAnon add_hunk;
	gpointer add_hunk_target;
	GDestroyNotify add_hunk_target_destroy_notify;
	GitgDiffViewAnon add_file;
	gpointer add_file_target;
	GDestroyNotify add_file_target_destroy_notify;
	GeeHashMap* infomap;
	GCancellable* cancellable;
};

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;
};

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);
};


static gpointer gitg_diff_view_parent_class = NULL;
static GeeHashSet* gitg_diff_view_s_image_mime_types;
static GeeHashSet* gitg_diff_view_s_image_mime_types = NULL;
static GRegex* gitg_diff_view_s_message_regexp;
static GRegex* gitg_diff_view_s_message_regexp = NULL;

GType gitg_diff_view_get_type (void) G_GNUC_CONST;
GType gitg_diff_view_commit_details_get_type (void) G_GNUC_CONST;
GType gitg_diff_view_options_get_type (void) G_GNUC_CONST;
GType gitg_commit_get_type (void) G_GNUC_CONST;
GType gitg_repository_get_type (void) G_GNUC_CONST;
#define GITG_DIFF_VIEW_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_TYPE_DIFF_VIEW, GitgDiffViewPrivate))
enum  {
	GITG_DIFF_VIEW_DUMMY_PROPERTY,
	GITG_DIFF_VIEW_OPTIONS,
	GITG_DIFF_VIEW_HAS_SELECTION,
	GITG_DIFF_VIEW_DIFF,
	GITG_DIFF_VIEW_COMMIT,
	GITG_DIFF_VIEW_WRAP_LINES,
	GITG_DIFF_VIEW_STAGED,
	GITG_DIFF_VIEW_UNSTAGED,
	GITG_DIFF_VIEW_SHOW_PARENTS,
	GITG_DIFF_VIEW_DEFAULT_COLLAPSE_ALL,
	GITG_DIFF_VIEW_USE_GRAVATAR,
	GITG_DIFF_VIEW_TAB_WIDTH,
	GITG_DIFF_VIEW_HANDLE_SELECTION,
	GITG_DIFF_VIEW_HIGHLIGHT,
	GITG_DIFF_VIEW_REPOSITORY,
	GITG_DIFF_VIEW_NEW_IS_WORKDIR,
	GITG_DIFF_VIEW_IGNORE_WHITESPACE,
	GITG_DIFF_VIEW_CHANGES_INLINE,
	GITG_DIFF_VIEW_CONTEXT_LINES
};
static gboolean gitg_diff_view_flag_get (GitgDiffView* self, GgitDiffOption f);
GgitDiffOptions* gitg_diff_view_get_options (GitgDiffView* self);
static void gitg_diff_view_flag_set (GitgDiffView* self, GgitDiffOption f, gboolean val);
static void gitg_diff_view_real_constructed (GObject* base);
static void gitg_diff_view_update_expanded_files (GitgDiffView* self);
static void _gitg_diff_view_update_expanded_files_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void gitg_diff_view_parent_commit_changed (GitgDiffView* self);
static void _gitg_diff_view_parent_commit_changed_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static gboolean gitg_diff_view_motion_notify_event_on_event_box (GitgDiffView* self, GtkWidget* widget, GdkEventMotion* event);
static gboolean _gitg_diff_view_motion_notify_event_on_event_box_gtk_widget_motion_notify_event (GtkWidget* _sender, GdkEventMotion* event, gpointer self);
void gitg_diff_view_options_set_view (GitgDiffViewOptions* self, GitgDiffView* value);
static void gitg_diff_view_real_dispose (GObject* base);
static void gitg_diff_view_update (GitgDiffView* self, gboolean preserve_expanded);
gboolean gitg_diff_view_commit_details_get_expanded (GitgDiffViewCommitDetails* self);
GType gitg_diff_view_file_get_type (void) G_GNUC_CONST;
void gitg_diff_view_file_set_expanded (GitgDiffViewFile* self, gboolean value);
static gchar* gitg_diff_view_message_without_subject (GitgDiffView* self, GitgCommit* commit);
void gitg_diff_view_commit_details_set_commit (GitgDiffViewCommitDetails* self, GgitCommit* value);
GgitCommit* gitg_diff_view_commit_details_get_parent_commit (GitgDiffViewCommitDetails* self);
static void _vala_GgitOId_free (GgitOId* self);
GgitDiff* gitg_commit_get_diff (GitgCommit* self, GgitDiffOptions* options, gint parent);
static void gitg_diff_view_update_diff (GitgDiffView* self, GgitDiff* diff, gboolean preserve_expanded, GCancellable* cancellable);
static void gitg_diff_view_auto_change_expanded (GitgDiffView* self, gboolean expanded);
void gitg_diff_view_commit_details_set_expanded (GitgDiffViewCommitDetails* self, gboolean value);
static void gitg_diff_view_on_selection_changed (GitgDiffView* self);
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;
GitgDiffViewFileRenderer* gitg_diff_view_file_get_renderer (GitgDiffViewFile* self);
gboolean gitg_diff_selectable_get_has_selection (GitgDiffSelectable* self);
gboolean gitg_diff_view_get_has_selection (GitgDiffView* self);
static void gitg_diff_view_set_has_selection (GitgDiffView* self, gboolean value);
static gchar* gitg_diff_view_primary_path (GitgDiffView* self, GgitDiffDelta* delta);
static gchar* gitg_diff_view_key_for_delta (GitgDiffView* self, GgitDiffDelta* delta);
GType gitg_diff_view_file_info_get_type (void) G_GNUC_CONST;
static Block6Data* block6_data_ref (Block6Data* _data6_);
static void block6_data_unref (void * _userdata_);
static void __lambda48_ (Block6Data* _data6_);
static void gitg_diff_view_update_diff_hunks (GitgDiffView* self, GgitDiff* diff, gboolean preserve_expanded, GeeHashMap* infomap, GCancellable* cancellable);
static void ___lambda48__gitg_diff_view_anon (gpointer self);
static Block7Data* block7_data_ref (Block7Data* _data7_);
static void block7_data_unref (void * _userdata_);
GitgRepository* gitg_diff_view_get_repository (GitgDiffView* self);
gboolean gitg_diff_view_get_new_is_workdir (GitgDiffView* self);
GitgDiffViewFileInfo* gitg_diff_view_file_info_new (GitgRepository* repository, GgitDiffDelta* delta, gboolean from_workdir);
GitgDiffViewFileInfo* gitg_diff_view_file_info_construct (GType object_type, GitgRepository* repository, GgitDiffDelta* delta, gboolean from_workdir);
void gitg_diff_view_file_info_query (GitgDiffViewFileInfo* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
void gitg_diff_view_file_info_query_finish (GitgDiffViewFileInfo* self, GAsyncResult* _res_);
static void _____lambda63_ (Block7Data* _data7_, GObject* obj, GAsyncResult* res);
static void ______lambda63__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static Block8Data* block8_data_ref (Block8Data* _data8_);
static void block8_data_unref (void * _userdata_);
static void __lambda57_ (Block8Data* _data8_);
void gitg_diff_view_file_add_hunk (GitgDiffViewFile* self, GgitDiffHunk* hunk, GeeArrayList* lines);
static void ___lambda57__gitg_diff_view_anon (gpointer self);
static void __lambda58_ (Block8Data* _data8_);
static void _gitg_diff_view_on_selection_changed_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void ___lambda58__gitg_diff_view_anon (gpointer self);
static gint ___lambda59_ (Block8Data* _data8_, GgitDiffDelta* delta, gfloat progress);
const gchar* gitg_diff_view_file_info_get_new_file_content_type (GitgDiffViewFileInfo* self);
static gboolean _vala_string_array_contains (gchar* * stack, int stack_length, gchar* needle);
GitgDiffViewFile* gitg_diff_view_file_new_image (GitgRepository* repository, GgitDiffDelta* delta);
GitgDiffViewFile* gitg_diff_view_file_construct_image (GType object_type, GitgRepository* repository, GgitDiffDelta* delta);
GitgDiffViewFile* gitg_diff_view_file_new_binary (GitgRepository* repository, GgitDiffDelta* delta);
GitgDiffViewFile* gitg_diff_view_file_construct_binary (GType object_type, GitgRepository* repository, GgitDiffDelta* delta);
gboolean gitg_diff_view_get_handle_selection (GitgDiffView* self);
GitgDiffViewFile* gitg_diff_view_file_new_text (GitgDiffViewFileInfo* info, gboolean handle_selection);
GitgDiffViewFile* gitg_diff_view_file_construct_text (GType object_type, GitgDiffViewFileInfo* info, gboolean handle_selection);
static gint ____lambda59__ggit_diff_file_callback (GgitDiffDelta* delta, gfloat progress, gpointer self);
static gint ___lambda60_ (Block8Data* _data8_, GgitDiffDelta* delta, GgitDiffBinary* binary);
static gint ____lambda60__ggit_diff_binary_callback (GgitDiffDelta* delta, GgitDiffBinary* binary, gpointer self);
static gint ___lambda61_ (Block8Data* _data8_, GgitDiffDelta* delta, GgitDiffHunk* hunk);
static gint ____lambda61__ggit_diff_hunk_callback (GgitDiffDelta* delta, GgitDiffHunk* hunk, gpointer self);
static gint ___lambda62_ (Block8Data* _data8_, GgitDiffDelta* delta, GgitDiffHunk* hunk, GgitDiffLine* line);
static gint ____lambda62__ggit_diff_line_callback (GgitDiffDelta* delta, GgitDiffHunk* hunk, GgitDiffLine* line, gpointer self);
gboolean gitg_diff_view_file_get_expanded (GitgDiffViewFile* self);
GgitDiffDelta* gitg_diff_view_file_get_delta (GitgDiffViewFile* self);
gboolean gitg_diff_view_get_default_collapse_all (GitgDiffView* self);
void gitg_diff_view_commit_details_set_expander_visible (GitgDiffViewCommitDetails* self, gboolean value);
GType gitg_diff_view_file_renderer_text_get_type (void) G_GNUC_CONST;
void gitg_diff_view_file_renderer_text_set_maxlines (GitgDiffViewFileRendererText* self, gint value);
static void gitg_diff_view_auto_update_expanded (GitgDiffView* self);
static void _gitg_diff_view_auto_update_expanded_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void gitg_diff_view_update_hide_show_options (GitgDiffView* self, GdkWindow* window, gint ex, gint ey);
static gboolean ___lambda64_ (GitgDiffView* self);
static gboolean ____lambda64__gsource_func (gpointer self);
static gboolean _____lambda65_ (GitgDiffView* self);
static gboolean ______lambda65__gsource_func (gpointer self);
static gboolean gitg_diff_view_leave_notify_event_on_event_box (GitgDiffView* self, GtkWidget* widget, GdkEventCrossing* event);
static gboolean _gitg_diff_view_leave_notify_event_on_event_box_gtk_widget_leave_notify_event (GtkWidget* _sender, GdkEventCrossing* event, gpointer self);
static gboolean gitg_diff_view_enter_notify_event_on_event_box (GitgDiffView* self, GtkWidget* widget, GdkEventCrossing* event);
static gboolean _gitg_diff_view_enter_notify_event_on_event_box_gtk_widget_enter_notify_event (GtkWidget* _sender, GdkEventCrossing* event, gpointer self);
GitgDiffView* gitg_diff_view_new (void);
GitgDiffView* gitg_diff_view_construct (GType object_type);
GgitDiff* gitg_diff_view_get_diff (GitgDiffView* self);
void gitg_diff_view_set_diff (GitgDiffView* self, GgitDiff* value);
GitgCommit* gitg_diff_view_get_commit (GitgDiffView* self);
void gitg_diff_view_set_commit (GitgDiffView* self, GitgCommit* value);
gboolean gitg_diff_view_get_wrap_lines (GitgDiffView* self);
void gitg_diff_view_set_wrap_lines (GitgDiffView* self, gboolean value);
gboolean gitg_diff_view_get_staged (GitgDiffView* self);
void gitg_diff_view_set_staged (GitgDiffView* self, gboolean value);
gboolean gitg_diff_view_get_unstaged (GitgDiffView* self);
void gitg_diff_view_set_unstaged (GitgDiffView* self, gboolean value);
gboolean gitg_diff_view_get_show_parents (GitgDiffView* self);
void gitg_diff_view_set_show_parents (GitgDiffView* self, gboolean value);
void gitg_diff_view_set_default_collapse_all (GitgDiffView* self, gboolean value);
gboolean gitg_diff_view_get_use_gravatar (GitgDiffView* self);
void gitg_diff_view_set_use_gravatar (GitgDiffView* self, gboolean value);
gint gitg_diff_view_get_tab_width (GitgDiffView* self);
void gitg_diff_view_set_tab_width (GitgDiffView* self, gint value);
void gitg_diff_view_set_handle_selection (GitgDiffView* self, gboolean value);
gboolean gitg_diff_view_get_highlight (GitgDiffView* self);
void gitg_diff_view_set_highlight (GitgDiffView* self, gboolean value);
void gitg_diff_view_set_repository (GitgDiffView* self, GitgRepository* value);
void gitg_diff_view_set_new_is_workdir (GitgDiffView* self, gboolean value);
gboolean gitg_diff_view_get_ignore_whitespace (GitgDiffView* self);
void gitg_diff_view_set_ignore_whitespace (GitgDiffView* self, gboolean value);
gboolean gitg_diff_view_get_changes_inline (GitgDiffView* self);
void gitg_diff_view_set_changes_inline (GitgDiffView* self, gboolean value);
gint gitg_diff_view_get_context_lines (GitgDiffView* self);
void gitg_diff_view_set_context_lines (GitgDiffView* self, gint value);
GitgPatchSet** gitg_diff_view_get_selection (GitgDiffView* self, int* result_length1);
GitgPatchSet* gitg_diff_selectable_get_selection (GitgDiffSelectable* self);
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);
static void _vala_array_add2 (GitgPatchSet** * array, int* length, int* size, GitgPatchSet* value);
static void gitg_diff_view_real_options_changed (GitgDiffView* self);
static void gitg_diff_view_finalize (GObject * obj);
static void _vala_gitg_diff_view_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_gitg_diff_view_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);
static gint _vala_array_length (gpointer array);


static gboolean gitg_diff_view_flag_get (GitgDiffView* self, GgitDiffOption f) {
	gboolean result = FALSE;
	GgitDiffOptions* _tmp0_;
	GgitDiffOptions* _tmp1_;
	GgitDiffOption _tmp2_;
	GgitDiffOption _tmp3_;
	GgitDiffOption _tmp4_;
#line 125 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 127 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = gitg_diff_view_get_options (self);
#line 127 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp1_ = _tmp0_;
#line 127 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp2_ = ggit_diff_options_get_flags (_tmp1_);
#line 127 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp3_ = _tmp2_;
#line 127 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp4_ = f;
#line 127 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = (_tmp3_ & _tmp4_) != 0;
#line 127 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 496 "gitg-diff-view.c"
}


static void gitg_diff_view_flag_set (GitgDiffView* self, GgitDiffOption f, gboolean val) {
	GgitDiffOption flags;
	GgitDiffOptions* _tmp0_;
	GgitDiffOptions* _tmp1_;
	GgitDiffOption _tmp2_;
	GgitDiffOption _tmp3_;
	gboolean _tmp4_;
	GgitDiffOption _tmp9_;
	GgitDiffOptions* _tmp10_;
	GgitDiffOptions* _tmp11_;
	GgitDiffOption _tmp12_;
	GgitDiffOption _tmp13_;
#line 130 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (self != NULL);
#line 132 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = gitg_diff_view_get_options (self);
#line 132 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp1_ = _tmp0_;
#line 132 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp2_ = ggit_diff_options_get_flags (_tmp1_);
#line 132 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp3_ = _tmp2_;
#line 132 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	flags = _tmp3_;
#line 134 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp4_ = val;
#line 134 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp4_) {
#line 528 "gitg-diff-view.c"
		GgitDiffOption _tmp5_;
		GgitDiffOption _tmp6_;
#line 136 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp5_ = flags;
#line 136 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp6_ = f;
#line 136 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		flags = _tmp5_ | _tmp6_;
#line 537 "gitg-diff-view.c"
	} else {
		GgitDiffOption _tmp7_;
		GgitDiffOption _tmp8_;
#line 140 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp7_ = flags;
#line 140 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp8_ = f;
#line 140 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		flags = _tmp7_ & (~_tmp8_);
#line 547 "gitg-diff-view.c"
	}
#line 143 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp9_ = flags;
#line 143 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp10_ = gitg_diff_view_get_options (self);
#line 143 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp11_ = _tmp10_;
#line 143 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp12_ = ggit_diff_options_get_flags (_tmp11_);
#line 143 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp13_ = _tmp12_;
#line 143 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp9_ != _tmp13_) {
#line 561 "gitg-diff-view.c"
		GgitDiffOptions* _tmp14_;
		GgitDiffOptions* _tmp15_;
		GgitDiffOption _tmp16_;
#line 145 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp14_ = gitg_diff_view_get_options (self);
#line 145 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp15_ = _tmp14_;
#line 145 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp16_ = flags;
#line 145 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		ggit_diff_options_set_flags (_tmp15_, _tmp16_);
#line 146 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_signal_emit (self, gitg_diff_view_signals[GITG_DIFF_VIEW_OPTIONS_CHANGED_SIGNAL], 0);
#line 575 "gitg-diff-view.c"
	}
}


static void _gitg_diff_view_update_expanded_files_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 191 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gitg_diff_view_update_expanded_files ((GitgDiffView*) self);
#line 583 "gitg-diff-view.c"
}


static void _gitg_diff_view_parent_commit_changed_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 192 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gitg_diff_view_parent_commit_changed ((GitgDiffView*) self);
#line 590 "gitg-diff-view.c"
}


static gboolean _gitg_diff_view_motion_notify_event_on_event_box_gtk_widget_motion_notify_event (GtkWidget* _sender, GdkEventMotion* event, gpointer self) {
	gboolean result;
	result = gitg_diff_view_motion_notify_event_on_event_box ((GitgDiffView*) self, _sender, event);
#line 196 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 599 "gitg-diff-view.c"
}


static void gitg_diff_view_real_constructed (GObject* base) {
	GitgDiffView * self;
	GitgDiffViewCommitDetails* _tmp0_;
	gulong _tmp1_;
	GitgDiffViewCommitDetails* _tmp2_;
	gulong _tmp3_;
	GitgDiffViewCommitDetails* _tmp4_;
	GtkEventBox* _tmp5_;
	GitgDiffViewOptions* _tmp6_;
#line 189 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	self = (GitgDiffView*) base;
#line 191 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = self->priv->d_commit_details;
#line 191 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp1_ = g_signal_connect_object ((GObject*) _tmp0_, "notify::expanded", (GCallback) _gitg_diff_view_update_expanded_files_g_object_notify, self, 0);
#line 191 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	self->priv->d_expanded_notify = _tmp1_;
#line 192 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp2_ = self->priv->d_commit_details;
#line 192 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp3_ = g_signal_connect_object ((GObject*) _tmp2_, "notify::parent-commit", (GCallback) _gitg_diff_view_parent_commit_changed_g_object_notify, self, 0);
#line 192 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	self->priv->d_parent_commit_notify = _tmp3_;
#line 194 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp4_ = self->priv->d_commit_details;
#line 194 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_object_bind_property_with_closures ((GObject*) self, "use-gravatar", (GObject*) _tmp4_, "use-gravatar", 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 196 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp5_ = self->priv->d_event_box;
#line 196 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_signal_connect_object ((GtkWidget*) _tmp5_, "motion-notify-event", (GCallback) _gitg_diff_view_motion_notify_event_on_event_box_gtk_widget_motion_notify_event, self, 0);
#line 197 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp6_ = self->priv->d_diff_view_options;
#line 197 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gitg_diff_view_options_set_view (_tmp6_, self);
#line 638 "gitg-diff-view.c"
}


static void gitg_diff_view_real_dispose (GObject* base) {
	GitgDiffView * self;
	GCancellable* _tmp0_;
#line 200 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	self = (GitgDiffView*) base;
#line 202 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = self->priv->d_cancellable;
#line 202 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp0_ != NULL) {
#line 651 "gitg-diff-view.c"
		GCancellable* _tmp1_;
#line 204 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp1_ = self->priv->d_cancellable;
#line 204 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_cancellable_cancel (_tmp1_);
#line 657 "gitg-diff-view.c"
	}
#line 207 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	G_OBJECT_CLASS (gitg_diff_view_parent_class)->dispose ((GObject*) G_TYPE_CHECK_INSTANCE_CAST (self, gtk_grid_get_type (), GtkGrid));
#line 661 "gitg-diff-view.c"
}


static void gitg_diff_view_parent_commit_changed (GitgDiffView* self) {
#line 210 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (self != NULL);
#line 212 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gitg_diff_view_update (self, FALSE);
#line 670 "gitg-diff-view.c"
}


static void gitg_diff_view_update_expanded_files (GitgDiffView* self) {
	gboolean expanded;
	GitgDiffViewCommitDetails* _tmp0_;
	gboolean _tmp1_;
	gboolean _tmp2_;
	GtkGrid* _tmp3_;
	GList* _tmp4_;
#line 215 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (self != NULL);
#line 217 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = self->priv->d_commit_details;
#line 217 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp1_ = gitg_diff_view_commit_details_get_expanded (_tmp0_);
#line 217 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp2_ = _tmp1_;
#line 217 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	expanded = _tmp2_;
#line 219 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp3_ = self->priv->d_grid_files;
#line 219 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp4_ = gtk_container_get_children ((GtkContainer*) _tmp3_);
#line 695 "gitg-diff-view.c"
	{
		GList* file_collection = NULL;
		GList* file_it = NULL;
#line 219 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		file_collection = _tmp4_;
#line 219 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		for (file_it = file_collection; file_it != NULL; file_it = file_it->next) {
#line 703 "gitg-diff-view.c"
			GtkWidget* file = NULL;
#line 219 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			file = (GtkWidget*) file_it->data;
#line 707 "gitg-diff-view.c"
			{
				GtkWidget* _tmp5_;
				gboolean _tmp6_;
#line 221 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp5_ = file;
#line 221 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp6_ = expanded;
#line 221 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				gitg_diff_view_file_set_expanded (G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, GITG_TYPE_DIFF_VIEW_FILE) ? ((GitgDiffViewFile*) _tmp5_) : NULL, _tmp6_);
#line 717 "gitg-diff-view.c"
			}
		}
#line 219 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_list_free0 (file_collection);
#line 722 "gitg-diff-view.c"
	}
}


static gchar* gitg_diff_view_message_without_subject (GitgDiffView* self, GitgCommit* commit) {
	gchar* result = NULL;
	gchar* message;
	GitgCommit* _tmp0_;
	const gchar* _tmp1_;
	gchar* _tmp2_;
	GMatchInfo* minfo = NULL;
	GRegex* _tmp3_;
	const gchar* _tmp4_;
	GMatchInfo* _tmp5_ = NULL;
	gboolean _tmp6_;
	gchar* _tmp9_;
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (commit != NULL, NULL);
#line 247 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = commit;
#line 247 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp1_ = ggit_commit_get_message ((GgitCommit*) _tmp0_);
#line 247 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 247 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	message = _tmp2_;
#line 250 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp3_ = gitg_diff_view_s_message_regexp;
#line 250 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp4_ = message;
#line 250 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp6_ = g_regex_match (_tmp3_, _tmp4_, 0, &_tmp5_);
#line 250 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_match_info_unref0 (minfo);
#line 250 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	minfo = _tmp5_;
#line 250 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp6_) {
#line 763 "gitg-diff-view.c"
		GMatchInfo* _tmp7_;
		gchar* _tmp8_;
#line 252 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp7_ = minfo;
#line 252 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp8_ = g_match_info_fetch_named (_tmp7_, "message");
#line 252 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		result = _tmp8_;
#line 252 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_match_info_unref0 (minfo);
#line 252 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_free0 (message);
#line 252 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		return result;
#line 778 "gitg-diff-view.c"
	}
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp9_ = g_strdup ("");
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = _tmp9_;
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_match_info_unref0 (minfo);
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_free0 (message);
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 790 "gitg-diff-view.c"
}


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


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


static void gitg_diff_view_update (GitgDiffView* self, gboolean preserve_expanded) {
	gboolean _tmp0_ = FALSE;
	GgitDiff* _tmp1_;
	GitgDiffViewCommitDetails* _tmp5_;
	GtkScrolledWindow* _tmp6_;
	GCancellable* _tmp7_;
	GCancellable* _tmp8_;
	GitgCommit* _tmp9_;
	GgitDiff* _tmp56_;
#line 258 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (self != NULL);
#line 262 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp1_ = self->priv->d_diff;
#line 262 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp1_ == NULL) {
#line 823 "gitg-diff-view.c"
		GitgCommit* _tmp2_;
#line 262 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp2_ = self->priv->d_commit;
#line 262 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = _tmp2_ == NULL;
#line 829 "gitg-diff-view.c"
	} else {
#line 262 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = FALSE;
#line 833 "gitg-diff-view.c"
	}
#line 262 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp0_) {
#line 837 "gitg-diff-view.c"
		GitgDiffViewCommitDetails* _tmp3_;
		GtkScrolledWindow* _tmp4_;
#line 264 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp3_ = self->priv->d_commit_details;
#line 264 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gtk_widget_hide ((GtkWidget*) _tmp3_);
#line 265 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp4_ = self->priv->d_scrolledwindow;
#line 265 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gtk_widget_hide ((GtkWidget*) _tmp4_);
#line 266 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		return;
#line 850 "gitg-diff-view.c"
	}
#line 269 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp5_ = self->priv->d_commit_details;
#line 269 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gtk_widget_show ((GtkWidget*) _tmp5_);
#line 270 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp6_ = self->priv->d_scrolledwindow;
#line 270 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gtk_widget_show ((GtkWidget*) _tmp6_);
#line 273 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp7_ = self->priv->d_cancellable;
#line 273 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_cancellable_cancel (_tmp7_);
#line 274 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp8_ = g_cancellable_new ();
#line 274 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_object_unref0 (self->priv->d_cancellable);
#line 274 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	self->priv->d_cancellable = _tmp8_;
#line 276 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp9_ = self->priv->d_commit;
#line 276 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp9_ != NULL) {
#line 874 "gitg-diff-view.c"
		GitgDiffViewCommitDetails* _tmp10_;
		gulong _tmp11_;
		GitgDiffViewCommitDetails* _tmp12_;
		GitgCommit* _tmp13_;
		GitgDiffViewCommitDetails* _tmp14_;
		gulong _tmp15_;
		gint parent;
		GgitCommitParents* parents;
		GitgCommit* _tmp16_;
		GgitCommitParents* _tmp17_;
		GgitCommit* parent_commit;
		GitgDiffViewCommitDetails* _tmp18_;
		GgitCommit* _tmp19_;
		GgitCommit* _tmp20_;
		GgitCommit* _tmp21_;
		GgitCommit* _tmp22_;
		GitgCommit* _tmp39_;
		GgitDiffOptions* _tmp40_;
		GgitDiffOptions* _tmp41_;
		gint _tmp42_;
		GgitDiff* _tmp43_;
		GitgDiffViewCommitDetails* _tmp44_;
		gchar* message;
		GitgCommit* _tmp45_;
		gchar* _tmp46_;
		GtkTextView* _tmp47_;
		GtkTextBuffer* _tmp48_;
		GtkTextBuffer* _tmp49_;
		const gchar* _tmp50_;
		GtkTextView* _tmp51_;
		const gchar* _tmp52_;
#line 278 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp10_ = self->priv->d_commit_details;
#line 278 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp11_ = self->priv->d_parent_commit_notify;
#line 278 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_signal_handler_block (_tmp10_, _tmp11_);
#line 279 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp12_ = self->priv->d_commit_details;
#line 279 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp13_ = self->priv->d_commit;
#line 279 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gitg_diff_view_commit_details_set_commit (_tmp12_, (GgitCommit*) _tmp13_);
#line 280 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp14_ = self->priv->d_commit_details;
#line 280 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp15_ = self->priv->d_parent_commit_notify;
#line 280 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_signal_handler_unblock (_tmp14_, _tmp15_);
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		parent = 0;
#line 283 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp16_ = self->priv->d_commit;
#line 283 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp17_ = ggit_commit_get_parents ((GgitCommit*) _tmp16_);
#line 283 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		parents = _tmp17_;
#line 285 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp18_ = self->priv->d_commit_details;
#line 285 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp19_ = gitg_diff_view_commit_details_get_parent_commit (_tmp18_);
#line 285 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp20_ = _tmp19_;
#line 285 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp21_ = _g_object_ref0 (_tmp20_);
#line 285 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		parent_commit = _tmp21_;
#line 287 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp22_ = parent_commit;
#line 287 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		if (_tmp22_ != NULL) {
#line 946 "gitg-diff-view.c"
			{
				gint i;
#line 289 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				i = 0;
#line 951 "gitg-diff-view.c"
				{
					gboolean _tmp23_;
#line 289 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp23_ = TRUE;
#line 289 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					while (TRUE) {
#line 958 "gitg-diff-view.c"
						gint _tmp25_;
						GgitCommitParents* _tmp26_;
						guint _tmp27_;
						guint _tmp28_;
						GgitOId* id;
						GgitCommitParents* _tmp29_;
						gint _tmp30_;
						GgitOId* _tmp31_;
						GgitOId* _tmp32_;
						GgitCommit* _tmp33_;
						GgitOId* _tmp34_;
						GgitOId* _tmp35_;
						gboolean _tmp36_;
						gboolean _tmp37_;
#line 289 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						if (!_tmp23_) {
#line 975 "gitg-diff-view.c"
							gint _tmp24_;
#line 289 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
							_tmp24_ = i;
#line 289 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
							i = _tmp24_ + 1;
#line 981 "gitg-diff-view.c"
						}
#line 289 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						_tmp23_ = FALSE;
#line 289 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						_tmp25_ = i;
#line 289 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						_tmp26_ = parents;
#line 289 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						_tmp27_ = ggit_commit_parents_get_size (_tmp26_);
#line 289 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						_tmp28_ = _tmp27_;
#line 289 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						if (!(((guint) _tmp25_) < _tmp28_)) {
#line 289 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
							break;
#line 997 "gitg-diff-view.c"
						}
#line 291 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						_tmp29_ = parents;
#line 291 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						_tmp30_ = i;
#line 291 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						_tmp31_ = ggit_commit_parents_get_id (_tmp29_, (guint) _tmp30_);
#line 291 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						id = _tmp31_;
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						_tmp32_ = id;
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						_tmp33_ = parent_commit;
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						_tmp34_ = ggit_object_get_id ((GgitObject*) _tmp33_);
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						_tmp35_ = _tmp34_;
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						_tmp36_ = ggit_oid_equal (_tmp32_, _tmp35_);
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						_tmp37_ = _tmp36_;
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						__vala_GgitOId_free0 (_tmp35_);
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						if (_tmp37_) {
#line 1023 "gitg-diff-view.c"
							gint _tmp38_;
#line 295 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
							_tmp38_ = i;
#line 295 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
							parent = _tmp38_;
#line 296 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
							__vala_GgitOId_free0 (id);
#line 296 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
							break;
#line 1033 "gitg-diff-view.c"
						}
#line 289 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						__vala_GgitOId_free0 (id);
#line 1037 "gitg-diff-view.c"
					}
				}
			}
		}
#line 301 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp39_ = self->priv->d_commit;
#line 301 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp40_ = gitg_diff_view_get_options (self);
#line 301 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp41_ = _tmp40_;
#line 301 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp42_ = parent;
#line 301 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp43_ = gitg_commit_get_diff (_tmp39_, _tmp41_, _tmp42_);
#line 301 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_object_unref0 (self->priv->d_diff);
#line 301 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		self->priv->d_diff = _tmp43_;
#line 302 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp44_ = self->priv->d_commit_details;
#line 302 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gtk_widget_show ((GtkWidget*) _tmp44_);
#line 304 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp45_ = self->priv->d_commit;
#line 304 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp46_ = gitg_diff_view_message_without_subject (self, _tmp45_);
#line 304 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		message = _tmp46_;
#line 306 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp47_ = self->priv->d_text_view_message;
#line 306 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp48_ = gtk_text_view_get_buffer (_tmp47_);
#line 306 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp49_ = _tmp48_;
#line 306 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp50_ = message;
#line 306 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gtk_text_buffer_set_text (_tmp49_, _tmp50_, -1);
#line 307 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp51_ = self->priv->d_text_view_message;
#line 307 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp52_ = message;
#line 307 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp51_, g_strcmp0 (_tmp52_, "") != 0);
#line 276 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_free0 (message);
#line 276 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_object_unref0 (parent_commit);
#line 276 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_object_unref0 (parents);
#line 1088 "gitg-diff-view.c"
	} else {
		GitgDiffViewCommitDetails* _tmp53_;
		GitgDiffViewCommitDetails* _tmp54_;
		GtkTextView* _tmp55_;
#line 311 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp53_ = self->priv->d_commit_details;
#line 311 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gitg_diff_view_commit_details_set_commit (_tmp53_, NULL);
#line 312 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp54_ = self->priv->d_commit_details;
#line 312 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gtk_widget_hide ((GtkWidget*) _tmp54_);
#line 314 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp55_ = self->priv->d_text_view_message;
#line 314 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gtk_widget_hide ((GtkWidget*) _tmp55_);
#line 1105 "gitg-diff-view.c"
	}
#line 317 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp56_ = self->priv->d_diff;
#line 317 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp56_ != NULL) {
#line 1111 "gitg-diff-view.c"
		GgitDiff* _tmp57_;
		gboolean _tmp58_;
		GCancellable* _tmp59_;
#line 319 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp57_ = self->priv->d_diff;
#line 319 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp58_ = preserve_expanded;
#line 319 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp59_ = self->priv->d_cancellable;
#line 319 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gitg_diff_view_update_diff (self, _tmp57_, _tmp58_, _tmp59_);
#line 1123 "gitg-diff-view.c"
	}
}


static void gitg_diff_view_auto_change_expanded (GitgDiffView* self, gboolean expanded) {
	GitgDiffViewCommitDetails* _tmp0_;
	gulong _tmp1_;
	GitgDiffViewCommitDetails* _tmp2_;
	gboolean _tmp3_;
	GitgDiffViewCommitDetails* _tmp4_;
	gulong _tmp5_;
#line 323 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (self != NULL);
#line 325 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = self->priv->d_commit_details;
#line 325 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp1_ = self->priv->d_expanded_notify;
#line 325 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_signal_handler_block (_tmp0_, _tmp1_);
#line 326 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp2_ = self->priv->d_commit_details;
#line 326 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp3_ = expanded;
#line 326 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gitg_diff_view_commit_details_set_expanded (_tmp2_, _tmp3_);
#line 327 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp4_ = self->priv->d_commit_details;
#line 327 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp5_ = self->priv->d_expanded_notify;
#line 327 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_signal_handler_unblock (_tmp4_, _tmp5_);
#line 1155 "gitg-diff-view.c"
}


static void gitg_diff_view_on_selection_changed (GitgDiffView* self) {
	gboolean something_selected;
	GtkGrid* _tmp0_;
	GList* _tmp1_;
	gboolean _tmp9_;
	gboolean _tmp10_;
#line 330 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (self != NULL);
#line 332 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	something_selected = FALSE;
#line 334 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = self->priv->d_grid_files;
#line 334 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp1_ = gtk_container_get_children ((GtkContainer*) _tmp0_);
#line 1173 "gitg-diff-view.c"
	{
		GList* file_collection = NULL;
		GList* file_it = NULL;
#line 334 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		file_collection = _tmp1_;
#line 334 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		for (file_it = file_collection; file_it != NULL; file_it = file_it->next) {
#line 1181 "gitg-diff-view.c"
			GtkWidget* file = NULL;
#line 334 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			file = (GtkWidget*) file_it->data;
#line 1185 "gitg-diff-view.c"
			{
				GitgDiffSelectable* selectable;
				GtkWidget* _tmp2_;
				GitgDiffViewFileRenderer* _tmp3_;
				GitgDiffViewFileRenderer* _tmp4_;
				GitgDiffSelectable* _tmp5_;
				GitgDiffSelectable* _tmp6_;
				gboolean _tmp7_;
				gboolean _tmp8_;
#line 336 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp2_ = file;
#line 336 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp3_ = gitg_diff_view_file_get_renderer (G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, GITG_TYPE_DIFF_VIEW_FILE) ? ((GitgDiffViewFile*) _tmp2_) : NULL);
#line 336 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp4_ = _tmp3_;
#line 336 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp5_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, GITG_TYPE_DIFF_SELECTABLE) ? ((GitgDiffSelectable*) _tmp4_) : NULL;
#line 336 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				if (_tmp5_ == NULL) {
#line 336 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_g_object_unref0 (_tmp4_);
#line 1207 "gitg-diff-view.c"
				}
#line 336 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				selectable = _tmp5_;
#line 338 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp6_ = selectable;
#line 338 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp7_ = gitg_diff_selectable_get_has_selection (_tmp6_);
#line 338 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp8_ = _tmp7_;
#line 338 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				if (_tmp8_) {
#line 340 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					something_selected = TRUE;
#line 341 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_g_object_unref0 (selectable);
#line 341 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					break;
#line 1225 "gitg-diff-view.c"
				}
#line 334 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_g_object_unref0 (selectable);
#line 1229 "gitg-diff-view.c"
			}
		}
#line 334 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_list_free0 (file_collection);
#line 1234 "gitg-diff-view.c"
	}
#line 345 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp9_ = self->priv->_has_selection;
#line 345 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp10_ = something_selected;
#line 345 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp9_ != _tmp10_) {
#line 1242 "gitg-diff-view.c"
		gboolean _tmp11_;
#line 347 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp11_ = something_selected;
#line 347 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gitg_diff_view_set_has_selection (self, _tmp11_);
#line 1248 "gitg-diff-view.c"
	}
}


static gchar* gitg_diff_view_primary_path (GitgDiffView* self, GgitDiffDelta* delta) {
	gchar* result = NULL;
	gchar* path;
	GgitDiffDelta* _tmp0_;
	GgitDiffFile* _tmp1_;
	const gchar* _tmp2_;
	gchar* _tmp3_;
	const gchar* _tmp4_;
#line 351 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 351 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (delta != NULL, NULL);
#line 353 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = delta;
#line 353 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp1_ = ggit_diff_delta_get_old_file (_tmp0_);
#line 353 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp2_ = ggit_diff_file_get_path (_tmp1_);
#line 353 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp3_ = g_strdup (_tmp2_);
#line 353 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	path = _tmp3_;
#line 355 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp4_ = path;
#line 355 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp4_ == NULL) {
#line 1279 "gitg-diff-view.c"
		GgitDiffDelta* _tmp5_;
		GgitDiffFile* _tmp6_;
		const gchar* _tmp7_;
		gchar* _tmp8_;
#line 357 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp5_ = delta;
#line 357 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp6_ = ggit_diff_delta_get_new_file (_tmp5_);
#line 357 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp7_ = ggit_diff_file_get_path (_tmp6_);
#line 357 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp8_ = g_strdup (_tmp7_);
#line 357 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_free0 (path);
#line 357 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		path = _tmp8_;
#line 1296 "gitg-diff-view.c"
	}
#line 360 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = path;
#line 360 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 1302 "gitg-diff-view.c"
}


static gpointer _ggit_diff_file_ref0 (gpointer self) {
#line 367 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return self ? ggit_diff_file_ref (self) : NULL;
#line 1309 "gitg-diff-view.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 1321 "gitg-diff-view.c"
}


static gchar* gitg_diff_view_key_for_delta (GitgDiffView* self, GgitDiffDelta* delta) {
	gchar* result = NULL;
	GgitDiffFile* new_file;
	GgitDiffDelta* _tmp0_;
	GgitDiffFile* _tmp1_;
	GgitDiffFile* _tmp2_;
	gchar* new_path;
	GgitDiffFile* _tmp3_;
	const gchar* _tmp4_;
	gchar* _tmp5_;
	const gchar* _tmp6_;
	GgitDiffFile* old_file;
	GgitDiffDelta* _tmp10_;
	GgitDiffFile* _tmp11_;
	GgitDiffFile* _tmp12_;
	gchar* old_path;
	GgitDiffFile* _tmp13_;
	const gchar* _tmp14_;
	gchar* _tmp15_;
	const gchar* _tmp16_;
	gchar* _tmp20_;
#line 365 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 365 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (delta != NULL, NULL);
#line 367 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = delta;
#line 367 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp1_ = ggit_diff_delta_get_new_file (_tmp0_);
#line 367 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp2_ = _ggit_diff_file_ref0 (_tmp1_);
#line 367 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	new_file = _tmp2_;
#line 368 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp3_ = new_file;
#line 368 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp4_ = ggit_diff_file_get_path (_tmp3_);
#line 368 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp5_ = g_strdup (_tmp4_);
#line 368 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	new_path = _tmp5_;
#line 370 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp6_ = new_path;
#line 370 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp6_ != NULL) {
#line 1370 "gitg-diff-view.c"
		const gchar* _tmp7_;
		const gchar* _tmp8_;
		gchar* _tmp9_;
#line 372 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp7_ = new_path;
#line 372 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp8_ = string_to_string (_tmp7_);
#line 372 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp9_ = g_strconcat ("path:", _tmp8_, NULL);
#line 372 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		result = _tmp9_;
#line 372 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_free0 (new_path);
#line 372 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_ggit_diff_file_unref0 (new_file);
#line 372 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		return result;
#line 1388 "gitg-diff-view.c"
	}
#line 375 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp10_ = delta;
#line 375 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp11_ = ggit_diff_delta_get_old_file (_tmp10_);
#line 375 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp12_ = _ggit_diff_file_ref0 (_tmp11_);
#line 375 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	old_file = _tmp12_;
#line 376 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp13_ = old_file;
#line 376 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp14_ = ggit_diff_file_get_path (_tmp13_);
#line 376 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp15_ = g_strdup (_tmp14_);
#line 376 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	old_path = _tmp15_;
#line 378 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp16_ = old_path;
#line 378 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp16_ != NULL) {
#line 1410 "gitg-diff-view.c"
		const gchar* _tmp17_;
		const gchar* _tmp18_;
		gchar* _tmp19_;
#line 380 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp17_ = old_path;
#line 380 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp18_ = string_to_string (_tmp17_);
#line 380 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp19_ = g_strconcat ("path:", _tmp18_, NULL);
#line 380 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		result = _tmp19_;
#line 380 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_free0 (old_path);
#line 380 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_ggit_diff_file_unref0 (old_file);
#line 380 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_free0 (new_path);
#line 380 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_ggit_diff_file_unref0 (new_file);
#line 380 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		return result;
#line 1432 "gitg-diff-view.c"
	}
#line 383 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp20_ = g_strdup ("");
#line 383 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = _tmp20_;
#line 383 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_free0 (old_path);
#line 383 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_ggit_diff_file_unref0 (old_file);
#line 383 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_free0 (new_path);
#line 383 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_ggit_diff_file_unref0 (new_file);
#line 383 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 1448 "gitg-diff-view.c"
}


static Block6Data* block6_data_ref (Block6Data* _data6_) {
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_atomic_int_inc (&_data6_->_ref_count_);
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return _data6_;
#line 1457 "gitg-diff-view.c"
}


static void block6_data_unref (void * _userdata_) {
	Block6Data* _data6_;
	_data6_ = (Block6Data*) _userdata_;
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (g_atomic_int_dec_and_test (&_data6_->_ref_count_)) {
#line 1466 "gitg-diff-view.c"
		GitgDiffView* self;
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		self = _data6_->self;
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		(_data6_->check_finish_target_destroy_notify == NULL) ? NULL : (_data6_->check_finish_target_destroy_notify (_data6_->check_finish_target), NULL);
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_data6_->check_finish = NULL;
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_data6_->check_finish_target = NULL;
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_data6_->check_finish_target_destroy_notify = NULL;
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_object_unref0 (_data6_->infomap);
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_object_unref0 (_data6_->diff);
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_object_unref0 (_data6_->cancellable);
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_object_unref0 (self);
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_slice_free (Block6Data, _data6_);
#line 1488 "gitg-diff-view.c"
	}
}


static void __lambda48_ (Block6Data* _data6_) {
	GitgDiffView* self;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	gint _tmp2_;
#line 392 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	self = _data6_->self;
#line 393 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp2_ = _data6_->nqueries;
#line 393 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp2_ == 0) {
#line 1504 "gitg-diff-view.c"
		gboolean _tmp3_;
#line 393 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp3_ = _data6_->finished;
#line 393 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp1_ = _tmp3_;
#line 1510 "gitg-diff-view.c"
	} else {
#line 393 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp1_ = FALSE;
#line 1514 "gitg-diff-view.c"
	}
#line 393 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp1_) {
#line 1518 "gitg-diff-view.c"
		gboolean _tmp4_ = FALSE;
		GCancellable* _tmp5_;
#line 393 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp5_ = _data6_->cancellable;
#line 393 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		if (_tmp5_ == NULL) {
#line 393 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp4_ = TRUE;
#line 1527 "gitg-diff-view.c"
		} else {
			GCancellable* _tmp6_;
			gboolean _tmp7_;
#line 393 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp6_ = _data6_->cancellable;
#line 393 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp7_ = g_cancellable_is_cancelled (_tmp6_);
#line 393 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp4_ = !_tmp7_;
#line 1537 "gitg-diff-view.c"
		}
#line 393 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = _tmp4_;
#line 1541 "gitg-diff-view.c"
	} else {
#line 393 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = FALSE;
#line 1545 "gitg-diff-view.c"
	}
#line 393 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp0_) {
#line 1549 "gitg-diff-view.c"
		GgitDiff* _tmp8_;
		gboolean _tmp9_;
		GeeHashMap* _tmp10_;
		GCancellable* _tmp11_;
#line 395 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_data6_->finished = FALSE;
#line 396 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp8_ = _data6_->diff;
#line 396 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp9_ = _data6_->preserve_expanded;
#line 396 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp10_ = _data6_->infomap;
#line 396 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp11_ = _data6_->cancellable;
#line 396 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gitg_diff_view_update_diff_hunks (self, _tmp8_, _tmp9_, _tmp10_, _tmp11_);
#line 1566 "gitg-diff-view.c"
	}
}


static void ___lambda48__gitg_diff_view_anon (gpointer self) {
#line 392 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	__lambda48_ (self);
#line 1574 "gitg-diff-view.c"
}


static Block7Data* block7_data_ref (Block7Data* _data7_) {
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_atomic_int_inc (&_data7_->_ref_count_);
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return _data7_;
#line 1583 "gitg-diff-view.c"
}


static void block7_data_unref (void * _userdata_) {
	Block7Data* _data7_;
	_data7_ = (Block7Data*) _userdata_;
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (g_atomic_int_dec_and_test (&_data7_->_ref_count_)) {
#line 1592 "gitg-diff-view.c"
		GitgDiffView* self;
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		self = _data7_->_data6_->self;
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_object_unref0 (_data7_->info);
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_ggit_diff_delta_unref0 (_data7_->delta);
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		block6_data_unref (_data7_->_data6_);
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_data7_->_data6_ = NULL;
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_slice_free (Block7Data, _data7_);
#line 1606 "gitg-diff-view.c"
	}
}


static void _____lambda63_ (Block7Data* _data7_, GObject* obj, GAsyncResult* res) {
	Block6Data* _data6_;
	GitgDiffView* self;
	GitgDiffViewFileInfo* _tmp0_;
	GAsyncResult* _tmp1_;
	GeeHashMap* _tmp2_;
	GgitDiffDelta* _tmp3_;
	gchar* _tmp4_;
	gchar* _tmp5_;
	GitgDiffViewFileInfo* _tmp6_;
	gint _tmp7_;
	GitgDiffViewAnon _tmp8_;
	void* _tmp8__target;
#line 408 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data6_ = _data7_->_data6_;
#line 408 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	self = _data6_->self;
#line 408 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (res != NULL);
#line 409 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = _data7_->info;
#line 409 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp1_ = res;
#line 409 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gitg_diff_view_file_info_query_finish (_tmp0_, _tmp1_);
#line 411 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp2_ = _data6_->infomap;
#line 411 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp3_ = _data7_->delta;
#line 411 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp4_ = gitg_diff_view_key_for_delta (self, _tmp3_);
#line 411 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp5_ = _tmp4_;
#line 411 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp6_ = _data7_->info;
#line 411 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gee_abstract_map_set ((GeeAbstractMap*) _tmp2_, _tmp5_, _tmp6_);
#line 411 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_free0 (_tmp5_);
#line 413 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp7_ = _data6_->nqueries;
#line 413 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data6_->nqueries = _tmp7_ - 1;
#line 415 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp8_ = _data6_->check_finish;
#line 415 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp8__target = _data6_->check_finish_target;
#line 415 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp8_ (_tmp8__target);
#line 1660 "gitg-diff-view.c"
}


static void ______lambda63__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 408 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_____lambda63_ (self, source_object, res);
#line 408 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	block7_data_unref (self);
#line 1669 "gitg-diff-view.c"
}


static void gitg_diff_view_update_diff (GitgDiffView* self, GgitDiff* diff, gboolean preserve_expanded, GCancellable* cancellable) {
	Block6Data* _data6_;
	GgitDiff* _tmp0_;
	GgitDiff* _tmp1_;
	gboolean _tmp2_;
	GCancellable* _tmp3_;
	GCancellable* _tmp4_;
	GeeHashMap* _tmp5_;
	GitgDiffViewAnon _tmp21_;
	void* _tmp21__target;
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (self != NULL);
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (diff != NULL);
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data6_ = g_slice_new0 (Block6Data);
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data6_->_ref_count_ = 1;
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data6_->self = g_object_ref (self);
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = diff;
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_object_unref0 (_data6_->diff);
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data6_->diff = _tmp1_;
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp2_ = preserve_expanded;
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data6_->preserve_expanded = _tmp2_;
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp3_ = cancellable;
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_object_unref0 (_data6_->cancellable);
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data6_->cancellable = _tmp4_;
#line 388 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data6_->nqueries = 0;
#line 389 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data6_->finished = FALSE;
#line 390 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp5_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, GITG_TYPE_DIFF_VIEW_FILE_INFO, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
#line 390 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data6_->infomap = _tmp5_;
#line 392 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data6_->check_finish = ___lambda48__gitg_diff_view_anon;
#line 392 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data6_->check_finish_target = block6_data_ref (_data6_);
#line 392 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data6_->check_finish_target_destroy_notify = block6_data_unref;
#line 1727 "gitg-diff-view.c"
	{
		gint i;
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		i = 0;
#line 1732 "gitg-diff-view.c"
		{
			gboolean _tmp6_;
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp6_ = TRUE;
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			while (TRUE) {
#line 1739 "gitg-diff-view.c"
				Block7Data* _data7_;
				gint _tmp8_;
				GgitDiff* _tmp9_;
				gsize _tmp10_;
				GgitDiff* _tmp11_;
				gint _tmp12_;
				GgitDiffDelta* _tmp13_;
				GitgRepository* _tmp14_;
				GgitDiffDelta* _tmp15_;
				gboolean _tmp16_;
				GitgDiffViewFileInfo* _tmp17_;
				gint _tmp18_;
				GitgDiffViewFileInfo* _tmp19_;
				GCancellable* _tmp20_;
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_data7_ = g_slice_new0 (Block7Data);
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_data7_->_ref_count_ = 1;
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_data7_->_data6_ = block6_data_ref (_data6_);
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				if (!_tmp6_) {
#line 1762 "gitg-diff-view.c"
					gint _tmp7_;
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp7_ = i;
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					i = _tmp7_ + 1;
#line 1768 "gitg-diff-view.c"
				}
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp6_ = FALSE;
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp8_ = i;
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp9_ = _data6_->diff;
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp10_ = ggit_diff_get_num_deltas (_tmp9_);
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				if (!(((gsize) _tmp8_) < _tmp10_)) {
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					block7_data_unref (_data7_);
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_data7_ = NULL;
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					break;
#line 1786 "gitg-diff-view.c"
				}
#line 403 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp11_ = _data6_->diff;
#line 403 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp12_ = i;
#line 403 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp13_ = ggit_diff_get_delta (_tmp11_, (gsize) _tmp12_);
#line 403 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_data7_->delta = _tmp13_;
#line 404 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp14_ = self->priv->_repository;
#line 404 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp15_ = _data7_->delta;
#line 404 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp16_ = self->priv->_new_is_workdir;
#line 404 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp17_ = gitg_diff_view_file_info_new (_tmp14_, _tmp15_, _tmp16_);
#line 404 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_data7_->info = _tmp17_;
#line 406 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp18_ = _data6_->nqueries;
#line 406 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_data6_->nqueries = _tmp18_ + 1;
#line 408 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp19_ = _data7_->info;
#line 408 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp20_ = _data6_->cancellable;
#line 408 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				gitg_diff_view_file_info_query (_tmp19_, _tmp20_, ______lambda63__gasync_ready_callback, block7_data_ref (_data7_));
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				block7_data_unref (_data7_);
#line 401 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_data7_ = NULL;
#line 1820 "gitg-diff-view.c"
			}
		}
	}
#line 419 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data6_->finished = TRUE;
#line 420 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp21_ = _data6_->check_finish;
#line 420 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp21__target = _data6_->check_finish_target;
#line 420 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp21_ (_tmp21__target);
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	block6_data_unref (_data6_);
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data6_ = NULL;
#line 1836 "gitg-diff-view.c"
}


static Block8Data* block8_data_ref (Block8Data* _data8_) {
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_atomic_int_inc (&_data8_->_ref_count_);
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return _data8_;
#line 1845 "gitg-diff-view.c"
}


static void block8_data_unref (void * _userdata_) {
	Block8Data* _data8_;
	_data8_ = (Block8Data*) _userdata_;
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (g_atomic_int_dec_and_test (&_data8_->_ref_count_)) {
#line 1854 "gitg-diff-view.c"
		GitgDiffView* self;
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		self = _data8_->self;
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		(_data8_->add_file_target_destroy_notify == NULL) ? NULL : (_data8_->add_file_target_destroy_notify (_data8_->add_file_target), NULL);
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_data8_->add_file = NULL;
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_data8_->add_file_target = NULL;
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_data8_->add_file_target_destroy_notify = NULL;
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		(_data8_->add_hunk_target_destroy_notify == NULL) ? NULL : (_data8_->add_hunk_target_destroy_notify (_data8_->add_hunk_target), NULL);
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_data8_->add_hunk = NULL;
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_data8_->add_hunk_target = NULL;
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_data8_->add_hunk_target_destroy_notify = NULL;
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_object_unref0 (_data8_->current_lines);
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_ggit_diff_hunk_unref0 (_data8_->current_hunk);
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_object_unref0 (_data8_->current_file);
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_object_unref0 (_data8_->files);
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_object_unref0 (_data8_->infomap);
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_object_unref0 (_data8_->cancellable);
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_object_unref0 (self);
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_slice_free (Block8Data, _data8_);
#line 1890 "gitg-diff-view.c"
	}
}


static void __lambda57_ (Block8Data* _data8_) {
	GitgDiffView* self;
#line 434 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	self = _data8_->self;
#line 435 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_data8_->current_hunk != NULL) {
#line 437 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gitg_diff_view_file_add_hunk (_data8_->current_file, _data8_->current_hunk, _data8_->current_lines);
#line 439 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_object_unref0 (_data8_->current_lines);
#line 439 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_data8_->current_lines = NULL;
#line 440 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_ggit_diff_hunk_unref0 (_data8_->current_hunk);
#line 440 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_data8_->current_hunk = NULL;
#line 1911 "gitg-diff-view.c"
	}
}


static void ___lambda57__gitg_diff_view_anon (gpointer self) {
#line 434 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	__lambda57_ (self);
#line 1919 "gitg-diff-view.c"
}


static void _gitg_diff_view_on_selection_changed_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 450 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gitg_diff_view_on_selection_changed ((GitgDiffView*) self);
#line 1926 "gitg-diff-view.c"
}


static void __lambda58_ (Block8Data* _data8_) {
	GitgDiffView* self;
#line 444 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	self = _data8_->self;
#line 445 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data8_->add_hunk (_data8_->add_hunk_target);
#line 447 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_data8_->current_file != NULL) {
#line 1938 "gitg-diff-view.c"
		GitgDiffViewFileRenderer* _tmp0_;
		GitgDiffViewFileRenderer* _tmp1_;
		GitgDiffViewFileRenderer* _tmp2_;
#line 449 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gtk_widget_show ((GtkWidget*) _data8_->current_file);
#line 450 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = gitg_diff_view_file_get_renderer (_data8_->current_file);
#line 450 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp1_ = _tmp0_;
#line 450 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp2_ = _tmp1_;
#line 450 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_signal_connect_object ((GObject*) _tmp2_, "notify::has-selection", (GCallback) _gitg_diff_view_on_selection_changed_g_object_notify, self, 0);
#line 450 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_object_unref0 (_tmp2_);
#line 452 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gee_abstract_collection_add ((GeeAbstractCollection*) _data8_->files, _data8_->current_file);
#line 454 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_object_unref0 (_data8_->current_file);
#line 454 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_data8_->current_file = NULL;
#line 1960 "gitg-diff-view.c"
	}
}


static void ___lambda58__gitg_diff_view_anon (gpointer self) {
#line 444 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	__lambda58_ (self);
#line 1968 "gitg-diff-view.c"
}


static gboolean _vala_string_array_contains (gchar* * stack, int stack_length, gchar* needle) {
	int i;
#line 489 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	for (i = 0; i < stack_length; i++) {
#line 489 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		if (g_strcmp0 (stack[i], needle) == 0) {
#line 489 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			return TRUE;
#line 1980 "gitg-diff-view.c"
		}
	}
#line 489 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return FALSE;
#line 1985 "gitg-diff-view.c"
}


static gint ___lambda59_ (Block8Data* _data8_, GgitDiffDelta* delta, gfloat progress) {
	GitgDiffView* self;
	gint result = 0;
	gboolean _tmp0_ = FALSE;
	GCancellable* _tmp1_;
	GitgDiffViewFileInfo* info;
	gchar* deltakey;
	GgitDiffDelta* _tmp4_;
	gchar* _tmp5_;
	GeeHashMap* _tmp6_;
	const gchar* _tmp7_;
	gboolean _tmp8_;
	GgitDiffDelta* _tmp16_;
	GgitDiffFlag _tmp17_;
	gchar** known_binary_files_types;
	gchar* _tmp18_;
	gchar** _tmp19_;
	gint known_binary_files_types_length1;
	gint _known_binary_files_types_size_;
	gboolean _tmp20_ = FALSE;
	GitgDiffViewFileInfo* _tmp21_;
	gchar* mime_type_for_image;
	gboolean _tmp26_ = FALSE;
	GitgDiffViewFileInfo* _tmp27_;
	gboolean _tmp49_ = FALSE;
	const gchar* _tmp50_;
#line 461 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	self = _data8_->self;
#line 461 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (delta != NULL, 0);
#line 462 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp1_ = _data8_->cancellable;
#line 462 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp1_ != NULL) {
#line 2023 "gitg-diff-view.c"
		GCancellable* _tmp2_;
		gboolean _tmp3_;
#line 462 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp2_ = _data8_->cancellable;
#line 462 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp3_ = g_cancellable_is_cancelled (_tmp2_);
#line 462 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = _tmp3_;
#line 2032 "gitg-diff-view.c"
	} else {
#line 462 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = FALSE;
#line 2036 "gitg-diff-view.c"
	}
#line 462 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp0_) {
#line 464 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		result = 1;
#line 464 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		return result;
#line 2044 "gitg-diff-view.c"
	}
#line 467 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data8_->add_file (_data8_->add_file_target);
#line 469 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	info = NULL;
#line 470 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp4_ = delta;
#line 470 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp5_ = gitg_diff_view_key_for_delta (self, _tmp4_);
#line 470 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	deltakey = _tmp5_;
#line 472 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp6_ = _data8_->infomap;
#line 472 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp7_ = deltakey;
#line 472 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp8_ = gee_abstract_map_has_key ((GeeAbstractMap*) _tmp6_, _tmp7_);
#line 472 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp8_) {
#line 2064 "gitg-diff-view.c"
		GeeHashMap* _tmp9_;
		const gchar* _tmp10_;
		gpointer _tmp11_;
#line 474 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp9_ = _data8_->infomap;
#line 474 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp10_ = deltakey;
#line 474 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp11_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp9_, _tmp10_);
#line 474 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_object_unref0 (info);
#line 474 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		info = (GitgDiffViewFileInfo*) _tmp11_;
#line 2078 "gitg-diff-view.c"
	} else {
		GitgRepository* _tmp12_;
		GgitDiffDelta* _tmp13_;
		gboolean _tmp14_;
		GitgDiffViewFileInfo* _tmp15_;
#line 478 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp12_ = self->priv->_repository;
#line 478 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp13_ = delta;
#line 478 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp14_ = self->priv->_new_is_workdir;
#line 478 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp15_ = gitg_diff_view_file_info_new (_tmp12_, _tmp13_, _tmp14_);
#line 478 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_object_unref0 (info);
#line 478 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		info = _tmp15_;
#line 2096 "gitg-diff-view.c"
	}
#line 481 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp16_ = delta;
#line 481 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp17_ = ggit_diff_delta_get_flags (_tmp16_);
#line 481 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data8_->current_is_binary = (_tmp17_ & GGIT_DIFF_FLAG_BINARY) != 0;
#line 486 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp18_ = g_strdup ("application/pdf");
#line 486 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp19_ = g_new0 (gchar*, 1 + 1);
#line 486 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp19_[0] = _tmp18_;
#line 486 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	known_binary_files_types = _tmp19_;
#line 486 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	known_binary_files_types_length1 = 1;
#line 486 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_known_binary_files_types_size_ = known_binary_files_types_length1;
#line 489 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp21_ = info;
#line 489 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp21_ != NULL) {
#line 2120 "gitg-diff-view.c"
		GitgDiffViewFileInfo* _tmp22_;
		const gchar* _tmp23_;
		const gchar* _tmp24_;
		gchar** _tmp25_;
		gint _tmp25__length1;
#line 489 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp22_ = info;
#line 489 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp23_ = gitg_diff_view_file_info_get_new_file_content_type (_tmp22_);
#line 489 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp24_ = _tmp23_;
#line 489 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp25_ = known_binary_files_types;
#line 489 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp25__length1 = known_binary_files_types_length1;
#line 489 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp20_ = _vala_string_array_contains (_tmp25_, _tmp25__length1, _tmp24_);
#line 2138 "gitg-diff-view.c"
	} else {
#line 489 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp20_ = FALSE;
#line 2142 "gitg-diff-view.c"
	}
#line 489 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp20_) {
#line 491 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_data8_->current_is_binary = TRUE;
#line 2148 "gitg-diff-view.c"
	}
#line 494 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	mime_type_for_image = NULL;
#line 496 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp27_ = info;
#line 496 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp27_ == NULL) {
#line 496 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp26_ = TRUE;
#line 2158 "gitg-diff-view.c"
	} else {
		GitgDiffViewFileInfo* _tmp28_;
		const gchar* _tmp29_;
		const gchar* _tmp30_;
#line 496 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp28_ = info;
#line 496 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp29_ = gitg_diff_view_file_info_get_new_file_content_type (_tmp28_);
#line 496 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp30_ = _tmp29_;
#line 496 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp26_ = _tmp30_ == NULL;
#line 2171 "gitg-diff-view.c"
	}
#line 496 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp26_) {
#line 2175 "gitg-diff-view.c"
		gchar* oldpath;
		GgitDiffDelta* _tmp31_;
		GgitDiffFile* _tmp32_;
		const gchar* _tmp33_;
		gchar* _tmp34_;
		const gchar* _tmp35_;
#line 499 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp31_ = delta;
#line 499 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp32_ = ggit_diff_delta_get_old_file (_tmp31_);
#line 499 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp33_ = ggit_diff_file_get_path (_tmp32_);
#line 499 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp34_ = g_strdup (_tmp33_);
#line 499 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		oldpath = _tmp34_;
#line 501 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp35_ = oldpath;
#line 501 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		if (_tmp35_ != NULL) {
#line 2196 "gitg-diff-view.c"
			gboolean uncertain = FALSE;
			gchar* ctype;
			const gchar* _tmp36_;
			gchar* _tmp37_;
			gchar* _tmp38_;
			gboolean _tmp39_ = FALSE;
			gchar* _tmp40_;
			gchar* _tmp41_;
			const gchar* _tmp42_;
#line 504 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp36_ = oldpath;
#line 504 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp37_ = g_path_get_basename (_tmp36_);
#line 504 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp38_ = _tmp37_;
#line 504 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp40_ = g_content_type_guess (_tmp38_, NULL, (gsize) 0, &_tmp39_);
#line 504 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			uncertain = _tmp39_;
#line 504 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp41_ = _tmp40_;
#line 504 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_g_free0 (_tmp38_);
#line 504 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			ctype = _tmp41_;
#line 506 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp42_ = ctype;
#line 506 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			if (_tmp42_ != NULL) {
#line 2226 "gitg-diff-view.c"
				const gchar* _tmp43_;
				gchar* _tmp44_;
#line 508 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp43_ = ctype;
#line 508 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp44_ = g_content_type_get_mime_type (_tmp43_);
#line 508 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_g_free0 (mime_type_for_image);
#line 508 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				mime_type_for_image = _tmp44_;
#line 2237 "gitg-diff-view.c"
			}
#line 501 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_g_free0 (ctype);
#line 2241 "gitg-diff-view.c"
		}
#line 496 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_free0 (oldpath);
#line 2245 "gitg-diff-view.c"
	} else {
		GitgDiffViewFileInfo* _tmp45_;
		const gchar* _tmp46_;
		const gchar* _tmp47_;
		gchar* _tmp48_;
#line 514 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp45_ = info;
#line 514 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp46_ = gitg_diff_view_file_info_get_new_file_content_type (_tmp45_);
#line 514 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp47_ = _tmp46_;
#line 514 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp48_ = g_content_type_get_mime_type (_tmp47_);
#line 514 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_free0 (mime_type_for_image);
#line 514 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		mime_type_for_image = _tmp48_;
#line 2263 "gitg-diff-view.c"
	}
#line 517 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp50_ = mime_type_for_image;
#line 517 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp50_ != NULL) {
#line 2269 "gitg-diff-view.c"
		GeeHashSet* _tmp51_;
		const gchar* _tmp52_;
		gboolean _tmp53_;
#line 517 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp51_ = gitg_diff_view_s_image_mime_types;
#line 517 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp52_ = mime_type_for_image;
#line 517 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp53_ = gee_abstract_collection_contains ((GeeAbstractCollection*) _tmp51_, _tmp52_);
#line 517 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp49_ = _tmp53_;
#line 2281 "gitg-diff-view.c"
	} else {
#line 517 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp49_ = FALSE;
#line 2285 "gitg-diff-view.c"
	}
#line 517 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp49_) {
#line 2289 "gitg-diff-view.c"
		GitgRepository* _tmp54_;
		GgitDiffDelta* _tmp55_;
		GitgDiffViewFile* _tmp56_;
#line 519 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp54_ = self->priv->_repository;
#line 519 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp55_ = delta;
#line 519 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp56_ = gitg_diff_view_file_new_image (_tmp54_, _tmp55_);
#line 519 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_object_ref_sink (_tmp56_);
#line 519 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_object_unref0 (_data8_->current_file);
#line 519 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_data8_->current_file = _tmp56_;
#line 2305 "gitg-diff-view.c"
	} else {
#line 521 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		if (_data8_->current_is_binary) {
#line 2309 "gitg-diff-view.c"
			GitgRepository* _tmp57_;
			GgitDiffDelta* _tmp58_;
			GitgDiffViewFile* _tmp59_;
#line 523 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp57_ = self->priv->_repository;
#line 523 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp58_ = delta;
#line 523 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp59_ = gitg_diff_view_file_new_binary (_tmp57_, _tmp58_);
#line 523 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			g_object_ref_sink (_tmp59_);
#line 523 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_g_object_unref0 (_data8_->current_file);
#line 523 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_data8_->current_file = _tmp59_;
#line 2325 "gitg-diff-view.c"
		} else {
			GitgDiffViewFileInfo* _tmp60_;
			gboolean _tmp61_;
			GitgDiffViewFile* _tmp62_;
			GitgDiffViewFileRenderer* _tmp63_;
			GitgDiffViewFileRenderer* _tmp64_;
			GitgDiffViewFileRenderer* _tmp65_;
#line 527 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp60_ = info;
#line 527 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp61_ = self->priv->_handle_selection;
#line 527 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp62_ = gitg_diff_view_file_new_text (_tmp60_, _tmp61_);
#line 527 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			g_object_ref_sink (_tmp62_);
#line 527 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_g_object_unref0 (_data8_->current_file);
#line 527 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_data8_->current_file = _tmp62_;
#line 528 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp63_ = gitg_diff_view_file_get_renderer (_data8_->current_file);
#line 528 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp64_ = _tmp63_;
#line 528 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp65_ = _tmp64_;
#line 528 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			g_object_bind_property_with_closures ((GObject*) self, "highlight", (GObject*) _tmp65_, "highlight", 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 528 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_g_object_unref0 (_tmp65_);
#line 2355 "gitg-diff-view.c"
		}
	}
#line 531 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = 0;
#line 531 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_free0 (mime_type_for_image);
#line 531 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	known_binary_files_types = (_vala_array_free (known_binary_files_types, known_binary_files_types_length1, (GDestroyNotify) g_free), NULL);
#line 531 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_free0 (deltakey);
#line 531 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_object_unref0 (info);
#line 531 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 2370 "gitg-diff-view.c"
}


static gint ____lambda59__ggit_diff_file_callback (GgitDiffDelta* delta, gfloat progress, gpointer self) {
	gint result;
	result = ___lambda59_ (self, delta, progress);
#line 460 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 2379 "gitg-diff-view.c"
}


static gint ___lambda60_ (Block8Data* _data8_, GgitDiffDelta* delta, GgitDiffBinary* binary) {
	GitgDiffView* self;
	gint result = 0;
	gboolean _tmp0_ = FALSE;
	GCancellable* _tmp1_;
#line 534 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	self = _data8_->self;
#line 534 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (delta != NULL, 0);
#line 534 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (binary != NULL, 0);
#line 536 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp1_ = _data8_->cancellable;
#line 536 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp1_ != NULL) {
#line 2398 "gitg-diff-view.c"
		GCancellable* _tmp2_;
		gboolean _tmp3_;
#line 536 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp2_ = _data8_->cancellable;
#line 536 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp3_ = g_cancellable_is_cancelled (_tmp2_);
#line 536 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = _tmp3_;
#line 2407 "gitg-diff-view.c"
	} else {
#line 536 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = FALSE;
#line 2411 "gitg-diff-view.c"
	}
#line 536 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp0_) {
#line 538 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		result = 1;
#line 538 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		return result;
#line 2419 "gitg-diff-view.c"
	}
#line 541 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = 0;
#line 541 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 2425 "gitg-diff-view.c"
}


static gint ____lambda60__ggit_diff_binary_callback (GgitDiffDelta* delta, GgitDiffBinary* binary, gpointer self) {
	gint result;
	result = ___lambda60_ (self, delta, binary);
#line 460 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 2434 "gitg-diff-view.c"
}


static gpointer _ggit_diff_hunk_ref0 (gpointer self) {
#line 557 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return self ? ggit_diff_hunk_ref (self) : NULL;
#line 2441 "gitg-diff-view.c"
}


static gint ___lambda61_ (Block8Data* _data8_, GgitDiffDelta* delta, GgitDiffHunk* hunk) {
	GitgDiffView* self;
	gint result = 0;
	gboolean _tmp0_ = FALSE;
	GCancellable* _tmp1_;
#line 544 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	self = _data8_->self;
#line 544 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (delta != NULL, 0);
#line 544 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (hunk != NULL, 0);
#line 545 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp1_ = _data8_->cancellable;
#line 545 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp1_ != NULL) {
#line 2460 "gitg-diff-view.c"
		GCancellable* _tmp2_;
		gboolean _tmp3_;
#line 545 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp2_ = _data8_->cancellable;
#line 545 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp3_ = g_cancellable_is_cancelled (_tmp2_);
#line 545 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = _tmp3_;
#line 2469 "gitg-diff-view.c"
	} else {
#line 545 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = FALSE;
#line 2473 "gitg-diff-view.c"
	}
#line 545 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp0_) {
#line 547 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		result = 1;
#line 547 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		return result;
#line 2481 "gitg-diff-view.c"
	}
#line 550 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (!_data8_->current_is_binary) {
#line 2485 "gitg-diff-view.c"
		GgitDiffHunk* _tmp4_;
		gint _tmp5_;
		GgitDiffHunk* _tmp6_;
		gint _tmp7_;
		gint _tmp8_;
		GgitDiffHunk* _tmp9_;
		gint _tmp10_;
		GgitDiffHunk* _tmp11_;
		gint _tmp12_;
		gint _tmp13_;
		GgitDiffHunk* _tmp14_;
		GgitDiffHunk* _tmp15_;
		GeeArrayList* _tmp16_;
#line 552 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp4_ = hunk;
#line 552 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp5_ = ggit_diff_hunk_get_old_start (_tmp4_);
#line 552 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp6_ = hunk;
#line 552 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp7_ = ggit_diff_hunk_get_old_lines (_tmp6_);
#line 552 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp8_ = MAX (_data8_->maxlines, _tmp5_ + _tmp7_);
#line 552 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_data8_->maxlines = _tmp8_;
#line 553 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp9_ = hunk;
#line 553 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp10_ = ggit_diff_hunk_get_new_start (_tmp9_);
#line 553 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp11_ = hunk;
#line 553 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp12_ = ggit_diff_hunk_get_new_lines (_tmp11_);
#line 553 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp13_ = MAX (_data8_->maxlines, _tmp10_ + _tmp12_);
#line 553 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_data8_->maxlines = _tmp13_;
#line 555 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_data8_->add_hunk (_data8_->add_hunk_target);
#line 557 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp14_ = hunk;
#line 557 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp15_ = _ggit_diff_hunk_ref0 (_tmp14_);
#line 557 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_ggit_diff_hunk_unref0 (_data8_->current_hunk);
#line 557 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_data8_->current_hunk = _tmp15_;
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp16_ = gee_array_list_new (ggit_diff_line_get_type (), (GBoxedCopyFunc) ggit_diff_line_ref, ggit_diff_line_unref, NULL, NULL, NULL);
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_object_unref0 (_data8_->current_lines);
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_data8_->current_lines = _tmp16_;
#line 2539 "gitg-diff-view.c"
	}
#line 561 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = 0;
#line 561 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 2545 "gitg-diff-view.c"
}


static gint ____lambda61__ggit_diff_hunk_callback (GgitDiffDelta* delta, GgitDiffHunk* hunk, gpointer self) {
	gint result;
	result = ___lambda61_ (self, delta, hunk);
#line 460 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 2554 "gitg-diff-view.c"
}


static gint ___lambda62_ (Block8Data* _data8_, GgitDiffDelta* delta, GgitDiffHunk* hunk, GgitDiffLine* line) {
	GitgDiffView* self;
	gint result = 0;
	gboolean _tmp0_ = FALSE;
	GCancellable* _tmp1_;
#line 564 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	self = _data8_->self;
#line 564 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (delta != NULL, 0);
#line 564 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (hunk != NULL, 0);
#line 564 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (line != NULL, 0);
#line 565 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp1_ = _data8_->cancellable;
#line 565 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp1_ != NULL) {
#line 2575 "gitg-diff-view.c"
		GCancellable* _tmp2_;
		gboolean _tmp3_;
#line 565 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp2_ = _data8_->cancellable;
#line 565 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp3_ = g_cancellable_is_cancelled (_tmp2_);
#line 565 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = _tmp3_;
#line 2584 "gitg-diff-view.c"
	} else {
#line 565 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = FALSE;
#line 2588 "gitg-diff-view.c"
	}
#line 565 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp0_) {
#line 567 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		result = 1;
#line 567 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		return result;
#line 2596 "gitg-diff-view.c"
	}
#line 570 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (!_data8_->current_is_binary) {
#line 2600 "gitg-diff-view.c"
		GgitDiffLine* _tmp4_;
#line 572 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp4_ = line;
#line 572 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gee_abstract_collection_add ((GeeAbstractCollection*) _data8_->current_lines, _tmp4_);
#line 2606 "gitg-diff-view.c"
	}
#line 575 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = 0;
#line 575 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 2612 "gitg-diff-view.c"
}


static gint ____lambda62__ggit_diff_line_callback (GgitDiffDelta* delta, GgitDiffHunk* hunk, GgitDiffLine* line, gpointer self) {
	gint result;
	result = ___lambda62_ (self, delta, hunk, line);
#line 460 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 2621 "gitg-diff-view.c"
}


static void _gitg_diff_view_auto_update_expanded_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 630 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gitg_diff_view_auto_update_expanded ((GitgDiffView*) self);
#line 2628 "gitg-diff-view.c"
}


static void gitg_diff_view_update_diff_hunks (GitgDiffView* self, GgitDiff* diff, gboolean preserve_expanded, GeeHashMap* infomap, GCancellable* cancellable) {
	Block8Data* _data8_;
	GeeHashMap* _tmp0_;
	GeeHashMap* _tmp1_;
	GCancellable* _tmp2_;
	GCancellable* _tmp3_;
	GeeArrayList* _tmp4_;
	GList* file_widgets;
	GtkGrid* _tmp6_;
	GList* _tmp7_;
	GeeHashSet* was_expanded;
	GeeHashSet* _tmp8_;
	GList* _tmp9_;
	gboolean _tmp25_ = FALSE;
	gint _tmp26_;
	gint _tmp27_;
	GitgDiffViewCommitDetails* _tmp29_;
	GitgDiffViewCommitDetails* _tmp30_;
	gint _tmp31_;
	gint _tmp32_;
	GError * _inner_error_ = NULL;
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (self != NULL);
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (diff != NULL);
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (infomap != NULL);
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data8_ = g_slice_new0 (Block8Data);
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data8_->_ref_count_ = 1;
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data8_->self = g_object_ref (self);
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = infomap;
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_object_unref0 (_data8_->infomap);
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data8_->infomap = _tmp1_;
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp2_ = cancellable;
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_object_unref0 (_data8_->cancellable);
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data8_->cancellable = _tmp3_;
#line 425 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp4_ = gee_array_list_new (GITG_TYPE_DIFF_VIEW_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
#line 425 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data8_->files = _tmp4_;
#line 427 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data8_->current_file = NULL;
#line 428 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data8_->current_hunk = NULL;
#line 429 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data8_->current_lines = NULL;
#line 430 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data8_->current_is_binary = FALSE;
#line 432 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data8_->maxlines = 0;
#line 434 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data8_->add_hunk = ___lambda57__gitg_diff_view_anon;
#line 434 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data8_->add_hunk_target = block8_data_ref (_data8_);
#line 434 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data8_->add_hunk_target_destroy_notify = block8_data_unref;
#line 444 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data8_->add_file = ___lambda58__gitg_diff_view_anon;
#line 444 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data8_->add_file_target = block8_data_ref (_data8_);
#line 444 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data8_->add_file_target_destroy_notify = block8_data_unref;
#line 2707 "gitg-diff-view.c"
	{
		GgitDiff* _tmp5_;
#line 460 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp5_ = diff;
#line 460 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		ggit_diff_foreach (_tmp5_, ____lambda59__ggit_diff_file_callback, ____lambda60__ggit_diff_binary_callback, ____lambda61__ggit_diff_hunk_callback, ____lambda62__ggit_diff_line_callback, _data8_, &_inner_error_);
#line 460 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2716 "gitg-diff-view.c"
			goto __catch33_g_error;
		}
	}
	goto __finally33;
	__catch33_g_error:
	{
#line 458 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_clear_error (&_inner_error_);
#line 458 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_inner_error_ = NULL;
#line 2727 "gitg-diff-view.c"
	}
	__finally33:
#line 458 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 458 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		block8_data_unref (_data8_);
#line 458 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_data8_ = NULL;
#line 458 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.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 458 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_clear_error (&_inner_error_);
#line 458 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		return;
#line 2742 "gitg-diff-view.c"
	}
#line 580 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data8_->add_hunk (_data8_->add_hunk_target);
#line 581 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data8_->add_file (_data8_->add_file_target);
#line 583 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp6_ = self->priv->d_grid_files;
#line 583 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp7_ = gtk_container_get_children ((GtkContainer*) _tmp6_);
#line 583 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	file_widgets = _tmp7_;
#line 584 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp8_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL, NULL, NULL, NULL);
#line 584 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	was_expanded = _tmp8_;
#line 586 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp9_ = file_widgets;
#line 2760 "gitg-diff-view.c"
	{
		GList* file_collection = NULL;
		GList* file_it = NULL;
#line 586 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		file_collection = _tmp9_;
#line 586 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		for (file_it = file_collection; file_it != NULL; file_it = file_it->next) {
#line 2768 "gitg-diff-view.c"
			GtkWidget* file = NULL;
#line 586 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			file = (GtkWidget*) file_it->data;
#line 2772 "gitg-diff-view.c"
			{
				GitgDiffViewFile* f;
				GtkWidget* _tmp10_;
				GitgDiffViewFile* _tmp11_;
				gboolean _tmp12_ = FALSE;
				gboolean _tmp13_;
				GitgDiffViewFile* _tmp24_;
#line 588 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp10_ = file;
#line 588 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp11_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp10_, GITG_TYPE_DIFF_VIEW_FILE) ? ((GitgDiffViewFile*) _tmp10_) : NULL);
#line 588 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				f = _tmp11_;
#line 590 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp13_ = preserve_expanded;
#line 590 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				if (_tmp13_) {
#line 2790 "gitg-diff-view.c"
					GitgDiffViewFile* _tmp14_;
					gboolean _tmp15_;
					gboolean _tmp16_;
#line 590 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp14_ = f;
#line 590 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp15_ = gitg_diff_view_file_get_expanded (_tmp14_);
#line 590 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp16_ = _tmp15_;
#line 590 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp12_ = _tmp16_;
#line 2802 "gitg-diff-view.c"
				} else {
#line 590 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp12_ = FALSE;
#line 2806 "gitg-diff-view.c"
				}
#line 590 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				if (_tmp12_) {
#line 2810 "gitg-diff-view.c"
					gchar* path;
					GitgDiffViewFile* _tmp17_;
					GgitDiffDelta* _tmp18_;
					GgitDiffDelta* _tmp19_;
					gchar* _tmp20_;
					const gchar* _tmp21_;
#line 592 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp17_ = f;
#line 592 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp18_ = gitg_diff_view_file_get_delta (_tmp17_);
#line 592 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp19_ = _tmp18_;
#line 592 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp20_ = gitg_diff_view_primary_path (self, _tmp19_);
#line 592 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					path = _tmp20_;
#line 594 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp21_ = path;
#line 594 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					if (_tmp21_ != NULL) {
#line 2831 "gitg-diff-view.c"
						GeeHashSet* _tmp22_;
						const gchar* _tmp23_;
#line 596 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						_tmp22_ = was_expanded;
#line 596 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						_tmp23_ = path;
#line 596 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						gee_abstract_collection_add ((GeeAbstractCollection*) _tmp22_, _tmp23_);
#line 2840 "gitg-diff-view.c"
					}
#line 590 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_g_free0 (path);
#line 2844 "gitg-diff-view.c"
				}
#line 600 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp24_ = f;
#line 600 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				gtk_widget_destroy ((GtkWidget*) _tmp24_);
#line 586 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_g_object_unref0 (f);
#line 2852 "gitg-diff-view.c"
			}
		}
	}
#line 603 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp26_ = gee_abstract_collection_get_size ((GeeCollection*) _data8_->files);
#line 603 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp27_ = _tmp26_;
#line 603 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp27_ <= 1) {
#line 603 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp25_ = TRUE;
#line 2864 "gitg-diff-view.c"
	} else {
		gboolean _tmp28_;
#line 603 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp28_ = self->priv->_default_collapse_all;
#line 603 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp25_ = !_tmp28_;
#line 2871 "gitg-diff-view.c"
	}
#line 603 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp29_ = self->priv->d_commit_details;
#line 603 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gitg_diff_view_commit_details_set_expanded (_tmp29_, _tmp25_);
#line 604 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp30_ = self->priv->d_commit_details;
#line 604 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp31_ = gee_abstract_collection_get_size ((GeeCollection*) _data8_->files);
#line 604 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp32_ = _tmp31_;
#line 604 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gitg_diff_view_commit_details_set_expander_visible (_tmp30_, _tmp32_ > 1);
#line 2885 "gitg-diff-view.c"
	{
		gint i;
#line 606 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		i = 0;
#line 2890 "gitg-diff-view.c"
		{
			gboolean _tmp33_;
#line 606 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp33_ = TRUE;
#line 606 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			while (TRUE) {
#line 2897 "gitg-diff-view.c"
				gint _tmp35_;
				gint _tmp36_;
				gint _tmp37_;
				GitgDiffViewFile* file;
				gint _tmp38_;
				gpointer _tmp39_;
				gchar* path;
				GitgDiffViewFile* _tmp40_;
				GgitDiffDelta* _tmp41_;
				GgitDiffDelta* _tmp42_;
				gchar* _tmp43_;
				gboolean _tmp44_ = FALSE;
				GitgDiffViewCommitDetails* _tmp45_;
				gboolean _tmp46_;
				gboolean _tmp47_;
				GitgDiffViewFile* _tmp53_;
				GitgDiffViewFileRendererText* renderer_text;
				GitgDiffViewFile* _tmp54_;
				GitgDiffViewFileRenderer* _tmp55_;
				GitgDiffViewFileRenderer* _tmp56_;
				GitgDiffViewFileRendererText* _tmp57_;
				GitgDiffViewFileRendererText* _tmp58_;
				gint _tmp62_;
				gint _tmp63_;
				gint _tmp64_;
				GtkGrid* _tmp66_;
				GitgDiffViewFile* _tmp67_;
				GitgDiffViewFile* _tmp68_;
#line 606 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				if (!_tmp33_) {
#line 2928 "gitg-diff-view.c"
					gint _tmp34_;
#line 606 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp34_ = i;
#line 606 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					i = _tmp34_ + 1;
#line 2934 "gitg-diff-view.c"
				}
#line 606 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp33_ = FALSE;
#line 606 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp35_ = i;
#line 606 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp36_ = gee_abstract_collection_get_size ((GeeCollection*) _data8_->files);
#line 606 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp37_ = _tmp36_;
#line 606 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				if (!(_tmp35_ < _tmp37_)) {
#line 606 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					break;
#line 2948 "gitg-diff-view.c"
				}
#line 608 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp38_ = i;
#line 608 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp39_ = gee_abstract_list_get ((GeeAbstractList*) _data8_->files, _tmp38_);
#line 608 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				file = (GitgDiffViewFile*) _tmp39_;
#line 609 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp40_ = file;
#line 609 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp41_ = gitg_diff_view_file_get_delta (_tmp40_);
#line 609 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp42_ = _tmp41_;
#line 609 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp43_ = gitg_diff_view_primary_path (self, _tmp42_);
#line 609 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				path = _tmp43_;
#line 611 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp45_ = self->priv->d_commit_details;
#line 611 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp46_ = gitg_diff_view_commit_details_get_expanded (_tmp45_);
#line 611 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp47_ = _tmp46_;
#line 611 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				if (_tmp47_) {
#line 611 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp44_ = TRUE;
#line 2976 "gitg-diff-view.c"
				} else {
					gboolean _tmp48_ = FALSE;
					const gchar* _tmp49_;
#line 611 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp49_ = path;
#line 611 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					if (_tmp49_ != NULL) {
#line 2984 "gitg-diff-view.c"
						GeeHashSet* _tmp50_;
						const gchar* _tmp51_;
						gboolean _tmp52_;
#line 611 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						_tmp50_ = was_expanded;
#line 611 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						_tmp51_ = path;
#line 611 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						_tmp52_ = gee_abstract_collection_contains ((GeeAbstractCollection*) _tmp50_, _tmp51_);
#line 611 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						_tmp48_ = _tmp52_;
#line 2996 "gitg-diff-view.c"
					} else {
#line 611 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						_tmp48_ = FALSE;
#line 3000 "gitg-diff-view.c"
					}
#line 611 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp44_ = _tmp48_;
#line 3004 "gitg-diff-view.c"
				}
#line 611 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp53_ = file;
#line 611 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				gitg_diff_view_file_set_expanded (_tmp53_, _tmp44_);
#line 613 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp54_ = file;
#line 613 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp55_ = gitg_diff_view_file_get_renderer (_tmp54_);
#line 613 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp56_ = _tmp55_;
#line 613 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp57_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp56_, GITG_TYPE_DIFF_VIEW_FILE_RENDERER_TEXT) ? ((GitgDiffViewFileRendererText*) _tmp56_) : NULL;
#line 613 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				if (_tmp57_ == NULL) {
#line 613 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_g_object_unref0 (_tmp56_);
#line 3022 "gitg-diff-view.c"
				}
#line 613 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				renderer_text = _tmp57_;
#line 615 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp58_ = renderer_text;
#line 615 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				if (_tmp58_ != NULL) {
#line 3030 "gitg-diff-view.c"
					GitgDiffViewFileRendererText* _tmp59_;
					GitgDiffViewFileRendererText* _tmp60_;
					GitgDiffViewFileRendererText* _tmp61_;
#line 617 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp59_ = renderer_text;
#line 617 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					gitg_diff_view_file_renderer_text_set_maxlines (_tmp59_, _data8_->maxlines);
#line 619 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp60_ = renderer_text;
#line 619 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					g_object_bind_property_with_closures ((GObject*) self, "wrap-lines", (GObject*) _tmp60_, "wrap-lines", 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 620 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp61_ = renderer_text;
#line 620 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					g_object_bind_property_with_closures ((GObject*) self, "tab-width", (GObject*) _tmp61_, "tab-width", 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 3046 "gitg-diff-view.c"
				}
#line 623 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp62_ = i;
#line 623 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp63_ = gee_abstract_collection_get_size ((GeeCollection*) _data8_->files);
#line 623 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp64_ = _tmp63_;
#line 623 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				if (_tmp62_ == (_tmp64_ - 1)) {
#line 3056 "gitg-diff-view.c"
					GitgDiffViewFile* _tmp65_;
#line 625 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp65_ = file;
#line 625 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					gtk_widget_set_vexpand ((GtkWidget*) _tmp65_, TRUE);
#line 3062 "gitg-diff-view.c"
				}
#line 628 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp66_ = self->priv->d_grid_files;
#line 628 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp67_ = file;
#line 628 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				gtk_container_add ((GtkContainer*) _tmp66_, (GtkWidget*) _tmp67_);
#line 630 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp68_ = file;
#line 630 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				g_signal_connect_object ((GObject*) _tmp68_, "notify::expanded", (GCallback) _gitg_diff_view_auto_update_expanded_g_object_notify, self, 0);
#line 606 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_g_object_unref0 (renderer_text);
#line 606 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_g_free0 (path);
#line 606 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_g_object_unref0 (file);
#line 3080 "gitg-diff-view.c"
			}
		}
	}
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_object_unref0 (was_expanded);
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_list_free0 (file_widgets);
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	block8_data_unref (_data8_);
#line 423 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_data8_ = NULL;
#line 3092 "gitg-diff-view.c"
}


static void gitg_diff_view_auto_update_expanded (GitgDiffView* self) {
	GtkGrid* _tmp0_;
	GList* _tmp1_;
#line 634 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (self != NULL);
#line 636 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = self->priv->d_grid_files;
#line 636 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp1_ = gtk_container_get_children ((GtkContainer*) _tmp0_);
#line 3105 "gitg-diff-view.c"
	{
		GList* file_collection = NULL;
		GList* file_it = NULL;
#line 636 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		file_collection = _tmp1_;
#line 636 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		for (file_it = file_collection; file_it != NULL; file_it = file_it->next) {
#line 3113 "gitg-diff-view.c"
			GtkWidget* file = NULL;
#line 636 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			file = (GtkWidget*) file_it->data;
#line 3117 "gitg-diff-view.c"
			{
				GtkWidget* _tmp2_;
				gboolean _tmp3_;
				gboolean _tmp4_;
#line 638 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp2_ = file;
#line 638 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp3_ = gitg_diff_view_file_get_expanded (G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, GITG_TYPE_DIFF_VIEW_FILE) ? ((GitgDiffViewFile*) _tmp2_) : NULL);
#line 638 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp4_ = _tmp3_;
#line 638 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				if (!_tmp4_) {
#line 640 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					gitg_diff_view_auto_change_expanded (self, FALSE);
#line 641 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_g_list_free0 (file_collection);
#line 641 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					return;
#line 3136 "gitg-diff-view.c"
				}
			}
		}
#line 636 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_list_free0 (file_collection);
#line 3142 "gitg-diff-view.c"
	}
#line 645 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gitg_diff_view_auto_change_expanded (self, TRUE);
#line 3146 "gitg-diff-view.c"
}


static gboolean ___lambda64_ (GitgDiffView* self) {
	gboolean result = FALSE;
	GtkRevealer* _tmp0_;
#line 697 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	self->priv->d_reveal_options_timeout = (guint) 0;
#line 698 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = self->priv->d_revealer_options;
#line 698 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gtk_revealer_set_reveal_child (_tmp0_, TRUE);
#line 699 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = FALSE;
#line 699 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 3163 "gitg-diff-view.c"
}


static gboolean ____lambda64__gsource_func (gpointer self) {
	gboolean result;
	result = ___lambda64_ ((GitgDiffView*) self);
#line 696 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 3172 "gitg-diff-view.c"
}


static gboolean _____lambda65_ (GitgDiffView* self) {
	gboolean result = FALSE;
	GtkRevealer* _tmp0_;
#line 715 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	self->priv->d_unreveal_options_timeout = (guint) 0;
#line 716 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = self->priv->d_revealer_options;
#line 716 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gtk_revealer_set_reveal_child (_tmp0_, FALSE);
#line 717 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = FALSE;
#line 717 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 3189 "gitg-diff-view.c"
}


static gboolean ______lambda65__gsource_func (gpointer self) {
	gboolean result;
	result = _____lambda65_ ((GitgDiffView*) self);
#line 714 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 3198 "gitg-diff-view.c"
}


static void gitg_diff_view_update_hide_show_options (GitgDiffView* self, GdkWindow* window, gint ex, gint ey) {
	void* data = NULL;
	GdkWindow* _tmp0_;
	void* _tmp1_ = NULL;
	GtkWidget* w;
	void* _tmp2_;
	GtkWidget* _tmp3_;
	GtkWidget* _tmp4_;
	gint x = 0;
	gint y = 0;
	GtkWidget* _tmp5_;
	GtkEventBox* _tmp6_;
	gint _tmp7_;
	gint _tmp8_;
	gint _tmp9_ = 0;
	gint _tmp10_ = 0;
	GtkAllocation alloc = {0};
	GtkAllocation revealer_alloc = {0};
	GtkEventBox* _tmp11_;
	GtkAllocation _tmp12_ = {0};
	GtkRevealer* _tmp13_;
	GtkAllocation _tmp14_ = {0};
	gboolean _tmp15_ = FALSE;
	gboolean _tmp16_ = FALSE;
	gboolean _tmp17_ = FALSE;
	GtkRevealer* _tmp18_;
	gboolean _tmp19_;
	gboolean _tmp20_;
#line 668 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (self != NULL);
#line 668 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (window != NULL);
#line 671 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = window;
#line 671 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gdk_window_get_user_data (_tmp0_, &_tmp1_);
#line 671 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	data = _tmp1_;
#line 673 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp2_ = data;
#line 673 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp3_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, gtk_widget_get_type ()) ? ((GtkWidget*) _tmp2_) : NULL);
#line 673 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	w = _tmp3_;
#line 675 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp4_ = w;
#line 675 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp4_ == NULL) {
#line 677 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_object_unref0 (w);
#line 677 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		return;
#line 3254 "gitg-diff-view.c"
	}
#line 681 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp5_ = w;
#line 681 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp6_ = self->priv->d_event_box;
#line 681 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp7_ = ex;
#line 681 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp8_ = ey;
#line 681 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gtk_widget_translate_coordinates (_tmp5_, (GtkWidget*) _tmp6_, _tmp7_, _tmp8_, &_tmp9_, &_tmp10_);
#line 681 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	x = _tmp9_;
#line 681 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	y = _tmp10_;
#line 685 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp11_ = self->priv->d_event_box;
#line 685 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gtk_widget_get_allocation ((GtkWidget*) _tmp11_, &_tmp12_);
#line 685 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	alloc = _tmp12_;
#line 686 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp13_ = self->priv->d_revealer_options;
#line 686 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gtk_widget_get_allocation ((GtkWidget*) _tmp13_, &_tmp14_);
#line 686 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	revealer_alloc = _tmp14_;
#line 688 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp18_ = self->priv->d_revealer_options;
#line 688 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp19_ = gtk_revealer_get_reveal_child (_tmp18_);
#line 688 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp20_ = _tmp19_;
#line 688 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (!_tmp20_) {
#line 3290 "gitg-diff-view.c"
		gint _tmp21_;
		GtkAllocation _tmp22_;
		gint _tmp23_;
#line 688 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp21_ = y;
#line 688 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp22_ = alloc;
#line 688 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp23_ = _tmp22_.height;
#line 688 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp17_ = _tmp21_ >= (_tmp23_ - 18);
#line 3302 "gitg-diff-view.c"
	} else {
#line 688 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp17_ = FALSE;
#line 3306 "gitg-diff-view.c"
	}
#line 688 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp17_) {
#line 3310 "gitg-diff-view.c"
		gint _tmp24_;
		GtkAllocation _tmp25_;
		gint _tmp26_;
#line 688 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp24_ = x;
#line 688 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp25_ = alloc;
#line 688 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp26_ = _tmp25_.width;
#line 688 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp16_ = _tmp24_ >= (_tmp26_ - 150);
#line 3322 "gitg-diff-view.c"
	} else {
#line 688 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp16_ = FALSE;
#line 3326 "gitg-diff-view.c"
	}
#line 688 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp16_) {
#line 3330 "gitg-diff-view.c"
		guint _tmp27_;
#line 688 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp27_ = self->priv->d_reveal_options_timeout;
#line 688 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp15_ = _tmp27_ == ((guint) 0);
#line 3336 "gitg-diff-view.c"
	} else {
#line 688 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp15_ = FALSE;
#line 3340 "gitg-diff-view.c"
	}
#line 688 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp15_) {
#line 3344 "gitg-diff-view.c"
		guint _tmp28_;
		guint _tmp30_;
#line 690 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp28_ = self->priv->d_unreveal_options_timeout;
#line 690 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		if (_tmp28_ != ((guint) 0)) {
#line 3351 "gitg-diff-view.c"
			guint _tmp29_;
#line 692 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp29_ = self->priv->d_unreveal_options_timeout;
#line 692 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			g_source_remove (_tmp29_);
#line 693 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			self->priv->d_unreveal_options_timeout = (guint) 0;
#line 3359 "gitg-diff-view.c"
		}
#line 696 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp30_ = g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 300, ____lambda64__gsource_func, g_object_ref (self), g_object_unref);
#line 696 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		self->priv->d_reveal_options_timeout = _tmp30_;
#line 3365 "gitg-diff-view.c"
	} else {
		GtkRevealer* _tmp31_;
		gboolean _tmp32_;
		gboolean _tmp33_;
#line 702 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp31_ = self->priv->d_revealer_options;
#line 702 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp32_ = gtk_revealer_get_reveal_child (_tmp31_);
#line 702 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp33_ = _tmp32_;
#line 702 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		if (_tmp33_) {
#line 3378 "gitg-diff-view.c"
			gboolean above;
			gint _tmp34_;
			GtkAllocation _tmp35_;
			gint _tmp36_;
			GtkAllocation _tmp37_;
			gint _tmp38_;
			gboolean _tmp39_ = FALSE;
			gboolean _tmp40_;
#line 704 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp34_ = y;
#line 704 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp35_ = alloc;
#line 704 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp36_ = _tmp35_.height;
#line 704 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp37_ = revealer_alloc;
#line 704 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp38_ = _tmp37_.height;
#line 704 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			above = _tmp34_ <= ((_tmp36_ - 6) - _tmp38_);
#line 706 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp40_ = above;
#line 706 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			if (_tmp40_) {
#line 3403 "gitg-diff-view.c"
				guint _tmp41_;
#line 706 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp41_ = self->priv->d_unreveal_options_timeout;
#line 706 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp39_ = _tmp41_ == ((guint) 0);
#line 3409 "gitg-diff-view.c"
			} else {
#line 706 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp39_ = FALSE;
#line 3413 "gitg-diff-view.c"
			}
#line 706 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			if (_tmp39_) {
#line 3417 "gitg-diff-view.c"
				guint _tmp42_;
				guint _tmp44_;
#line 708 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp42_ = self->priv->d_reveal_options_timeout;
#line 708 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				if (_tmp42_ != ((guint) 0)) {
#line 3424 "gitg-diff-view.c"
					guint _tmp43_;
#line 710 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp43_ = self->priv->d_reveal_options_timeout;
#line 710 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					g_source_remove (_tmp43_);
#line 711 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					self->priv->d_reveal_options_timeout = (guint) 0;
#line 3432 "gitg-diff-view.c"
				}
#line 714 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp44_ = g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 1000, ______lambda65__gsource_func, g_object_ref (self), g_object_unref);
#line 714 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				self->priv->d_unreveal_options_timeout = _tmp44_;
#line 3438 "gitg-diff-view.c"
			} else {
				gboolean _tmp45_ = FALSE;
				gboolean _tmp46_;
#line 720 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp46_ = above;
#line 720 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				if (!_tmp46_) {
#line 3446 "gitg-diff-view.c"
					guint _tmp47_;
#line 720 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp47_ = self->priv->d_unreveal_options_timeout;
#line 720 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp45_ = _tmp47_ != ((guint) 0);
#line 3452 "gitg-diff-view.c"
				} else {
#line 720 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp45_ = FALSE;
#line 3456 "gitg-diff-view.c"
				}
#line 720 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				if (_tmp45_) {
#line 3460 "gitg-diff-view.c"
					guint _tmp48_;
#line 722 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp48_ = self->priv->d_unreveal_options_timeout;
#line 722 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					g_source_remove (_tmp48_);
#line 723 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					self->priv->d_unreveal_options_timeout = (guint) 0;
#line 3468 "gitg-diff-view.c"
				}
			}
		}
	}
#line 668 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_object_unref0 (w);
#line 3475 "gitg-diff-view.c"
}


static gboolean gitg_diff_view_leave_notify_event_on_event_box (GitgDiffView* self, GtkWidget* widget, GdkEventCrossing* event) {
	gboolean result = FALSE;
	GdkEventCrossing* _tmp0_;
	GdkWindow* _tmp1_;
	GdkEventCrossing* _tmp2_;
	gdouble _tmp3_;
	GdkEventCrossing* _tmp4_;
	gdouble _tmp5_;
#line 729 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 729 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (widget != NULL, FALSE);
#line 729 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = event;
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp1_ = _tmp0_->window;
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp2_ = event;
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp3_ = _tmp2_->x;
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp4_ = event;
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp5_ = _tmp4_->y;
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gitg_diff_view_update_hide_show_options (self, _tmp1_, (gint) _tmp3_, (gint) _tmp5_);
#line 732 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = FALSE;
#line 732 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 3511 "gitg-diff-view.c"
}


static gboolean _gitg_diff_view_leave_notify_event_on_event_box_gtk_widget_leave_notify_event (GtkWidget* _sender, GdkEventCrossing* event, gpointer self) {
	gboolean result;
	result = gitg_diff_view_leave_notify_event_on_event_box ((GitgDiffView*) self, _sender, event);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 3520 "gitg-diff-view.c"
}


static gboolean gitg_diff_view_enter_notify_event_on_event_box (GitgDiffView* self, GtkWidget* widget, GdkEventCrossing* event) {
	gboolean result = FALSE;
	GdkEventCrossing* _tmp0_;
	GdkWindow* _tmp1_;
	GdkEventCrossing* _tmp2_;
	gdouble _tmp3_;
	GdkEventCrossing* _tmp4_;
	gdouble _tmp5_;
#line 736 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 736 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (widget != NULL, FALSE);
#line 736 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 738 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = event;
#line 738 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp1_ = _tmp0_->window;
#line 738 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp2_ = event;
#line 738 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp3_ = _tmp2_->x;
#line 738 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp4_ = event;
#line 738 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp5_ = _tmp4_->y;
#line 738 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gitg_diff_view_update_hide_show_options (self, _tmp1_, (gint) _tmp3_, (gint) _tmp5_);
#line 739 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = FALSE;
#line 739 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 3556 "gitg-diff-view.c"
}


static gboolean _gitg_diff_view_enter_notify_event_on_event_box_gtk_widget_enter_notify_event (GtkWidget* _sender, GdkEventCrossing* event, gpointer self) {
	gboolean result;
	result = gitg_diff_view_enter_notify_event_on_event_box ((GitgDiffView*) self, _sender, event);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 3565 "gitg-diff-view.c"
}


static gboolean gitg_diff_view_motion_notify_event_on_event_box (GitgDiffView* self, GtkWidget* widget, GdkEventMotion* event) {
	gboolean result = FALSE;
	GdkEventMotion* _tmp0_;
	GdkWindow* _tmp1_;
	GdkEventMotion* _tmp2_;
	gdouble _tmp3_;
	GdkEventMotion* _tmp4_;
	gdouble _tmp5_;
#line 743 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 743 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (widget != NULL, FALSE);
#line 743 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 745 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = event;
#line 745 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp1_ = _tmp0_->window;
#line 745 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp2_ = event;
#line 745 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp3_ = _tmp2_->x;
#line 745 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp4_ = event;
#line 745 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp5_ = _tmp4_->y;
#line 745 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gitg_diff_view_update_hide_show_options (self, _tmp1_, (gint) _tmp3_, (gint) _tmp5_);
#line 746 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = FALSE;
#line 746 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 3601 "gitg-diff-view.c"
}


GitgDiffView* gitg_diff_view_construct (GType object_type) {
	GitgDiffView * self = NULL;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	self = (GitgDiffView*) g_object_new (object_type, NULL);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return self;
#line 3611 "gitg-diff-view.c"
}


GitgDiffView* gitg_diff_view_new (void) {
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return gitg_diff_view_construct (GITG_TYPE_DIFF_VIEW);
#line 3618 "gitg-diff-view.c"
}


GgitDiffOptions* gitg_diff_view_get_options (GitgDiffView* self) {
	GgitDiffOptions* result;
	GgitDiffOptions* _tmp0_;
	GgitDiffOptions* _tmp2_;
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 61 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = self->priv->d_options;
#line 61 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp0_ == NULL) {
#line 3632 "gitg-diff-view.c"
		GgitDiffOptions* _tmp1_;
#line 63 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp1_ = ggit_diff_options_new ();
#line 63 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_object_unref0 (self->priv->d_options);
#line 63 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		self->priv->d_options = _tmp1_;
#line 3640 "gitg-diff-view.c"
	}
#line 66 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp2_ = self->priv->d_options;
#line 66 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = _tmp2_;
#line 66 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 3648 "gitg-diff-view.c"
}


gboolean gitg_diff_view_get_has_selection (GitgDiffView* self) {
	gboolean result;
	gboolean _tmp0_;
#line 72 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 72 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = self->priv->_has_selection;
#line 72 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = _tmp0_;
#line 72 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 3663 "gitg-diff-view.c"
}


static void gitg_diff_view_set_has_selection (GitgDiffView* self, gboolean value) {
#line 72 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (self != NULL);
#line 72 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (gitg_diff_view_get_has_selection (self) != value) {
#line 3672 "gitg-diff-view.c"
		gboolean _tmp0_;
#line 72 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = value;
#line 72 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		self->priv->_has_selection = _tmp0_;
#line 72 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_object_notify ((GObject *) self, "has-selection");
#line 3680 "gitg-diff-view.c"
	}
}


GgitDiff* gitg_diff_view_get_diff (GitgDiffView* self) {
	GgitDiff* result;
	GgitDiff* _tmp0_;
#line 77 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 77 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = self->priv->d_diff;
#line 77 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = _tmp0_;
#line 77 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 3696 "gitg-diff-view.c"
}


void gitg_diff_view_set_diff (GitgDiffView* self, GgitDiff* value) {
#line 78 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (self != NULL);
#line 78 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (gitg_diff_view_get_diff (self) != value) {
#line 3705 "gitg-diff-view.c"
		GgitDiff* _tmp0_;
		GgitDiff* _tmp1_;
#line 80 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = self->priv->d_diff;
#line 80 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp1_ = value;
#line 80 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		if (_tmp0_ != _tmp1_) {
#line 3714 "gitg-diff-view.c"
			GgitDiff* _tmp2_;
			GgitDiff* _tmp3_;
#line 82 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp2_ = value;
#line 82 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp3_ = _g_object_ref0 (_tmp2_);
#line 82 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_g_object_unref0 (self->priv->d_diff);
#line 82 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			self->priv->d_diff = _tmp3_;
#line 83 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_g_object_unref0 (self->priv->d_commit);
#line 83 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			self->priv->d_commit = NULL;
#line 3729 "gitg-diff-view.c"
		}
#line 86 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gitg_diff_view_update (self, FALSE);
#line 78 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_object_notify ((GObject *) self, "diff");
#line 3735 "gitg-diff-view.c"
	}
}


GitgCommit* gitg_diff_view_get_commit (GitgDiffView* self) {
	GitgCommit* result;
	GitgCommit* _tmp0_;
#line 92 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 92 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = self->priv->d_commit;
#line 92 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = _tmp0_;
#line 92 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 3751 "gitg-diff-view.c"
}


void gitg_diff_view_set_commit (GitgDiffView* self, GitgCommit* value) {
#line 93 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (self != NULL);
#line 93 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (gitg_diff_view_get_commit (self) != value) {
#line 3760 "gitg-diff-view.c"
		GitgCommit* _tmp0_;
		GitgCommit* _tmp1_;
#line 95 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = self->priv->d_commit;
#line 95 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp1_ = value;
#line 95 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		if (_tmp0_ != _tmp1_) {
#line 3769 "gitg-diff-view.c"
			GitgCommit* _tmp2_;
			GitgCommit* _tmp3_;
#line 97 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp2_ = value;
#line 97 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp3_ = _g_object_ref0 (_tmp2_);
#line 97 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_g_object_unref0 (self->priv->d_commit);
#line 97 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			self->priv->d_commit = _tmp3_;
#line 98 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_g_object_unref0 (self->priv->d_diff);
#line 98 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			self->priv->d_diff = NULL;
#line 3784 "gitg-diff-view.c"
		}
#line 101 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gitg_diff_view_update (self, FALSE);
#line 93 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_object_notify ((GObject *) self, "commit");
#line 3790 "gitg-diff-view.c"
	}
}


gboolean gitg_diff_view_get_wrap_lines (GitgDiffView* self) {
	gboolean result;
	gboolean _tmp0_;
#line 113 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 113 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = self->priv->_wrap_lines;
#line 113 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = _tmp0_;
#line 113 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 3806 "gitg-diff-view.c"
}


void gitg_diff_view_set_wrap_lines (GitgDiffView* self, gboolean value) {
#line 113 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (self != NULL);
#line 113 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (gitg_diff_view_get_wrap_lines (self) != value) {
#line 3815 "gitg-diff-view.c"
		gboolean _tmp0_;
#line 113 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = value;
#line 113 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		self->priv->_wrap_lines = _tmp0_;
#line 113 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_object_notify ((GObject *) self, "wrap-lines");
#line 3823 "gitg-diff-view.c"
	}
}


gboolean gitg_diff_view_get_staged (GitgDiffView* self) {
	gboolean result;
	gboolean _tmp0_;
#line 114 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 114 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = self->priv->_staged;
#line 114 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = _tmp0_;
#line 114 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 3839 "gitg-diff-view.c"
}


void gitg_diff_view_set_staged (GitgDiffView* self, gboolean value) {
#line 114 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (self != NULL);
#line 114 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (gitg_diff_view_get_staged (self) != value) {
#line 3848 "gitg-diff-view.c"
		gboolean _tmp0_;
#line 114 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = value;
#line 114 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		self->priv->_staged = _tmp0_;
#line 114 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_object_notify ((GObject *) self, "staged");
#line 3856 "gitg-diff-view.c"
	}
}


gboolean gitg_diff_view_get_unstaged (GitgDiffView* self) {
	gboolean result;
	gboolean _tmp0_;
#line 115 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 115 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = self->priv->_unstaged;
#line 115 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = _tmp0_;
#line 115 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 3872 "gitg-diff-view.c"
}


void gitg_diff_view_set_unstaged (GitgDiffView* self, gboolean value) {
#line 115 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (self != NULL);
#line 115 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (gitg_diff_view_get_unstaged (self) != value) {
#line 3881 "gitg-diff-view.c"
		gboolean _tmp0_;
#line 115 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = value;
#line 115 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		self->priv->_unstaged = _tmp0_;
#line 115 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_object_notify ((GObject *) self, "unstaged");
#line 3889 "gitg-diff-view.c"
	}
}


gboolean gitg_diff_view_get_show_parents (GitgDiffView* self) {
	gboolean result;
	gboolean _tmp0_;
#line 116 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 116 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = self->priv->_show_parents;
#line 116 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = _tmp0_;
#line 116 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 3905 "gitg-diff-view.c"
}


void gitg_diff_view_set_show_parents (GitgDiffView* self, gboolean value) {
#line 116 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (self != NULL);
#line 116 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (gitg_diff_view_get_show_parents (self) != value) {
#line 3914 "gitg-diff-view.c"
		gboolean _tmp0_;
#line 116 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = value;
#line 116 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		self->priv->_show_parents = _tmp0_;
#line 116 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_object_notify ((GObject *) self, "show-parents");
#line 3922 "gitg-diff-view.c"
	}
}


gboolean gitg_diff_view_get_default_collapse_all (GitgDiffView* self) {
	gboolean result;
	gboolean _tmp0_;
#line 117 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 117 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = self->priv->_default_collapse_all;
#line 117 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = _tmp0_;
#line 117 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 3938 "gitg-diff-view.c"
}


void gitg_diff_view_set_default_collapse_all (GitgDiffView* self, gboolean value) {
#line 117 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (self != NULL);
#line 117 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (gitg_diff_view_get_default_collapse_all (self) != value) {
#line 3947 "gitg-diff-view.c"
		gboolean _tmp0_;
#line 117 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = value;
#line 117 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		self->priv->_default_collapse_all = _tmp0_;
#line 117 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_object_notify ((GObject *) self, "default-collapse-all");
#line 3955 "gitg-diff-view.c"
	}
}


gboolean gitg_diff_view_get_use_gravatar (GitgDiffView* self) {
	gboolean result;
	gboolean _tmp0_;
#line 118 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 118 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = self->priv->_use_gravatar;
#line 118 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = _tmp0_;
#line 118 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 3971 "gitg-diff-view.c"
}


void gitg_diff_view_set_use_gravatar (GitgDiffView* self, gboolean value) {
#line 118 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (self != NULL);
#line 118 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (gitg_diff_view_get_use_gravatar (self) != value) {
#line 3980 "gitg-diff-view.c"
		gboolean _tmp0_;
#line 118 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = value;
#line 118 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		self->priv->_use_gravatar = _tmp0_;
#line 118 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_object_notify ((GObject *) self, "use-gravatar");
#line 3988 "gitg-diff-view.c"
	}
}


gint gitg_diff_view_get_tab_width (GitgDiffView* self) {
	gint result;
	gint _tmp0_;
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = self->priv->_tab_width;
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = _tmp0_;
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 4004 "gitg-diff-view.c"
}


void gitg_diff_view_set_tab_width (GitgDiffView* self, gint value) {
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (self != NULL);
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (gitg_diff_view_get_tab_width (self) != value) {
#line 4013 "gitg-diff-view.c"
		gint _tmp0_;
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = value;
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		self->priv->_tab_width = _tmp0_;
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_object_notify ((GObject *) self, "tab-width");
#line 4021 "gitg-diff-view.c"
	}
}


gboolean gitg_diff_view_get_handle_selection (GitgDiffView* self) {
	gboolean result;
	gboolean _tmp0_;
#line 120 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 120 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = self->priv->_handle_selection;
#line 120 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = _tmp0_;
#line 120 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 4037 "gitg-diff-view.c"
}


void gitg_diff_view_set_handle_selection (GitgDiffView* self, gboolean value) {
#line 120 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (self != NULL);
#line 120 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (gitg_diff_view_get_handle_selection (self) != value) {
#line 4046 "gitg-diff-view.c"
		gboolean _tmp0_;
#line 120 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = value;
#line 120 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		self->priv->_handle_selection = _tmp0_;
#line 120 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_object_notify ((GObject *) self, "handle-selection");
#line 4054 "gitg-diff-view.c"
	}
}


gboolean gitg_diff_view_get_highlight (GitgDiffView* self) {
	gboolean result;
	gboolean _tmp0_;
#line 121 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 121 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = self->priv->_highlight;
#line 121 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = _tmp0_;
#line 121 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 4070 "gitg-diff-view.c"
}


void gitg_diff_view_set_highlight (GitgDiffView* self, gboolean value) {
#line 121 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (self != NULL);
#line 121 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (gitg_diff_view_get_highlight (self) != value) {
#line 4079 "gitg-diff-view.c"
		gboolean _tmp0_;
#line 121 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = value;
#line 121 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		self->priv->_highlight = _tmp0_;
#line 121 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_object_notify ((GObject *) self, "highlight");
#line 4087 "gitg-diff-view.c"
	}
}


GitgRepository* gitg_diff_view_get_repository (GitgDiffView* self) {
	GitgRepository* result;
	GitgRepository* _tmp0_;
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = self->priv->_repository;
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = _tmp0_;
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 4103 "gitg-diff-view.c"
}


void gitg_diff_view_set_repository (GitgDiffView* self, GitgRepository* value) {
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (self != NULL);
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (gitg_diff_view_get_repository (self) != value) {
#line 4112 "gitg-diff-view.c"
		GitgRepository* _tmp0_;
		GitgRepository* _tmp1_;
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = value;
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_object_unref0 (self->priv->_repository);
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		self->priv->_repository = _tmp1_;
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_object_notify ((GObject *) self, "repository");
#line 4125 "gitg-diff-view.c"
	}
}


gboolean gitg_diff_view_get_new_is_workdir (GitgDiffView* self) {
	gboolean result;
	gboolean _tmp0_;
#line 123 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 123 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = self->priv->_new_is_workdir;
#line 123 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = _tmp0_;
#line 123 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 4141 "gitg-diff-view.c"
}


void gitg_diff_view_set_new_is_workdir (GitgDiffView* self, gboolean value) {
#line 123 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (self != NULL);
#line 123 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (gitg_diff_view_get_new_is_workdir (self) != value) {
#line 4150 "gitg-diff-view.c"
		gboolean _tmp0_;
#line 123 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = value;
#line 123 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		self->priv->_new_is_workdir = _tmp0_;
#line 123 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_object_notify ((GObject *) self, "new-is-workdir");
#line 4158 "gitg-diff-view.c"
	}
}


gboolean gitg_diff_view_get_ignore_whitespace (GitgDiffView* self) {
	gboolean result;
	gboolean _tmp0_;
#line 152 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 152 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = gitg_diff_view_flag_get (self, GGIT_DIFF_IGNORE_WHITESPACE);
#line 152 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = _tmp0_;
#line 152 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 4174 "gitg-diff-view.c"
}


void gitg_diff_view_set_ignore_whitespace (GitgDiffView* self, gboolean value) {
#line 153 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (self != NULL);
#line 153 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (gitg_diff_view_get_ignore_whitespace (self) != value) {
#line 4183 "gitg-diff-view.c"
		gboolean _tmp0_;
#line 153 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = value;
#line 153 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gitg_diff_view_flag_set (self, GGIT_DIFF_IGNORE_WHITESPACE, _tmp0_);
#line 153 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_object_notify ((GObject *) self, "ignore-whitespace");
#line 4191 "gitg-diff-view.c"
	}
}


gboolean gitg_diff_view_get_changes_inline (GitgDiffView* self) {
	gboolean result;
	gboolean _tmp0_;
#line 158 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 158 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = self->priv->d_changes_inline;
#line 158 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = _tmp0_;
#line 158 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 4207 "gitg-diff-view.c"
}


void gitg_diff_view_set_changes_inline (GitgDiffView* self, gboolean value) {
#line 159 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (self != NULL);
#line 159 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (gitg_diff_view_get_changes_inline (self) != value) {
#line 4216 "gitg-diff-view.c"
		gboolean _tmp0_;
		gboolean _tmp1_;
#line 161 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = self->priv->d_changes_inline;
#line 161 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp1_ = value;
#line 161 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		if (_tmp0_ != _tmp1_) {
#line 4225 "gitg-diff-view.c"
			gboolean _tmp2_;
#line 163 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp2_ = value;
#line 163 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			self->priv->d_changes_inline = _tmp2_;
#line 4231 "gitg-diff-view.c"
		}
#line 159 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_object_notify ((GObject *) self, "changes-inline");
#line 4235 "gitg-diff-view.c"
	}
}


gint gitg_diff_view_get_context_lines (GitgDiffView* self) {
	gint result;
	GgitDiffOptions* _tmp0_;
	GgitDiffOptions* _tmp1_;
	gint _tmp2_;
	gint _tmp3_;
#line 173 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 173 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = gitg_diff_view_get_options (self);
#line 173 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp1_ = _tmp0_;
#line 173 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp2_ = ggit_diff_options_get_n_context_lines (_tmp1_);
#line 173 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp3_ = _tmp2_;
#line 173 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = _tmp3_;
#line 173 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 4260 "gitg-diff-view.c"
}


void gitg_diff_view_set_context_lines (GitgDiffView* self, gint value) {
#line 175 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_if_fail (self != NULL);
#line 175 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (gitg_diff_view_get_context_lines (self) != value) {
#line 4269 "gitg-diff-view.c"
		GgitDiffOptions* _tmp0_;
		GgitDiffOptions* _tmp1_;
		gint _tmp2_;
		gint _tmp3_;
		gint _tmp4_;
#line 177 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp0_ = gitg_diff_view_get_options (self);
#line 177 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp1_ = _tmp0_;
#line 177 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp2_ = ggit_diff_options_get_n_context_lines (_tmp1_);
#line 177 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp3_ = _tmp2_;
#line 177 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp4_ = value;
#line 177 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		if (_tmp3_ != _tmp4_) {
#line 4287 "gitg-diff-view.c"
			GgitDiffOptions* _tmp5_;
			GgitDiffOptions* _tmp6_;
			gint _tmp7_;
			GgitDiffOptions* _tmp8_;
			GgitDiffOptions* _tmp9_;
			gint _tmp10_;
#line 179 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp5_ = gitg_diff_view_get_options (self);
#line 179 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp6_ = _tmp5_;
#line 179 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp7_ = value;
#line 179 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			ggit_diff_options_set_n_context_lines (_tmp6_, _tmp7_);
#line 180 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp8_ = gitg_diff_view_get_options (self);
#line 180 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp9_ = _tmp8_;
#line 180 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			_tmp10_ = value;
#line 180 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			ggit_diff_options_set_n_interhunk_lines (_tmp9_, _tmp10_);
#line 182 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			g_signal_emit (self, gitg_diff_view_signals[GITG_DIFF_VIEW_OPTIONS_CHANGED_SIGNAL], 0);
#line 4312 "gitg-diff-view.c"
		}
#line 175 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_object_notify ((GObject *) self, "context-lines");
#line 4316 "gitg-diff-view.c"
	}
}


static void _vala_array_add2 (GitgPatchSet** * array, int* length, int* size, GitgPatchSet* value) {
#line 660 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if ((*length) == (*size)) {
#line 660 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 660 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		*array = g_renew (GitgPatchSet*, *array, (*size) + 1);
#line 4328 "gitg-diff-view.c"
	}
#line 660 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	(*array)[(*length)++] = value;
#line 660 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	(*array)[*length] = NULL;
#line 4334 "gitg-diff-view.c"
}


GitgPatchSet** gitg_diff_view_get_selection (GitgDiffView* self, int* result_length1) {
	GitgPatchSet** result;
	GitgPatchSet** ret;
	GitgPatchSet** _tmp0_;
	gint ret_length1;
	gint _ret_size_;
	GtkGrid* _tmp1_;
	GList* _tmp2_;
	GitgPatchSet** _tmp22_;
	gint _tmp22__length1;
#line 650 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 652 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = g_new0 (GitgPatchSet*, 0 + 1);
#line 652 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	ret = _tmp0_;
#line 652 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	ret_length1 = 0;
#line 652 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_ret_size_ = ret_length1;
#line 654 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp1_ = self->priv->d_grid_files;
#line 654 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp2_ = gtk_container_get_children ((GtkContainer*) _tmp1_);
#line 4362 "gitg-diff-view.c"
	{
		GList* file_collection = NULL;
		GList* file_it = NULL;
#line 654 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		file_collection = _tmp2_;
#line 654 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		for (file_it = file_collection; file_it != NULL; file_it = file_it->next) {
#line 4370 "gitg-diff-view.c"
			GtkWidget* file = NULL;
#line 654 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			file = (GtkWidget*) file_it->data;
#line 4374 "gitg-diff-view.c"
			{
				GitgDiffSelectable* sel;
				GtkWidget* _tmp3_;
				GitgDiffViewFileRenderer* _tmp4_;
				GitgDiffViewFileRenderer* _tmp5_;
				GitgDiffSelectable* _tmp6_;
				gboolean _tmp7_ = FALSE;
				gboolean _tmp8_ = FALSE;
				GitgDiffSelectable* _tmp9_;
#line 656 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp3_ = file;
#line 656 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp4_ = gitg_diff_view_file_get_renderer (G_TYPE_CHECK_INSTANCE_TYPE (_tmp3_, GITG_TYPE_DIFF_VIEW_FILE) ? ((GitgDiffViewFile*) _tmp3_) : NULL);
#line 656 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp5_ = _tmp4_;
#line 656 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp6_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, GITG_TYPE_DIFF_SELECTABLE) ? ((GitgDiffSelectable*) _tmp5_) : NULL;
#line 656 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				if (_tmp6_ == NULL) {
#line 656 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_g_object_unref0 (_tmp5_);
#line 4396 "gitg-diff-view.c"
				}
#line 656 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				sel = _tmp6_;
#line 658 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp9_ = sel;
#line 658 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				if (_tmp9_ != NULL) {
#line 4404 "gitg-diff-view.c"
					GitgDiffSelectable* _tmp10_;
					gboolean _tmp11_;
					gboolean _tmp12_;
#line 658 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp10_ = sel;
#line 658 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp11_ = gitg_diff_selectable_get_has_selection (_tmp10_);
#line 658 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp12_ = _tmp11_;
#line 658 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp8_ = _tmp12_;
#line 4416 "gitg-diff-view.c"
				} else {
#line 658 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp8_ = FALSE;
#line 4420 "gitg-diff-view.c"
				}
#line 658 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				if (_tmp8_) {
#line 4424 "gitg-diff-view.c"
					GitgDiffSelectable* _tmp13_;
					GitgPatchSet* _tmp14_;
					GitgPatchSet* _tmp15_;
					GitgPatchSet* _tmp16_;
					GitgPatchSetPatch* _tmp17_;
					gint _tmp17__length1;
#line 658 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp13_ = sel;
#line 658 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp14_ = gitg_diff_selectable_get_selection (_tmp13_);
#line 658 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp15_ = _tmp14_;
#line 658 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp16_ = _tmp15_;
#line 658 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp17_ = _tmp16_->patches;
#line 658 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp17__length1 = _tmp16_->patches_length1;
#line 658 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp7_ = _tmp17__length1 != 0;
#line 658 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_gitg_patch_set_unref0 (_tmp16_);
#line 4447 "gitg-diff-view.c"
				} else {
#line 658 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp7_ = FALSE;
#line 4451 "gitg-diff-view.c"
				}
#line 658 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				if (_tmp7_) {
#line 4455 "gitg-diff-view.c"
					GitgPatchSet** _tmp18_;
					gint _tmp18__length1;
					GitgDiffSelectable* _tmp19_;
					GitgPatchSet* _tmp20_;
					GitgPatchSet* _tmp21_;
#line 660 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp18_ = ret;
#line 660 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp18__length1 = ret_length1;
#line 660 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp19_ = sel;
#line 660 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp20_ = gitg_diff_selectable_get_selection (_tmp19_);
#line 660 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_tmp21_ = _tmp20_;
#line 660 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					_vala_array_add2 (&ret, &ret_length1, &_ret_size_, _tmp21_);
#line 4473 "gitg-diff-view.c"
				}
#line 654 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_g_object_unref0 (sel);
#line 4477 "gitg-diff-view.c"
			}
		}
#line 654 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_list_free0 (file_collection);
#line 4482 "gitg-diff-view.c"
	}
#line 664 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp22_ = ret;
#line 664 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp22__length1 = ret_length1;
#line 664 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (result_length1) {
#line 664 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		*result_length1 = _tmp22__length1;
#line 4492 "gitg-diff-view.c"
	}
#line 664 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	result = _tmp22_;
#line 664 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	return result;
#line 4498 "gitg-diff-view.c"
}


static void gitg_diff_view_real_options_changed (GitgDiffView* self) {
	GitgCommit* _tmp0_;
#line 107 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = self->priv->d_commit;
#line 107 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (_tmp0_ != NULL) {
#line 109 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gitg_diff_view_update (self, TRUE);
#line 4510 "gitg-diff-view.c"
	}
}


static void gitg_diff_view_class_init (GitgDiffViewClass * klass) {
	gint GitgDiffView_private_offset;
	GeeHashSet* _tmp0_;
	GSList* _tmp1_;
	GError * _inner_error_ = NULL;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gitg_diff_view_parent_class = g_type_class_peek_parent (klass);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_type_class_add_private (klass, sizeof (GitgDiffViewPrivate));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	((GObjectClass *) klass)->constructed = gitg_diff_view_real_constructed;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	((GObjectClass *) klass)->dispose = gitg_diff_view_real_dispose;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	((GitgDiffViewClass *) klass)->options_changed = gitg_diff_view_real_options_changed;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_diff_view_get_property;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_diff_view_set_property;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_diff_view_finalize;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_OPTIONS, g_param_spec_object ("options", "options", "options", ggit_diff_options_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.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_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.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_DIFF, g_param_spec_object ("diff", "diff", "diff", ggit_diff_get_type (), 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.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_COMMIT, g_param_spec_object ("commit", "commit", "commit", GITG_TYPE_COMMIT, 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.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_WRAP_LINES, g_param_spec_boolean ("wrap-lines", "wrap-lines", "wrap-lines", 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.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_STAGED, g_param_spec_boolean ("staged", "staged", "staged", 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.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_UNSTAGED, g_param_spec_boolean ("unstaged", "unstaged", "unstaged", 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.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_SHOW_PARENTS, g_param_spec_boolean ("show-parents", "show-parents", "show-parents", 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.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_DEFAULT_COLLAPSE_ALL, g_param_spec_boolean ("default-collapse-all", "default-collapse-all", "default-collapse-all", 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.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_USE_GRAVATAR, g_param_spec_boolean ("use-gravatar", "use-gravatar", "use-gravatar", 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.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_TAB_WIDTH, g_param_spec_int ("tab-width", "tab-width", "tab-width", G_MININT, G_MAXINT, 4, 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.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_HANDLE_SELECTION, g_param_spec_boolean ("handle-selection", "handle-selection", "handle-selection", 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.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_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.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_REPOSITORY, g_param_spec_object ("repository", "repository", "repository", GITG_TYPE_REPOSITORY, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_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));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_IGNORE_WHITESPACE, g_param_spec_boolean ("ignore-whitespace", "ignore-whitespace", "ignore-whitespace", 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.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_CHANGES_INLINE, g_param_spec_boolean ("changes-inline", "changes-inline", "changes-inline", 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.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_CONTEXT_LINES, g_param_spec_int ("context-lines", "context-lines", "context-lines", G_MININT, G_MAXINT, 3, 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.vala"
	GitgDiffView_private_offset = g_type_class_get_instance_private_offset (klass);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/gitg/ui/gitg-diff-view.ui");
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gitg_diff_view_signals[GITG_DIFF_VIEW_OPTIONS_CHANGED_SIGNAL] = g_signal_new ("options_changed", GITG_TYPE_DIFF_VIEW, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GitgDiffViewClass, options_changed), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "commit_details", FALSE, GitgDiffView_private_offset + G_STRUCT_OFFSET (GitgDiffViewPrivate, d_commit_details));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "scrolledwindow", FALSE, GitgDiffView_private_offset + G_STRUCT_OFFSET (GitgDiffViewPrivate, d_scrolledwindow));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "grid_files", FALSE, GitgDiffView_private_offset + G_STRUCT_OFFSET (GitgDiffViewPrivate, d_grid_files));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "event_box", FALSE, GitgDiffView_private_offset + G_STRUCT_OFFSET (GitgDiffViewPrivate, d_event_box));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "revealer_options", FALSE, GitgDiffView_private_offset + G_STRUCT_OFFSET (GitgDiffViewPrivate, d_revealer_options));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "diff_view_options", FALSE, GitgDiffView_private_offset + G_STRUCT_OFFSET (GitgDiffViewPrivate, d_diff_view_options));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "text_view_message", FALSE, GitgDiffView_private_offset + G_STRUCT_OFFSET (GitgDiffViewPrivate, d_text_view_message));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "leave_notify_event_on_event_box", G_CALLBACK(_gitg_diff_view_leave_notify_event_on_event_box_gtk_widget_leave_notify_event));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "enter_notify_event_on_event_box", G_CALLBACK(_gitg_diff_view_enter_notify_event_on_event_box_gtk_widget_enter_notify_event));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "motion_notify_event_on_event_box", G_CALLBACK(_gitg_diff_view_motion_notify_event_on_event_box_gtk_widget_motion_notify_event));
#line 229 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp0_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL, NULL, NULL, NULL);
#line 229 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_object_unref0 (gitg_diff_view_s_image_mime_types);
#line 229 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gitg_diff_view_s_image_mime_types = _tmp0_;
#line 231 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_tmp1_ = gdk_pixbuf_get_formats ();
#line 4606 "gitg-diff-view.c"
	{
		GSList* format_collection = NULL;
		GSList* format_it = NULL;
#line 231 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		format_collection = _tmp1_;
#line 231 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		for (format_it = format_collection; format_it != NULL; format_it = format_it->next) {
#line 4614 "gitg-diff-view.c"
			GdkPixbufFormat* format = NULL;
#line 231 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
			format = (GdkPixbufFormat*) format_it->data;
#line 4618 "gitg-diff-view.c"
			{
				GdkPixbufFormat* _tmp2_;
				gchar** _tmp3_;
				gchar** _tmp4_;
#line 233 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp2_ = format;
#line 233 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
				_tmp4_ = _tmp3_ = gdk_pixbuf_format_get_mime_types (_tmp2_);
#line 4627 "gitg-diff-view.c"
				{
					gchar** mime_type_collection = NULL;
					gint mime_type_collection_length1 = 0;
					gint _mime_type_collection_size_ = 0;
					gint mime_type_it = 0;
#line 233 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					mime_type_collection = _tmp4_;
#line 233 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					mime_type_collection_length1 = _vala_array_length (_tmp3_);
#line 233 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					for (mime_type_it = 0; mime_type_it < _vala_array_length (_tmp3_); mime_type_it = mime_type_it + 1) {
#line 4639 "gitg-diff-view.c"
						gchar* _tmp5_;
						gchar* mime_type = NULL;
#line 233 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						_tmp5_ = g_strdup (mime_type_collection[mime_type_it]);
#line 233 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
						mime_type = _tmp5_;
#line 4646 "gitg-diff-view.c"
						{
							GeeHashSet* _tmp6_;
							const gchar* _tmp7_;
#line 235 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
							_tmp6_ = gitg_diff_view_s_image_mime_types;
#line 235 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
							_tmp7_ = mime_type;
#line 235 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
							gee_abstract_collection_add ((GeeAbstractCollection*) _tmp6_, _tmp7_);
#line 233 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
							_g_free0 (mime_type);
#line 4658 "gitg-diff-view.c"
						}
					}
#line 233 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
					mime_type_collection = (_vala_array_free (mime_type_collection, mime_type_collection_length1, (GDestroyNotify) g_free), NULL);
#line 4663 "gitg-diff-view.c"
				}
			}
		}
#line 231 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_slist_free0 (format_collection);
#line 4669 "gitg-diff-view.c"
	}
	{
		GRegex* _tmp8_;
		GRegex* _tmp9_;
		GRegex* _tmp10_;
#line 241 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp9_ = g_regex_new (".*[\\R\\s]*(?P<message>(?:.|\\R)*?)\\s*$", 0, 0, &_inner_error_);
#line 241 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp8_ = _tmp9_;
#line 241 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4681 "gitg-diff-view.c"
			goto __catch34_g_error;
		}
#line 241 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp10_ = _tmp8_;
#line 241 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp8_ = NULL;
#line 241 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_regex_unref0 (gitg_diff_view_s_message_regexp);
#line 241 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gitg_diff_view_s_message_regexp = _tmp10_;
#line 239 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_regex_unref0 (_tmp8_);
#line 4694 "gitg-diff-view.c"
	}
	goto __finally34;
	__catch34_g_error:
	{
		GError* e = NULL;
		FILE* _tmp11_;
		GError* _tmp12_;
		const gchar* _tmp13_;
		const gchar* _tmp14_;
		gchar* _tmp15_;
		gchar* _tmp16_;
#line 239 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		e = _inner_error_;
#line 239 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_inner_error_ = NULL;
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp11_ = stderr;
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp12_ = e;
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp13_ = _tmp12_->message;
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp14_ = string_to_string (_tmp13_);
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp15_ = g_strconcat ("Failed to compile regex: ", _tmp14_, "\n", NULL);
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_tmp16_ = _tmp15_;
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		fprintf (_tmp11_, "%s", _tmp16_);
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_free0 (_tmp16_);
#line 239 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		_g_error_free0 (e);
#line 4728 "gitg-diff-view.c"
	}
	__finally34:
#line 239 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 239 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.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 239 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_clear_error (&_inner_error_);
#line 4737 "gitg-diff-view.c"
	}
}


static void gitg_diff_view_instance_init (GitgDiffView * self) {
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	self->priv = GITG_DIFF_VIEW_GET_PRIVATE (self);
#line 113 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	self->priv->_wrap_lines = TRUE;
#line 114 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	self->priv->_staged = FALSE;
#line 115 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	self->priv->_unstaged = FALSE;
#line 116 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	self->priv->_show_parents = FALSE;
#line 117 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	self->priv->_default_collapse_all = TRUE;
#line 118 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	self->priv->_use_gravatar = TRUE;
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	self->priv->_tab_width = 4;
#line 120 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	self->priv->_handle_selection = FALSE;
#line 121 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	self->priv->_highlight = TRUE;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_type_ensure (GITG_TYPE_DIFF_VIEW_OPTIONS);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	g_type_ensure (GITG_TYPE_DIFF_VIEW_COMMIT_DETAILS);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	gtk_widget_init_template (GTK_WIDGET (self));
#line 4769 "gitg-diff-view.c"
}


static void gitg_diff_view_finalize (GObject * obj) {
	GitgDiffView * self;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_DIFF_VIEW, GitgDiffView);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_object_unref0 (self->priv->d_commit_details);
#line 27 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_object_unref0 (self->priv->d_scrolledwindow);
#line 30 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_object_unref0 (self->priv->d_grid_files);
#line 33 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_object_unref0 (self->priv->d_event_box);
#line 36 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_object_unref0 (self->priv->d_revealer_options);
#line 39 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_object_unref0 (self->priv->d_diff_view_options);
#line 42 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_object_unref0 (self->priv->d_text_view_message);
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_object_unref0 (self->priv->d_diff);
#line 45 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_object_unref0 (self->priv->d_commit);
#line 46 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_object_unref0 (self->priv->d_options);
#line 47 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_object_unref0 (self->priv->d_cancellable);
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	_g_object_unref0 (self->priv->_repository);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	G_OBJECT_CLASS (gitg_diff_view_parent_class)->finalize (obj);
#line 4803 "gitg-diff-view.c"
}


GType gitg_diff_view_get_type (void) {
	static volatile gsize gitg_diff_view_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_diff_view_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgDiffViewClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_diff_view_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgDiffView), 0, (GInstanceInitFunc) gitg_diff_view_instance_init, NULL };
		GType gitg_diff_view_type_id;
		gitg_diff_view_type_id = g_type_register_static (gtk_grid_get_type (), "GitgDiffView", &g_define_type_info, 0);
		g_once_init_leave (&gitg_diff_view_type_id__volatile, gitg_diff_view_type_id);
	}
	return gitg_diff_view_type_id__volatile;
}


static void _vala_gitg_diff_view_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GitgDiffView * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_DIFF_VIEW, GitgDiffView);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	switch (property_id) {
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_OPTIONS:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_value_set_object (value, gitg_diff_view_get_options (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_HAS_SELECTION:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_value_set_boolean (value, gitg_diff_view_get_has_selection (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_DIFF:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_value_set_object (value, gitg_diff_view_get_diff (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_COMMIT:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_value_set_object (value, gitg_diff_view_get_commit (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_WRAP_LINES:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_value_set_boolean (value, gitg_diff_view_get_wrap_lines (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_STAGED:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_value_set_boolean (value, gitg_diff_view_get_staged (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_UNSTAGED:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_value_set_boolean (value, gitg_diff_view_get_unstaged (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_SHOW_PARENTS:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_value_set_boolean (value, gitg_diff_view_get_show_parents (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_DEFAULT_COLLAPSE_ALL:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_value_set_boolean (value, gitg_diff_view_get_default_collapse_all (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_USE_GRAVATAR:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_value_set_boolean (value, gitg_diff_view_get_use_gravatar (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_TAB_WIDTH:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_value_set_int (value, gitg_diff_view_get_tab_width (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_HANDLE_SELECTION:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_value_set_boolean (value, gitg_diff_view_get_handle_selection (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_HIGHLIGHT:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_value_set_boolean (value, gitg_diff_view_get_highlight (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_REPOSITORY:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_value_set_object (value, gitg_diff_view_get_repository (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_NEW_IS_WORKDIR:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_value_set_boolean (value, gitg_diff_view_get_new_is_workdir (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_IGNORE_WHITESPACE:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_value_set_boolean (value, gitg_diff_view_get_ignore_whitespace (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_CHANGES_INLINE:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_value_set_boolean (value, gitg_diff_view_get_changes_inline (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_CONTEXT_LINES:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		g_value_set_int (value, gitg_diff_view_get_context_lines (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 4932 "gitg-diff-view.c"
		default:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 4938 "gitg-diff-view.c"
	}
}


static void _vala_gitg_diff_view_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	GitgDiffView * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_DIFF_VIEW, GitgDiffView);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
	switch (property_id) {
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_HAS_SELECTION:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gitg_diff_view_set_has_selection (self, g_value_get_boolean (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_DIFF:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gitg_diff_view_set_diff (self, g_value_get_object (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_COMMIT:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gitg_diff_view_set_commit (self, g_value_get_object (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_WRAP_LINES:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gitg_diff_view_set_wrap_lines (self, g_value_get_boolean (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_STAGED:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gitg_diff_view_set_staged (self, g_value_get_boolean (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_UNSTAGED:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gitg_diff_view_set_unstaged (self, g_value_get_boolean (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_SHOW_PARENTS:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gitg_diff_view_set_show_parents (self, g_value_get_boolean (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_DEFAULT_COLLAPSE_ALL:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gitg_diff_view_set_default_collapse_all (self, g_value_get_boolean (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_USE_GRAVATAR:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gitg_diff_view_set_use_gravatar (self, g_value_get_boolean (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_TAB_WIDTH:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gitg_diff_view_set_tab_width (self, g_value_get_int (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_HANDLE_SELECTION:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gitg_diff_view_set_handle_selection (self, g_value_get_boolean (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_HIGHLIGHT:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gitg_diff_view_set_highlight (self, g_value_get_boolean (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_REPOSITORY:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gitg_diff_view_set_repository (self, g_value_get_object (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_NEW_IS_WORKDIR:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gitg_diff_view_set_new_is_workdir (self, g_value_get_boolean (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_IGNORE_WHITESPACE:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gitg_diff_view_set_ignore_whitespace (self, g_value_get_boolean (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_CHANGES_INLINE:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gitg_diff_view_set_changes_inline (self, g_value_get_boolean (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		case GITG_DIFF_VIEW_CONTEXT_LINES:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		gitg_diff_view_set_context_lines (self, g_value_get_int (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 5050 "gitg-diff-view.c"
		default:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view.vala"
		break;
#line 5056 "gitg-diff-view.c"
	}
}


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


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


static gint _vala_array_length (gpointer array) {
	int length;
	length = 0;
	if (array) {
		while (((gpointer*) array)[length]) {
			length++;
		}
	}
	return length;
}



