/* gitg-diff-view-commit-details.c generated by valac 0.32.1, the Vala compiler
 * generated from gitg-diff-view-commit-details.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 <gio/gio.h>
#include <libgit2-glib/ggit.h>
#include <gee.h>
#include <stdlib.h>
#include <string.h>
#include <glib/gi18n-lib.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gdk/gdk.h>


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

typedef struct _GitgDiffViewCommitDetails GitgDiffViewCommitDetails;
typedef struct _GitgDiffViewCommitDetailsClass GitgDiffViewCommitDetailsClass;
typedef struct _GitgDiffViewCommitDetailsPrivate GitgDiffViewCommitDetailsPrivate;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_list_free0(var) ((var == NULL) ? NULL : (var = (g_list_free (var), NULL)))
#define __vala_GgitOId_free0(var) ((var == NULL) ? NULL : (var = (_vala_GgitOId_free (var), NULL)))
#define _g_date_time_unref0(var) ((var == NULL) ? NULL : (var = (g_date_time_unref (var), NULL)))
#define _g_time_zone_unref0(var) ((var == NULL) ? NULL : (var = (g_time_zone_unref (var), NULL)))
typedef struct _Block8Data Block8Data;
#define __g_slist_free__g_object_unref0_0(var) ((var == NULL) ? NULL : (var = (_g_slist_free__g_object_unref0_ (var), NULL)))

#define GITG_TYPE_AVATAR_CACHE (gitg_avatar_cache_get_type ())
#define GITG_AVATAR_CACHE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_AVATAR_CACHE, GitgAvatarCache))
#define GITG_AVATAR_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_AVATAR_CACHE, GitgAvatarCacheClass))
#define GITG_IS_AVATAR_CACHE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_AVATAR_CACHE))
#define GITG_IS_AVATAR_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_AVATAR_CACHE))
#define GITG_AVATAR_CACHE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_AVATAR_CACHE, GitgAvatarCacheClass))

typedef struct _GitgAvatarCache GitgAvatarCache;
typedef struct _GitgAvatarCacheClass GitgAvatarCacheClass;
typedef struct _Block9Data Block9Data;

struct _GitgDiffViewCommitDetails {
	GtkGrid parent_instance;
	GitgDiffViewCommitDetailsPrivate * priv;
};

struct _GitgDiffViewCommitDetailsClass {
	GtkGridClass parent_class;
};

struct _GitgDiffViewCommitDetailsPrivate {
	GtkImage* d_image_avatar;
	GtkLabel* d_label_author;
	GtkLabel* d_label_author_date;
	GtkLabel* d_label_committer;
	GtkLabel* d_label_committer_date;
	GtkLabel* d_label_subject;
	GtkLabel* d_label_sha1;
	GtkGrid* d_grid_parents_container;
	GtkGrid* d_grid_parents;
	GtkExpander* d_expander_files;
	GtkLabel* d_label_expand_collapse_files;
	GCancellable* d_avatar_cancel;
	GgitCommit* d_commit;
	GgitCommit* d_parent_commit;
	gboolean d_use_gravatar;
	GeeHashMap* d_parents_map;
};

struct _Block8Data {
	int _ref_count_;
	GitgDiffViewCommitDetails* self;
	GtkRadioButton* button;
	GgitCommit* par;
};

struct _Block9Data {
	int _ref_count_;
	GitgDiffViewCommitDetails* self;
	GCancellable* cancel;
	GitgAvatarCache* cache;
};


static gpointer gitg_diff_view_commit_details_parent_class = NULL;

GType gitg_diff_view_commit_details_get_type (void) G_GNUC_CONST;
#define GITG_DIFF_VIEW_COMMIT_DETAILS_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_TYPE_DIFF_VIEW_COMMIT_DETAILS, GitgDiffViewCommitDetailsPrivate))
enum  {
	GITG_DIFF_VIEW_COMMIT_DETAILS_DUMMY_PROPERTY,
	GITG_DIFF_VIEW_COMMIT_DETAILS_EXPANDED,
	GITG_DIFF_VIEW_COMMIT_DETAILS_EXPANDER_VISIBLE,
	GITG_DIFF_VIEW_COMMIT_DETAILS_COMMIT,
	GITG_DIFF_VIEW_COMMIT_DETAILS_PARENT_COMMIT,
	GITG_DIFF_VIEW_COMMIT_DETAILS_USE_GRAVATAR
};
GitgDiffViewCommitDetails* gitg_diff_view_commit_details_new (GgitCommit* commit);
GitgDiffViewCommitDetails* gitg_diff_view_commit_details_construct (GType object_type, GgitCommit* commit);
static void gitg_diff_view_commit_details_real_dispose (GObject* base);
static gchar* gitg_diff_view_commit_details_author_to_markup (GitgDiffViewCommitDetails* self, GgitSignature* author);
static void gitg_diff_view_commit_details_update (GitgDiffViewCommitDetails* self);
static guint __lambda43_ (GitgDiffViewCommitDetails* self, GgitOId* oid);
static guint ___lambda43__gee_hash_data_func (gconstpointer v, gpointer self);
static gboolean __lambda44_ (GitgDiffViewCommitDetails* self, GgitOId* o1, GgitOId* o2);
static gboolean ___lambda44__gee_equal_data_func (gconstpointer a, gconstpointer b, gpointer self);
static GgitOId* _vala_GgitOId_copy (GgitOId* self);
static void _vala_GgitOId_free (GgitOId* self);
GgitCommit* gitg_diff_view_commit_details_get_commit (GitgDiffViewCommitDetails* self);
void gitg_diff_view_commit_details_set_parent_commit (GitgDiffViewCommitDetails* self, GgitCommit* value);
static Block8Data* block8_data_ref (Block8Data* _data8_);
static void block8_data_unref (void * _userdata_);
static void _____lambda45_ (Block8Data* _data8_);
static void ______lambda45__gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self);
static void _g_object_unref0_ (gpointer var);
static void _g_slist_free__g_object_unref0_ (GSList* self);
static void gitg_diff_view_commit_details_update_avatar (GitgDiffViewCommitDetails* self);
GType gitg_avatar_cache_get_type (void) G_GNUC_CONST;
static Block9Data* block9_data_ref (Block9Data* _data9_);
static void block9_data_unref (void * _userdata_);
GitgAvatarCache* gitg_avatar_cache_default (void);
void gitg_avatar_cache_load (GitgAvatarCache* self, const gchar* email, gint size, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
GdkPixbuf* gitg_avatar_cache_load_finish (GitgAvatarCache* self, GAsyncResult* _res_);
static void ___lambda46_ (Block9Data* _data9_, GObject* obj, GAsyncResult* res);
static void ____lambda46__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static gboolean gitg_diff_view_commit_details_button_press_on_event_box_expand_collapse (GitgDiffViewCommitDetails* self, GdkEventButton* event);
static gboolean _gitg_diff_view_commit_details_button_press_on_event_box_expand_collapse_gtk_widget_button_press_event (GtkWidget* _sender, GdkEventButton* event, gpointer self);
gboolean gitg_diff_view_commit_details_get_expanded (GitgDiffViewCommitDetails* self);
void gitg_diff_view_commit_details_set_expanded (GitgDiffViewCommitDetails* self, gboolean value);
gboolean gitg_diff_view_commit_details_get_expander_visible (GitgDiffViewCommitDetails* self);
void gitg_diff_view_commit_details_set_expander_visible (GitgDiffViewCommitDetails* self, gboolean value);
void gitg_diff_view_commit_details_set_commit (GitgDiffViewCommitDetails* self, GgitCommit* value);
GgitCommit* gitg_diff_view_commit_details_get_parent_commit (GitgDiffViewCommitDetails* self);
gboolean gitg_diff_view_commit_details_get_use_gravatar (GitgDiffViewCommitDetails* self);
void gitg_diff_view_commit_details_set_use_gravatar (GitgDiffViewCommitDetails* self, gboolean value);
static GObject * gitg_diff_view_commit_details_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
static void _gitg_diff_view_commit_details___lambda47_ (GitgDiffViewCommitDetails* self);
static void __gitg_diff_view_commit_details___lambda47__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void gitg_diff_view_commit_details_finalize (GObject* obj);
static void _vala_gitg_diff_view_commit_details_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_gitg_diff_view_commit_details_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);


GitgDiffViewCommitDetails* gitg_diff_view_commit_details_construct (GType object_type, GgitCommit* commit) {
	GitgDiffViewCommitDetails * self = NULL;
	GgitCommit* _tmp0_ = NULL;
#line 122 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp0_ = commit;
#line 122 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	self = (GitgDiffViewCommitDetails*) g_object_new (object_type, "commit", _tmp0_, NULL);
#line 120 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	return self;
#line 177 "gitg-diff-view-commit-details.c"
}


GitgDiffViewCommitDetails* gitg_diff_view_commit_details_new (GgitCommit* commit) {
#line 120 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	return gitg_diff_view_commit_details_construct (GITG_TYPE_DIFF_VIEW_COMMIT_DETAILS, commit);
#line 184 "gitg-diff-view-commit-details.c"
}


static void gitg_diff_view_commit_details_real_dispose (GObject* base) {
	GitgDiffViewCommitDetails * self;
	GCancellable* _tmp0_ = NULL;
#line 156 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	self = (GitgDiffViewCommitDetails*) base;
#line 158 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp0_ = self->priv->d_avatar_cancel;
#line 158 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	if (_tmp0_ != NULL) {
#line 197 "gitg-diff-view-commit-details.c"
		GCancellable* _tmp1_ = NULL;
#line 160 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp1_ = self->priv->d_avatar_cancel;
#line 160 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		g_cancellable_cancel (_tmp1_);
#line 203 "gitg-diff-view-commit-details.c"
	}
#line 163 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	G_OBJECT_CLASS (gitg_diff_view_commit_details_parent_class)->dispose ((GObject*) G_TYPE_CHECK_INSTANCE_CAST (self, gtk_grid_get_type (), GtkGrid));
#line 207 "gitg-diff-view-commit-details.c"
}


static gchar* gitg_diff_view_commit_details_author_to_markup (GitgDiffViewCommitDetails* self, GgitSignature* author) {
	gchar* result = NULL;
	gchar* name = NULL;
	GgitSignature* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	gchar* email = NULL;
	GgitSignature* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	gchar* _tmp5_ = NULL;
	gchar* _tmp6_ = NULL;
#line 166 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 166 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_return_val_if_fail (author != NULL, NULL);
#line 168 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp0_ = author;
#line 168 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp1_ = ggit_signature_get_name (_tmp0_);
#line 168 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp2_ = g_markup_escape_text (_tmp1_, (gssize) -1);
#line 168 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	name = _tmp2_;
#line 169 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp3_ = author;
#line 169 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp4_ = ggit_signature_get_email (_tmp3_);
#line 169 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp5_ = g_markup_escape_text (_tmp4_, (gssize) -1);
#line 169 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	email = _tmp5_;
#line 171 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp6_ = g_strdup_printf ("%s &lt;<a href=\"mailto:%s\">%s</a>&gt;", name, email, email);
#line 171 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	result = _tmp6_;
#line 171 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_g_free0 (email);
#line 171 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_g_free0 (name);
#line 171 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	return result;
#line 252 "gitg-diff-view-commit-details.c"
}


static guint __lambda43_ (GitgDiffViewCommitDetails* self, GgitOId* oid) {
	guint result = 0U;
	GgitOId* _tmp0_ = NULL;
	guint _tmp1_ = 0U;
#line 176 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_return_val_if_fail (oid != NULL, 0U);
#line 176 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp0_ = oid;
#line 176 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp1_ = ggit_oid_hash (_tmp0_);
#line 176 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	result = _tmp1_;
#line 176 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	return result;
#line 270 "gitg-diff-view-commit-details.c"
}


static guint ___lambda43__gee_hash_data_func (gconstpointer v, gpointer self) {
	guint result;
	result = __lambda43_ ((GitgDiffViewCommitDetails*) self, (GgitOId*) v);
#line 176 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	return result;
#line 279 "gitg-diff-view-commit-details.c"
}


static gboolean __lambda44_ (GitgDiffViewCommitDetails* self, GgitOId* o1, GgitOId* o2) {
	gboolean result = FALSE;
	GgitOId* _tmp0_ = NULL;
	GgitOId* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
#line 176 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_return_val_if_fail (o1 != NULL, FALSE);
#line 176 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_return_val_if_fail (o2 != NULL, FALSE);
#line 176 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp0_ = o1;
#line 176 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp1_ = o2;
#line 176 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp2_ = ggit_oid_equal (_tmp0_, _tmp1_);
#line 176 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	result = _tmp2_;
#line 176 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	return result;
#line 302 "gitg-diff-view-commit-details.c"
}


static gboolean ___lambda44__gee_equal_data_func (gconstpointer a, gconstpointer b, gpointer self) {
	gboolean result;
	result = __lambda44_ ((GitgDiffViewCommitDetails*) self, (GgitOId*) a, (GgitOId*) b);
#line 176 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	return result;
#line 311 "gitg-diff-view-commit-details.c"
}


static GgitOId* _vala_GgitOId_copy (GgitOId* self) {
#line 176 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	return g_boxed_copy (ggit_oid_get_type (), self);
#line 318 "gitg-diff-view-commit-details.c"
}


static void _vala_GgitOId_free (GgitOId* self) {
#line 176 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_boxed_free (ggit_oid_get_type (), self);
#line 325 "gitg-diff-view-commit-details.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 212 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	return self ? g_object_ref (self) : NULL;
#line 332 "gitg-diff-view-commit-details.c"
}


static Block8Data* block8_data_ref (Block8Data* _data8_) {
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_atomic_int_inc (&_data8_->_ref_count_);
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	return _data8_;
#line 341 "gitg-diff-view-commit-details.c"
}


static void block8_data_unref (void * _userdata_) {
	Block8Data* _data8_;
	_data8_ = (Block8Data*) _userdata_;
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	if (g_atomic_int_dec_and_test (&_data8_->_ref_count_)) {
#line 350 "gitg-diff-view-commit-details.c"
		GitgDiffViewCommitDetails* self;
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		self = _data8_->self;
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_g_object_unref0 (_data8_->par);
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_g_object_unref0 (_data8_->button);
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_g_object_unref0 (self);
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		g_slice_free (Block8Data, _data8_);
#line 362 "gitg-diff-view-commit-details.c"
	}
}


static glong string_strnlen (gchar* str, glong maxlen) {
	glong result = 0L;
	gchar* end = NULL;
	gchar* _tmp0_ = NULL;
	glong _tmp1_ = 0L;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp0_ = str;
#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp1_ = maxlen;
#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	end = _tmp2_;
#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp3_ = end;
#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	if (_tmp3_ == NULL) {
#line 386 "gitg-diff-view-commit-details.c"
		glong _tmp4_ = 0L;
#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp4_ = maxlen;
#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		result = _tmp4_;
#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		return result;
#line 394 "gitg-diff-view-commit-details.c"
	} else {
		gchar* _tmp5_ = NULL;
		gchar* _tmp6_ = NULL;
#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp5_ = end;
#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp6_ = str;
#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		result = (glong) (_tmp5_ - _tmp6_);
#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		return result;
#line 406 "gitg-diff-view-commit-details.c"
	}
}


static gchar* string_substring (const gchar* self, glong offset, glong len) {
	gchar* result = NULL;
	glong string_length = 0L;
	gboolean _tmp0_ = FALSE;
	glong _tmp1_ = 0L;
	glong _tmp8_ = 0L;
	glong _tmp14_ = 0L;
	glong _tmp17_ = 0L;
	glong _tmp18_ = 0L;
	glong _tmp19_ = 0L;
	glong _tmp20_ = 0L;
	glong _tmp21_ = 0L;
	gchar* _tmp22_ = NULL;
#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp1_ = offset;
#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	if (_tmp1_ >= ((glong) 0)) {
#line 430 "gitg-diff-view-commit-details.c"
		glong _tmp2_ = 0L;
#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp2_ = len;
#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp0_ = _tmp2_ >= ((glong) 0);
#line 436 "gitg-diff-view-commit-details.c"
	} else {
#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp0_ = FALSE;
#line 440 "gitg-diff-view-commit-details.c"
	}
#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	if (_tmp0_) {
#line 444 "gitg-diff-view-commit-details.c"
		glong _tmp3_ = 0L;
		glong _tmp4_ = 0L;
		glong _tmp5_ = 0L;
#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp3_ = offset;
#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp4_ = len;
#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		string_length = _tmp5_;
#line 456 "gitg-diff-view-commit-details.c"
	} else {
		gint _tmp6_ = 0;
		gint _tmp7_ = 0;
#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp6_ = strlen (self);
#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp7_ = _tmp6_;
#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		string_length = (glong) _tmp7_;
#line 466 "gitg-diff-view-commit-details.c"
	}
#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp8_ = offset;
#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	if (_tmp8_ < ((glong) 0)) {
#line 472 "gitg-diff-view-commit-details.c"
		glong _tmp9_ = 0L;
		glong _tmp10_ = 0L;
		glong _tmp11_ = 0L;
#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp9_ = string_length;
#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp10_ = offset;
#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		offset = _tmp9_ + _tmp10_;
#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp11_ = offset;
#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 486 "gitg-diff-view-commit-details.c"
	} else {
		glong _tmp12_ = 0L;
		glong _tmp13_ = 0L;
#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp12_ = offset;
#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp13_ = string_length;
#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 496 "gitg-diff-view-commit-details.c"
	}
#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp14_ = len;
#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	if (_tmp14_ < ((glong) 0)) {
#line 502 "gitg-diff-view-commit-details.c"
		glong _tmp15_ = 0L;
		glong _tmp16_ = 0L;
#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp15_ = string_length;
#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp16_ = offset;
#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		len = _tmp15_ - _tmp16_;
#line 511 "gitg-diff-view-commit-details.c"
	}
#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp17_ = offset;
#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp18_ = len;
#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp19_ = string_length;
#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp20_ = offset;
#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp21_ = len;
#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	result = _tmp22_;
#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	return result;
#line 531 "gitg-diff-view-commit-details.c"
}


static const gchar* string_to_string (const gchar* self) {
	const gchar* result = NULL;
#line 1412 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1413 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	result = self;
#line 1413 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	return result;
#line 543 "gitg-diff-view-commit-details.c"
}


static void _____lambda45_ (Block8Data* _data8_) {
	GitgDiffViewCommitDetails* self;
	GtkRadioButton* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
#line 244 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	self = _data8_->self;
#line 245 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp0_ = _data8_->button;
#line 245 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp1_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp0_);
#line 245 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp2_ = _tmp1_;
#line 245 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	if (_tmp2_) {
#line 562 "gitg-diff-view-commit-details.c"
		GgitCommit* _tmp3_ = NULL;
#line 246 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp3_ = _data8_->par;
#line 246 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		gitg_diff_view_commit_details_set_parent_commit (self, _tmp3_);
#line 568 "gitg-diff-view-commit-details.c"
	}
}


static void ______lambda45__gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) {
#line 244 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_____lambda45_ (self);
#line 576 "gitg-diff-view-commit-details.c"
}


static void _g_object_unref0_ (gpointer var) {
#line 216 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	(var == NULL) ? NULL : (var = (g_object_unref (var), NULL));
#line 583 "gitg-diff-view-commit-details.c"
}


static void _g_slist_free__g_object_unref0_ (GSList* self) {
#line 216 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_slist_foreach (self, (GFunc) _g_object_unref0_, NULL);
#line 216 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_slist_free (self);
#line 592 "gitg-diff-view-commit-details.c"
}


static void gitg_diff_view_commit_details_update (GitgDiffViewCommitDetails* self) {
	GeeHashMap* _tmp0_ = NULL;
	GtkGrid* _tmp1_ = NULL;
	GList* _tmp2_ = NULL;
	GgitCommit* _tmp4_ = NULL;
	GgitCommit* _tmp5_ = NULL;
	GtkLabel* _tmp6_ = NULL;
	GgitCommit* _tmp7_ = NULL;
	GgitCommit* _tmp8_ = NULL;
	const gchar* _tmp9_ = NULL;
	GtkLabel* _tmp10_ = NULL;
	GgitCommit* _tmp11_ = NULL;
	GgitCommit* _tmp12_ = NULL;
	GgitOId* _tmp13_ = NULL;
	GgitOId* _tmp14_ = NULL;
	gchar* _tmp15_ = NULL;
	gchar* _tmp16_ = NULL;
	GgitSignature* author = NULL;
	GgitCommit* _tmp17_ = NULL;
	GgitCommit* _tmp18_ = NULL;
	GgitSignature* _tmp19_ = NULL;
	GtkLabel* _tmp20_ = NULL;
	GgitSignature* _tmp21_ = NULL;
	gchar* _tmp22_ = NULL;
	gchar* _tmp23_ = NULL;
	GtkLabel* _tmp24_ = NULL;
	GgitSignature* _tmp25_ = NULL;
	GDateTime* _tmp26_ = NULL;
	GDateTime* _tmp27_ = NULL;
	GgitSignature* _tmp28_ = NULL;
	GTimeZone* _tmp29_ = NULL;
	GTimeZone* _tmp30_ = NULL;
	GDateTime* _tmp31_ = NULL;
	GDateTime* _tmp32_ = NULL;
	gchar* _tmp33_ = NULL;
	gchar* _tmp34_ = NULL;
	GgitSignature* committer = NULL;
	GgitCommit* _tmp35_ = NULL;
	GgitCommit* _tmp36_ = NULL;
	GgitSignature* _tmp37_ = NULL;
	gboolean _tmp38_ = FALSE;
	gboolean _tmp39_ = FALSE;
	GgitSignature* _tmp40_ = NULL;
	const gchar* _tmp41_ = NULL;
	GgitSignature* _tmp42_ = NULL;
	const gchar* _tmp43_ = NULL;
	GgitCommitParents* parents = NULL;
	GgitCommit* _tmp75_ = NULL;
	GgitCommit* _tmp76_ = NULL;
	GgitCommitParents* _tmp77_ = NULL;
	GgitCommit* _tmp78_ = NULL;
	GgitCommitParents* _tmp79_ = NULL;
	guint _tmp80_ = 0U;
	guint _tmp81_ = 0U;
	GgitCommit* first_parent = NULL;
	GgitCommit* _tmp84_ = NULL;
	GgitCommit* _tmp85_ = NULL;
	GgitCommitParents* _tmp86_ = NULL;
	guint _tmp87_ = 0U;
	guint _tmp88_ = 0U;
#line 174 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_return_if_fail (self != NULL);
#line 176 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp0_ = gee_hash_map_new (ggit_oid_get_type (), (GBoxedCopyFunc) _vala_GgitOId_copy, _vala_GgitOId_free, gtk_radio_button_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, ___lambda43__gee_hash_data_func, g_object_ref (self), g_object_unref, ___lambda44__gee_equal_data_func, g_object_ref (self), g_object_unref, NULL, NULL, NULL);
#line 176 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_g_object_unref0 (self->priv->d_parents_map);
#line 176 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	self->priv->d_parents_map = _tmp0_;
#line 178 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp1_ = self->priv->d_grid_parents;
#line 178 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp2_ = gtk_container_get_children ((GtkContainer*) _tmp1_);
#line 668 "gitg-diff-view-commit-details.c"
	{
		GList* child_collection = NULL;
		GList* child_it = NULL;
#line 178 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		child_collection = _tmp2_;
#line 178 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		for (child_it = child_collection; child_it != NULL; child_it = child_it->next) {
#line 676 "gitg-diff-view-commit-details.c"
			GtkWidget* child = NULL;
#line 178 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			child = (GtkWidget*) child_it->data;
#line 680 "gitg-diff-view-commit-details.c"
			{
				GtkWidget* _tmp3_ = NULL;
#line 180 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp3_ = child;
#line 180 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				gtk_widget_destroy (_tmp3_);
#line 687 "gitg-diff-view-commit-details.c"
			}
		}
#line 178 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_g_list_free0 (child_collection);
#line 692 "gitg-diff-view-commit-details.c"
	}
#line 183 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp4_ = gitg_diff_view_commit_details_get_commit (self);
#line 183 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp5_ = _tmp4_;
#line 183 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	if (_tmp5_ == NULL) {
#line 185 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		return;
#line 702 "gitg-diff-view-commit-details.c"
	}
#line 188 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp6_ = self->priv->d_label_subject;
#line 188 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp7_ = gitg_diff_view_commit_details_get_commit (self);
#line 188 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp8_ = _tmp7_;
#line 188 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp9_ = ggit_commit_get_subject (_tmp8_);
#line 188 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	gtk_label_set_label (_tmp6_, _tmp9_);
#line 189 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp10_ = self->priv->d_label_sha1;
#line 189 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp11_ = gitg_diff_view_commit_details_get_commit (self);
#line 189 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp12_ = _tmp11_;
#line 189 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp13_ = ggit_object_get_id ((GgitObject*) _tmp12_);
#line 189 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp14_ = _tmp13_;
#line 189 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp15_ = ggit_oid_to_string (_tmp14_);
#line 189 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp16_ = _tmp15_;
#line 189 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	gtk_label_set_label (_tmp10_, _tmp16_);
#line 189 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_g_free0 (_tmp16_);
#line 189 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	__vala_GgitOId_free0 (_tmp14_);
#line 191 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp17_ = gitg_diff_view_commit_details_get_commit (self);
#line 191 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp18_ = _tmp17_;
#line 191 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp19_ = ggit_commit_get_author (_tmp18_);
#line 191 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	author = _tmp19_;
#line 193 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp20_ = self->priv->d_label_author;
#line 193 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp21_ = author;
#line 193 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp22_ = gitg_diff_view_commit_details_author_to_markup (self, _tmp21_);
#line 193 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp23_ = _tmp22_;
#line 193 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	gtk_label_set_label (_tmp20_, _tmp23_);
#line 193 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_g_free0 (_tmp23_);
#line 194 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp24_ = self->priv->d_label_author_date;
#line 194 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp25_ = author;
#line 194 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp26_ = ggit_signature_get_time (_tmp25_);
#line 194 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp27_ = _tmp26_;
#line 194 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp28_ = author;
#line 194 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp29_ = ggit_signature_get_time_zone (_tmp28_);
#line 194 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp30_ = _tmp29_;
#line 194 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp31_ = g_date_time_to_timezone (_tmp27_, _tmp30_);
#line 194 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp32_ = _tmp31_;
#line 194 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp33_ = g_date_time_format (_tmp32_, "%x %X %z");
#line 194 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp34_ = _tmp33_;
#line 194 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	gtk_label_set_label (_tmp24_, _tmp34_);
#line 194 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_g_free0 (_tmp34_);
#line 194 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_g_date_time_unref0 (_tmp32_);
#line 194 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_g_time_zone_unref0 (_tmp30_);
#line 194 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_g_date_time_unref0 (_tmp27_);
#line 196 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp35_ = gitg_diff_view_commit_details_get_commit (self);
#line 196 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp36_ = _tmp35_;
#line 196 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp37_ = ggit_commit_get_committer (_tmp36_);
#line 196 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	committer = _tmp37_;
#line 198 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp40_ = committer;
#line 198 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp41_ = ggit_signature_get_name (_tmp40_);
#line 198 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp42_ = author;
#line 198 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp43_ = ggit_signature_get_name (_tmp42_);
#line 198 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	if (g_strcmp0 (_tmp41_, _tmp43_) != 0) {
#line 198 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp39_ = TRUE;
#line 806 "gitg-diff-view-commit-details.c"
	} else {
		GgitSignature* _tmp44_ = NULL;
		const gchar* _tmp45_ = NULL;
		GgitSignature* _tmp46_ = NULL;
		const gchar* _tmp47_ = NULL;
#line 199 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp44_ = committer;
#line 199 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp45_ = ggit_signature_get_email (_tmp44_);
#line 199 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp46_ = author;
#line 199 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp47_ = ggit_signature_get_email (_tmp46_);
#line 199 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp39_ = g_strcmp0 (_tmp45_, _tmp47_) != 0;
#line 822 "gitg-diff-view-commit-details.c"
	}
#line 198 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	if (_tmp39_) {
#line 198 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp38_ = TRUE;
#line 828 "gitg-diff-view-commit-details.c"
	} else {
		GgitSignature* _tmp48_ = NULL;
		GDateTime* _tmp49_ = NULL;
		GDateTime* _tmp50_ = NULL;
		GgitSignature* _tmp51_ = NULL;
		GDateTime* _tmp52_ = NULL;
		GDateTime* _tmp53_ = NULL;
		gint _tmp54_ = 0;
#line 200 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp48_ = committer;
#line 200 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp49_ = ggit_signature_get_time (_tmp48_);
#line 200 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp50_ = _tmp49_;
#line 200 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp51_ = author;
#line 200 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp52_ = ggit_signature_get_time (_tmp51_);
#line 200 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp53_ = _tmp52_;
#line 200 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp54_ = g_date_time_compare (_tmp50_, _tmp53_);
#line 200 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp38_ = _tmp54_ != 0;
#line 200 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_g_date_time_unref0 (_tmp53_);
#line 200 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_g_date_time_unref0 (_tmp50_);
#line 857 "gitg-diff-view-commit-details.c"
	}
#line 198 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	if (_tmp38_) {
#line 861 "gitg-diff-view-commit-details.c"
		GtkLabel* _tmp55_ = NULL;
		const gchar* _tmp56_ = NULL;
		GgitSignature* _tmp57_ = NULL;
		gchar* _tmp58_ = NULL;
		gchar* _tmp59_ = NULL;
		gchar* _tmp60_ = NULL;
		gchar* _tmp61_ = NULL;
		GtkLabel* _tmp62_ = NULL;
		GgitSignature* _tmp63_ = NULL;
		GDateTime* _tmp64_ = NULL;
		GDateTime* _tmp65_ = NULL;
		GgitSignature* _tmp66_ = NULL;
		GTimeZone* _tmp67_ = NULL;
		GTimeZone* _tmp68_ = NULL;
		GDateTime* _tmp69_ = NULL;
		GDateTime* _tmp70_ = NULL;
		gchar* _tmp71_ = NULL;
		gchar* _tmp72_ = NULL;
#line 202 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp55_ = self->priv->d_label_committer;
#line 202 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp56_ = _ ("Committed by %s");
#line 202 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp57_ = committer;
#line 202 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp58_ = gitg_diff_view_commit_details_author_to_markup (self, _tmp57_);
#line 202 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp59_ = _tmp58_;
#line 202 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp60_ = g_strdup_printf (_tmp56_, _tmp59_);
#line 202 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp61_ = _tmp60_;
#line 202 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		gtk_label_set_label (_tmp55_, _tmp61_);
#line 202 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_g_free0 (_tmp61_);
#line 202 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_g_free0 (_tmp59_);
#line 203 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp62_ = self->priv->d_label_committer_date;
#line 203 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp63_ = committer;
#line 203 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp64_ = ggit_signature_get_time (_tmp63_);
#line 203 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp65_ = _tmp64_;
#line 203 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp66_ = committer;
#line 203 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp67_ = ggit_signature_get_time_zone (_tmp66_);
#line 203 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp68_ = _tmp67_;
#line 203 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp69_ = g_date_time_to_timezone (_tmp65_, _tmp68_);
#line 203 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp70_ = _tmp69_;
#line 203 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp71_ = g_date_time_format (_tmp70_, "%x %X %z");
#line 203 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp72_ = _tmp71_;
#line 203 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		gtk_label_set_label (_tmp62_, _tmp72_);
#line 203 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_g_free0 (_tmp72_);
#line 203 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_g_date_time_unref0 (_tmp70_);
#line 203 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_g_time_zone_unref0 (_tmp68_);
#line 203 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_g_date_time_unref0 (_tmp65_);
#line 932 "gitg-diff-view-commit-details.c"
	} else {
		GtkLabel* _tmp73_ = NULL;
		GtkLabel* _tmp74_ = NULL;
#line 207 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp73_ = self->priv->d_label_committer;
#line 207 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		gtk_label_set_label (_tmp73_, "");
#line 208 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp74_ = self->priv->d_label_committer_date;
#line 208 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		gtk_label_set_label (_tmp74_, "");
#line 944 "gitg-diff-view-commit-details.c"
	}
#line 211 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp75_ = gitg_diff_view_commit_details_get_commit (self);
#line 211 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp76_ = _tmp75_;
#line 211 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp77_ = ggit_commit_get_parents (_tmp76_);
#line 211 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	parents = _tmp77_;
#line 212 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp79_ = parents;
#line 212 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp80_ = ggit_commit_parents_get_size (_tmp79_);
#line 212 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp81_ = _tmp80_;
#line 212 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	if (_tmp81_ == ((guint) 0)) {
#line 212 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_g_object_unref0 (_tmp78_);
#line 212 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp78_ = NULL;
#line 966 "gitg-diff-view-commit-details.c"
	} else {
		GgitCommitParents* _tmp82_ = NULL;
		GgitCommit* _tmp83_ = NULL;
#line 212 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp82_ = parents;
#line 212 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp83_ = ggit_commit_parents_get (_tmp82_, (guint) 0);
#line 212 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_g_object_unref0 (_tmp78_);
#line 212 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp78_ = _tmp83_;
#line 978 "gitg-diff-view-commit-details.c"
	}
#line 212 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp84_ = _g_object_ref0 (_tmp78_);
#line 212 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	first_parent = _tmp84_;
#line 214 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp85_ = first_parent;
#line 214 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	gitg_diff_view_commit_details_set_parent_commit (self, _tmp85_);
#line 216 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp86_ = parents;
#line 216 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp87_ = ggit_commit_parents_get_size (_tmp86_);
#line 216 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp88_ = _tmp87_;
#line 216 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	if (_tmp88_ > ((guint) 1)) {
#line 996 "gitg-diff-view-commit-details.c"
		GtkGrid* _tmp89_ = NULL;
		GSList* grp = NULL;
		GtkRadioButton* first = NULL;
#line 218 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp89_ = self->priv->d_grid_parents_container;
#line 218 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		gtk_widget_show ((GtkWidget*) _tmp89_);
#line 219 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		grp = NULL;
#line 221 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		first = NULL;
#line 1008 "gitg-diff-view-commit-details.c"
		{
			GgitCommitParents* _parent_list = NULL;
			GgitCommitParents* _tmp90_ = NULL;
			GgitCommitParents* _tmp91_ = NULL;
			guint _parent_size = 0U;
			GgitCommitParents* _tmp92_ = NULL;
			guint _tmp93_ = 0U;
			guint _tmp94_ = 0U;
			gint _parent_index = 0;
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			_tmp90_ = parents;
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			_tmp91_ = _g_object_ref0 (_tmp90_);
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			_parent_list = _tmp91_;
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			_tmp92_ = _parent_list;
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			_tmp93_ = ggit_commit_parents_get_size (_tmp92_);
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			_tmp94_ = _tmp93_;
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			_parent_size = _tmp94_;
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			_parent_index = -1;
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			while (TRUE) {
#line 1036 "gitg-diff-view-commit-details.c"
				Block8Data* _data8_;
				gint _tmp95_ = 0;
				gint _tmp96_ = 0;
				guint _tmp97_ = 0U;
				GgitCommit* parent = NULL;
				GgitCommitParents* _tmp98_ = NULL;
				gint _tmp99_ = 0;
				GgitCommit* _tmp100_ = NULL;
				gchar* pid = NULL;
				GgitCommit* _tmp101_ = NULL;
				GgitOId* _tmp102_ = NULL;
				GgitOId* _tmp103_ = NULL;
				gchar* _tmp104_ = NULL;
				gchar* _tmp105_ = NULL;
				gchar* _tmp106_ = NULL;
				gchar* _tmp107_ = NULL;
				gchar* psubj = NULL;
				GgitCommit* _tmp108_ = NULL;
				const gchar* _tmp109_ = NULL;
				gchar* _tmp110_ = NULL;
				GSList* _tmp111_ = NULL;
				const gchar* _tmp112_ = NULL;
				const gchar* _tmp113_ = NULL;
				const gchar* _tmp114_ = NULL;
				const gchar* _tmp115_ = NULL;
				gchar* _tmp116_ = NULL;
				gchar* _tmp117_ = NULL;
				GtkRadioButton* _tmp118_ = NULL;
				GtkRadioButton* _tmp119_ = NULL;
				GtkRadioButton* _tmp120_ = NULL;
				GtkRadioButton* _tmp123_ = NULL;
				GtkRadioButton* _tmp124_ = NULL;
				GeeHashMap* _tmp125_ = NULL;
				GgitCommit* _tmp126_ = NULL;
				GgitOId* _tmp127_ = NULL;
				GgitOId* _tmp128_ = NULL;
				GtkRadioButton* _tmp129_ = NULL;
				GtkRadioButton* _tmp130_ = NULL;
				GtkGrid* _tmp131_ = NULL;
				GtkRadioButton* _tmp132_ = NULL;
				GgitCommit* _tmp133_ = NULL;
				GgitCommit* _tmp134_ = NULL;
				GtkRadioButton* _tmp135_ = NULL;
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_data8_ = g_slice_new0 (Block8Data);
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_data8_->_ref_count_ = 1;
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_data8_->self = g_object_ref (self);
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp95_ = _parent_index;
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_parent_index = _tmp95_ + 1;
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp96_ = _parent_index;
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp97_ = _parent_size;
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				if (!(((guint) _tmp96_) < _tmp97_)) {
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
					block8_data_unref (_data8_);
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
					_data8_ = NULL;
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
					break;
#line 1102 "gitg-diff-view-commit-details.c"
				}
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp98_ = _parent_list;
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp99_ = _parent_index;
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp100_ = ggit_commit_parents_get (_tmp98_, (guint) _tmp99_);
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				parent = _tmp100_;
#line 225 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp101_ = parent;
#line 225 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp102_ = ggit_object_get_id ((GgitObject*) _tmp101_);
#line 225 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp103_ = _tmp102_;
#line 225 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp104_ = ggit_oid_to_string (_tmp103_);
#line 225 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp105_ = _tmp104_;
#line 225 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp106_ = string_substring (_tmp105_, (glong) 0, (glong) 6);
#line 225 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp107_ = _tmp106_;
#line 225 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_g_free0 (_tmp105_);
#line 225 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				__vala_GgitOId_free0 (_tmp103_);
#line 225 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				pid = _tmp107_;
#line 226 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp108_ = parent;
#line 226 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp109_ = ggit_commit_get_subject (_tmp108_);
#line 226 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp110_ = g_strdup (_tmp109_);
#line 226 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				psubj = _tmp110_;
#line 228 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp111_ = grp;
#line 228 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp112_ = pid;
#line 228 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp113_ = string_to_string (_tmp112_);
#line 228 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp114_ = psubj;
#line 228 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp115_ = string_to_string (_tmp114_);
#line 228 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp116_ = g_strconcat (_tmp113_, ": ", _tmp115_, NULL);
#line 228 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp117_ = _tmp116_;
#line 228 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp118_ = (GtkRadioButton*) gtk_radio_button_new_with_label (_tmp111_, _tmp117_);
#line 228 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				g_object_ref_sink (_tmp118_);
#line 228 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp119_ = _tmp118_;
#line 228 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_g_free0 (_tmp117_);
#line 228 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_data8_->button = _tmp119_;
#line 230 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp120_ = first;
#line 230 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				if (_tmp120_ == NULL) {
#line 1168 "gitg-diff-view-commit-details.c"
					GtkRadioButton* _tmp121_ = NULL;
					GtkRadioButton* _tmp122_ = NULL;
#line 232 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
					_tmp121_ = _data8_->button;
#line 232 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
					_tmp122_ = _g_object_ref0 (_tmp121_);
#line 232 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
					_g_object_unref0 (first);
#line 232 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
					first = _tmp122_;
#line 1179 "gitg-diff-view-commit-details.c"
				}
#line 235 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp123_ = _data8_->button;
#line 235 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp124_ = first;
#line 235 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				g_object_set (_tmp123_, "group", _tmp124_, NULL);
#line 237 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp125_ = self->priv->d_parents_map;
#line 237 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp126_ = parent;
#line 237 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp127_ = ggit_object_get_id ((GgitObject*) _tmp126_);
#line 237 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp128_ = _tmp127_;
#line 237 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp129_ = _data8_->button;
#line 237 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				gee_abstract_map_set ((GeeAbstractMap*) _tmp125_, _tmp128_, _tmp129_);
#line 237 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				__vala_GgitOId_free0 (_tmp128_);
#line 239 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp130_ = _data8_->button;
#line 239 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				gtk_widget_show ((GtkWidget*) _tmp130_);
#line 240 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp131_ = self->priv->d_grid_parents;
#line 240 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp132_ = _data8_->button;
#line 240 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				gtk_container_add ((GtkContainer*) _tmp131_, (GtkWidget*) _tmp132_);
#line 242 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp133_ = parent;
#line 242 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp134_ = _g_object_ref0 (_tmp133_);
#line 242 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_data8_->par = _tmp134_;
#line 244 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp135_ = _data8_->button;
#line 244 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				g_signal_connect_data ((GtkToggleButton*) _tmp135_, "toggled", (GCallback) ______lambda45__gtk_toggle_button_toggled, block8_data_ref (_data8_), (GClosureNotify) block8_data_unref, 0);
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_g_free0 (psubj);
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_g_free0 (pid);
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_g_object_unref0 (parent);
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				block8_data_unref (_data8_);
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_data8_ = NULL;
#line 1231 "gitg-diff-view-commit-details.c"
			}
#line 223 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			_g_object_unref0 (_parent_list);
#line 1235 "gitg-diff-view-commit-details.c"
		}
#line 216 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_g_object_unref0 (first);
#line 216 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		__g_slist_free__g_object_unref0_0 (grp);
#line 1241 "gitg-diff-view-commit-details.c"
	} else {
		GtkGrid* _tmp136_ = NULL;
#line 253 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp136_ = self->priv->d_grid_parents_container;
#line 253 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		gtk_widget_hide ((GtkWidget*) _tmp136_);
#line 1248 "gitg-diff-view-commit-details.c"
	}
#line 256 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	gitg_diff_view_commit_details_update_avatar (self);
#line 174 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_g_object_unref0 (first_parent);
#line 174 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_g_object_unref0 (_tmp78_);
#line 174 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_g_object_unref0 (parents);
#line 174 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_g_object_unref0 (committer);
#line 174 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_g_object_unref0 (author);
#line 1262 "gitg-diff-view-commit-details.c"
}


static Block9Data* block9_data_ref (Block9Data* _data9_) {
#line 266 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_atomic_int_inc (&_data9_->_ref_count_);
#line 266 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	return _data9_;
#line 1271 "gitg-diff-view-commit-details.c"
}


static void block9_data_unref (void * _userdata_) {
	Block9Data* _data9_;
	_data9_ = (Block9Data*) _userdata_;
#line 266 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	if (g_atomic_int_dec_and_test (&_data9_->_ref_count_)) {
#line 1280 "gitg-diff-view-commit-details.c"
		GitgDiffViewCommitDetails* self;
#line 266 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		self = _data9_->self;
#line 266 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_g_object_unref0 (_data9_->cache);
#line 266 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_g_object_unref0 (_data9_->cancel);
#line 266 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_g_object_unref0 (self);
#line 266 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		g_slice_free (Block9Data, _data9_);
#line 1292 "gitg-diff-view-commit-details.c"
	}
}


static void ___lambda46_ (Block9Data* _data9_, GObject* obj, GAsyncResult* res) {
	GitgDiffViewCommitDetails* self;
	GCancellable* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	GCancellable* _tmp13_ = NULL;
	GCancellable* _tmp14_ = NULL;
#line 278 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	self = _data9_->self;
#line 278 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_return_if_fail (res != NULL);
#line 279 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp0_ = _data9_->cancel;
#line 279 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp1_ = g_cancellable_is_cancelled (_tmp0_);
#line 279 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	if (!_tmp1_) {
#line 1313 "gitg-diff-view-commit-details.c"
		GdkPixbuf* pixbuf = NULL;
		GitgAvatarCache* _tmp2_ = NULL;
		GAsyncResult* _tmp3_ = NULL;
		GdkPixbuf* _tmp4_ = NULL;
		GdkPixbuf* _tmp5_ = NULL;
#line 281 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp2_ = _data9_->cache;
#line 281 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp3_ = res;
#line 281 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp4_ = gitg_avatar_cache_load_finish (_tmp2_, _tmp3_);
#line 281 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		pixbuf = _tmp4_;
#line 283 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp5_ = pixbuf;
#line 283 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		if (_tmp5_ != NULL) {
#line 1331 "gitg-diff-view-commit-details.c"
			GtkImage* _tmp6_ = NULL;
			GdkPixbuf* _tmp7_ = NULL;
			GtkImage* _tmp8_ = NULL;
			GtkStyleContext* _tmp9_ = NULL;
#line 285 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			_tmp6_ = self->priv->d_image_avatar;
#line 285 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			_tmp7_ = pixbuf;
#line 285 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			g_object_set (_tmp6_, "pixbuf", _tmp7_, NULL);
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			_tmp8_ = self->priv->d_image_avatar;
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			_tmp9_ = gtk_widget_get_style_context ((GtkWidget*) _tmp8_);
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			gtk_style_context_remove_class (_tmp9_, "dim-label");
#line 1348 "gitg-diff-view-commit-details.c"
		} else {
			GtkImage* _tmp10_ = NULL;
			GtkImage* _tmp11_ = NULL;
			GtkStyleContext* _tmp12_ = NULL;
#line 290 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			_tmp10_ = self->priv->d_image_avatar;
#line 290 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			g_object_set (_tmp10_, "icon-name", "avatar-default-symbolic", NULL);
#line 291 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			_tmp11_ = self->priv->d_image_avatar;
#line 291 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			_tmp12_ = gtk_widget_get_style_context ((GtkWidget*) _tmp11_);
#line 291 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			gtk_style_context_add_class (_tmp12_, "dim-label");
#line 1363 "gitg-diff-view-commit-details.c"
		}
#line 279 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_g_object_unref0 (pixbuf);
#line 1367 "gitg-diff-view-commit-details.c"
	}
#line 295 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp13_ = _data9_->cancel;
#line 295 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp14_ = self->priv->d_avatar_cancel;
#line 295 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	if (_tmp13_ == _tmp14_) {
#line 297 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_g_object_unref0 (self->priv->d_avatar_cancel);
#line 297 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		self->priv->d_avatar_cancel = NULL;
#line 1379 "gitg-diff-view-commit-details.c"
	}
}


static void ____lambda46__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 278 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	___lambda46_ (self, source_object, res);
#line 278 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	block9_data_unref (self);
#line 1389 "gitg-diff-view-commit-details.c"
}


static void gitg_diff_view_commit_details_update_avatar (GitgDiffViewCommitDetails* self) {
	GgitCommit* _tmp0_ = NULL;
	GgitCommit* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
#line 259 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_return_if_fail (self != NULL);
#line 261 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp0_ = gitg_diff_view_commit_details_get_commit (self);
#line 261 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp1_ = _tmp0_;
#line 261 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	if (_tmp1_ == NULL) {
#line 263 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		return;
#line 1407 "gitg-diff-view-commit-details.c"
	}
#line 266 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp2_ = self->priv->d_use_gravatar;
#line 266 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	if (_tmp2_) {
#line 1413 "gitg-diff-view-commit-details.c"
		Block9Data* _data9_;
		GCancellable* _tmp3_ = NULL;
		GCancellable* _tmp5_ = NULL;
		GCancellable* _tmp6_ = NULL;
		GCancellable* _tmp7_ = NULL;
		GitgAvatarCache* _tmp8_ = NULL;
		GitgAvatarCache* _tmp9_ = NULL;
		GgitCommit* _tmp10_ = NULL;
		GgitCommit* _tmp11_ = NULL;
		GgitSignature* _tmp12_ = NULL;
		GgitSignature* _tmp13_ = NULL;
		const gchar* _tmp14_ = NULL;
		GtkImage* _tmp15_ = NULL;
		gint _tmp16_ = 0;
		gint _tmp17_ = 0;
		GCancellable* _tmp18_ = NULL;
#line 266 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_data9_ = g_slice_new0 (Block9Data);
#line 266 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_data9_->_ref_count_ = 1;
#line 266 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_data9_->self = g_object_ref (self);
#line 268 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp3_ = self->priv->d_avatar_cancel;
#line 268 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		if (_tmp3_ != NULL) {
#line 1440 "gitg-diff-view-commit-details.c"
			GCancellable* _tmp4_ = NULL;
#line 270 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			_tmp4_ = self->priv->d_avatar_cancel;
#line 270 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			g_cancellable_cancel (_tmp4_);
#line 1446 "gitg-diff-view-commit-details.c"
		}
#line 273 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp5_ = g_cancellable_new ();
#line 273 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_g_object_unref0 (self->priv->d_avatar_cancel);
#line 273 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		self->priv->d_avatar_cancel = _tmp5_;
#line 274 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp6_ = self->priv->d_avatar_cancel;
#line 274 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp7_ = _g_object_ref0 (_tmp6_);
#line 274 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_data9_->cancel = _tmp7_;
#line 276 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp8_ = gitg_avatar_cache_default ();
#line 276 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_data9_->cache = _tmp8_;
#line 278 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp9_ = _data9_->cache;
#line 278 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp10_ = gitg_diff_view_commit_details_get_commit (self);
#line 278 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp11_ = _tmp10_;
#line 278 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp12_ = ggit_commit_get_author (_tmp11_);
#line 278 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp13_ = _tmp12_;
#line 278 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp14_ = ggit_signature_get_email (_tmp13_);
#line 278 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp15_ = self->priv->d_image_avatar;
#line 278 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp16_ = gtk_image_get_pixel_size (_tmp15_);
#line 278 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp17_ = _tmp16_;
#line 278 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp18_ = _data9_->cancel;
#line 278 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		gitg_avatar_cache_load (_tmp9_, _tmp14_, _tmp17_, _tmp18_, ____lambda46__gasync_ready_callback, block9_data_ref (_data9_));
#line 278 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_g_object_unref0 (_tmp13_);
#line 266 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		block9_data_unref (_data9_);
#line 266 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_data9_ = NULL;
#line 1492 "gitg-diff-view-commit-details.c"
	} else {
		GtkImage* _tmp19_ = NULL;
		GtkImage* _tmp20_ = NULL;
		GtkStyleContext* _tmp21_ = NULL;
#line 303 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp19_ = self->priv->d_image_avatar;
#line 303 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		g_object_set (_tmp19_, "icon-name", "avatar-default-symbolic", NULL);
#line 304 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp20_ = self->priv->d_image_avatar;
#line 304 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp21_ = gtk_widget_get_style_context ((GtkWidget*) _tmp20_);
#line 304 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		gtk_style_context_add_class (_tmp21_, "dim-label");
#line 1507 "gitg-diff-view-commit-details.c"
	}
}


static gboolean gitg_diff_view_commit_details_button_press_on_event_box_expand_collapse (GitgDiffViewCommitDetails* self, GdkEventButton* event) {
	gboolean result = FALSE;
	GdkEventButton* _tmp0_ = NULL;
	guint _tmp1_ = 0U;
#line 309 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 309 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 311 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp0_ = event;
#line 311 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp1_ = _tmp0_->button;
#line 311 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	if (_tmp1_ == ((guint) GDK_BUTTON_PRIMARY)) {
#line 1526 "gitg-diff-view-commit-details.c"
		GtkExpander* _tmp2_ = NULL;
		GtkExpander* _tmp3_ = NULL;
		gboolean _tmp4_ = FALSE;
		gboolean _tmp5_ = FALSE;
#line 313 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp2_ = self->priv->d_expander_files;
#line 313 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp3_ = self->priv->d_expander_files;
#line 313 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp4_ = gtk_expander_get_expanded (_tmp3_);
#line 313 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp5_ = _tmp4_;
#line 313 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		gtk_expander_set_expanded (_tmp2_, !_tmp5_);
#line 314 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		result = TRUE;
#line 314 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		return result;
#line 1545 "gitg-diff-view-commit-details.c"
	}
#line 317 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	result = FALSE;
#line 317 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	return result;
#line 1551 "gitg-diff-view-commit-details.c"
}


static gboolean _gitg_diff_view_commit_details_button_press_on_event_box_expand_collapse_gtk_widget_button_press_event (GtkWidget* _sender, GdkEventButton* event, gpointer self) {
	gboolean result;
	result = gitg_diff_view_commit_details_button_press_on_event_box_expand_collapse ((GitgDiffViewCommitDetails*) self, event);
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	return result;
#line 1560 "gitg-diff-view-commit-details.c"
}


gboolean gitg_diff_view_commit_details_get_expanded (GitgDiffViewCommitDetails* self) {
	gboolean result;
	GtkExpander* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
#line 58 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 58 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp0_ = self->priv->d_expander_files;
#line 58 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp1_ = gtk_expander_get_expanded (_tmp0_);
#line 58 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp2_ = _tmp1_;
#line 58 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	result = _tmp2_;
#line 58 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	return result;
#line 1581 "gitg-diff-view-commit-details.c"
}


void gitg_diff_view_commit_details_set_expanded (GitgDiffViewCommitDetails* self, gboolean value) {
	GtkExpander* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
	gboolean _tmp3_ = FALSE;
#line 59 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_return_if_fail (self != NULL);
#line 61 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp0_ = self->priv->d_expander_files;
#line 61 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp1_ = gtk_expander_get_expanded (_tmp0_);
#line 61 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp2_ = _tmp1_;
#line 61 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp3_ = value;
#line 61 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	if (_tmp2_ != _tmp3_) {
#line 1602 "gitg-diff-view-commit-details.c"
		GtkExpander* _tmp4_ = NULL;
		gboolean _tmp5_ = FALSE;
#line 63 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp4_ = self->priv->d_expander_files;
#line 63 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp5_ = value;
#line 63 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		gtk_expander_set_expanded (_tmp4_, _tmp5_);
#line 1611 "gitg-diff-view-commit-details.c"
	}
#line 59 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_object_notify ((GObject *) self, "expanded");
#line 1615 "gitg-diff-view-commit-details.c"
}


gboolean gitg_diff_view_commit_details_get_expander_visible (GitgDiffViewCommitDetails* self) {
	gboolean result;
	GtkExpander* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
#line 70 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 70 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp0_ = self->priv->d_expander_files;
#line 70 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp1_ = gtk_widget_get_visible ((GtkWidget*) _tmp0_);
#line 70 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp2_ = _tmp1_;
#line 70 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	result = _tmp2_;
#line 70 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	return result;
#line 1636 "gitg-diff-view-commit-details.c"
}


void gitg_diff_view_commit_details_set_expander_visible (GitgDiffViewCommitDetails* self, gboolean value) {
	GtkExpander* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	GtkLabel* _tmp2_ = NULL;
	gboolean _tmp3_ = FALSE;
#line 72 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_return_if_fail (self != NULL);
#line 74 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp0_ = self->priv->d_expander_files;
#line 74 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp1_ = value;
#line 74 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp0_, _tmp1_);
#line 75 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp2_ = self->priv->d_label_expand_collapse_files;
#line 75 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp3_ = value;
#line 75 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp2_, _tmp3_);
#line 72 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_object_notify ((GObject *) self, "expander-visible");
#line 1661 "gitg-diff-view-commit-details.c"
}


GgitCommit* gitg_diff_view_commit_details_get_commit (GitgDiffViewCommitDetails* self) {
	GgitCommit* result;
	GgitCommit* _tmp0_ = NULL;
#line 85 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 85 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp0_ = self->priv->d_commit;
#line 85 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	result = _tmp0_;
#line 85 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	return result;
#line 1676 "gitg-diff-view-commit-details.c"
}


void gitg_diff_view_commit_details_set_commit (GitgDiffViewCommitDetails* self, GgitCommit* value) {
	GgitCommit* _tmp0_ = NULL;
	GgitCommit* _tmp1_ = NULL;
#line 86 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_return_if_fail (self != NULL);
#line 88 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp0_ = self->priv->d_commit;
#line 88 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp1_ = value;
#line 88 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	if (_tmp0_ != _tmp1_) {
#line 1691 "gitg-diff-view-commit-details.c"
		GgitCommit* _tmp2_ = NULL;
		GgitCommit* _tmp3_ = NULL;
#line 90 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp2_ = value;
#line 90 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp3_ = _g_object_ref0 (_tmp2_);
#line 90 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_g_object_unref0 (self->priv->d_commit);
#line 90 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		self->priv->d_commit = _tmp3_;
#line 91 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		gitg_diff_view_commit_details_update (self);
#line 1704 "gitg-diff-view-commit-details.c"
	}
#line 86 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_object_notify ((GObject *) self, "commit");
#line 1708 "gitg-diff-view-commit-details.c"
}


GgitCommit* gitg_diff_view_commit_details_get_parent_commit (GitgDiffViewCommitDetails* self) {
	GgitCommit* result;
	GgitCommit* _tmp0_ = NULL;
#line 100 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 100 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp0_ = self->priv->d_parent_commit;
#line 100 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	result = _tmp0_;
#line 100 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	return result;
#line 1723 "gitg-diff-view-commit-details.c"
}


void gitg_diff_view_commit_details_set_parent_commit (GitgDiffViewCommitDetails* self, GgitCommit* value) {
	GgitCommit* _tmp0_ = NULL;
	GgitCommit* _tmp1_ = NULL;
#line 101 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_return_if_fail (self != NULL);
#line 103 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp0_ = self->priv->d_parent_commit;
#line 103 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp1_ = value;
#line 103 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	if (_tmp0_ != _tmp1_) {
#line 1738 "gitg-diff-view-commit-details.c"
		GgitCommit* _tmp2_ = NULL;
		GgitCommit* _tmp3_ = NULL;
		GgitCommit* _tmp4_ = NULL;
#line 105 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp2_ = value;
#line 105 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp3_ = _g_object_ref0 (_tmp2_);
#line 105 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_g_object_unref0 (self->priv->d_parent_commit);
#line 105 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		self->priv->d_parent_commit = _tmp3_;
#line 107 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp4_ = value;
#line 107 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		if (_tmp4_ != NULL) {
#line 1754 "gitg-diff-view-commit-details.c"
			GtkRadioButton* button = NULL;
			GeeHashMap* _tmp5_ = NULL;
			GgitCommit* _tmp6_ = NULL;
			GgitOId* _tmp7_ = NULL;
			GgitOId* _tmp8_ = NULL;
			gpointer _tmp9_ = NULL;
			GtkRadioButton* _tmp10_ = NULL;
			GtkRadioButton* _tmp11_ = NULL;
#line 109 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			_tmp5_ = self->priv->d_parents_map;
#line 109 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			_tmp6_ = value;
#line 109 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			_tmp7_ = ggit_object_get_id ((GgitObject*) _tmp6_);
#line 109 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			_tmp8_ = _tmp7_;
#line 109 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			_tmp9_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp5_, _tmp8_);
#line 109 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			_tmp10_ = (GtkRadioButton*) _tmp9_;
#line 109 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			__vala_GgitOId_free0 (_tmp8_);
#line 109 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			button = _tmp10_;
#line 111 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			_tmp11_ = button;
#line 111 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			if (_tmp11_ != NULL) {
#line 1783 "gitg-diff-view-commit-details.c"
				GtkRadioButton* _tmp12_ = NULL;
#line 113 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				_tmp12_ = button;
#line 113 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
				gtk_toggle_button_set_active ((GtkToggleButton*) _tmp12_, TRUE);
#line 1789 "gitg-diff-view-commit-details.c"
			}
#line 107 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
			_g_object_unref0 (button);
#line 1793 "gitg-diff-view-commit-details.c"
		}
	}
#line 101 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_object_notify ((GObject *) self, "parent-commit");
#line 1798 "gitg-diff-view-commit-details.c"
}


gboolean gitg_diff_view_commit_details_get_use_gravatar (GitgDiffViewCommitDetails* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
#line 129 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 129 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp0_ = self->priv->d_use_gravatar;
#line 129 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	result = _tmp0_;
#line 129 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	return result;
#line 1813 "gitg-diff-view-commit-details.c"
}


void gitg_diff_view_commit_details_set_use_gravatar (GitgDiffViewCommitDetails* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
#line 130 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_return_if_fail (self != NULL);
#line 132 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp0_ = value;
#line 132 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	self->priv->d_use_gravatar = _tmp0_;
#line 133 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	gitg_diff_view_commit_details_update_avatar (self);
#line 130 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_object_notify ((GObject *) self, "use-gravatar");
#line 1829 "gitg-diff-view-commit-details.c"
}


static void _gitg_diff_view_commit_details___lambda47_ (GitgDiffViewCommitDetails* self) {
	GtkExpander* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
#line 143 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp0_ = self->priv->d_expander_files;
#line 143 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp1_ = gtk_expander_get_expanded (_tmp0_);
#line 143 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp2_ = _tmp1_;
#line 143 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	if (_tmp2_) {
#line 1845 "gitg-diff-view-commit-details.c"
		GtkLabel* _tmp3_ = NULL;
		const gchar* _tmp4_ = NULL;
#line 145 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp3_ = self->priv->d_label_expand_collapse_files;
#line 145 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp4_ = _ ("Collapse all");
#line 145 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		gtk_label_set_label (_tmp3_, _tmp4_);
#line 1854 "gitg-diff-view-commit-details.c"
	} else {
		GtkLabel* _tmp5_ = NULL;
		const gchar* _tmp6_ = NULL;
#line 149 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp5_ = self->priv->d_label_expand_collapse_files;
#line 149 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		_tmp6_ = _ ("Expand all");
#line 149 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		gtk_label_set_label (_tmp5_, _tmp6_);
#line 1864 "gitg-diff-view-commit-details.c"
	}
#line 152 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_object_notify ((GObject*) self, "expanded");
#line 1868 "gitg-diff-view-commit-details.c"
}


static void __gitg_diff_view_commit_details___lambda47__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 142 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_gitg_diff_view_commit_details___lambda47_ ((GitgDiffViewCommitDetails*) self);
#line 1875 "gitg-diff-view-commit-details.c"
}


static GObject * gitg_diff_view_commit_details_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) {
	GObject * obj;
	GObjectClass * parent_class;
	GitgDiffViewCommitDetails * self;
	GtkExpander* _tmp0_ = NULL;
#line 140 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	parent_class = G_OBJECT_CLASS (gitg_diff_view_commit_details_parent_class);
#line 140 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 140 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_DIFF_VIEW_COMMIT_DETAILS, GitgDiffViewCommitDetails);
#line 142 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_tmp0_ = self->priv->d_expander_files;
#line 142 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_signal_connect_object ((GObject*) _tmp0_, "notify::expanded", (GCallback) __gitg_diff_view_commit_details___lambda47__g_object_notify, self, 0);
#line 140 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	return obj;
#line 1896 "gitg-diff-view-commit-details.c"
}


static void gitg_diff_view_commit_details_class_init (GitgDiffViewCommitDetailsClass * klass) {
	gint GitgDiffViewCommitDetails_private_offset;
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	gitg_diff_view_commit_details_parent_class = g_type_class_peek_parent (klass);
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_type_class_add_private (klass, sizeof (GitgDiffViewCommitDetailsPrivate));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	((GObjectClass *) klass)->dispose = gitg_diff_view_commit_details_real_dispose;
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_diff_view_commit_details_get_property;
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_diff_view_commit_details_set_property;
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	G_OBJECT_CLASS (klass)->constructor = gitg_diff_view_commit_details_constructor;
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_diff_view_commit_details_finalize;
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_COMMIT_DETAILS_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/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_COMMIT_DETAILS_EXPANDER_VISIBLE, g_param_spec_boolean ("expander-visible", "expander-visible", "expander-visible", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_COMMIT_DETAILS_COMMIT, g_param_spec_object ("commit", "commit", "commit", ggit_commit_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/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_COMMIT_DETAILS_PARENT_COMMIT, g_param_spec_object ("parent-commit", "parent-commit", "parent-commit", ggit_commit_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_COMMIT_DETAILS_USE_GRAVATAR, g_param_spec_boolean ("use-gravatar", "use-gravatar", "use-gravatar", TRUE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	GitgDiffViewCommitDetails_private_offset = g_type_class_get_instance_private_offset (klass);
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/gitg/ui/gitg-diff-view-commit-details.ui");
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "image_avatar", FALSE, GitgDiffViewCommitDetails_private_offset + G_STRUCT_OFFSET (GitgDiffViewCommitDetailsPrivate, d_image_avatar));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "label_author", FALSE, GitgDiffViewCommitDetails_private_offset + G_STRUCT_OFFSET (GitgDiffViewCommitDetailsPrivate, d_label_author));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "label_author_date", FALSE, GitgDiffViewCommitDetails_private_offset + G_STRUCT_OFFSET (GitgDiffViewCommitDetailsPrivate, d_label_author_date));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "label_committer", FALSE, GitgDiffViewCommitDetails_private_offset + G_STRUCT_OFFSET (GitgDiffViewCommitDetailsPrivate, d_label_committer));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "label_committer_date", FALSE, GitgDiffViewCommitDetails_private_offset + G_STRUCT_OFFSET (GitgDiffViewCommitDetailsPrivate, d_label_committer_date));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "label_subject", FALSE, GitgDiffViewCommitDetails_private_offset + G_STRUCT_OFFSET (GitgDiffViewCommitDetailsPrivate, d_label_subject));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "label_sha1", FALSE, GitgDiffViewCommitDetails_private_offset + G_STRUCT_OFFSET (GitgDiffViewCommitDetailsPrivate, d_label_sha1));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "grid_parents_container", FALSE, GitgDiffViewCommitDetails_private_offset + G_STRUCT_OFFSET (GitgDiffViewCommitDetailsPrivate, d_grid_parents_container));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "grid_parents", FALSE, GitgDiffViewCommitDetails_private_offset + G_STRUCT_OFFSET (GitgDiffViewCommitDetailsPrivate, d_grid_parents));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "expander_files", FALSE, GitgDiffViewCommitDetails_private_offset + G_STRUCT_OFFSET (GitgDiffViewCommitDetailsPrivate, d_expander_files));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "label_expand_collapse_files", FALSE, GitgDiffViewCommitDetails_private_offset + G_STRUCT_OFFSET (GitgDiffViewCommitDetailsPrivate, d_label_expand_collapse_files));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "button_press_on_event_box_expand_collapse", G_CALLBACK(_gitg_diff_view_commit_details_button_press_on_event_box_expand_collapse_gtk_widget_button_press_event));
#line 1954 "gitg-diff-view-commit-details.c"
}


static void gitg_diff_view_commit_details_instance_init (GitgDiffViewCommitDetails * self) {
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	self->priv = GITG_DIFF_VIEW_COMMIT_DETAILS_GET_PRIVATE (self);
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	gtk_widget_init_template (GTK_WIDGET (self));
#line 1963 "gitg-diff-view-commit-details.c"
}


static void gitg_diff_view_commit_details_finalize (GObject* obj) {
	GitgDiffViewCommitDetails * self;
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_DIFF_VIEW_COMMIT_DETAILS, GitgDiffViewCommitDetails);
#line 24 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_g_object_unref0 (self->priv->d_image_avatar);
#line 27 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_g_object_unref0 (self->priv->d_label_author);
#line 30 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_g_object_unref0 (self->priv->d_label_author_date);
#line 33 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_g_object_unref0 (self->priv->d_label_committer);
#line 36 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_g_object_unref0 (self->priv->d_label_committer_date);
#line 39 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_g_object_unref0 (self->priv->d_label_subject);
#line 42 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_g_object_unref0 (self->priv->d_label_sha1);
#line 45 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_g_object_unref0 (self->priv->d_grid_parents_container);
#line 48 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_g_object_unref0 (self->priv->d_grid_parents);
#line 51 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_g_object_unref0 (self->priv->d_expander_files);
#line 54 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_g_object_unref0 (self->priv->d_label_expand_collapse_files);
#line 79 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_g_object_unref0 (self->priv->d_avatar_cancel);
#line 81 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_g_object_unref0 (self->priv->d_commit);
#line 96 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_g_object_unref0 (self->priv->d_parent_commit);
#line 138 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	_g_object_unref0 (self->priv->d_parents_map);
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	G_OBJECT_CLASS (gitg_diff_view_commit_details_parent_class)->finalize (obj);
#line 2003 "gitg-diff-view-commit-details.c"
}


GType gitg_diff_view_commit_details_get_type (void) {
	static volatile gsize gitg_diff_view_commit_details_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_diff_view_commit_details_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgDiffViewCommitDetailsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_diff_view_commit_details_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgDiffViewCommitDetails), 0, (GInstanceInitFunc) gitg_diff_view_commit_details_instance_init, NULL };
		GType gitg_diff_view_commit_details_type_id;
		gitg_diff_view_commit_details_type_id = g_type_register_static (gtk_grid_get_type (), "GitgDiffViewCommitDetails", &g_define_type_info, 0);
		g_once_init_leave (&gitg_diff_view_commit_details_type_id__volatile, gitg_diff_view_commit_details_type_id);
	}
	return gitg_diff_view_commit_details_type_id__volatile;
}


static void _vala_gitg_diff_view_commit_details_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GitgDiffViewCommitDetails * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_DIFF_VIEW_COMMIT_DETAILS, GitgDiffViewCommitDetails);
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	switch (property_id) {
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		case GITG_DIFF_VIEW_COMMIT_DETAILS_EXPANDED:
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		g_value_set_boolean (value, gitg_diff_view_commit_details_get_expanded (self));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		break;
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		case GITG_DIFF_VIEW_COMMIT_DETAILS_EXPANDER_VISIBLE:
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		g_value_set_boolean (value, gitg_diff_view_commit_details_get_expander_visible (self));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		break;
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		case GITG_DIFF_VIEW_COMMIT_DETAILS_COMMIT:
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		g_value_set_object (value, gitg_diff_view_commit_details_get_commit (self));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		break;
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		case GITG_DIFF_VIEW_COMMIT_DETAILS_PARENT_COMMIT:
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		g_value_set_object (value, gitg_diff_view_commit_details_get_parent_commit (self));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		break;
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		case GITG_DIFF_VIEW_COMMIT_DETAILS_USE_GRAVATAR:
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		g_value_set_boolean (value, gitg_diff_view_commit_details_get_use_gravatar (self));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		break;
#line 2054 "gitg-diff-view-commit-details.c"
		default:
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		break;
#line 2060 "gitg-diff-view-commit-details.c"
	}
}


static void _vala_gitg_diff_view_commit_details_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	GitgDiffViewCommitDetails * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_DIFF_VIEW_COMMIT_DETAILS, GitgDiffViewCommitDetails);
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
	switch (property_id) {
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		case GITG_DIFF_VIEW_COMMIT_DETAILS_EXPANDED:
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		gitg_diff_view_commit_details_set_expanded (self, g_value_get_boolean (value));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		break;
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		case GITG_DIFF_VIEW_COMMIT_DETAILS_EXPANDER_VISIBLE:
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		gitg_diff_view_commit_details_set_expander_visible (self, g_value_get_boolean (value));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		break;
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		case GITG_DIFF_VIEW_COMMIT_DETAILS_COMMIT:
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		gitg_diff_view_commit_details_set_commit (self, g_value_get_object (value));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		break;
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		case GITG_DIFF_VIEW_COMMIT_DETAILS_PARENT_COMMIT:
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		gitg_diff_view_commit_details_set_parent_commit (self, g_value_get_object (value));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		break;
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		case GITG_DIFF_VIEW_COMMIT_DETAILS_USE_GRAVATAR:
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		gitg_diff_view_commit_details_set_use_gravatar (self, g_value_get_boolean (value));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		break;
#line 2100 "gitg-diff-view-commit-details.c"
		default:
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-commit-details.vala"
		break;
#line 2106 "gitg-diff-view-commit-details.c"
	}
}



