/* gitg-diff-view-file.c generated by valac 0.35.5.2-9e6c0, the Vala compiler
 * generated from gitg-diff-view-file.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 <gtksourceview/gtksource.h>
#include <gee.h>
#include <stdlib.h>
#include <string.h>
#include <gdk/gdk.h>
#include <gio/gio.h>
#include <glib/gi18n-lib.h>
#include <stdio.h>


#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;
typedef struct _GitgDiffViewFilePrivate GitgDiffViewFilePrivate;

#define GITG_TYPE_DIFF_STAT (gitg_diff_stat_get_type ())
#define GITG_DIFF_STAT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_DIFF_STAT, GitgDiffStat))
#define GITG_DIFF_STAT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_DIFF_STAT, GitgDiffStatClass))
#define GITG_IS_DIFF_STAT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_DIFF_STAT))
#define GITG_IS_DIFF_STAT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_DIFF_STAT))
#define GITG_DIFF_STAT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_DIFF_STAT, GitgDiffStatClass))

typedef struct _GitgDiffStat GitgDiffStat;
typedef struct _GitgDiffStatClass GitgDiffStatClass;

#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 _ggit_diff_delta_unref0(var) ((var == NULL) ? NULL : (var = (ggit_diff_delta_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;

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

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

typedef struct _GitgDiffViewFileRenderer GitgDiffViewFileRenderer;
typedef struct _GitgDiffViewFileRendererIface GitgDiffViewFileRendererIface;

#define GITG_TYPE_DIFF_VIEW_FILE_RENDERER_BINARY (gitg_diff_view_file_renderer_binary_get_type ())
#define GITG_DIFF_VIEW_FILE_RENDERER_BINARY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_DIFF_VIEW_FILE_RENDERER_BINARY, GitgDiffViewFileRendererBinary))
#define GITG_DIFF_VIEW_FILE_RENDERER_BINARY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_DIFF_VIEW_FILE_RENDERER_BINARY, GitgDiffViewFileRendererBinaryClass))
#define GITG_IS_DIFF_VIEW_FILE_RENDERER_BINARY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_DIFF_VIEW_FILE_RENDERER_BINARY))
#define GITG_IS_DIFF_VIEW_FILE_RENDERER_BINARY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_DIFF_VIEW_FILE_RENDERER_BINARY))
#define GITG_DIFF_VIEW_FILE_RENDERER_BINARY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_DIFF_VIEW_FILE_RENDERER_BINARY, GitgDiffViewFileRendererBinaryClass))

typedef struct _GitgDiffViewFileRendererBinary GitgDiffViewFileRendererBinary;
typedef struct _GitgDiffViewFileRendererBinaryClass GitgDiffViewFileRendererBinaryClass;

#define GITG_TYPE_DIFF_VIEW_FILE_RENDERER_IMAGE (gitg_diff_view_file_renderer_image_get_type ())
#define GITG_DIFF_VIEW_FILE_RENDERER_IMAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_DIFF_VIEW_FILE_RENDERER_IMAGE, GitgDiffViewFileRendererImage))
#define GITG_DIFF_VIEW_FILE_RENDERER_IMAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_DIFF_VIEW_FILE_RENDERER_IMAGE, GitgDiffViewFileRendererImageClass))
#define GITG_IS_DIFF_VIEW_FILE_RENDERER_IMAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_DIFF_VIEW_FILE_RENDERER_IMAGE))
#define GITG_IS_DIFF_VIEW_FILE_RENDERER_IMAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_DIFF_VIEW_FILE_RENDERER_IMAGE))
#define GITG_DIFF_VIEW_FILE_RENDERER_IMAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_DIFF_VIEW_FILE_RENDERER_IMAGE, GitgDiffViewFileRendererImageClass))

typedef struct _GitgDiffViewFileRendererImage GitgDiffViewFileRendererImage;
typedef struct _GitgDiffViewFileRendererImageClass GitgDiffViewFileRendererImageClass;
#define _g_free0(var) (var = (g_free (var), NULL))
#define _ggit_diff_file_unref0(var) ((var == NULL) ? NULL : (var = (ggit_diff_file_unref (var), NULL)))
typedef struct _Block9Data Block9Data;
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))

struct _GitgDiffViewFile {
	GtkGrid parent_instance;
	GitgDiffViewFilePrivate * priv;
};

struct _GitgDiffViewFileClass {
	GtkGridClass parent_class;
};

struct _GitgDiffViewFilePrivate {
	GtkExpander* d_expander;
	GtkLabel* d_label_file_header;
	GitgDiffStat* d_diff_stat_file;
	GtkRevealer* d_revealer_content;
	gboolean d_expanded;
	GBinding* d_vexpand_binding;
	gboolean _new_is_workdir;
	GgitDiffDelta* _delta;
	GitgRepository* _repository;
};

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

struct _Block9Data {
	int _ref_count_;
	GitgDiffViewFile* self;
	GFile* location;
};


static gpointer gitg_diff_view_file_parent_class = NULL;

GType gitg_diff_view_file_get_type (void) G_GNUC_CONST;
GType gitg_diff_stat_get_type (void) G_GNUC_CONST;
GType gitg_repository_get_type (void) G_GNUC_CONST;
#define GITG_DIFF_VIEW_FILE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_TYPE_DIFF_VIEW_FILE, GitgDiffViewFilePrivate))
enum  {
	GITG_DIFF_VIEW_FILE_DUMMY_PROPERTY,
	GITG_DIFF_VIEW_FILE_RENDERER,
	GITG_DIFF_VIEW_FILE_NEW_IS_WORKDIR,
	GITG_DIFF_VIEW_FILE_EXPANDED,
	GITG_DIFF_VIEW_FILE_DELTA,
	GITG_DIFF_VIEW_FILE_REPOSITORY
};
GitgDiffViewFile* gitg_diff_view_file_new (GitgRepository* repository, GgitDiffDelta* delta);
GitgDiffViewFile* gitg_diff_view_file_construct (GType object_type, GitgRepository* repository, GgitDiffDelta* delta);
GType gitg_diff_view_file_info_get_type (void) G_GNUC_CONST;
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);
GitgRepository* gitg_diff_view_file_info_get_repository (GitgDiffViewFileInfo* self);
GgitDiffDelta* gitg_diff_view_file_info_get_delta (GitgDiffViewFileInfo* self);
GitgDiffViewFileRendererText* gitg_diff_view_file_renderer_text_new (GitgDiffViewFileInfo* info, gboolean can_select);
GitgDiffViewFileRendererText* gitg_diff_view_file_renderer_text_construct (GType object_type, GitgDiffViewFileInfo* info, gboolean can_select);
GType gitg_diff_view_file_renderer_text_get_type (void) G_GNUC_CONST;
GType gitg_diff_view_file_renderer_get_type (void) G_GNUC_CONST;
void gitg_diff_view_file_set_renderer (GitgDiffViewFile* self, GitgDiffViewFileRenderer* value);
GitgDiffViewFileRenderer* gitg_diff_view_file_get_renderer (GitgDiffViewFile* self);
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);
GitgDiffViewFileRendererBinary* gitg_diff_view_file_renderer_binary_new (void);
GitgDiffViewFileRendererBinary* gitg_diff_view_file_renderer_binary_construct (GType object_type);
GType gitg_diff_view_file_renderer_binary_get_type (void) G_GNUC_CONST;
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);
GitgDiffViewFileRendererImage* gitg_diff_view_file_renderer_image_new (GitgRepository* repository, GgitDiffDelta* delta);
GitgDiffViewFileRendererImage* gitg_diff_view_file_renderer_image_construct (GType object_type, GitgRepository* repository, GgitDiffDelta* delta);
GType gitg_diff_view_file_renderer_image_get_type (void) G_GNUC_CONST;
static void gitg_diff_view_file_real_constructed (GObject* base);
GgitDiffDelta* gitg_diff_view_file_get_delta (GitgDiffViewFile* self);
GitgRepository* gitg_diff_view_file_get_repository (GitgDiffViewFile* self);
static gboolean gitg_diff_view_file_expander_popup_menu (GitgDiffViewFile* self, GtkWidget* widget);
static gboolean _gitg_diff_view_file_expander_popup_menu_gtk_widget_popup_menu (GtkWidget* _sender, gpointer self);
static gboolean gitg_diff_view_file_expander_button_press_event (GitgDiffViewFile* self, GtkWidget* widget, GdkEventButton* event);
static gboolean _gitg_diff_view_file_expander_button_press_event_gtk_widget_button_press_event (GtkWidget* _sender, GdkEventButton* event, gpointer self);
static void gitg_diff_view_file_show_popup (GitgDiffViewFile* self, GdkEventButton* event);
static Block9Data* block9_data_ref (Block9Data* _data9_);
static void block9_data_unref (void * _userdata_);
static void __lambda54_ (Block9Data* _data9_);
static void ___lambda54__gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self);
static void __lambda55_ (Block9Data* _data9_);
static void ___lambda55__gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self);
static void __lambda56_ (Block9Data* _data9_);
static void ___lambda56__gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self);
void gitg_diff_view_file_add_hunk (GitgDiffViewFile* self, GgitDiffHunk* hunk, GeeArrayList* lines);
void gitg_diff_view_file_renderer_add_hunk (GitgDiffViewFileRenderer* self, GgitDiffHunk* hunk, GeeArrayList* lines);
gboolean gitg_diff_view_file_get_new_is_workdir (GitgDiffViewFile* self);
void gitg_diff_view_file_set_new_is_workdir (GitgDiffViewFile* self, gboolean value);
gboolean gitg_diff_view_file_get_expanded (GitgDiffViewFile* self);
void gitg_diff_view_file_set_expanded (GitgDiffViewFile* self, gboolean value);
void gitg_diff_view_file_set_delta (GitgDiffViewFile* self, GgitDiffDelta* value);
void gitg_diff_view_file_set_repository (GitgDiffViewFile* self, GitgRepository* value);
static void gitg_diff_view_file_finalize (GObject * obj);
static void _vala_gitg_diff_view_file_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_gitg_diff_view_file_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);


GitgDiffViewFile* gitg_diff_view_file_construct (GType object_type, GitgRepository* repository, GgitDiffDelta* delta) {
	GitgDiffViewFile * self = NULL;
	GitgRepository* _tmp0_;
	GgitDiffDelta* _tmp1_;
#line 102 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_return_val_if_fail (delta != NULL, NULL);
#line 104 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp0_ = repository;
#line 104 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp1_ = delta;
#line 104 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	self = (GitgDiffViewFile*) g_object_new (object_type, "repository", _tmp0_, "delta", _tmp1_, NULL);
#line 102 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	return self;
#line 236 "gitg-diff-view-file.c"
}


GitgDiffViewFile* gitg_diff_view_file_new (GitgRepository* repository, GgitDiffDelta* delta) {
#line 102 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	return gitg_diff_view_file_construct (GITG_TYPE_DIFF_VIEW_FILE, repository, delta);
#line 243 "gitg-diff-view-file.c"
}


GitgDiffViewFile* gitg_diff_view_file_construct_text (GType object_type, GitgDiffViewFileInfo* info, gboolean handle_selection) {
	GitgDiffViewFile * self = NULL;
	GitgDiffViewFileInfo* _tmp0_;
	GitgRepository* _tmp1_;
	GitgRepository* _tmp2_;
	GitgDiffViewFileInfo* _tmp3_;
	GgitDiffDelta* _tmp4_;
	GgitDiffDelta* _tmp5_;
	GitgDiffViewFileInfo* _tmp6_;
	gboolean _tmp7_;
	GitgDiffViewFileRendererText* _tmp8_;
	GitgDiffViewFileRendererText* _tmp9_;
	GitgDiffViewFileRenderer* _tmp10_;
	GitgDiffViewFileRenderer* _tmp11_;
	GitgDiffViewFileRenderer* _tmp12_;
	GitgDiffViewFileRenderer* _tmp13_;
	GitgDiffViewFileRenderer* _tmp14_;
	GitgDiffViewFileRenderer* _tmp15_;
	GitgDiffStat* _tmp16_;
	GitgDiffViewFileRenderer* _tmp17_;
	GitgDiffViewFileRenderer* _tmp18_;
	GitgDiffViewFileRenderer* _tmp19_;
	GitgDiffStat* _tmp20_;
#line 107 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_return_val_if_fail (info != NULL, NULL);
#line 109 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp0_ = info;
#line 109 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp1_ = gitg_diff_view_file_info_get_repository (_tmp0_);
#line 109 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp2_ = _tmp1_;
#line 109 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp3_ = info;
#line 109 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp4_ = gitg_diff_view_file_info_get_delta (_tmp3_);
#line 109 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp5_ = _tmp4_;
#line 109 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	self = (GitgDiffViewFile*) gitg_diff_view_file_construct (object_type, _tmp2_, _tmp5_);
#line 111 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp6_ = info;
#line 111 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp7_ = handle_selection;
#line 111 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp8_ = gitg_diff_view_file_renderer_text_new (_tmp6_, _tmp7_);
#line 111 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_object_ref_sink (_tmp8_);
#line 111 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp9_ = _tmp8_;
#line 111 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	gitg_diff_view_file_set_renderer (self, (GitgDiffViewFileRenderer*) _tmp9_);
#line 111 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_g_object_unref0 (_tmp9_);
#line 112 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp10_ = gitg_diff_view_file_get_renderer (self);
#line 112 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp11_ = _tmp10_;
#line 112 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp12_ = _tmp11_;
#line 112 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	gtk_widget_show ((GtkWidget*) _tmp12_);
#line 112 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_g_object_unref0 (_tmp12_);
#line 114 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp13_ = gitg_diff_view_file_get_renderer (self);
#line 114 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp14_ = _tmp13_;
#line 114 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp15_ = _tmp14_;
#line 114 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp16_ = self->priv->d_diff_stat_file;
#line 114 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp15_, "added", (GObject*) _tmp16_, "added", G_BINDING_DEFAULT, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 114 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_g_object_unref0 (_tmp15_);
#line 115 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp17_ = gitg_diff_view_file_get_renderer (self);
#line 115 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp18_ = _tmp17_;
#line 115 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp19_ = _tmp18_;
#line 115 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp20_ = self->priv->d_diff_stat_file;
#line 115 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp19_, "removed", (GObject*) _tmp20_, "removed", G_BINDING_DEFAULT, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 115 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_g_object_unref0 (_tmp19_);
#line 107 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	return self;
#line 336 "gitg-diff-view-file.c"
}


GitgDiffViewFile* gitg_diff_view_file_new_text (GitgDiffViewFileInfo* info, gboolean handle_selection) {
#line 107 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	return gitg_diff_view_file_construct_text (GITG_TYPE_DIFF_VIEW_FILE, info, handle_selection);
#line 343 "gitg-diff-view-file.c"
}


GitgDiffViewFile* gitg_diff_view_file_construct_binary (GType object_type, GitgRepository* repository, GgitDiffDelta* delta) {
	GitgDiffViewFile * self = NULL;
	GitgRepository* _tmp0_;
	GgitDiffDelta* _tmp1_;
	GitgDiffViewFileRendererBinary* _tmp2_;
	GitgDiffViewFileRendererBinary* _tmp3_;
	GitgDiffViewFileRenderer* _tmp4_;
	GitgDiffViewFileRenderer* _tmp5_;
	GitgDiffViewFileRenderer* _tmp6_;
	GitgDiffStat* _tmp7_;
#line 118 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_return_val_if_fail (delta != NULL, NULL);
#line 120 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp0_ = repository;
#line 120 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp1_ = delta;
#line 120 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	self = (GitgDiffViewFile*) gitg_diff_view_file_construct (object_type, _tmp0_, _tmp1_);
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp2_ = gitg_diff_view_file_renderer_binary_new ();
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_object_ref_sink (_tmp2_);
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp3_ = _tmp2_;
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	gitg_diff_view_file_set_renderer (self, (GitgDiffViewFileRenderer*) _tmp3_);
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_g_object_unref0 (_tmp3_);
#line 123 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp4_ = gitg_diff_view_file_get_renderer (self);
#line 123 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp5_ = _tmp4_;
#line 123 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp6_ = _tmp5_;
#line 123 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	gtk_widget_show ((GtkWidget*) _tmp6_);
#line 123 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_g_object_unref0 (_tmp6_);
#line 125 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp7_ = self->priv->d_diff_stat_file;
#line 125 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	gtk_widget_hide ((GtkWidget*) _tmp7_);
#line 118 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	return self;
#line 391 "gitg-diff-view-file.c"
}


GitgDiffViewFile* gitg_diff_view_file_new_binary (GitgRepository* repository, GgitDiffDelta* delta) {
#line 118 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	return gitg_diff_view_file_construct_binary (GITG_TYPE_DIFF_VIEW_FILE, repository, delta);
#line 398 "gitg-diff-view-file.c"
}


GitgDiffViewFile* gitg_diff_view_file_construct_image (GType object_type, GitgRepository* repository, GgitDiffDelta* delta) {
	GitgDiffViewFile * self = NULL;
	GitgRepository* _tmp0_;
	GgitDiffDelta* _tmp1_;
	GitgRepository* _tmp2_;
	GgitDiffDelta* _tmp3_;
	GitgDiffViewFileRendererImage* _tmp4_;
	GitgDiffViewFileRendererImage* _tmp5_;
	GitgDiffViewFileRenderer* _tmp6_;
	GitgDiffViewFileRenderer* _tmp7_;
	GitgDiffViewFileRenderer* _tmp8_;
	GitgDiffStat* _tmp9_;
#line 128 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_return_val_if_fail (delta != NULL, NULL);
#line 130 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp0_ = repository;
#line 130 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp1_ = delta;
#line 130 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	self = (GitgDiffViewFile*) gitg_diff_view_file_construct (object_type, _tmp0_, _tmp1_);
#line 132 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp2_ = repository;
#line 132 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp3_ = delta;
#line 132 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp4_ = gitg_diff_view_file_renderer_image_new (_tmp2_, _tmp3_);
#line 132 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_object_ref_sink (_tmp4_);
#line 132 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp5_ = _tmp4_;
#line 132 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	gitg_diff_view_file_set_renderer (self, (GitgDiffViewFileRenderer*) _tmp5_);
#line 132 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_g_object_unref0 (_tmp5_);
#line 133 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp6_ = gitg_diff_view_file_get_renderer (self);
#line 133 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp7_ = _tmp6_;
#line 133 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp8_ = _tmp7_;
#line 133 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	gtk_widget_show ((GtkWidget*) _tmp8_);
#line 133 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_g_object_unref0 (_tmp8_);
#line 135 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp9_ = self->priv->d_diff_stat_file;
#line 135 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	gtk_widget_hide ((GtkWidget*) _tmp9_);
#line 128 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	return self;
#line 452 "gitg-diff-view-file.c"
}


GitgDiffViewFile* gitg_diff_view_file_new_image (GitgRepository* repository, GgitDiffDelta* delta) {
#line 128 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	return gitg_diff_view_file_construct_image (GITG_TYPE_DIFF_VIEW_FILE, repository, delta);
#line 459 "gitg-diff-view-file.c"
}


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


static gboolean _gitg_diff_view_file_expander_popup_menu_gtk_widget_popup_menu (GtkWidget* _sender, gpointer self) {
	gboolean result;
	result = gitg_diff_view_file_expander_popup_menu ((GitgDiffViewFile*) self, _sender);
#line 165 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	return result;
#line 487 "gitg-diff-view-file.c"
}


static gboolean _gitg_diff_view_file_expander_button_press_event_gtk_widget_button_press_event (GtkWidget* _sender, GdkEventButton* event, gpointer self) {
	gboolean result;
	result = gitg_diff_view_file_expander_button_press_event ((GitgDiffViewFile*) self, _sender, event);
#line 166 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	return result;
#line 496 "gitg-diff-view-file.c"
}


static void gitg_diff_view_file_real_constructed (GObject* base) {
	GitgDiffViewFile * self;
	GgitDiffFile* oldfile;
	GgitDiffDelta* _tmp0_;
	GgitDiffFile* _tmp1_;
	GgitDiffFile* _tmp2_;
	GgitDiffFile* newfile;
	GgitDiffDelta* _tmp3_;
	GgitDiffFile* _tmp4_;
	GgitDiffFile* _tmp5_;
	const gchar* _tmp6_ = NULL;
	GgitDiffFile* _tmp7_;
	gchar* oldpath;
	gchar* _tmp10_;
	const gchar* _tmp11_ = NULL;
	GgitDiffFile* _tmp12_;
	gchar* newpath;
	gchar* _tmp15_;
	GgitDiffDelta* _tmp16_;
	guint _tmp17_;
	GtkExpander* _tmp32_;
	gboolean _tmp33_ = FALSE;
	GitgRepository* _tmp34_;
#line 138 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	self = (GitgDiffViewFile*) base;
#line 140 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	G_OBJECT_CLASS (gitg_diff_view_file_parent_class)->constructed ((GObject*) G_TYPE_CHECK_INSTANCE_CAST (self, gtk_grid_get_type (), GtkGrid));
#line 142 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp0_ = self->priv->_delta;
#line 142 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp1_ = ggit_diff_delta_get_old_file (_tmp0_);
#line 142 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp2_ = _ggit_diff_file_ref0 (_tmp1_);
#line 142 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	oldfile = _tmp2_;
#line 143 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp3_ = self->priv->_delta;
#line 143 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp4_ = ggit_diff_delta_get_new_file (_tmp3_);
#line 143 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp5_ = _ggit_diff_file_ref0 (_tmp4_);
#line 143 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	newfile = _tmp5_;
#line 145 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp7_ = oldfile;
#line 145 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	if (_tmp7_ != NULL) {
#line 547 "gitg-diff-view-file.c"
		GgitDiffFile* _tmp8_;
		const gchar* _tmp9_;
#line 145 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp8_ = oldfile;
#line 145 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp9_ = ggit_diff_file_get_path (_tmp8_);
#line 145 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp6_ = _tmp9_;
#line 556 "gitg-diff-view-file.c"
	} else {
#line 145 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp6_ = NULL;
#line 560 "gitg-diff-view-file.c"
	}
#line 145 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp10_ = g_strdup (_tmp6_);
#line 145 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	oldpath = _tmp10_;
#line 146 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp12_ = newfile;
#line 146 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	if (_tmp12_ != NULL) {
#line 570 "gitg-diff-view-file.c"
		GgitDiffFile* _tmp13_;
		const gchar* _tmp14_;
#line 146 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp13_ = newfile;
#line 146 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp14_ = ggit_diff_file_get_path (_tmp13_);
#line 146 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp11_ = _tmp14_;
#line 579 "gitg-diff-view-file.c"
	} else {
#line 146 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp11_ = NULL;
#line 583 "gitg-diff-view-file.c"
	}
#line 146 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp15_ = g_strdup (_tmp11_);
#line 146 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	newpath = _tmp15_;
#line 148 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp16_ = self->priv->_delta;
#line 148 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp17_ = ggit_diff_delta_get_similarity (_tmp16_);
#line 148 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	if (_tmp17_ > ((guint) 0)) {
#line 595 "gitg-diff-view-file.c"
		GtkLabel* _tmp18_;
		GgitDiffFile* _tmp19_;
		const gchar* _tmp20_;
		const gchar* _tmp21_;
		GgitDiffFile* _tmp22_;
		const gchar* _tmp23_;
		const gchar* _tmp24_;
		gchar* _tmp25_;
		gchar* _tmp26_;
#line 150 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp18_ = self->priv->d_label_file_header;
#line 150 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp19_ = newfile;
#line 150 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp20_ = ggit_diff_file_get_path (_tmp19_);
#line 150 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp21_ = string_to_string (_tmp20_);
#line 150 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp22_ = oldfile;
#line 150 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp23_ = ggit_diff_file_get_path (_tmp22_);
#line 150 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp24_ = string_to_string (_tmp23_);
#line 150 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp25_ = g_strconcat (_tmp21_, " ← ", _tmp24_, NULL);
#line 150 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp26_ = _tmp25_;
#line 150 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		gtk_label_set_label (_tmp18_, _tmp26_);
#line 150 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_g_free0 (_tmp26_);
#line 627 "gitg-diff-view-file.c"
	} else {
		const gchar* _tmp27_;
#line 152 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp27_ = newpath;
#line 152 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		if (_tmp27_ != NULL) {
#line 634 "gitg-diff-view-file.c"
			GtkLabel* _tmp28_;
			const gchar* _tmp29_;
#line 154 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_tmp28_ = self->priv->d_label_file_header;
#line 154 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_tmp29_ = newpath;
#line 154 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			gtk_label_set_label (_tmp28_, _tmp29_);
#line 643 "gitg-diff-view-file.c"
		} else {
			GtkLabel* _tmp30_;
			const gchar* _tmp31_;
#line 158 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_tmp30_ = self->priv->d_label_file_header;
#line 158 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_tmp31_ = oldpath;
#line 158 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			gtk_label_set_label (_tmp30_, _tmp31_);
#line 653 "gitg-diff-view-file.c"
		}
	}
#line 161 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp32_ = self->priv->d_expander;
#line 161 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp32_, "expanded", (GObject*) self, "expanded", G_BINDING_BIDIRECTIONAL, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 163 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp34_ = self->priv->_repository;
#line 163 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	if (_tmp34_ != NULL) {
#line 664 "gitg-diff-view-file.c"
		GitgRepository* _tmp35_;
		gboolean _tmp36_;
		gboolean _tmp37_;
#line 163 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp35_ = self->priv->_repository;
#line 163 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		g_object_get ((GgitRepository*) _tmp35_, "is-bare", &_tmp36_, NULL);
#line 163 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp37_ = _tmp36_;
#line 163 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp33_ = !_tmp37_;
#line 676 "gitg-diff-view-file.c"
	} else {
#line 163 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp33_ = FALSE;
#line 680 "gitg-diff-view-file.c"
	}
#line 163 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	if (_tmp33_) {
#line 684 "gitg-diff-view-file.c"
		GtkExpander* _tmp38_;
		GtkExpander* _tmp39_;
#line 165 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp38_ = self->priv->d_expander;
#line 165 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		g_signal_connect_object ((GtkWidget*) _tmp38_, "popup-menu", (GCallback) _gitg_diff_view_file_expander_popup_menu_gtk_widget_popup_menu, self, 0);
#line 166 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp39_ = self->priv->d_expander;
#line 166 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		g_signal_connect_object ((GtkWidget*) _tmp39_, "button-press-event", (GCallback) _gitg_diff_view_file_expander_button_press_event_gtk_widget_button_press_event, self, 0);
#line 695 "gitg-diff-view-file.c"
	}
#line 138 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_g_free0 (newpath);
#line 138 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_g_free0 (oldpath);
#line 138 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_ggit_diff_file_unref0 (newfile);
#line 138 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_ggit_diff_file_unref0 (oldfile);
#line 705 "gitg-diff-view-file.c"
}


static Block9Data* block9_data_ref (Block9Data* _data9_) {
#line 170 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_atomic_int_inc (&_data9_->_ref_count_);
#line 170 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	return _data9_;
#line 714 "gitg-diff-view-file.c"
}


static void block9_data_unref (void * _userdata_) {
	Block9Data* _data9_;
	_data9_ = (Block9Data*) _userdata_;
#line 170 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	if (g_atomic_int_dec_and_test (&_data9_->_ref_count_)) {
#line 723 "gitg-diff-view-file.c"
		GitgDiffViewFile* self;
#line 170 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		self = _data9_->self;
#line 170 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_g_object_unref0 (_data9_->location);
#line 170 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_g_object_unref0 (self);
#line 170 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		g_slice_free (Block9Data, _data9_);
#line 733 "gitg-diff-view-file.c"
	}
}


static void __lambda54_ (Block9Data* _data9_) {
	GitgDiffViewFile* self;
	GError * _inner_error_ = NULL;
#line 196 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	self = _data9_->self;
#line 743 "gitg-diff-view-file.c"
	{
		GtkExpander* _tmp0_;
		GdkScreen* _tmp1_;
		GFile* _tmp2_;
		gchar* _tmp3_;
		gchar* _tmp4_;
#line 199 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp0_ = self->priv->d_expander;
#line 199 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp1_ = gtk_widget_get_screen ((GtkWidget*) _tmp0_);
#line 199 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp2_ = _data9_->location;
#line 199 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp3_ = g_file_get_uri (_tmp2_);
#line 199 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp4_ = _tmp3_;
#line 199 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		gtk_show_uri (_tmp1_, _tmp4_, (guint32) GDK_CURRENT_TIME, &_inner_error_);
#line 199 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_g_free0 (_tmp4_);
#line 199 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 766 "gitg-diff-view-file.c"
			goto __catch35_g_error;
		}
	}
	goto __finally35;
	__catch35_g_error:
	{
		GError* e = NULL;
		FILE* _tmp5_;
		GError* _tmp6_;
		const gchar* _tmp7_;
		const gchar* _tmp8_;
		gchar* _tmp9_;
		gchar* _tmp10_;
#line 197 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		e = _inner_error_;
#line 197 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_inner_error_ = NULL;
#line 203 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp5_ = stderr;
#line 203 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp6_ = e;
#line 203 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp7_ = _tmp6_->message;
#line 203 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp8_ = string_to_string (_tmp7_);
#line 203 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp9_ = g_strconcat ("Failed to open file: ", _tmp8_, "\n", NULL);
#line 203 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp10_ = _tmp9_;
#line 203 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		fprintf (_tmp5_, "%s", _tmp10_);
#line 203 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_g_free0 (_tmp10_);
#line 197 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_g_error_free0 (e);
#line 802 "gitg-diff-view-file.c"
	}
	__finally35:
#line 197 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 197 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.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 197 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		g_clear_error (&_inner_error_);
#line 197 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		return;
#line 813 "gitg-diff-view-file.c"
	}
}


static void ___lambda54__gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) {
#line 196 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	__lambda54_ (self);
#line 821 "gitg-diff-view-file.c"
}


static void __lambda55_ (Block9Data* _data9_) {
	GitgDiffViewFile* self;
	GError * _inner_error_ = NULL;
#line 212 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	self = _data9_->self;
#line 830 "gitg-diff-view-file.c"
	{
		GtkExpander* _tmp0_;
		GdkScreen* _tmp1_;
		GFile* _tmp2_;
		GFile* _tmp3_;
		GFile* _tmp4_;
		gchar* _tmp5_;
		gchar* _tmp6_;
#line 215 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp0_ = self->priv->d_expander;
#line 215 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp1_ = gtk_widget_get_screen ((GtkWidget*) _tmp0_);
#line 215 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp2_ = _data9_->location;
#line 215 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp3_ = g_file_get_parent (_tmp2_);
#line 215 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp4_ = _tmp3_;
#line 215 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp5_ = g_file_get_uri (_tmp4_);
#line 215 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp6_ = _tmp5_;
#line 215 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		gtk_show_uri (_tmp1_, _tmp6_, (guint32) GDK_CURRENT_TIME, &_inner_error_);
#line 215 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_g_free0 (_tmp6_);
#line 215 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_g_object_unref0 (_tmp4_);
#line 215 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 861 "gitg-diff-view-file.c"
			goto __catch36_g_error;
		}
	}
	goto __finally36;
	__catch36_g_error:
	{
		GError* e = NULL;
		FILE* _tmp7_;
		GError* _tmp8_;
		const gchar* _tmp9_;
		const gchar* _tmp10_;
		gchar* _tmp11_;
		gchar* _tmp12_;
#line 213 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		e = _inner_error_;
#line 213 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_inner_error_ = NULL;
#line 219 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp7_ = stderr;
#line 219 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp8_ = e;
#line 219 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp9_ = _tmp8_->message;
#line 219 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp10_ = string_to_string (_tmp9_);
#line 219 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp11_ = g_strconcat ("Failed to open folder: ", _tmp10_, "\n", NULL);
#line 219 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp12_ = _tmp11_;
#line 219 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		fprintf (_tmp7_, "%s", _tmp12_);
#line 219 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_g_free0 (_tmp12_);
#line 213 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_g_error_free0 (e);
#line 897 "gitg-diff-view-file.c"
	}
	__finally36:
#line 213 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 213 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.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 213 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		g_clear_error (&_inner_error_);
#line 213 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		return;
#line 908 "gitg-diff-view-file.c"
	}
}


static void ___lambda55__gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) {
#line 212 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	__lambda55_ (self);
#line 916 "gitg-diff-view-file.c"
}


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


static void __lambda56_ (Block9Data* _data9_) {
	GitgDiffViewFile* self;
	GtkClipboard* clip;
	GtkExpander* _tmp0_;
	GtkClipboard* _tmp1_;
	GtkClipboard* _tmp2_;
	GFile* _tmp3_;
	gchar* _tmp4_;
	gchar* _tmp5_;
#line 232 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	self = _data9_->self;
#line 233 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp0_ = self->priv->d_expander;
#line 233 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp1_ = gtk_widget_get_clipboard ((GtkWidget*) _tmp0_, GDK_SELECTION_CLIPBOARD);
#line 233 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 233 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	clip = _tmp2_;
#line 234 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp3_ = _data9_->location;
#line 234 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp4_ = g_file_get_path (_tmp3_);
#line 234 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp5_ = _tmp4_;
#line 234 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	gtk_clipboard_set_text (clip, _tmp5_, -1);
#line 234 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_g_free0 (_tmp5_);
#line 232 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_g_object_unref0 (clip);
#line 958 "gitg-diff-view-file.c"
}


static void ___lambda56__gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) {
#line 232 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	__lambda56_ (self);
#line 965 "gitg-diff-view-file.c"
}


static void gitg_diff_view_file_show_popup (GitgDiffViewFile* self, GdkEventButton* event) {
	Block9Data* _data9_;
	GtkMenu* menu;
	GtkMenu* _tmp0_;
	gchar* oldpath;
	GgitDiffDelta* _tmp1_;
	GgitDiffFile* _tmp2_;
	const gchar* _tmp3_;
	gchar* _tmp4_;
	gchar* newpath;
	GgitDiffDelta* _tmp5_;
	GgitDiffFile* _tmp6_;
	const gchar* _tmp7_;
	gchar* _tmp8_;
	GtkMenuItem* open_file;
	GtkMenuItem* _tmp9_;
	GtkMenuItem* _tmp10_;
	gboolean _tmp11_ = FALSE;
	const gchar* _tmp12_;
	GFile* _tmp27_;
	GtkMenuItem* _tmp28_;
	GtkMenu* _tmp29_;
	GtkMenuItem* _tmp30_;
	GtkMenuItem* open_folder;
	GtkMenuItem* _tmp31_;
	GtkMenuItem* _tmp32_;
	GtkMenuItem* _tmp33_;
	GtkMenu* _tmp34_;
	GtkMenuItem* _tmp35_;
	GtkSeparatorMenuItem* separator;
	GtkSeparatorMenuItem* _tmp36_;
	GtkSeparatorMenuItem* _tmp37_;
	GtkMenu* _tmp38_;
	GtkSeparatorMenuItem* _tmp39_;
	GtkMenuItem* copy_file_path;
	GtkMenuItem* _tmp40_;
	GtkMenuItem* _tmp41_;
	GtkMenuItem* _tmp42_;
	GtkMenu* _tmp43_;
	GtkMenuItem* _tmp44_;
	guint button;
	guint evtime;
	GdkEventButton* _tmp45_;
	GtkMenu* _tmp50_;
	GtkExpander* _tmp51_;
	GtkMenu* _tmp52_;
	guint _tmp53_;
	guint _tmp54_;
#line 170 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_return_if_fail (self != NULL);
#line 170 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_data9_ = g_slice_new0 (Block9Data);
#line 170 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_data9_->_ref_count_ = 1;
#line 170 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_data9_->self = g_object_ref (self);
#line 172 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp0_ = (GtkMenu*) gtk_menu_new ();
#line 172 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_object_ref_sink (_tmp0_);
#line 172 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	menu = _tmp0_;
#line 174 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp1_ = self->priv->_delta;
#line 174 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp2_ = ggit_diff_delta_get_old_file (_tmp1_);
#line 174 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp3_ = ggit_diff_file_get_path (_tmp2_);
#line 174 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp4_ = g_strdup (_tmp3_);
#line 174 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	oldpath = _tmp4_;
#line 175 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp5_ = self->priv->_delta;
#line 175 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp6_ = ggit_diff_delta_get_new_file (_tmp5_);
#line 175 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp7_ = ggit_diff_file_get_path (_tmp6_);
#line 175 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp8_ = g_strdup (_tmp7_);
#line 175 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	newpath = _tmp8_;
#line 177 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp9_ = (GtkMenuItem*) gtk_menu_item_new_with_mnemonic (_ ("_Open file"));
#line 177 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_object_ref_sink (_tmp9_);
#line 177 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	open_file = _tmp9_;
#line 178 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp10_ = open_file;
#line 178 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	gtk_widget_show ((GtkWidget*) _tmp10_);
#line 180 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_data9_->location = NULL;
#line 182 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp12_ = newpath;
#line 182 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	if (_tmp12_ != NULL) {
#line 1067 "gitg-diff-view-file.c"
		const gchar* _tmp13_;
#line 182 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp13_ = newpath;
#line 182 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp11_ = g_strcmp0 (_tmp13_, "") != 0;
#line 1073 "gitg-diff-view-file.c"
	} else {
#line 182 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp11_ = FALSE;
#line 1077 "gitg-diff-view-file.c"
	}
#line 182 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	if (_tmp11_) {
#line 1081 "gitg-diff-view-file.c"
		GitgRepository* _tmp14_;
		GFile* _tmp15_;
		GFile* _tmp16_;
		const gchar* _tmp17_;
		GFile* _tmp18_;
#line 184 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp14_ = self->priv->_repository;
#line 184 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp15_ = ggit_repository_get_workdir ((GgitRepository*) _tmp14_);
#line 184 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp16_ = _tmp15_;
#line 184 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp17_ = newpath;
#line 184 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp18_ = g_file_get_child (_tmp16_, _tmp17_);
#line 184 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_g_object_unref0 (_data9_->location);
#line 184 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_data9_->location = _tmp18_;
#line 184 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_g_object_unref0 (_tmp16_);
#line 1103 "gitg-diff-view-file.c"
	} else {
		gboolean _tmp19_ = FALSE;
		const gchar* _tmp20_;
#line 186 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp20_ = oldpath;
#line 186 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		if (_tmp20_ != NULL) {
#line 1111 "gitg-diff-view-file.c"
			const gchar* _tmp21_;
#line 186 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_tmp21_ = oldpath;
#line 186 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_tmp19_ = g_strcmp0 (_tmp21_, "") != 0;
#line 1117 "gitg-diff-view-file.c"
		} else {
#line 186 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_tmp19_ = FALSE;
#line 1121 "gitg-diff-view-file.c"
		}
#line 186 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		if (_tmp19_) {
#line 1125 "gitg-diff-view-file.c"
			GitgRepository* _tmp22_;
			GFile* _tmp23_;
			GFile* _tmp24_;
			const gchar* _tmp25_;
			GFile* _tmp26_;
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_tmp22_ = self->priv->_repository;
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_tmp23_ = ggit_repository_get_workdir ((GgitRepository*) _tmp22_);
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_tmp24_ = _tmp23_;
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_tmp25_ = oldpath;
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_tmp26_ = g_file_get_child (_tmp24_, _tmp25_);
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_g_object_unref0 (_data9_->location);
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_data9_->location = _tmp26_;
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_g_object_unref0 (_tmp24_);
#line 1147 "gitg-diff-view-file.c"
		}
	}
#line 191 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp27_ = _data9_->location;
#line 191 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	if (_tmp27_ == NULL) {
#line 193 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_g_object_unref0 (open_file);
#line 193 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_g_free0 (newpath);
#line 193 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_g_free0 (oldpath);
#line 193 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_g_object_unref0 (menu);
#line 193 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		block9_data_unref (_data9_);
#line 193 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_data9_ = NULL;
#line 193 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		return;
#line 1168 "gitg-diff-view-file.c"
	}
#line 196 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp28_ = open_file;
#line 196 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_signal_connect_data (_tmp28_, "activate", (GCallback) ___lambda54__gtk_menu_item_activate, block9_data_ref (_data9_), (GClosureNotify) block9_data_unref, 0);
#line 207 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp29_ = menu;
#line 207 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp30_ = open_file;
#line 207 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	gtk_container_add ((GtkContainer*) _tmp29_, (GtkWidget*) _tmp30_);
#line 209 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp31_ = (GtkMenuItem*) gtk_menu_item_new_with_mnemonic (_ ("Open containing _folder"));
#line 209 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_object_ref_sink (_tmp31_);
#line 209 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	open_folder = _tmp31_;
#line 210 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp32_ = open_folder;
#line 210 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	gtk_widget_show ((GtkWidget*) _tmp32_);
#line 212 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp33_ = open_folder;
#line 212 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_signal_connect_data (_tmp33_, "activate", (GCallback) ___lambda55__gtk_menu_item_activate, block9_data_ref (_data9_), (GClosureNotify) block9_data_unref, 0);
#line 223 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp34_ = menu;
#line 223 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp35_ = open_folder;
#line 223 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	gtk_container_add ((GtkContainer*) _tmp34_, (GtkWidget*) _tmp35_);
#line 225 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp36_ = (GtkSeparatorMenuItem*) gtk_separator_menu_item_new ();
#line 225 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_object_ref_sink (_tmp36_);
#line 225 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	separator = _tmp36_;
#line 226 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp37_ = separator;
#line 226 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	gtk_widget_show ((GtkWidget*) _tmp37_);
#line 227 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp38_ = menu;
#line 227 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp39_ = separator;
#line 227 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	gtk_container_add ((GtkContainer*) _tmp38_, (GtkWidget*) _tmp39_);
#line 229 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp40_ = (GtkMenuItem*) gtk_menu_item_new_with_mnemonic (_ ("_Copy file path"));
#line 229 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_object_ref_sink (_tmp40_);
#line 229 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	copy_file_path = _tmp40_;
#line 230 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp41_ = copy_file_path;
#line 230 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	gtk_widget_show ((GtkWidget*) _tmp41_);
#line 232 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp42_ = copy_file_path;
#line 232 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_signal_connect_data (_tmp42_, "activate", (GCallback) ___lambda56__gtk_menu_item_activate, block9_data_ref (_data9_), (GClosureNotify) block9_data_unref, 0);
#line 237 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp43_ = menu;
#line 237 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp44_ = copy_file_path;
#line 237 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	gtk_container_add ((GtkContainer*) _tmp43_, (GtkWidget*) _tmp44_);
#line 239 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	button = (guint) 0;
#line 240 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	evtime = (guint) GDK_CURRENT_TIME;
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp45_ = event;
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	if (_tmp45_ != NULL) {
#line 1244 "gitg-diff-view-file.c"
		GdkEventButton* _tmp46_;
		guint _tmp47_;
		GdkEventButton* _tmp48_;
		guint32 _tmp49_;
#line 244 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp46_ = event;
#line 244 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp47_ = _tmp46_->button;
#line 244 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		button = _tmp47_;
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp48_ = event;
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp49_ = _tmp48_->time;
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		evtime = (guint) _tmp49_;
#line 1261 "gitg-diff-view-file.c"
	}
#line 248 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp50_ = menu;
#line 248 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp51_ = self->priv->d_expander;
#line 248 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	gtk_menu_attach_to_widget (_tmp50_, (GtkWidget*) _tmp51_, NULL);
#line 249 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp52_ = menu;
#line 249 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp53_ = button;
#line 249 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp54_ = evtime;
#line 249 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	gtk_menu_popup (_tmp52_, NULL, NULL, NULL, NULL, _tmp53_, (guint32) _tmp54_);
#line 170 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_g_object_unref0 (copy_file_path);
#line 170 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_g_object_unref0 (separator);
#line 170 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_g_object_unref0 (open_folder);
#line 170 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_g_object_unref0 (open_file);
#line 170 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_g_free0 (newpath);
#line 170 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_g_free0 (oldpath);
#line 170 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_g_object_unref0 (menu);
#line 170 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	block9_data_unref (_data9_);
#line 170 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_data9_ = NULL;
#line 1295 "gitg-diff-view-file.c"
}


static gboolean gitg_diff_view_file_expander_button_press_event (GitgDiffViewFile* self, GtkWidget* widget, GdkEventButton* event) {
	gboolean result = FALSE;
	GdkEventButton* _tmp0_;
	gboolean _tmp1_;
#line 252 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 252 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_return_val_if_fail (widget != NULL, FALSE);
#line 254 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp0_ = event;
#line 254 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp1_ = gdk_event_triggers_context_menu ((GdkEvent*) _tmp0_);
#line 254 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	if (_tmp1_) {
#line 1313 "gitg-diff-view-file.c"
		GdkEventButton* _tmp2_;
#line 256 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp2_ = event;
#line 256 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		gitg_diff_view_file_show_popup (self, _tmp2_);
#line 257 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		result = TRUE;
#line 257 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		return result;
#line 1323 "gitg-diff-view-file.c"
	}
#line 260 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	result = FALSE;
#line 260 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	return result;
#line 1329 "gitg-diff-view-file.c"
}


static gboolean gitg_diff_view_file_expander_popup_menu (GitgDiffViewFile* self, GtkWidget* widget) {
	gboolean result = FALSE;
#line 263 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 263 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_return_val_if_fail (widget != NULL, FALSE);
#line 265 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	gitg_diff_view_file_show_popup (self, NULL);
#line 266 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	result = TRUE;
#line 266 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	return result;
#line 1345 "gitg-diff-view-file.c"
}


void gitg_diff_view_file_add_hunk (GitgDiffViewFile* self, GgitDiffHunk* hunk, GeeArrayList* lines) {
	GitgDiffViewFileRenderer* _tmp0_;
	GitgDiffViewFileRenderer* _tmp1_;
	GitgDiffViewFileRenderer* _tmp2_;
	GgitDiffHunk* _tmp3_;
	GeeArrayList* _tmp4_;
#line 269 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_return_if_fail (self != NULL);
#line 269 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_return_if_fail (hunk != NULL);
#line 269 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_return_if_fail (lines != NULL);
#line 271 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp0_ = gitg_diff_view_file_get_renderer (self);
#line 271 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp1_ = _tmp0_;
#line 271 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp2_ = _tmp1_;
#line 271 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp3_ = hunk;
#line 271 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp4_ = lines;
#line 271 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	gitg_diff_view_file_renderer_add_hunk (_tmp2_, _tmp3_, _tmp4_);
#line 271 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_g_object_unref0 (_tmp2_);
#line 1375 "gitg-diff-view-file.c"
}


GitgDiffViewFileRenderer* gitg_diff_view_file_get_renderer (GitgDiffViewFile* self) {
	GitgDiffViewFileRenderer* result;
	GtkRevealer* _tmp0_;
	GtkWidget* _tmp1_;
	GitgDiffViewFileRenderer* _tmp2_;
#line 41 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 43 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp0_ = self->priv->d_revealer_content;
#line 43 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp1_ = gtk_bin_get_child ((GtkBin*) _tmp0_);
#line 43 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, GITG_TYPE_DIFF_VIEW_FILE_RENDERER) ? ((GitgDiffViewFileRenderer*) _tmp1_) : NULL);
#line 43 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	result = _tmp2_;
#line 43 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	return result;
#line 1396 "gitg-diff-view-file.c"
}


void gitg_diff_view_file_set_renderer (GitgDiffViewFile* self, GitgDiffViewFileRenderer* value) {
#line 46 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_return_if_fail (self != NULL);
#line 46 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	if (gitg_diff_view_file_get_renderer (self) != value) {
#line 1405 "gitg-diff-view-file.c"
		GitgDiffViewFileRenderer* current;
		GitgDiffViewFileRenderer* _tmp0_;
		GitgDiffViewFileRenderer* _tmp1_;
		GitgDiffViewFileRenderer* _tmp2_;
		GitgDiffViewFileRenderer* _tmp3_;
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp0_ = gitg_diff_view_file_get_renderer (self);
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp1_ = _tmp0_;
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		current = _tmp1_;
#line 50 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp2_ = current;
#line 50 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp3_ = value;
#line 50 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		if (_tmp2_ != _tmp3_) {
#line 1423 "gitg-diff-view-file.c"
			GBinding* _tmp4_;
			GitgDiffViewFileRenderer* _tmp7_;
			GtkRevealer* _tmp10_;
			GitgDiffViewFileRenderer* _tmp11_;
			GitgDiffViewFileRenderer* _tmp12_;
			GBinding* _tmp13_;
			GBinding* _tmp14_;
#line 52 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_tmp4_ = self->priv->d_vexpand_binding;
#line 52 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			if (_tmp4_ != NULL) {
#line 1435 "gitg-diff-view-file.c"
				GBinding* _tmp5_;
				GBinding* _tmp6_;
#line 54 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
				_tmp5_ = self->priv->d_vexpand_binding;
#line 54 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
				_tmp6_ = _g_object_ref0 (_tmp5_);
#line 54 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
				g_binding_unbind (_tmp6_);
#line 55 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
				_g_object_unref0 (self->priv->d_vexpand_binding);
#line 55 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
				self->priv->d_vexpand_binding = NULL;
#line 1448 "gitg-diff-view-file.c"
			}
#line 58 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_tmp7_ = current;
#line 58 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			if (_tmp7_ != NULL) {
#line 1454 "gitg-diff-view-file.c"
				GtkRevealer* _tmp8_;
				GitgDiffViewFileRenderer* _tmp9_;
#line 60 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
				_tmp8_ = self->priv->d_revealer_content;
#line 60 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
				_tmp9_ = current;
#line 60 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
				gtk_container_remove ((GtkContainer*) _tmp8_, (GtkWidget*) _tmp9_);
#line 1463 "gitg-diff-view-file.c"
			}
#line 63 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_tmp10_ = self->priv->d_revealer_content;
#line 63 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_tmp11_ = value;
#line 63 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			gtk_container_add ((GtkContainer*) _tmp10_, (GtkWidget*) _tmp11_);
#line 64 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_tmp12_ = value;
#line 64 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_tmp13_ = g_object_bind_property_with_closures ((GObject*) self, "vexpand", (GObject*) _tmp12_, "vexpand", 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 64 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_tmp14_ = _g_object_ref0 (_tmp13_);
#line 64 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_g_object_unref0 (self->priv->d_vexpand_binding);
#line 64 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			self->priv->d_vexpand_binding = _tmp14_;
#line 1481 "gitg-diff-view-file.c"
		}
#line 46 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_g_object_unref0 (current);
#line 46 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		g_object_notify ((GObject *) self, "renderer");
#line 1487 "gitg-diff-view-file.c"
	}
}


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


void gitg_diff_view_file_set_new_is_workdir (GitgDiffViewFile* self, gboolean value) {
#line 69 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_return_if_fail (self != NULL);
#line 69 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	if (gitg_diff_view_file_get_new_is_workdir (self) != value) {
#line 1512 "gitg-diff-view-file.c"
		gboolean _tmp0_;
#line 69 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp0_ = value;
#line 69 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		self->priv->_new_is_workdir = _tmp0_;
#line 69 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		g_object_notify ((GObject *) self, "new-is-workdir");
#line 1520 "gitg-diff-view-file.c"
	}
}


gboolean gitg_diff_view_file_get_expanded (GitgDiffViewFile* self) {
	gboolean result;
	gboolean _tmp0_;
#line 73 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 75 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_tmp0_ = self->priv->d_expanded;
#line 75 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	result = _tmp0_;
#line 75 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	return result;
#line 1536 "gitg-diff-view-file.c"
}


void gitg_diff_view_file_set_expanded (GitgDiffViewFile* self, gboolean value) {
#line 78 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_return_if_fail (self != NULL);
#line 78 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	if (gitg_diff_view_file_get_expanded (self) != value) {
#line 1545 "gitg-diff-view-file.c"
		gboolean _tmp0_;
		gboolean _tmp1_;
#line 80 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp0_ = self->priv->d_expanded;
#line 80 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp1_ = value;
#line 80 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		if (_tmp0_ != _tmp1_) {
#line 1554 "gitg-diff-view-file.c"
			gboolean _tmp2_;
			GtkRevealer* _tmp3_;
			gboolean _tmp4_;
			GtkStyleContext* ctx;
			GtkStyleContext* _tmp5_;
			GtkStyleContext* _tmp6_;
			gboolean _tmp7_;
#line 82 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_tmp2_ = value;
#line 82 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			self->priv->d_expanded = _tmp2_;
#line 83 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_tmp3_ = self->priv->d_revealer_content;
#line 83 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_tmp4_ = self->priv->d_expanded;
#line 83 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			gtk_revealer_set_reveal_child (_tmp3_, _tmp4_);
#line 85 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_tmp5_ = gtk_widget_get_style_context ((GtkWidget*) self);
#line 85 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_tmp6_ = _g_object_ref0 (_tmp5_);
#line 85 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			ctx = _tmp6_;
#line 87 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_tmp7_ = self->priv->d_expanded;
#line 87 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			if (_tmp7_) {
#line 1582 "gitg-diff-view-file.c"
				GtkStyleContext* _tmp8_;
#line 89 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
				_tmp8_ = ctx;
#line 89 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
				gtk_style_context_add_class (_tmp8_, "expanded");
#line 1588 "gitg-diff-view-file.c"
			} else {
				GtkStyleContext* _tmp9_;
#line 93 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
				_tmp9_ = ctx;
#line 93 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
				gtk_style_context_remove_class (_tmp9_, "expanded");
#line 1595 "gitg-diff-view-file.c"
			}
#line 80 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
			_g_object_unref0 (ctx);
#line 1599 "gitg-diff-view-file.c"
		}
#line 78 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		g_object_notify ((GObject *) self, "expanded");
#line 1603 "gitg-diff-view-file.c"
	}
}


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


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


void gitg_diff_view_file_set_delta (GitgDiffViewFile* self, GgitDiffDelta* value) {
#line 99 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_return_if_fail (self != NULL);
#line 99 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	if (gitg_diff_view_file_get_delta (self) != value) {
#line 1635 "gitg-diff-view-file.c"
		GgitDiffDelta* _tmp0_;
		GgitDiffDelta* _tmp1_;
#line 99 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp0_ = value;
#line 99 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp1_ = _ggit_diff_delta_ref0 (_tmp0_);
#line 99 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_ggit_diff_delta_unref0 (self->priv->_delta);
#line 99 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		self->priv->_delta = _tmp1_;
#line 99 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		g_object_notify ((GObject *) self, "delta");
#line 1648 "gitg-diff-view-file.c"
	}
}


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


void gitg_diff_view_file_set_repository (GitgDiffViewFile* self, GitgRepository* value) {
#line 100 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_return_if_fail (self != NULL);
#line 100 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	if (gitg_diff_view_file_get_repository (self) != value) {
#line 1673 "gitg-diff-view-file.c"
		GitgRepository* _tmp0_;
		GitgRepository* _tmp1_;
#line 100 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp0_ = value;
#line 100 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 100 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		_g_object_unref0 (self->priv->_repository);
#line 100 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		self->priv->_repository = _tmp1_;
#line 100 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		g_object_notify ((GObject *) self, "repository");
#line 1686 "gitg-diff-view-file.c"
	}
}


static void gitg_diff_view_file_class_init (GitgDiffViewFileClass * klass) {
	gint GitgDiffViewFile_private_offset;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	gitg_diff_view_file_parent_class = g_type_class_peek_parent (klass);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_type_class_add_private (klass, sizeof (GitgDiffViewFilePrivate));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	((GObjectClass *) klass)->constructed = gitg_diff_view_file_real_constructed;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_diff_view_file_get_property;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_diff_view_file_set_property;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_diff_view_file_finalize;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_FILE_RENDERER, g_param_spec_object ("renderer", "renderer", "renderer", GITG_TYPE_DIFF_VIEW_FILE_RENDERER, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_FILE_NEW_IS_WORKDIR, g_param_spec_boolean ("new-is-workdir", "new-is-workdir", "new-is-workdir", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_FILE_EXPANDED, g_param_spec_boolean ("expanded", "expanded", "expanded", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_FILE_DELTA, g_param_spec_boxed ("delta", "delta", "delta", ggit_diff_delta_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_FILE_REPOSITORY, g_param_spec_object ("repository", "repository", "repository", GITG_TYPE_REPOSITORY, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	GitgDiffViewFile_private_offset = g_type_class_get_instance_private_offset (klass);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/gitg/ui/gitg-diff-view-file.ui");
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "expander", FALSE, GitgDiffViewFile_private_offset + G_STRUCT_OFFSET (GitgDiffViewFilePrivate, d_expander));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "label_file_header", FALSE, GitgDiffViewFile_private_offset + G_STRUCT_OFFSET (GitgDiffViewFilePrivate, d_label_file_header));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "diff_stat_file", FALSE, GitgDiffViewFile_private_offset + G_STRUCT_OFFSET (GitgDiffViewFilePrivate, d_diff_stat_file));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "revealer_content", FALSE, GitgDiffViewFile_private_offset + G_STRUCT_OFFSET (GitgDiffViewFilePrivate, d_revealer_content));
#line 1727 "gitg-diff-view-file.c"
}


static void gitg_diff_view_file_instance_init (GitgDiffViewFile * self) {
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	self->priv = GITG_DIFF_VIEW_FILE_GET_PRIVATE (self);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	g_type_ensure (GITG_TYPE_DIFF_STAT);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	gtk_widget_init_template (GTK_WIDGET (self));
#line 1738 "gitg-diff-view-file.c"
}


static void gitg_diff_view_file_finalize (GObject * obj) {
	GitgDiffViewFile * self;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_DIFF_VIEW_FILE, GitgDiffViewFile);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_g_object_unref0 (self->priv->d_expander);
#line 27 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_g_object_unref0 (self->priv->d_label_file_header);
#line 30 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_g_object_unref0 (self->priv->d_diff_stat_file);
#line 33 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_g_object_unref0 (self->priv->d_revealer_content);
#line 37 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_g_object_unref0 (self->priv->d_vexpand_binding);
#line 99 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_ggit_diff_delta_unref0 (self->priv->_delta);
#line 100 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	_g_object_unref0 (self->priv->_repository);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	G_OBJECT_CLASS (gitg_diff_view_file_parent_class)->finalize (obj);
#line 1762 "gitg-diff-view-file.c"
}


GType gitg_diff_view_file_get_type (void) {
	static volatile gsize gitg_diff_view_file_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_diff_view_file_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgDiffViewFileClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_diff_view_file_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgDiffViewFile), 0, (GInstanceInitFunc) gitg_diff_view_file_instance_init, NULL };
		GType gitg_diff_view_file_type_id;
		gitg_diff_view_file_type_id = g_type_register_static (gtk_grid_get_type (), "GitgDiffViewFile", &g_define_type_info, 0);
		g_once_init_leave (&gitg_diff_view_file_type_id__volatile, gitg_diff_view_file_type_id);
	}
	return gitg_diff_view_file_type_id__volatile;
}


static void _vala_gitg_diff_view_file_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GitgDiffViewFile * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_DIFF_VIEW_FILE, GitgDiffViewFile);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	switch (property_id) {
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		case GITG_DIFF_VIEW_FILE_RENDERER:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		g_value_take_object (value, gitg_diff_view_file_get_renderer (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		case GITG_DIFF_VIEW_FILE_NEW_IS_WORKDIR:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		g_value_set_boolean (value, gitg_diff_view_file_get_new_is_workdir (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		case GITG_DIFF_VIEW_FILE_EXPANDED:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		g_value_set_boolean (value, gitg_diff_view_file_get_expanded (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		case GITG_DIFF_VIEW_FILE_DELTA:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		g_value_set_boxed (value, gitg_diff_view_file_get_delta (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		case GITG_DIFF_VIEW_FILE_REPOSITORY:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		g_value_set_object (value, gitg_diff_view_file_get_repository (self));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		break;
#line 1813 "gitg-diff-view-file.c"
		default:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		break;
#line 1819 "gitg-diff-view-file.c"
	}
}


static void _vala_gitg_diff_view_file_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	GitgDiffViewFile * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_DIFF_VIEW_FILE, GitgDiffViewFile);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
	switch (property_id) {
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		case GITG_DIFF_VIEW_FILE_RENDERER:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		gitg_diff_view_file_set_renderer (self, g_value_get_object (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		case GITG_DIFF_VIEW_FILE_NEW_IS_WORKDIR:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		gitg_diff_view_file_set_new_is_workdir (self, g_value_get_boolean (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		case GITG_DIFF_VIEW_FILE_EXPANDED:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		gitg_diff_view_file_set_expanded (self, g_value_get_boolean (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		case GITG_DIFF_VIEW_FILE_DELTA:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		gitg_diff_view_file_set_delta (self, g_value_get_boxed (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		break;
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		case GITG_DIFF_VIEW_FILE_REPOSITORY:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		gitg_diff_view_file_set_repository (self, g_value_get_object (value));
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		break;
#line 1859 "gitg-diff-view-file.c"
		default:
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 21 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-view-file.vala"
		break;
#line 1865 "gitg-diff-view-file.c"
	}
}



