/* gitg-commit-dialog.c generated by valac 0.27.1.26-9b1a5-dirty, the Vala compiler
 * generated from gitg-commit-dialog.vala, do not modify */

/*
 * This file is part of gitg
 *
 * Copyright (C) 2012 - 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 <gtksourceview/gtksource.h>
#include <libgit2-glib/ggit.h>
#include <gio/gio.h>
#include <stdlib.h>
#include <string.h>
#include <gtkspell/gtkspell.h>
#include <config.h>
#include <glib/gi18n-lib.h>
#include "libgitg/libgitg.h"
#include <pango/pango.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <cairo.h>
#include <gdk/gdk.h>


#define GITG_COMMIT_TYPE_DIALOG (gitg_commit_dialog_get_type ())
#define GITG_COMMIT_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_COMMIT_TYPE_DIALOG, GitgCommitDialog))
#define GITG_COMMIT_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_COMMIT_TYPE_DIALOG, GitgCommitDialogClass))
#define GITG_COMMIT_IS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_COMMIT_TYPE_DIALOG))
#define GITG_COMMIT_IS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_COMMIT_TYPE_DIALOG))
#define GITG_COMMIT_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_COMMIT_TYPE_DIALOG, GitgCommitDialogClass))

typedef struct _GitgCommitDialog GitgCommitDialog;
typedef struct _GitgCommitDialogClass GitgCommitDialogClass;
typedef struct _GitgCommitDialogPrivate GitgCommitDialogPrivate;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
typedef struct _Block1Data Block1Data;
#define _g_date_time_unref0(var) ((var == NULL) ? NULL : (var = (g_date_time_unref (var), NULL)))
typedef struct _Block2Data Block2Data;
#define _ggit_patch_unref0(var) ((var == NULL) ? NULL : (var = (ggit_patch_unref (var), NULL)))
#define _ggit_diff_file_unref0(var) ((var == NULL) ? NULL : (var = (ggit_diff_file_unref (var), NULL)))
#define _ggit_diff_delta_unref0(var) ((var == NULL) ? NULL : (var = (ggit_diff_delta_unref (var), NULL)))
#define __vala_PangoFontDescription_free0(var) ((var == NULL) ? NULL : (var = (_vala_PangoFontDescription_free (var), NULL)))

struct _GitgCommitDialog {
	GtkDialog parent_instance;
	GitgCommitDialogPrivate * priv;
};

struct _GitgCommitDialogClass {
	GtkDialogClass parent_class;
};

struct _GitgCommitDialogPrivate {
	GtkSourceView* d_source_view_message;
	GtkButton* d_button_ok;
	GtkCheckButton* d_check_button_amend;
	GtkCheckButton* d_check_button_sign_off;
	GtkImage* d_image_avatar;
	GtkLabel* d_label_user;
	GtkLabel* d_label_date;
	GtkInfoBar* d_infobar;
	GtkRevealer* d_infobar_revealer;
	GtkLabel* d_infobar_primary_label;
	GtkLabel* d_infobar_secondary_label;
	GtkButton* d_infobar_close_button;
	GtkListBox* d_list_box_stats;
	GtkScrolledWindow* d_scrolled_window_stats;
	gboolean d_show_markup;
	gboolean d_show_right_margin;
	gboolean d_show_subject_margin;
	gint d_right_margin_position;
	gint d_subject_margin_position;
	GgitSignature* d_author;
	GCancellable* d_cancel_avatar;
	gboolean d_constructed;
	GSettings* d_message_settings;
	GSettings* d_font_settings;
	GSettings* d_commit_settings;
	gboolean d_enable_spell_checking;
	gchar* d_spell_checking_language;
	GtkSpellChecker* d_spell_checker;
	GgitDiff* d_diff;
	gint _max_visible_stat_items;
	gboolean _amend;
	gboolean _sign_off;
	GtkTextTag* d_subject_tag;
	GtkTextTag* d_too_long_tag;
};

struct _Block1Data {
	int _ref_count_;
	GitgCommitDialog* self;
	GitgAvatarCache* ac;
};

struct _Block2Data {
	int _ref_count_;
	GitgCommitDialog* self;
	gint num;
};


static gpointer gitg_commit_dialog_parent_class = NULL;

GType gitg_commit_dialog_get_type (void) G_GNUC_CONST;
#define GITG_COMMIT_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_COMMIT_TYPE_DIALOG, GitgCommitDialogPrivate))
enum  {
	GITG_COMMIT_DIALOG_DUMMY_PROPERTY,
	GITG_COMMIT_DIALOG_DIFF,
	GITG_COMMIT_DIALOG_MAX_VISIBLE_STAT_ITEMS,
	GITG_COMMIT_DIALOG_SOURCE_VIEW_MESSAGE,
	GITG_COMMIT_DIALOG_PRETTY_MESSAGE,
	GITG_COMMIT_DIALOG_MESSAGE,
	GITG_COMMIT_DIALOG_AMEND,
	GITG_COMMIT_DIALOG_SIGN_OFF,
	GITG_COMMIT_DIALOG_SHOW_MARKUP,
	GITG_COMMIT_DIALOG_SHOW_RIGHT_MARGIN,
	GITG_COMMIT_DIALOG_SHOW_SUBJECT_MARGIN,
	GITG_COMMIT_DIALOG_RIGHT_MARGIN_POSITION,
	GITG_COMMIT_DIALOG_SUBJECT_MARGIN_POSITION,
	GITG_COMMIT_DIALOG_AUTHOR,
	GITG_COMMIT_DIALOG_SPELL_CHECKING_LANGUAGE,
	GITG_COMMIT_DIALOG_ENABLE_SPELL_CHECKING
};
#define GITG_COMMIT_DIALOG_version VERSION
static void gitg_commit_dialog_set_spell_language (GitgCommitDialog* self);
static void gitg_commit_dialog_load_author_info (GitgCommitDialog* self);
static Block1Data* block1_data_ref (Block1Data* _data1_);
static void block1_data_unref (void * _userdata_);
static void __lambda4_ (Block1Data* _data1_, GObject* obj, GAsyncResult* res);
static void ___lambda4__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void gitg_commit_dialog_real_destroy (GtkWidget* base);
static void gitg_commit_dialog_iterate_diff (GitgCommitDialog* self);
static Block2Data* block2_data_ref (Block2Data* _data2_);
static void block2_data_unref (void * _userdata_);
GgitDiff* gitg_commit_dialog_get_diff (GitgCommitDialog* self);
static void __lambda5_ (Block2Data* _data2_);
static void gitg_commit_dialog_update_min_stat_size (GitgCommitDialog* self, gint num);
static void ___lambda5__gtk_widget_size_allocate (GtkWidget* _sender, GtkAllocation* allocation, gpointer self);
gint gitg_commit_dialog_get_max_visible_stat_items (GitgCommitDialog* self);
static void gitg_commit_dialog_update_too_long_tag (GitgCommitDialog* self);
static gboolean gitg_commit_dialog_on_commit_message_key_press_event (GitgCommitDialog* self, GtkWidget* widget, GdkEventKey* event);
static void gitg_commit_dialog_init_message_area (GitgCommitDialog* self);
static gboolean _gitg_commit_dialog_on_commit_message_key_press_event_gtk_widget_key_press_event (GtkWidget* _sender, GdkEventKey* event, gpointer self);
static void __lambda6_ (GitgCommitDialog* self);
static void ___lambda6__gtk_widget_style_updated (GtkWidget* _sender, gpointer self);
static void __lambda7_ (GitgCommitDialog* self);
static void gitg_commit_dialog_do_highlight (GitgCommitDialog* self);
static void ___lambda7__gtk_text_buffer_changed (GtkTextBuffer* _sender, gpointer self);
static void gitg_commit_dialog_update_highlight (GitgCommitDialog* self);
GitgCommitDialog* gitg_commit_dialog_new (GgitSignature* author, GgitDiff* diff);
GitgCommitDialog* gitg_commit_dialog_construct (GType object_type, GgitSignature* author, GgitDiff* diff);
static void gitg_commit_dialog_update_font_settings (GitgCommitDialog* self);
static void _vala_PangoFontDescription_free (PangoFontDescription* self);
void gitg_commit_dialog_show_infobar (GitgCommitDialog* self, const gchar* primary_msg, const gchar* secondary_msg, GtkMessageType type);
static void __lambda8_ (GitgCommitDialog* self);
static void ___lambda8__gtk_button_clicked (GtkButton* _sender, gpointer self);
void gitg_commit_dialog_set_diff (GitgCommitDialog* self, GgitDiff* value);
void gitg_commit_dialog_set_max_visible_stat_items (GitgCommitDialog* self, gint value);
GtkSourceView* gitg_commit_dialog_get_source_view_message (GitgCommitDialog* self);
gchar* gitg_commit_dialog_get_pretty_message (GitgCommitDialog* self);
gchar* gitg_commit_dialog_get_message (GitgCommitDialog* self);
void gitg_commit_dialog_set_message (GitgCommitDialog* self, const gchar* value);
gboolean gitg_commit_dialog_get_amend (GitgCommitDialog* self);
void gitg_commit_dialog_set_amend (GitgCommitDialog* self, gboolean value);
gboolean gitg_commit_dialog_get_sign_off (GitgCommitDialog* self);
void gitg_commit_dialog_set_sign_off (GitgCommitDialog* self, gboolean value);
gboolean gitg_commit_dialog_get_show_markup (GitgCommitDialog* self);
void gitg_commit_dialog_set_show_markup (GitgCommitDialog* self, gboolean value);
gboolean gitg_commit_dialog_get_show_right_margin (GitgCommitDialog* self);
void gitg_commit_dialog_set_show_right_margin (GitgCommitDialog* self, gboolean value);
gboolean gitg_commit_dialog_get_show_subject_margin (GitgCommitDialog* self);
void gitg_commit_dialog_set_show_subject_margin (GitgCommitDialog* self, gboolean value);
gint gitg_commit_dialog_get_right_margin_position (GitgCommitDialog* self);
void gitg_commit_dialog_set_right_margin_position (GitgCommitDialog* self, gint value);
gint gitg_commit_dialog_get_subject_margin_position (GitgCommitDialog* self);
void gitg_commit_dialog_set_subject_margin_position (GitgCommitDialog* self, gint value);
GgitSignature* gitg_commit_dialog_get_author (GitgCommitDialog* self);
void gitg_commit_dialog_set_author (GitgCommitDialog* self, GgitSignature* value);
const gchar* gitg_commit_dialog_get_spell_checking_language (GitgCommitDialog* self);
void gitg_commit_dialog_set_spell_checking_language (GitgCommitDialog* self, const gchar* value);
gboolean gitg_commit_dialog_get_enable_spell_checking (GitgCommitDialog* self);
void gitg_commit_dialog_set_enable_spell_checking (GitgCommitDialog* self, gboolean value);
static void _gitg_commit_dialog_enable_spell_checking_____lambda9_ (GitgCommitDialog* self);
static void __gitg_commit_dialog_enable_spell_checking_____lambda9__gtk_spell_checker_language_changed (GtkSpellChecker* _sender, const gchar* new_lang, gpointer self);
static GObject * gitg_commit_dialog_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
static void _gitg_commit_dialog___lambda10_ (GitgCommitDialog* self, GSettings* s, const gchar* k);
static void __gitg_commit_dialog___lambda10__g_settings_changed (GSettings* _sender, const gchar* key, gpointer self);
static void _gitg_commit_dialog___lambda11_ (GitgCommitDialog* self);
static void __gitg_commit_dialog___lambda11__gtk_text_buffer_changed (GtkTextBuffer* _sender, gpointer self);
static void gitg_commit_dialog_finalize (GObject* obj);
static void _vala_gitg_commit_dialog_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_gitg_commit_dialog_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);


static void gitg_commit_dialog_set_spell_language (GitgCommitDialog* self) {
	gboolean _tmp0_ = FALSE;
	GtkSpellChecker* _tmp1_ = NULL;
	GError * _inner_error_ = NULL;
#line 273 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 275 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = self->priv->d_spell_checker;
#line 275 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp1_ != NULL) {
#line 224 "gitg-commit-dialog.c"
		const gchar* _tmp2_ = NULL;
#line 275 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp2_ = self->priv->d_spell_checking_language;
#line 275 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp0_ = g_strcmp0 (_tmp2_, "") != 0;
#line 230 "gitg-commit-dialog.c"
	} else {
#line 275 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp0_ = FALSE;
#line 234 "gitg-commit-dialog.c"
	}
#line 275 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp0_) {
#line 238 "gitg-commit-dialog.c"
		{
			GtkSpellChecker* _tmp3_ = NULL;
			const gchar* _tmp4_ = NULL;
#line 279 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp3_ = self->priv->d_spell_checker;
#line 279 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp4_ = self->priv->d_spell_checking_language;
#line 279 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			gtk_spell_checker_set_language (_tmp3_, _tmp4_, &_inner_error_);
#line 279 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 250 "gitg-commit-dialog.c"
				goto __catch0_g_error;
			}
		}
		goto __finally0;
		__catch0_g_error:
		{
			const gchar* _tmp5_ = NULL;
			const gchar* _tmp6_ = NULL;
			gchar* _tmp7_ = NULL;
#line 277 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			g_clear_error (&_inner_error_);
#line 277 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			_inner_error_ = NULL;
#line 283 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp5_ = _ ("Cannot set spell checking language: %s");
#line 283 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp6_ = self->priv->d_spell_checking_language;
#line 283 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			g_warning (_tmp5_, _tmp6_);
#line 284 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp7_ = g_strdup ("");
#line 284 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			_g_free0 (self->priv->d_spell_checking_language);
#line 284 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			self->priv->d_spell_checking_language = _tmp7_;
#line 276 "gitg-commit-dialog.c"
		}
		__finally0:
#line 277 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 277 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 277 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			g_clear_error (&_inner_error_);
#line 277 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			return;
#line 287 "gitg-commit-dialog.c"
		}
	}
}


static Block1Data* block1_data_ref (Block1Data* _data1_) {
#line 289 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_atomic_int_inc (&_data1_->_ref_count_);
#line 289 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	return _data1_;
#line 298 "gitg-commit-dialog.c"
}


static void block1_data_unref (void * _userdata_) {
	Block1Data* _data1_;
	_data1_ = (Block1Data*) _userdata_;
#line 289 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (g_atomic_int_dec_and_test (&_data1_->_ref_count_)) {
#line 307 "gitg-commit-dialog.c"
		GitgCommitDialog* self;
#line 289 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		self = _data1_->self;
#line 289 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (_data1_->ac);
#line 289 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (self);
#line 289 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_slice_free (Block1Data, _data1_);
#line 317 "gitg-commit-dialog.c"
	}
}


static const gchar* string_to_string (const gchar* self) {
	const gchar* result = NULL;
#line 1314 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1315 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	result = self;
#line 1315 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	return result;
#line 330 "gitg-commit-dialog.c"
}


static void __lambda4_ (Block1Data* _data1_, GObject* obj, GAsyncResult* res) {
	GitgCommitDialog* self;
	GdkPixbuf* pixbuf = NULL;
	GAsyncResult* _tmp0_ = NULL;
	GdkPixbuf* _tmp1_ = NULL;
	GCancellable* _tmp2_ = NULL;
	gboolean _tmp3_ = FALSE;
	GdkPixbuf* _tmp4_ = NULL;
#line 341 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self = _data1_->self;
#line 341 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (res != NULL);
#line 342 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = res;
#line 342 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = gitg_avatar_cache_load_finish (_data1_->ac, _tmp0_);
#line 342 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	pixbuf = _tmp1_;
#line 344 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = self->priv->d_cancel_avatar;
#line 344 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = g_cancellable_is_cancelled (_tmp2_);
#line 344 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp3_) {
#line 346 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (pixbuf);
#line 346 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		return;
#line 362 "gitg-commit-dialog.c"
	}
#line 349 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = pixbuf;
#line 349 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp4_ != NULL) {
#line 368 "gitg-commit-dialog.c"
		GtkImage* _tmp5_ = NULL;
		GdkPixbuf* _tmp6_ = NULL;
#line 351 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp5_ = self->priv->d_image_avatar;
#line 351 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp6_ = pixbuf;
#line 351 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		gtk_image_set_from_pixbuf (_tmp5_, _tmp6_);
#line 377 "gitg-commit-dialog.c"
	} else {
		GtkImage* _tmp7_ = NULL;
#line 355 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp7_ = self->priv->d_image_avatar;
#line 355 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		gtk_image_set_from_icon_name (_tmp7_, "avatar-default-symbolic", GTK_ICON_SIZE_DIALOG);
#line 384 "gitg-commit-dialog.c"
	}
#line 341 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (pixbuf);
#line 388 "gitg-commit-dialog.c"
}


static void ___lambda4__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 341 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	__lambda4_ (self, source_object, res);
#line 341 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	block1_data_unref (self);
#line 397 "gitg-commit-dialog.c"
}


static void gitg_commit_dialog_load_author_info (GitgCommitDialog* self) {
	Block1Data* _data1_;
	GCancellable* _tmp0_ = NULL;
	gchar* name = NULL;
	GgitSignature* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	gchar* _tmp5_ = NULL;
	gchar* email = NULL;
	GgitSignature* _tmp6_ = NULL;
	const gchar* _tmp7_ = NULL;
	gchar* _tmp8_ = NULL;
	gchar* s = NULL;
	const gchar* _tmp9_ = NULL;
	const gchar* _tmp10_ = NULL;
	const gchar* _tmp11_ = NULL;
	const gchar* _tmp12_ = NULL;
	gchar* _tmp13_ = NULL;
	GtkLabel* _tmp14_ = NULL;
	const gchar* _tmp15_ = NULL;
	gboolean rtl = FALSE;
	GtkStyleContext* _tmp16_ = NULL;
	GtkStateFlags _tmp17_ = 0;
	gboolean _tmp18_ = FALSE;
	const gchar* _tmp19_ = NULL;
	PangoDirection _tmp20_ = 0;
	GDateTime* t = NULL;
	GgitSignature* _tmp23_ = NULL;
	GDateTime* _tmp24_ = NULL;
	GDateTime* now = NULL;
	GDateTime* _tmp25_ = NULL;
	gchar* date_string = NULL;
	GDateTime* _tmp26_ = NULL;
	GDateTime* _tmp27_ = NULL;
	GTimeSpan _tmp28_ = 0LL;
	GtkLabel* _tmp34_ = NULL;
	const gchar* _tmp35_ = NULL;
	gboolean _tmp36_ = FALSE;
	const gchar* _tmp37_ = NULL;
	PangoDirection _tmp38_ = 0;
	GitgAvatarCache* _tmp41_ = NULL;
	GCancellable* _tmp42_ = NULL;
	GgitSignature* _tmp43_ = NULL;
	const gchar* _tmp44_ = NULL;
	GCancellable* _tmp45_ = NULL;
#line 289 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 289 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_data1_ = g_slice_new0 (Block1Data);
#line 289 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_data1_->_ref_count_ = 1;
#line 289 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_data1_->self = g_object_ref (self);
#line 291 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_cancel_avatar;
#line 291 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp0_ != NULL) {
#line 457 "gitg-commit-dialog.c"
		GCancellable* _tmp1_ = NULL;
		GCancellable* _tmp2_ = NULL;
#line 293 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp1_ = self->priv->d_cancel_avatar;
#line 293 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_cancellable_cancel (_tmp1_);
#line 294 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp2_ = g_cancellable_new ();
#line 294 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (self->priv->d_cancel_avatar);
#line 294 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		self->priv->d_cancel_avatar = _tmp2_;
#line 470 "gitg-commit-dialog.c"
	}
#line 297 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = self->priv->d_author;
#line 297 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = ggit_signature_get_name (_tmp3_);
#line 297 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp5_ = g_strdup (_tmp4_);
#line 297 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	name = _tmp5_;
#line 298 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp6_ = self->priv->d_author;
#line 298 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp7_ = ggit_signature_get_email (_tmp6_);
#line 298 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp8_ = g_strdup (_tmp7_);
#line 298 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	email = _tmp8_;
#line 300 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp9_ = name;
#line 300 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp10_ = string_to_string (_tmp9_);
#line 300 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp11_ = email;
#line 300 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp12_ = string_to_string (_tmp11_);
#line 300 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp13_ = g_strconcat (_tmp10_, " <", _tmp12_, ">", NULL);
#line 300 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	s = _tmp13_;
#line 301 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp14_ = self->priv->d_label_user;
#line 301 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp15_ = s;
#line 301 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_label_set_label (_tmp14_, _tmp15_);
#line 303 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp16_ = gtk_widget_get_style_context ((GtkWidget*) self);
#line 303 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp17_ = gtk_style_context_get_state (_tmp16_);
#line 303 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	rtl = (_tmp17_ & GTK_STATE_FLAG_DIR_RTL) != 0;
#line 305 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp18_ = rtl;
#line 305 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp19_ = s;
#line 305 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp20_ = pango_find_base_dir (_tmp19_, -1);
#line 305 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp18_ == (_tmp20_ != PANGO_DIRECTION_RTL)) {
#line 520 "gitg-commit-dialog.c"
		GtkLabel* _tmp21_ = NULL;
#line 307 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp21_ = self->priv->d_label_user;
#line 307 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		gtk_widget_set_halign ((GtkWidget*) _tmp21_, GTK_ALIGN_END);
#line 526 "gitg-commit-dialog.c"
	} else {
		GtkLabel* _tmp22_ = NULL;
#line 311 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp22_ = self->priv->d_label_user;
#line 311 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		gtk_widget_set_halign ((GtkWidget*) _tmp22_, GTK_ALIGN_START);
#line 533 "gitg-commit-dialog.c"
	}
#line 314 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp23_ = self->priv->d_author;
#line 314 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp24_ = ggit_signature_get_time (_tmp23_);
#line 314 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	t = _tmp24_;
#line 315 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp25_ = g_date_time_new_now_local ();
#line 315 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	now = _tmp25_;
#line 318 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp26_ = now;
#line 318 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp27_ = t;
#line 318 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp28_ = g_date_time_difference (_tmp26_, _tmp27_);
#line 318 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp28_ < (G_TIME_SPAN_SECOND * 5)) {
#line 553 "gitg-commit-dialog.c"
		gchar* _tmp29_ = NULL;
#line 320 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp29_ = g_strdup ("");
#line 320 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_free0 (date_string);
#line 320 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		date_string = _tmp29_;
#line 561 "gitg-commit-dialog.c"
	} else {
		GDateTime* _tmp30_ = NULL;
		GitgDate* _tmp31_ = NULL;
		GitgDate* _tmp32_ = NULL;
		gchar* _tmp33_ = NULL;
#line 324 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp30_ = t;
#line 324 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp31_ = gitg_date_new_for_date_time (_tmp30_);
#line 324 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp32_ = _tmp31_;
#line 324 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp33_ = gitg_date_for_display (_tmp32_);
#line 324 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_free0 (date_string);
#line 324 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		date_string = _tmp33_;
#line 324 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (_tmp32_);
#line 581 "gitg-commit-dialog.c"
	}
#line 327 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp34_ = self->priv->d_label_date;
#line 327 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp35_ = date_string;
#line 327 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_label_set_label (_tmp34_, _tmp35_);
#line 329 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp36_ = rtl;
#line 329 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp37_ = date_string;
#line 329 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp38_ = pango_find_base_dir (_tmp37_, -1);
#line 329 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp36_ == (_tmp38_ != PANGO_DIRECTION_RTL)) {
#line 597 "gitg-commit-dialog.c"
		GtkLabel* _tmp39_ = NULL;
#line 331 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp39_ = self->priv->d_label_date;
#line 331 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		gtk_widget_set_halign ((GtkWidget*) _tmp39_, GTK_ALIGN_END);
#line 603 "gitg-commit-dialog.c"
	} else {
		GtkLabel* _tmp40_ = NULL;
#line 335 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp40_ = self->priv->d_label_date;
#line 335 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		gtk_widget_set_halign ((GtkWidget*) _tmp40_, GTK_ALIGN_START);
#line 610 "gitg-commit-dialog.c"
	}
#line 338 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp41_ = gitg_avatar_cache_default ();
#line 338 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_data1_->ac = _tmp41_;
#line 339 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp42_ = g_cancellable_new ();
#line 339 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_cancel_avatar);
#line 339 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_cancel_avatar = _tmp42_;
#line 341 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp43_ = self->priv->d_author;
#line 341 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp44_ = ggit_signature_get_email (_tmp43_);
#line 341 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp45_ = self->priv->d_cancel_avatar;
#line 341 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_avatar_cache_load (_data1_->ac, _tmp44_, _tmp45_, ___lambda4__gasync_ready_callback, block1_data_ref (_data1_));
#line 289 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (date_string);
#line 289 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_date_time_unref0 (now);
#line 289 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_date_time_unref0 (t);
#line 289 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (s);
#line 289 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (email);
#line 289 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (name);
#line 289 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	block1_data_unref (_data1_);
#line 289 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_data1_ = NULL;
#line 646 "gitg-commit-dialog.c"
}


static void gitg_commit_dialog_real_destroy (GtkWidget* base) {
	GitgCommitDialog * self;
	GCancellable* _tmp0_ = NULL;
#line 360 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self = (GitgCommitDialog*) base;
#line 362 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_cancel_avatar;
#line 362 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp0_ != NULL) {
#line 659 "gitg-commit-dialog.c"
		GCancellable* _tmp1_ = NULL;
#line 364 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp1_ = self->priv->d_cancel_avatar;
#line 364 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_cancellable_cancel (_tmp1_);
#line 665 "gitg-commit-dialog.c"
	}
#line 367 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_message_settings);
#line 367 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_message_settings = NULL;
#line 368 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_font_settings);
#line 368 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_font_settings = NULL;
#line 369 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_commit_settings);
#line 369 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_commit_settings = NULL;
#line 371 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	GTK_WIDGET_CLASS (gitg_commit_dialog_parent_class)->destroy ((GtkWidget*) G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
#line 681 "gitg-commit-dialog.c"
}


static Block2Data* block2_data_ref (Block2Data* _data2_) {
#line 461 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_atomic_int_inc (&_data2_->_ref_count_);
#line 461 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	return _data2_;
#line 690 "gitg-commit-dialog.c"
}


static void block2_data_unref (void * _userdata_) {
	Block2Data* _data2_;
	_data2_ = (Block2Data*) _userdata_;
#line 461 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (g_atomic_int_dec_and_test (&_data2_->_ref_count_)) {
#line 699 "gitg-commit-dialog.c"
		GitgCommitDialog* self;
#line 461 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		self = _data2_->self;
#line 461 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (self);
#line 461 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_slice_free (Block2Data, _data2_);
#line 707 "gitg-commit-dialog.c"
	}
}


static gpointer _ggit_diff_file_ref0 (gpointer self) {
#line 485 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	return self ? ggit_diff_file_ref (self) : NULL;
#line 715 "gitg-commit-dialog.c"
}


static void __lambda5_ (Block2Data* _data2_) {
	GitgCommitDialog* self;
	gint _tmp0_ = 0;
#line 511 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self = _data2_->self;
#line 512 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = _data2_->num;
#line 512 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_update_min_stat_size (self, _tmp0_);
#line 728 "gitg-commit-dialog.c"
}


static void ___lambda5__gtk_widget_size_allocate (GtkWidget* _sender, GtkAllocation* allocation, gpointer self) {
#line 511 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	__lambda5_ (self);
#line 735 "gitg-commit-dialog.c"
}


static void gitg_commit_dialog_iterate_diff (GitgCommitDialog* self) {
	Block2Data* _data2_;
	gint n = 0;
	GgitDiff* _tmp0_ = NULL;
	GgitDiff* _tmp1_ = NULL;
	GgitDiff* _tmp2_ = NULL;
	gint _tmp3_ = 0;
	gint _tmp4_ = 0;
	GtkListBox* _tmp50_ = NULL;
	GError * _inner_error_ = NULL;
#line 461 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 461 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_data2_ = g_slice_new0 (Block2Data);
#line 461 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_data2_->_ref_count_ = 1;
#line 461 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_data2_->self = g_object_ref (self);
#line 463 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = gitg_commit_dialog_get_diff (self);
#line 463 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = _tmp0_;
#line 463 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = _tmp1_;
#line 463 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = ggit_diff_get_num_deltas (_tmp2_);
#line 463 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = _tmp3_;
#line 463 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (_tmp2_);
#line 463 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	n = _tmp4_;
#line 464 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_data2_->num = 0;
#line 773 "gitg-commit-dialog.c"
	{
		gint i = 0;
#line 466 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		i = 0;
#line 778 "gitg-commit-dialog.c"
		{
			gboolean _tmp5_ = FALSE;
#line 466 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp5_ = TRUE;
#line 466 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			while (TRUE) {
#line 785 "gitg-commit-dialog.c"
				gint _tmp7_ = 0;
				gint _tmp8_ = 0;
				GgitPatch* patch = NULL;
				gsize add = 0UL;
				gsize remove = 0UL;
				GgitDiffDelta* delta = NULL;
				GgitPatch* _tmp20_ = NULL;
				GgitDiffDelta* _tmp21_ = NULL;
				GgitDiffFile* nf = NULL;
				GgitDiffDelta* _tmp22_ = NULL;
				GgitDiffFile* _tmp23_ = NULL;
				GgitDiffFile* _tmp24_ = NULL;
				gchar* path = NULL;
				GgitDiffFile* _tmp25_ = NULL;
				const gchar* _tmp26_ = NULL;
				gchar* _tmp27_ = NULL;
				GtkListBoxRow* row = NULL;
				GtkListBoxRow* _tmp28_ = NULL;
				GtkGrid* grid = NULL;
				GtkGrid* _tmp29_ = NULL;
				GtkListBoxRow* _tmp30_ = NULL;
				GtkGrid* _tmp31_ = NULL;
				GtkGrid* _tmp32_ = NULL;
				GitgDiffStat* ds = NULL;
				GitgDiffStat* _tmp33_ = NULL;
				GitgDiffStat* _tmp34_ = NULL;
				GtkStyleContext* _tmp35_ = NULL;
				GitgDiffStat* _tmp36_ = NULL;
				gsize _tmp37_ = 0UL;
				GitgDiffStat* _tmp38_ = NULL;
				gsize _tmp39_ = 0UL;
				GtkGrid* _tmp40_ = NULL;
				GitgDiffStat* _tmp41_ = NULL;
				GtkLabel* lbl = NULL;
				const gchar* _tmp42_ = NULL;
				GtkLabel* _tmp43_ = NULL;
				GtkGrid* _tmp44_ = NULL;
				GtkLabel* _tmp45_ = NULL;
				GtkListBoxRow* _tmp46_ = NULL;
				GtkListBox* _tmp47_ = NULL;
				GtkListBoxRow* _tmp48_ = NULL;
				gint _tmp49_ = 0;
#line 466 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				if (!_tmp5_) {
#line 830 "gitg-commit-dialog.c"
					gint _tmp6_ = 0;
#line 466 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp6_ = i;
#line 466 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					i = _tmp6_ + 1;
#line 836 "gitg-commit-dialog.c"
				}
#line 466 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp5_ = FALSE;
#line 466 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp7_ = i;
#line 466 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp8_ = n;
#line 466 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				if (!(_tmp7_ < _tmp8_)) {
#line 466 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					break;
#line 848 "gitg-commit-dialog.c"
				}
				{
					GgitPatch* _tmp9_ = NULL;
					GgitDiff* _tmp10_ = NULL;
					GgitDiff* _tmp11_ = NULL;
					GgitDiff* _tmp12_ = NULL;
					gint _tmp13_ = 0;
					GgitPatch* _tmp14_ = NULL;
					GgitPatch* _tmp15_ = NULL;
					GgitPatch* _tmp16_ = NULL;
#line 472 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp10_ = gitg_commit_dialog_get_diff (self);
#line 472 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp11_ = _tmp10_;
#line 472 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp12_ = _tmp11_;
#line 472 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp13_ = i;
#line 472 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp14_ = ggit_patch_new_from_diff (_tmp12_, (gsize) _tmp13_, &_inner_error_);
#line 472 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp15_ = _tmp14_;
#line 472 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					_g_object_unref0 (_tmp12_);
#line 472 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp9_ = _tmp15_;
#line 472 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 877 "gitg-commit-dialog.c"
						goto __catch1_g_error;
					}
#line 472 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp16_ = _tmp9_;
#line 472 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp9_ = NULL;
#line 472 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					_ggit_patch_unref0 (patch);
#line 472 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					patch = _tmp16_;
#line 470 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					_ggit_patch_unref0 (_tmp9_);
#line 890 "gitg-commit-dialog.c"
				}
				goto __finally1;
				__catch1_g_error:
				{
#line 470 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					g_clear_error (&_inner_error_);
#line 470 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					_inner_error_ = NULL;
#line 473 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					_ggit_patch_unref0 (patch);
#line 473 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					continue;
#line 903 "gitg-commit-dialog.c"
				}
				__finally1:
#line 470 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 470 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					_ggit_patch_unref0 (patch);
#line 470 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					block2_data_unref (_data2_);
#line 470 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					_data2_ = NULL;
#line 470 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 470 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					g_clear_error (&_inner_error_);
#line 470 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					return;
#line 920 "gitg-commit-dialog.c"
				}
				{
					GgitPatch* _tmp17_ = NULL;
					gsize _tmp18_ = 0UL;
					gsize _tmp19_ = 0UL;
#line 480 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp17_ = patch;
#line 480 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					ggit_patch_get_line_stats (_tmp17_, NULL, &_tmp18_, &_tmp19_, &_inner_error_);
#line 480 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					add = _tmp18_;
#line 480 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					remove = _tmp19_;
#line 480 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 936 "gitg-commit-dialog.c"
						goto __catch2_g_error;
					}
				}
				goto __finally2;
				__catch2_g_error:
				{
#line 478 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					g_clear_error (&_inner_error_);
#line 478 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					_inner_error_ = NULL;
#line 481 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					_ggit_patch_unref0 (patch);
#line 481 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					continue;
#line 951 "gitg-commit-dialog.c"
				}
				__finally2:
#line 478 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 478 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					_ggit_patch_unref0 (patch);
#line 478 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					block2_data_unref (_data2_);
#line 478 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					_data2_ = NULL;
#line 478 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 478 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					g_clear_error (&_inner_error_);
#line 478 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
					return;
#line 968 "gitg-commit-dialog.c"
				}
#line 483 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp20_ = patch;
#line 483 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp21_ = ggit_patch_get_delta (_tmp20_);
#line 483 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				delta = _tmp21_;
#line 485 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp22_ = delta;
#line 485 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp23_ = ggit_diff_delta_get_new_file (_tmp22_);
#line 485 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp24_ = _ggit_diff_file_ref0 (_tmp23_);
#line 485 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				nf = _tmp24_;
#line 486 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp25_ = nf;
#line 486 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp26_ = ggit_diff_file_get_path (_tmp25_);
#line 486 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp27_ = g_strdup (_tmp26_);
#line 486 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				path = _tmp27_;
#line 488 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp28_ = (GtkListBoxRow*) gtk_list_box_row_new ();
#line 488 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				g_object_ref_sink (_tmp28_);
#line 488 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				row = _tmp28_;
#line 489 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp29_ = (GtkGrid*) gtk_grid_new ();
#line 489 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				g_object_ref_sink (_tmp29_);
#line 489 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				grid = _tmp29_;
#line 490 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp30_ = row;
#line 490 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp31_ = grid;
#line 490 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_container_add ((GtkContainer*) _tmp30_, (GtkWidget*) _tmp31_);
#line 491 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp32_ = grid;
#line 491 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_grid_set_column_spacing (_tmp32_, 6);
#line 493 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp33_ = gitg_diff_stat_new ();
#line 493 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				g_object_ref_sink (_tmp33_);
#line 493 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				ds = _tmp33_;
#line 495 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp34_ = ds;
#line 495 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp35_ = gtk_widget_get_style_context ((GtkWidget*) _tmp34_);
#line 495 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_style_context_add_class (_tmp35_, "no-frame");
#line 497 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp36_ = ds;
#line 497 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp37_ = add;
#line 497 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				gitg_diff_stat_set_added (_tmp36_, (guint) _tmp37_);
#line 498 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp38_ = ds;
#line 498 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp39_ = remove;
#line 498 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				gitg_diff_stat_set_removed (_tmp38_, (guint) _tmp39_);
#line 500 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp40_ = grid;
#line 500 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp41_ = ds;
#line 500 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_grid_attach (_tmp40_, (GtkWidget*) _tmp41_, 0, 0, 1, 1);
#line 502 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp42_ = path;
#line 502 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp43_ = (GtkLabel*) gtk_label_new (_tmp42_);
#line 502 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				g_object_ref_sink (_tmp43_);
#line 502 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				lbl = _tmp43_;
#line 504 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp44_ = grid;
#line 504 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp45_ = lbl;
#line 504 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_grid_attach (_tmp44_, (GtkWidget*) _tmp45_, 1, 0, 1, 1);
#line 505 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp46_ = row;
#line 505 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_widget_show_all ((GtkWidget*) _tmp46_);
#line 507 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp47_ = self->priv->d_list_box_stats;
#line 507 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp48_ = row;
#line 507 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_container_add ((GtkContainer*) _tmp47_, (GtkWidget*) _tmp48_);
#line 508 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp49_ = _data2_->num;
#line 508 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_data2_->num = _tmp49_ + 1;
#line 466 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_g_object_unref0 (lbl);
#line 466 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_g_object_unref0 (ds);
#line 466 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_g_object_unref0 (grid);
#line 466 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_g_object_unref0 (row);
#line 466 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_g_free0 (path);
#line 466 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_ggit_diff_file_unref0 (nf);
#line 466 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_ggit_diff_delta_unref0 (delta);
#line 466 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_ggit_patch_unref0 (patch);
#line 1088 "gitg-commit-dialog.c"
			}
		}
	}
#line 511 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp50_ = self->priv->d_list_box_stats;
#line 511 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_signal_connect_data ((GtkWidget*) _tmp50_, "size-allocate", (GCallback) ___lambda5__gtk_widget_size_allocate, block2_data_ref (_data2_), (GClosureNotify) block2_data_unref, 0);
#line 461 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	block2_data_unref (_data2_);
#line 461 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_data2_ = NULL;
#line 1100 "gitg-commit-dialog.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 526 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	return self ? g_object_ref (self) : NULL;
#line 1107 "gitg-commit-dialog.c"
}


static void gitg_commit_dialog_update_min_stat_size (GitgCommitDialog* self, gint num) {
	gint _tmp0_ = 0;
	gint n = 0;
	gint _tmp2_ = 0;
	gint _tmp3_ = 0;
	gint _tmp4_ = 0;
	GtkListBoxRow* lastrow = NULL;
	GtkListBox* _tmp5_ = NULL;
	gint _tmp6_ = 0;
	GtkListBoxRow* _tmp7_ = NULL;
	GtkListBoxRow* _tmp8_ = NULL;
	GtkAllocation allocation = {0};
	GtkListBoxRow* _tmp9_ = NULL;
	GtkAllocation _tmp10_ = {0};
	gint _tmp11_ = 0;
	gint _tmp12_ = 0;
	GtkScrolledWindow* _tmp14_ = NULL;
	GtkAllocation _tmp15_ = {0};
	gint _tmp16_ = 0;
	GtkAllocation _tmp17_ = {0};
	gint _tmp18_ = 0;
#line 516 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 518 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = num;
#line 518 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp0_ == 0) {
#line 1138 "gitg-commit-dialog.c"
		GtkScrolledWindow* _tmp1_ = NULL;
#line 520 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp1_ = self->priv->d_scrolled_window_stats;
#line 520 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		gtk_widget_hide ((GtkWidget*) _tmp1_);
#line 521 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		return;
#line 1146 "gitg-commit-dialog.c"
	}
#line 524 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = num;
#line 524 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = self->priv->_max_visible_stat_items;
#line 524 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = MIN (_tmp2_, _tmp3_);
#line 524 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	n = _tmp4_;
#line 526 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp5_ = self->priv->d_list_box_stats;
#line 526 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp6_ = n;
#line 526 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp7_ = gtk_list_box_get_row_at_index (_tmp5_, _tmp6_ - 1);
#line 526 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp8_ = _g_object_ref0 (_tmp7_);
#line 526 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	lastrow = _tmp8_;
#line 529 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp9_ = lastrow;
#line 529 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_widget_get_allocation ((GtkWidget*) _tmp9_, &_tmp10_);
#line 529 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	allocation = _tmp10_;
#line 531 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp11_ = n;
#line 531 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp12_ = num;
#line 531 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp11_ == _tmp12_) {
#line 1178 "gitg-commit-dialog.c"
		GtkScrolledWindow* _tmp13_ = NULL;
#line 533 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp13_ = self->priv->d_scrolled_window_stats;
#line 533 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		gtk_scrolled_window_set_policy (_tmp13_, GTK_POLICY_NEVER, GTK_POLICY_NEVER);
#line 1184 "gitg-commit-dialog.c"
	}
#line 537 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp14_ = self->priv->d_scrolled_window_stats;
#line 537 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp15_ = allocation;
#line 537 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp16_ = _tmp15_.y;
#line 537 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp17_ = allocation;
#line 537 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp18_ = _tmp17_.height;
#line 537 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_scrolled_window_set_min_content_height (_tmp14_, _tmp16_ + _tmp18_);
#line 516 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (lastrow);
#line 1200 "gitg-commit-dialog.c"
}


static void gitg_commit_dialog_update_too_long_tag (GitgCommitDialog* self) {
	GtkStyleContext* ctx = NULL;
	GtkSourceView* _tmp0_ = NULL;
	GtkStyleContext* _tmp1_ = NULL;
	GtkStyleContext* _tmp2_ = NULL;
	GdkRGBA fg = {0};
	GdkRGBA _tmp3_ = {0};
	GdkRGBA bg = {0};
	GdkRGBA _tmp4_ = {0};
	GtkTextTag* _tmp5_ = NULL;
	GdkRGBA _tmp6_ = {0};
	GtkTextTag* _tmp7_ = NULL;
	GdkRGBA _tmp8_ = {0};
#line 540 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 543 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_source_view_message;
#line 543 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = gtk_widget_get_style_context ((GtkWidget*) _tmp0_);
#line 543 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 543 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	ctx = _tmp2_;
#line 545 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_style_context_save (ctx);
#line 546 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_style_context_add_class (ctx, "warning");
#line 548 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_style_context_get_color (ctx, GTK_STATE_FLAG_NORMAL, &_tmp3_);
#line 548 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	fg = _tmp3_;
#line 549 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_style_context_get_background_color (ctx, GTK_STATE_FLAG_NORMAL, &_tmp4_);
#line 549 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	bg = _tmp4_;
#line 551 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_style_context_restore (ctx);
#line 553 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp5_ = self->priv->d_too_long_tag;
#line 553 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp6_ = bg;
#line 553 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_set (_tmp5_, "background-rgba", &_tmp6_, NULL);
#line 554 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp7_ = self->priv->d_too_long_tag;
#line 554 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp8_ = fg;
#line 554 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_set (_tmp7_, "foreground-rgba", &_tmp8_, NULL);
#line 540 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (ctx);
#line 1255 "gitg-commit-dialog.c"
}


static gboolean gitg_commit_dialog_on_commit_message_key_press_event (GitgCommitDialog* self, GtkWidget* widget, GdkEventKey* event) {
	gboolean result = FALSE;
	GdkModifierType mmask = 0;
	GdkModifierType _tmp0_ = 0;
	gboolean _tmp1_ = FALSE;
	GdkModifierType _tmp2_ = 0;
	GdkEventKey* _tmp3_ = NULL;
	GdkModifierType _tmp4_ = 0;
#line 557 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 557 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (widget != NULL, FALSE);
#line 557 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 559 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = gtk_accelerator_get_default_mod_mask ();
#line 559 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	mmask = _tmp0_;
#line 561 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = mmask;
#line 561 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = event;
#line 561 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = _tmp3_->state;
#line 561 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	if ((_tmp2_ & _tmp4_) == GDK_CONTROL_MASK) {
#line 1285 "gitg-commit-dialog.c"
		gboolean _tmp5_ = FALSE;
		GdkEventKey* _tmp6_ = NULL;
		guint _tmp7_ = 0U;
#line 562 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp6_ = event;
#line 562 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp7_ = _tmp6_->keyval;
#line 562 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		if (_tmp7_ == ((guint) GDK_KEY_Return)) {
#line 562 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp5_ = TRUE;
#line 1297 "gitg-commit-dialog.c"
		} else {
			GdkEventKey* _tmp8_ = NULL;
			guint _tmp9_ = 0U;
#line 562 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp8_ = event;
#line 562 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp9_ = _tmp8_->keyval;
#line 562 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp5_ = _tmp9_ == ((guint) GDK_KEY_KP_Enter);
#line 1307 "gitg-commit-dialog.c"
		}
#line 562 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp1_ = _tmp5_;
#line 1311 "gitg-commit-dialog.c"
	} else {
#line 561 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp1_ = FALSE;
#line 1315 "gitg-commit-dialog.c"
	}
#line 561 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp1_) {
#line 1319 "gitg-commit-dialog.c"
		GtkButton* _tmp10_ = NULL;
#line 564 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp10_ = self->priv->d_button_ok;
#line 564 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_signal_emit_by_name (_tmp10_, "activate");
#line 565 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		result = TRUE;
#line 565 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		return result;
#line 1329 "gitg-commit-dialog.c"
	}
#line 568 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = FALSE;
#line 568 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 1335 "gitg-commit-dialog.c"
}


static gboolean _gitg_commit_dialog_on_commit_message_key_press_event_gtk_widget_key_press_event (GtkWidget* _sender, GdkEventKey* event, gpointer self) {
	gboolean result;
	result = gitg_commit_dialog_on_commit_message_key_press_event ((GitgCommitDialog*) self, _sender, event);
#line 573 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 1344 "gitg-commit-dialog.c"
}


static void __lambda6_ (GitgCommitDialog* self) {
#line 585 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_update_too_long_tag (self);
#line 1351 "gitg-commit-dialog.c"
}


static void ___lambda6__gtk_widget_style_updated (GtkWidget* _sender, gpointer self) {
#line 584 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	__lambda6_ ((GitgCommitDialog*) self);
#line 1358 "gitg-commit-dialog.c"
}


static void __lambda7_ (GitgCommitDialog* self) {
#line 589 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_do_highlight (self);
#line 1365 "gitg-commit-dialog.c"
}


static void ___lambda7__gtk_text_buffer_changed (GtkTextBuffer* _sender, gpointer self) {
#line 588 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	__lambda7_ ((GitgCommitDialog*) self);
#line 1372 "gitg-commit-dialog.c"
}


static void gitg_commit_dialog_init_message_area (GitgCommitDialog* self) {
	GtkSourceView* _tmp0_ = NULL;
	GtkTextBuffer* b = NULL;
	GtkSourceView* _tmp1_ = NULL;
	GtkTextBuffer* _tmp2_ = NULL;
	GtkTextBuffer* _tmp3_ = NULL;
	GtkTextBuffer* _tmp4_ = NULL;
	GtkTextTag* _tmp5_ = NULL;
	GtkTextTag* _tmp6_ = NULL;
	GtkTextTag* _tmp7_ = NULL;
	GtkTextTag* _tmp8_ = NULL;
	GtkSourceView* _tmp9_ = NULL;
#line 571 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 573 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_source_view_message;
#line 573 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_signal_connect_object ((GtkWidget*) _tmp0_, "key-press-event", (GCallback) _gitg_commit_dialog_on_commit_message_key_press_event_gtk_widget_key_press_event, self, 0);
#line 575 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = self->priv->d_source_view_message;
#line 575 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = gtk_text_view_get_buffer ((GtkTextView*) _tmp1_);
#line 575 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = _tmp2_;
#line 575 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 575 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	b = _tmp4_;
#line 577 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp5_ = gtk_text_buffer_create_tag (b, "subject", "weight", PANGO_WEIGHT_BOLD, NULL);
#line 577 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp6_ = _g_object_ref0 (_tmp5_);
#line 577 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_subject_tag);
#line 577 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_subject_tag = _tmp6_;
#line 580 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp7_ = gtk_text_buffer_create_tag (b, "too-long", NULL);
#line 580 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp8_ = _g_object_ref0 (_tmp7_);
#line 580 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_too_long_tag);
#line 580 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_too_long_tag = _tmp8_;
#line 582 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_update_too_long_tag (self);
#line 584 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp9_ = self->priv->d_source_view_message;
#line 584 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_signal_connect_object ((GtkWidget*) _tmp9_, "style-updated", (GCallback) ___lambda6__gtk_widget_style_updated, self, 0);
#line 588 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_signal_connect_object (b, "changed", (GCallback) ___lambda7__gtk_text_buffer_changed, self, 0);
#line 592 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_update_highlight (self);
#line 571 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (b);
#line 1432 "gitg-commit-dialog.c"
}


static void gitg_commit_dialog_update_highlight (GitgCommitDialog* self) {
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
	GtkSourceView* _tmp4_ = NULL;
	GtkSourceView* _tmp5_ = NULL;
	gint _tmp6_ = 0;
#line 595 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 597 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_constructed;
#line 597 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (!_tmp0_) {
#line 599 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		return;
#line 1451 "gitg-commit-dialog.c"
	}
#line 602 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = self->priv->d_show_markup;
#line 602 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp2_) {
#line 1457 "gitg-commit-dialog.c"
		gboolean _tmp3_ = FALSE;
#line 602 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp3_ = self->priv->d_show_right_margin;
#line 602 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp1_ = _tmp3_;
#line 1463 "gitg-commit-dialog.c"
	} else {
#line 602 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp1_ = FALSE;
#line 1467 "gitg-commit-dialog.c"
	}
#line 602 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = self->priv->d_source_view_message;
#line 602 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_source_view_set_show_right_margin (_tmp4_, _tmp1_);
#line 603 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp5_ = self->priv->d_source_view_message;
#line 603 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp6_ = self->priv->d_right_margin_position;
#line 603 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_source_view_set_right_margin_position (_tmp5_, (guint) _tmp6_);
#line 605 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_do_highlight (self);
#line 1481 "gitg-commit-dialog.c"
}


static void gitg_commit_dialog_do_highlight (GitgCommitDialog* self) {
	GtkTextBuffer* b = NULL;
	GtkSourceView* _tmp0_ = NULL;
	GtkTextBuffer* _tmp1_ = NULL;
	GtkTextBuffer* _tmp2_ = NULL;
	GtkTextBuffer* _tmp3_ = NULL;
	GtkTextIter start = {0};
	GtkTextIter end = {0};
	GtkTextBuffer* _tmp4_ = NULL;
	GtkTextIter _tmp5_ = {0};
	GtkTextIter _tmp6_ = {0};
	GtkTextBuffer* _tmp7_ = NULL;
	GtkTextTag* _tmp8_ = NULL;
	GtkTextIter _tmp9_ = {0};
	GtkTextIter _tmp10_ = {0};
	GtkTextBuffer* _tmp11_ = NULL;
	GtkTextTag* _tmp12_ = NULL;
	GtkTextIter _tmp13_ = {0};
	GtkTextIter _tmp14_ = {0};
	gboolean _tmp15_ = FALSE;
	GtkTextIter sstart = {0};
	GtkTextIter send = {0};
	GtkTextIter _tmp16_ = {0};
	GtkTextIter _tmp17_ = {0};
	gboolean _tmp18_ = FALSE;
	GtkTextBuffer* _tmp21_ = NULL;
	GtkTextTag* _tmp22_ = NULL;
	GtkTextIter _tmp23_ = {0};
	GtkTextIter _tmp24_ = {0};
	gboolean _tmp25_ = FALSE;
	gboolean _tmp37_ = FALSE;
#line 608 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 610 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_source_view_message;
#line 610 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = gtk_text_view_get_buffer ((GtkTextView*) _tmp0_);
#line 610 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = _tmp1_;
#line 610 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 610 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	b = _tmp3_;
#line 615 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = b;
#line 615 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_text_buffer_get_bounds (_tmp4_, &_tmp5_, &_tmp6_);
#line 615 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	start = _tmp5_;
#line 615 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	end = _tmp6_;
#line 616 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp7_ = b;
#line 616 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp8_ = self->priv->d_subject_tag;
#line 616 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp9_ = start;
#line 616 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp10_ = end;
#line 616 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_text_buffer_remove_tag (_tmp7_, _tmp8_, &_tmp9_, &_tmp10_);
#line 617 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp11_ = b;
#line 617 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp12_ = self->priv->d_too_long_tag;
#line 617 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp13_ = start;
#line 617 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp14_ = end;
#line 617 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_text_buffer_remove_tag (_tmp11_, _tmp12_, &_tmp13_, &_tmp14_);
#line 619 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp15_ = self->priv->d_show_markup;
#line 619 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (!_tmp15_) {
#line 621 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (b);
#line 621 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		return;
#line 1564 "gitg-commit-dialog.c"
	}
#line 627 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp18_ = gtk_text_iter_forward_search (&start, "\n\n", GTK_TEXT_SEARCH_TEXT_ONLY, &_tmp16_, &_tmp17_, NULL);
#line 627 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	sstart = _tmp16_;
#line 627 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	send = _tmp17_;
#line 627 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (!_tmp18_) {
#line 1574 "gitg-commit-dialog.c"
		GtkTextIter _tmp19_ = {0};
		GtkTextIter _tmp20_ = {0};
#line 633 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp19_ = end;
#line 633 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		sstart = _tmp19_;
#line 634 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp20_ = end;
#line 634 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		send = _tmp20_;
#line 1585 "gitg-commit-dialog.c"
	}
#line 637 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp21_ = b;
#line 637 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp22_ = self->priv->d_subject_tag;
#line 637 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp23_ = start;
#line 637 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp24_ = sstart;
#line 637 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_text_buffer_apply_tag (_tmp21_, _tmp22_, &_tmp23_, &_tmp24_);
#line 639 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp25_ = self->priv->d_show_subject_margin;
#line 639 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp25_) {
#line 1601 "gitg-commit-dialog.c"
		GtkTextIter toolong = {0};
		GtkTextIter _tmp26_ = {0};
#line 641 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp26_ = sstart;
#line 641 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		toolong = _tmp26_;
#line 643 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		while (TRUE) {
#line 1610 "gitg-commit-dialog.c"
			gint off = 0;
			gint _tmp27_ = 0;
			gint _tmp28_ = 0;
			gint _tmp29_ = 0;
			gint _tmp36_ = 0;
#line 645 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp27_ = gtk_text_iter_get_line_offset (&toolong);
#line 645 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			off = _tmp27_;
#line 647 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp28_ = off;
#line 647 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp29_ = self->priv->d_subject_margin_position;
#line 647 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			if (_tmp28_ > _tmp29_) {
#line 1626 "gitg-commit-dialog.c"
				GtkTextIter border = {0};
				GtkTextIter _tmp30_ = {0};
				gint _tmp31_ = 0;
				GtkTextBuffer* _tmp32_ = NULL;
				GtkTextTag* _tmp33_ = NULL;
				GtkTextIter _tmp34_ = {0};
				GtkTextIter _tmp35_ = {0};
#line 649 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp30_ = toolong;
#line 649 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				border = _tmp30_;
#line 650 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp31_ = self->priv->d_subject_margin_position;
#line 650 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_text_iter_set_line_offset (&border, _tmp31_);
#line 652 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp32_ = b;
#line 652 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp33_ = self->priv->d_too_long_tag;
#line 652 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp34_ = border;
#line 652 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp35_ = toolong;
#line 652 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_text_buffer_apply_tag (_tmp32_, _tmp33_, &_tmp34_, &_tmp35_);
#line 1652 "gitg-commit-dialog.c"
			}
#line 655 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp36_ = gtk_text_iter_get_line (&toolong);
#line 655 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			if (_tmp36_ == 0) {
#line 657 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				break;
#line 1660 "gitg-commit-dialog.c"
			}
#line 660 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			gtk_text_iter_backward_line (&toolong);
#line 661 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			gtk_text_iter_forward_to_line_end (&toolong);
#line 1666 "gitg-commit-dialog.c"
		}
	}
#line 665 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp37_ = self->priv->d_show_right_margin;
#line 665 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp37_) {
#line 667 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		while (TRUE) {
#line 1675 "gitg-commit-dialog.c"
			GtkTextIter _tmp38_ = {0};
			gboolean _tmp39_ = FALSE;
			gboolean _tmp40_ = FALSE;
			gint _tmp41_ = 0;
			gint _tmp42_ = 0;
			gboolean _tmp49_ = FALSE;
#line 667 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp38_ = end;
#line 667 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp39_ = gtk_text_iter_equal (&send, &_tmp38_);
#line 667 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			if (!(!_tmp39_)) {
#line 667 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				break;
#line 1690 "gitg-commit-dialog.c"
			}
#line 669 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp40_ = gtk_text_iter_ends_line (&send);
#line 669 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			if (!_tmp40_) {
#line 671 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_text_iter_forward_to_line_end (&send);
#line 1698 "gitg-commit-dialog.c"
			}
#line 674 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp41_ = gtk_text_iter_get_line_offset (&send);
#line 674 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp42_ = self->priv->d_right_margin_position;
#line 674 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			if (_tmp41_ > _tmp42_) {
#line 1706 "gitg-commit-dialog.c"
				GtkTextIter lstart = {0};
				GtkTextIter _tmp43_ = {0};
				gint _tmp44_ = 0;
				GtkTextBuffer* _tmp45_ = NULL;
				GtkTextTag* _tmp46_ = NULL;
				GtkTextIter _tmp47_ = {0};
				GtkTextIter _tmp48_ = {0};
#line 676 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp43_ = send;
#line 676 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				lstart = _tmp43_;
#line 677 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp44_ = self->priv->d_right_margin_position;
#line 677 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_text_iter_set_line_offset (&lstart, _tmp44_);
#line 679 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp45_ = b;
#line 679 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp46_ = self->priv->d_too_long_tag;
#line 679 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp47_ = lstart;
#line 679 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp48_ = send;
#line 679 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_text_buffer_apply_tag (_tmp45_, _tmp46_, &_tmp47_, &_tmp48_);
#line 1732 "gitg-commit-dialog.c"
			}
#line 682 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp49_ = gtk_text_iter_forward_line (&send);
#line 682 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			if (!_tmp49_) {
#line 684 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
				break;
#line 1740 "gitg-commit-dialog.c"
			}
		}
	}
#line 608 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (b);
#line 1746 "gitg-commit-dialog.c"
}


GitgCommitDialog* gitg_commit_dialog_construct (GType object_type, GgitSignature* author, GgitDiff* diff) {
	GitgCommitDialog * self = NULL;
	GgitSignature* _tmp0_ = NULL;
	GgitDiff* _tmp1_ = NULL;
#line 690 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (author != NULL, NULL);
#line 693 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = author;
#line 693 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = diff;
#line 693 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self = (GitgCommitDialog*) g_object_new (object_type, "author", _tmp0_, "diff", _tmp1_, "use-header-bar", 1, NULL);
#line 690 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	return self;
#line 1764 "gitg-commit-dialog.c"
}


GitgCommitDialog* gitg_commit_dialog_new (GgitSignature* author, GgitDiff* diff) {
#line 690 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	return gitg_commit_dialog_construct (GITG_COMMIT_TYPE_DIALOG, author, diff);
#line 1771 "gitg-commit-dialog.c"
}


static void _vala_PangoFontDescription_free (PangoFontDescription* self) {
#line 696 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_boxed_free (pango_font_description_get_type (), self);
#line 1778 "gitg-commit-dialog.c"
}


static void gitg_commit_dialog_update_font_settings (GitgCommitDialog* self) {
	gchar* mfont = NULL;
	GSettings* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	PangoFontDescription* desc = NULL;
	PangoFontDescription* _tmp2_ = NULL;
	GtkSourceView* _tmp3_ = NULL;
#line 696 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 698 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_font_settings;
#line 698 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = g_settings_get_string (_tmp0_, "monospace-font-name");
#line 698 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	mfont = _tmp1_;
#line 699 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = pango_font_description_from_string (mfont);
#line 699 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	desc = _tmp2_;
#line 701 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = self->priv->d_source_view_message;
#line 701 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_widget_override_font ((GtkWidget*) _tmp3_, desc);
#line 696 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	__vala_PangoFontDescription_free0 (desc);
#line 696 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (mfont);
#line 1809 "gitg-commit-dialog.c"
}


static void __lambda8_ (GitgCommitDialog* self) {
	GtkRevealer* _tmp0_ = NULL;
#line 718 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_infobar_revealer;
#line 718 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_revealer_set_reveal_child (_tmp0_, FALSE);
#line 1819 "gitg-commit-dialog.c"
}


static void ___lambda8__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 717 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	__lambda8_ ((GitgCommitDialog*) self);
#line 1826 "gitg-commit-dialog.c"
}


void gitg_commit_dialog_show_infobar (GitgCommitDialog* self, const gchar* primary_msg, const gchar* secondary_msg, GtkMessageType type) {
	GtkInfoBar* _tmp0_ = NULL;
	GtkMessageType _tmp1_ = 0;
	gchar* primary = NULL;
	const gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	gchar* _tmp5_ = NULL;
	gchar* _tmp6_ = NULL;
	gchar* secondary = NULL;
	const gchar* _tmp7_ = NULL;
	gchar* _tmp8_ = NULL;
	gchar* _tmp9_ = NULL;
	gchar* _tmp10_ = NULL;
	gchar* _tmp11_ = NULL;
	GtkLabel* _tmp12_ = NULL;
	GtkLabel* _tmp13_ = NULL;
	GtkRevealer* _tmp14_ = NULL;
	GtkButton* _tmp15_ = NULL;
#line 704 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 704 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (primary_msg != NULL);
#line 704 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (secondary_msg != NULL);
#line 708 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_infobar;
#line 708 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = type;
#line 708 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_info_bar_set_message_type (_tmp0_, _tmp1_);
#line 710 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = primary_msg;
#line 710 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = g_markup_escape_text (_tmp2_, (gssize) (-1));
#line 710 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = _tmp3_;
#line 710 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp5_ = g_strdup_printf ("<b>%s</b>", _tmp4_);
#line 710 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp6_ = _tmp5_;
#line 710 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (_tmp4_);
#line 710 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	primary = _tmp6_;
#line 711 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp7_ = secondary_msg;
#line 711 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp8_ = g_markup_escape_text (_tmp7_, (gssize) (-1));
#line 711 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp9_ = _tmp8_;
#line 711 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp10_ = g_strdup_printf ("<small>%s</small>", _tmp9_);
#line 711 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp11_ = _tmp10_;
#line 711 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (_tmp9_);
#line 711 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	secondary = _tmp11_;
#line 713 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp12_ = self->priv->d_infobar_primary_label;
#line 713 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_label_set_label (_tmp12_, primary);
#line 714 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp13_ = self->priv->d_infobar_secondary_label;
#line 714 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_label_set_label (_tmp13_, secondary);
#line 715 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp14_ = self->priv->d_infobar_revealer;
#line 715 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_revealer_set_reveal_child (_tmp14_, TRUE);
#line 717 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp15_ = self->priv->d_infobar_close_button;
#line 717 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_signal_connect_object (_tmp15_, "clicked", (GCallback) ___lambda8__gtk_button_clicked, self, 0);
#line 704 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (secondary);
#line 704 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (primary);
#line 1909 "gitg-commit-dialog.c"
}


GgitDiff* gitg_commit_dialog_get_diff (GitgCommitDialog* self) {
	GgitDiff* result;
	GgitDiff* _tmp0_ = NULL;
	GgitDiff* _tmp1_ = NULL;
#line 89 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 89 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_diff;
#line 89 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 89 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp1_;
#line 89 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 1927 "gitg-commit-dialog.c"
}


void gitg_commit_dialog_set_diff (GitgCommitDialog* self, GgitDiff* value) {
	GgitDiff* _tmp0_ = NULL;
	GgitDiff* _tmp1_ = NULL;
#line 90 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 90 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = value;
#line 90 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 90 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_diff);
#line 90 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_diff = _tmp1_;
#line 90 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "diff");
#line 1946 "gitg-commit-dialog.c"
}


gint gitg_commit_dialog_get_max_visible_stat_items (GitgCommitDialog* self) {
	gint result;
	gint _tmp0_ = 0;
#line 95 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 95 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->_max_visible_stat_items;
#line 95 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp0_;
#line 95 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 1961 "gitg-commit-dialog.c"
}


void gitg_commit_dialog_set_max_visible_stat_items (GitgCommitDialog* self, gint value) {
	gint _tmp0_ = 0;
#line 96 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 96 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = value;
#line 96 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->_max_visible_stat_items = _tmp0_;
#line 96 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "max-visible-stat-items");
#line 1975 "gitg-commit-dialog.c"
}


GtkSourceView* gitg_commit_dialog_get_source_view_message (GitgCommitDialog* self) {
	GtkSourceView* result;
	GtkSourceView* _tmp0_ = NULL;
#line 102 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 102 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_source_view_message;
#line 102 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp0_;
#line 102 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 1990 "gitg-commit-dialog.c"
}


gchar* gitg_commit_dialog_get_pretty_message (GitgCommitDialog* self) {
	gchar* result;
	gchar* pretty = NULL;
	gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	const gchar* _tmp5_ = NULL;
#line 107 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 109 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = gitg_commit_dialog_get_message (self);
#line 109 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = _tmp0_;
#line 109 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = _tmp1_;
#line 109 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = ggit_message_prettify (_tmp2_, FALSE, '#');
#line 109 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = _tmp3_;
#line 109 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (_tmp2_);
#line 109 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	pretty = _tmp4_;
#line 111 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp5_ = pretty;
#line 111 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp5_ == NULL) {
#line 2023 "gitg-commit-dialog.c"
		gchar* _tmp6_ = NULL;
#line 113 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp6_ = g_strdup ("");
#line 113 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		result = _tmp6_;
#line 113 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_free0 (pretty);
#line 113 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		return result;
#line 2033 "gitg-commit-dialog.c"
	} else {
#line 117 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		result = pretty;
#line 117 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		return result;
#line 2039 "gitg-commit-dialog.c"
	}
#line 107 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (pretty);
#line 2043 "gitg-commit-dialog.c"
}


gchar* gitg_commit_dialog_get_message (GitgCommitDialog* self) {
	gchar* result;
	GtkTextBuffer* b = NULL;
	GtkSourceView* _tmp0_ = NULL;
	GtkTextBuffer* _tmp1_ = NULL;
	GtkTextBuffer* _tmp2_ = NULL;
	GtkTextBuffer* _tmp3_ = NULL;
	GtkTextIter start = {0};
	GtkTextIter end = {0};
	GtkTextIter _tmp4_ = {0};
	GtkTextIter _tmp5_ = {0};
	GtkTextIter _tmp6_ = {0};
	GtkTextIter _tmp7_ = {0};
	gchar* _tmp8_ = NULL;
#line 124 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 126 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_source_view_message;
#line 126 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = gtk_text_view_get_buffer ((GtkTextView*) _tmp0_);
#line 126 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = _tmp1_;
#line 126 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 126 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	b = _tmp3_;
#line 131 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_text_buffer_get_bounds (b, &_tmp4_, &_tmp5_);
#line 131 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	start = _tmp4_;
#line 131 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	end = _tmp5_;
#line 132 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp6_ = start;
#line 132 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp7_ = end;
#line 132 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp8_ = gtk_text_buffer_get_text (b, &_tmp6_, &_tmp7_, FALSE);
#line 132 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp8_;
#line 132 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (b);
#line 132 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 2091 "gitg-commit-dialog.c"
}


void gitg_commit_dialog_set_message (GitgCommitDialog* self, const gchar* value) {
	GtkSourceView* _tmp0_ = NULL;
	GtkTextBuffer* _tmp1_ = NULL;
	GtkTextBuffer* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
#line 134 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 136 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_source_view_message;
#line 136 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = gtk_text_view_get_buffer ((GtkTextView*) _tmp0_);
#line 136 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = _tmp1_;
#line 136 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = value;
#line 136 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_text_buffer_set_text (_tmp2_, _tmp3_, -1);
#line 134 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "message");
#line 2114 "gitg-commit-dialog.c"
}


gboolean gitg_commit_dialog_get_amend (GitgCommitDialog* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
#line 141 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 141 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->_amend;
#line 141 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp0_;
#line 141 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 2129 "gitg-commit-dialog.c"
}


void gitg_commit_dialog_set_amend (GitgCommitDialog* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
#line 141 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 141 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = value;
#line 141 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->_amend = _tmp0_;
#line 141 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "amend");
#line 2143 "gitg-commit-dialog.c"
}


gboolean gitg_commit_dialog_get_sign_off (GitgCommitDialog* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
#line 144 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 144 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->_sign_off;
#line 144 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp0_;
#line 144 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 2158 "gitg-commit-dialog.c"
}


void gitg_commit_dialog_set_sign_off (GitgCommitDialog* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
#line 144 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 144 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = value;
#line 144 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->_sign_off = _tmp0_;
#line 144 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "sign-off");
#line 2172 "gitg-commit-dialog.c"
}


gboolean gitg_commit_dialog_get_show_markup (GitgCommitDialog* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
#line 149 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 149 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_show_markup;
#line 149 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp0_;
#line 149 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 2187 "gitg-commit-dialog.c"
}


void gitg_commit_dialog_set_show_markup (GitgCommitDialog* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
#line 151 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 153 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = value;
#line 153 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_show_markup = _tmp0_;
#line 154 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_update_highlight (self);
#line 151 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "show-markup");
#line 2203 "gitg-commit-dialog.c"
}


gboolean gitg_commit_dialog_get_show_right_margin (GitgCommitDialog* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
#line 163 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 163 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_show_right_margin;
#line 163 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp0_;
#line 163 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 2218 "gitg-commit-dialog.c"
}


void gitg_commit_dialog_set_show_right_margin (GitgCommitDialog* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
#line 165 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 167 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = value;
#line 167 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_show_right_margin = _tmp0_;
#line 168 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_update_highlight (self);
#line 165 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "show-right-margin");
#line 2234 "gitg-commit-dialog.c"
}


gboolean gitg_commit_dialog_get_show_subject_margin (GitgCommitDialog* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
#line 177 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 177 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_show_subject_margin;
#line 177 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp0_;
#line 177 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 2249 "gitg-commit-dialog.c"
}


void gitg_commit_dialog_set_show_subject_margin (GitgCommitDialog* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
#line 179 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 181 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = value;
#line 181 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_show_subject_margin = _tmp0_;
#line 182 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_update_highlight (self);
#line 179 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "show-subject-margin");
#line 2265 "gitg-commit-dialog.c"
}


gint gitg_commit_dialog_get_right_margin_position (GitgCommitDialog* self) {
	gint result;
	gint _tmp0_ = 0;
#line 191 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 191 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_right_margin_position;
#line 191 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp0_;
#line 191 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 2280 "gitg-commit-dialog.c"
}


void gitg_commit_dialog_set_right_margin_position (GitgCommitDialog* self, gint value) {
	gint _tmp0_ = 0;
#line 193 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 195 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = value;
#line 195 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_right_margin_position = _tmp0_;
#line 196 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_update_highlight (self);
#line 193 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "right-margin-position");
#line 2296 "gitg-commit-dialog.c"
}


gint gitg_commit_dialog_get_subject_margin_position (GitgCommitDialog* self) {
	gint result;
	gint _tmp0_ = 0;
#line 205 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 205 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_subject_margin_position;
#line 205 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp0_;
#line 205 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 2311 "gitg-commit-dialog.c"
}


void gitg_commit_dialog_set_subject_margin_position (GitgCommitDialog* self, gint value) {
	gint _tmp0_ = 0;
#line 207 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 209 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = value;
#line 209 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_subject_margin_position = _tmp0_;
#line 210 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_update_highlight (self);
#line 207 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "subject-margin-position");
#line 2327 "gitg-commit-dialog.c"
}


GgitSignature* gitg_commit_dialog_get_author (GitgCommitDialog* self) {
	GgitSignature* result;
	GgitSignature* _tmp0_ = NULL;
	GgitSignature* _tmp1_ = NULL;
#line 219 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 219 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_author;
#line 219 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 219 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp1_;
#line 219 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 2345 "gitg-commit-dialog.c"
}


void gitg_commit_dialog_set_author (GitgCommitDialog* self, GgitSignature* value) {
	GgitSignature* _tmp0_ = NULL;
	GgitSignature* _tmp1_ = NULL;
#line 221 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 223 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = value;
#line 223 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 223 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_author);
#line 223 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_author = _tmp1_;
#line 224 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_load_author_info (self);
#line 221 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "author");
#line 2366 "gitg-commit-dialog.c"
}


const gchar* gitg_commit_dialog_get_spell_checking_language (GitgCommitDialog* self) {
	const gchar* result;
	const gchar* _tmp0_ = NULL;
#line 231 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 231 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_spell_checking_language;
#line 231 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp0_;
#line 231 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 2381 "gitg-commit-dialog.c"
}


void gitg_commit_dialog_set_spell_checking_language (GitgCommitDialog* self, const gchar* value) {
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 233 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 235 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = value;
#line 235 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 235 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (self->priv->d_spell_checking_language);
#line 235 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_spell_checking_language = _tmp1_;
#line 236 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_set_spell_language (self);
#line 233 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "spell-checking-language");
#line 2402 "gitg-commit-dialog.c"
}


gboolean gitg_commit_dialog_get_enable_spell_checking (GitgCommitDialog* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
#line 243 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 243 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_enable_spell_checking;
#line 243 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp0_;
#line 243 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 2417 "gitg-commit-dialog.c"
}


static void _gitg_commit_dialog_enable_spell_checking_____lambda9_ (GitgCommitDialog* self) {
	GtkSpellChecker* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
#line 258 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_spell_checker;
#line 258 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = gtk_spell_checker_get_language (_tmp0_);
#line 258 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_set_spell_checking_language (self, _tmp1_);
#line 2430 "gitg-commit-dialog.c"
}


static void __gitg_commit_dialog_enable_spell_checking_____lambda9__gtk_spell_checker_language_changed (GtkSpellChecker* _sender, const gchar* new_lang, gpointer self) {
#line 257 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_gitg_commit_dialog_enable_spell_checking_____lambda9_ ((GitgCommitDialog*) self);
#line 2437 "gitg-commit-dialog.c"
}


void gitg_commit_dialog_set_enable_spell_checking (GitgCommitDialog* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
#line 244 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 246 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = value;
#line 246 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_enable_spell_checking = _tmp0_;
#line 248 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = self->priv->d_enable_spell_checking;
#line 248 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp1_) {
#line 2454 "gitg-commit-dialog.c"
		GtkSpellChecker* _tmp2_ = NULL;
#line 250 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp2_ = self->priv->d_spell_checker;
#line 250 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		if (_tmp2_ == NULL) {
#line 2460 "gitg-commit-dialog.c"
			GtkSpellChecker* _tmp3_ = NULL;
			GtkSpellChecker* _tmp4_ = NULL;
			GtkSourceView* _tmp5_ = NULL;
			GtkSpellChecker* _tmp6_ = NULL;
#line 252 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp3_ = gtk_spell_checker_new ();
#line 252 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			g_object_ref_sink (_tmp3_);
#line 252 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			_g_object_unref0 (self->priv->d_spell_checker);
#line 252 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			self->priv->d_spell_checker = _tmp3_;
#line 253 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp4_ = self->priv->d_spell_checker;
#line 253 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp5_ = self->priv->d_source_view_message;
#line 253 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			gtk_spell_checker_attach (_tmp4_, (GtkTextView*) _tmp5_);
#line 255 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			gitg_commit_dialog_set_spell_language (self);
#line 257 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp6_ = self->priv->d_spell_checker;
#line 257 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			g_signal_connect_object (_tmp6_, "language-changed", (GCallback) __gitg_commit_dialog_enable_spell_checking_____lambda9__gtk_spell_checker_language_changed, self, 0);
#line 2485 "gitg-commit-dialog.c"
		}
	} else {
		GtkSpellChecker* _tmp7_ = NULL;
#line 264 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp7_ = self->priv->d_spell_checker;
#line 264 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		if (_tmp7_ != NULL) {
#line 2493 "gitg-commit-dialog.c"
			GtkSpellChecker* _tmp8_ = NULL;
#line 266 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp8_ = self->priv->d_spell_checker;
#line 266 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			gtk_spell_checker_detach (_tmp8_);
#line 267 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			_g_object_unref0 (self->priv->d_spell_checker);
#line 267 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
			self->priv->d_spell_checker = NULL;
#line 2503 "gitg-commit-dialog.c"
		}
	}
#line 244 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "enable-spell-checking");
#line 2508 "gitg-commit-dialog.c"
}


static void _gitg_commit_dialog___lambda10_ (GitgCommitDialog* self, GSettings* s, const gchar* k) {
#line 380 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (s != NULL);
#line 380 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (k != NULL);
#line 381 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_update_font_settings (self);
#line 2519 "gitg-commit-dialog.c"
}


static void __gitg_commit_dialog___lambda10__g_settings_changed (GSettings* _sender, const gchar* key, gpointer self) {
#line 380 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_gitg_commit_dialog___lambda10_ ((GitgCommitDialog*) self, _sender, key);
#line 2526 "gitg-commit-dialog.c"
}


static void _gitg_commit_dialog___lambda11_ (GitgCommitDialog* self) {
	GtkButton* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
#line 387 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_button_ok;
#line 387 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = gitg_commit_dialog_get_pretty_message (self);
#line 387 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = _tmp1_;
#line 387 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = _tmp2_;
#line 387 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp0_, g_strcmp0 (_tmp3_, "") != 0);
#line 387 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (_tmp3_);
#line 2547 "gitg-commit-dialog.c"
}


static void __gitg_commit_dialog___lambda11__gtk_text_buffer_changed (GtkTextBuffer* _sender, gpointer self) {
#line 386 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_gitg_commit_dialog___lambda11_ ((GitgCommitDialog*) self);
#line 2554 "gitg-commit-dialog.c"
}


static GObject * gitg_commit_dialog_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) {
	GObject * obj;
	GObjectClass * parent_class;
	GitgCommitDialog * self;
	GSettings* _tmp0_ = NULL;
	GSettings* _tmp1_ = NULL;
	GtkTextBuffer* b = NULL;
	GtkSourceView* _tmp2_ = NULL;
	GtkTextBuffer* _tmp3_ = NULL;
	GtkTextBuffer* _tmp4_ = NULL;
	GtkTextBuffer* _tmp5_ = NULL;
	GtkSourceView* _tmp6_ = NULL;
	GtkTextBuffer* _tmp7_ = NULL;
	GtkTextBuffer* _tmp8_ = NULL;
	GtkCheckButton* _tmp9_ = NULL;
	GtkCheckButton* _tmp10_ = NULL;
	GSettings* _tmp11_ = NULL;
	GSettings* _tmp12_ = NULL;
	GSettings* _tmp13_ = NULL;
	GSettings* _tmp14_ = NULL;
	GSettings* _tmp15_ = NULL;
	GSettings* _tmp16_ = NULL;
	GSettings* _tmp17_ = NULL;
	GSettings* _tmp18_ = NULL;
	GSettings* _tmp19_ = NULL;
	GSettings* _tmp20_ = NULL;
	GgitDiff* _tmp21_ = NULL;
	GgitDiff* _tmp22_ = NULL;
	GgitDiff* _tmp23_ = NULL;
	gboolean _tmp24_ = FALSE;
#line 374 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	parent_class = G_OBJECT_CLASS (gitg_commit_dialog_parent_class);
#line 374 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 374 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_COMMIT_TYPE_DIALOG, GitgCommitDialog);
#line 376 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = g_settings_new ("org.gnome.desktop.interface");
#line 376 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_font_settings);
#line 376 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_font_settings = _tmp0_;
#line 378 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_update_font_settings (self);
#line 380 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = self->priv->d_font_settings;
#line 380 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_signal_connect_object (_tmp1_, "changed::monospace-font-name", (GCallback) __gitg_commit_dialog___lambda10__g_settings_changed, self, 0);
#line 384 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = self->priv->d_source_view_message;
#line 384 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = gtk_text_view_get_buffer ((GtkTextView*) _tmp2_);
#line 384 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = _tmp3_;
#line 384 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp5_ = _g_object_ref0 (_tmp4_);
#line 384 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	b = _tmp5_;
#line 386 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp6_ = self->priv->d_source_view_message;
#line 386 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp7_ = gtk_text_view_get_buffer ((GtkTextView*) _tmp6_);
#line 386 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp8_ = _tmp7_;
#line 386 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_signal_connect_object (_tmp8_, "changed", (GCallback) __gitg_commit_dialog___lambda11__gtk_text_buffer_changed, self, 0);
#line 390 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp9_ = self->priv->d_check_button_amend;
#line 390 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp9_, "active", (GObject*) self, "amend", G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 395 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp10_ = self->priv->d_check_button_sign_off;
#line 395 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp10_, "active", (GObject*) self, "sign-off", G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 400 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp11_ = g_settings_new ("org.gnome.gitg.state.commit");
#line 400 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_commit_settings);
#line 400 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_commit_settings = _tmp11_;
#line 402 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp12_ = self->priv->d_commit_settings;
#line 402 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_settings_bind (_tmp12_, "sign-off", (GObject*) self, "sign-off", G_SETTINGS_BIND_GET | G_SETTINGS_BIND_SET);
#line 408 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp13_ = g_settings_new ("org.gnome.gitg.preferences.commit.message");
#line 408 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_message_settings);
#line 408 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_message_settings = _tmp13_;
#line 410 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp14_ = self->priv->d_message_settings;
#line 410 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_settings_bind (_tmp14_, "show-markup", (GObject*) self, "show-markup", G_SETTINGS_BIND_GET);
#line 415 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp15_ = self->priv->d_message_settings;
#line 415 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_settings_bind (_tmp15_, "show-right-margin", (GObject*) self, "show-right-margin", G_SETTINGS_BIND_GET);
#line 420 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp16_ = self->priv->d_message_settings;
#line 420 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_settings_bind (_tmp16_, "right-margin-position", (GObject*) self, "right-margin-position", G_SETTINGS_BIND_GET);
#line 425 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp17_ = self->priv->d_message_settings;
#line 425 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_settings_bind (_tmp17_, "show-subject-margin", (GObject*) self, "show-subject-margin", G_SETTINGS_BIND_GET);
#line 430 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp18_ = self->priv->d_message_settings;
#line 430 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_settings_bind (_tmp18_, "subject-margin-position", (GObject*) self, "subject-margin-position", G_SETTINGS_BIND_GET);
#line 435 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp19_ = self->priv->d_message_settings;
#line 435 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_settings_bind (_tmp19_, "enable-spell-checking", (GObject*) self, "enable-spell-checking", G_SETTINGS_BIND_GET | G_SETTINGS_BIND_SET);
#line 440 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp20_ = self->priv->d_message_settings;
#line 440 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_settings_bind (_tmp20_, "spell-checking-language", (GObject*) self, "spell-checking-language", G_SETTINGS_BIND_GET | G_SETTINGS_BIND_SET);
#line 445 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_constructed = TRUE;
#line 447 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_init_message_area (self);
#line 449 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp21_ = gitg_commit_dialog_get_diff (self);
#line 449 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp22_ = _tmp21_;
#line 449 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp23_ = _tmp22_;
#line 449 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp24_ = _tmp23_ != NULL;
#line 449 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (_tmp23_);
#line 449 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp24_) {
#line 451 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_iterate_diff (self);
#line 2694 "gitg-commit-dialog.c"
	} else {
	}
#line 374 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (b);
#line 374 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	return obj;
#line 2701 "gitg-commit-dialog.c"
}


static void gitg_commit_dialog_class_init (GitgCommitDialogClass * klass) {
	gint GitgCommitDialog_private_offset;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_parent_class = g_type_class_peek_parent (klass);
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_type_class_add_private (klass, sizeof (GitgCommitDialogPrivate));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	((GtkWidgetClass *) klass)->destroy = gitg_commit_dialog_real_destroy;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_commit_dialog_get_property;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_commit_dialog_set_property;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	G_OBJECT_CLASS (klass)->constructor = gitg_commit_dialog_constructor;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_commit_dialog_finalize;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_DIALOG_DIFF, g_param_spec_object ("diff", "diff", "diff", ggit_diff_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_DIALOG_MAX_VISIBLE_STAT_ITEMS, g_param_spec_int ("max-visible-stat-items", "max-visible-stat-items", "max-visible-stat-items", G_MININT, G_MAXINT, 3, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_DIALOG_SOURCE_VIEW_MESSAGE, g_param_spec_object ("source-view-message", "source-view-message", "source-view-message", gtk_source_view_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_DIALOG_PRETTY_MESSAGE, g_param_spec_string ("pretty-message", "pretty-message", "pretty-message", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_DIALOG_MESSAGE, g_param_spec_string ("message", "message", "message", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_DIALOG_AMEND, g_param_spec_boolean ("amend", "amend", "amend", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_DIALOG_SIGN_OFF, g_param_spec_boolean ("sign-off", "sign-off", "sign-off", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_DIALOG_SHOW_MARKUP, g_param_spec_boolean ("show-markup", "show-markup", "show-markup", TRUE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_DIALOG_SHOW_RIGHT_MARGIN, g_param_spec_boolean ("show-right-margin", "show-right-margin", "show-right-margin", TRUE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_DIALOG_SHOW_SUBJECT_MARGIN, g_param_spec_boolean ("show-subject-margin", "show-subject-margin", "show-subject-margin", TRUE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_DIALOG_RIGHT_MARGIN_POSITION, g_param_spec_int ("right-margin-position", "right-margin-position", "right-margin-position", G_MININT, G_MAXINT, 72, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_DIALOG_SUBJECT_MARGIN_POSITION, g_param_spec_int ("subject-margin-position", "subject-margin-position", "subject-margin-position", G_MININT, G_MAXINT, 50, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_DIALOG_AUTHOR, g_param_spec_object ("author", "author", "author", ggit_signature_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_DIALOG_SPELL_CHECKING_LANGUAGE, g_param_spec_string ("spell-checking-language", "spell-checking-language", "spell-checking-language", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_DIALOG_ENABLE_SPELL_CHECKING, g_param_spec_boolean ("enable-spell-checking", "enable-spell-checking", "enable-spell-checking", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	GitgCommitDialog_private_offset = g_type_class_get_instance_private_offset (klass);
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/gitg/ui/gitg-commit-dialog.ui");
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "source_view_message", FALSE, GitgCommitDialog_private_offset + G_STRUCT_OFFSET (GitgCommitDialogPrivate, d_source_view_message));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "ok-button", FALSE, GitgCommitDialog_private_offset + G_STRUCT_OFFSET (GitgCommitDialogPrivate, d_button_ok));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "check_button_amend", FALSE, GitgCommitDialog_private_offset + G_STRUCT_OFFSET (GitgCommitDialogPrivate, d_check_button_amend));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "check_button_sign_off", FALSE, GitgCommitDialog_private_offset + G_STRUCT_OFFSET (GitgCommitDialogPrivate, d_check_button_sign_off));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "image_avatar", FALSE, GitgCommitDialog_private_offset + G_STRUCT_OFFSET (GitgCommitDialogPrivate, d_image_avatar));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "label_user", FALSE, GitgCommitDialog_private_offset + G_STRUCT_OFFSET (GitgCommitDialogPrivate, d_label_user));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "label_date", FALSE, GitgCommitDialog_private_offset + G_STRUCT_OFFSET (GitgCommitDialogPrivate, d_label_date));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "infobar", FALSE, GitgCommitDialog_private_offset + G_STRUCT_OFFSET (GitgCommitDialogPrivate, d_infobar));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "infobar_revealer", FALSE, GitgCommitDialog_private_offset + G_STRUCT_OFFSET (GitgCommitDialogPrivate, d_infobar_revealer));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "infobar_primary_label", FALSE, GitgCommitDialog_private_offset + G_STRUCT_OFFSET (GitgCommitDialogPrivate, d_infobar_primary_label));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "infobar_secondary_label", FALSE, GitgCommitDialog_private_offset + G_STRUCT_OFFSET (GitgCommitDialogPrivate, d_infobar_secondary_label));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "infobar_close_button", FALSE, GitgCommitDialog_private_offset + G_STRUCT_OFFSET (GitgCommitDialogPrivate, d_infobar_close_button));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "list_box_stats", FALSE, GitgCommitDialog_private_offset + G_STRUCT_OFFSET (GitgCommitDialogPrivate, d_list_box_stats));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "scrolled_window_stats", FALSE, GitgCommitDialog_private_offset + G_STRUCT_OFFSET (GitgCommitDialogPrivate, d_scrolled_window_stats));
#line 2783 "gitg-commit-dialog.c"
}


static void gitg_commit_dialog_instance_init (GitgCommitDialog * self) {
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv = GITG_COMMIT_DIALOG_GET_PRIVATE (self);
#line 93 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->_max_visible_stat_items = 3;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_widget_init_template (GTK_WIDGET (self));
#line 2794 "gitg-commit-dialog.c"
}


static void gitg_commit_dialog_finalize (GObject* obj) {
	GitgCommitDialog * self;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_COMMIT_TYPE_DIALOG, GitgCommitDialog);
#line 30 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_source_view_message);
#line 33 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_button_ok);
#line 36 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_check_button_amend);
#line 39 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_check_button_sign_off);
#line 42 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_image_avatar);
#line 45 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_label_user);
#line 48 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_label_date);
#line 51 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_infobar);
#line 54 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_infobar_revealer);
#line 57 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_infobar_primary_label);
#line 60 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_infobar_secondary_label);
#line 63 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_infobar_close_button);
#line 66 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_list_box_stats);
#line 69 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_scrolled_window_stats);
#line 76 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_author);
#line 77 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_cancel_avatar);
#line 79 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_message_settings);
#line 80 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_font_settings);
#line 81 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_commit_settings);
#line 83 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (self->priv->d_spell_checking_language);
#line 84 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_spell_checker);
#line 85 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_diff);
#line 458 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_subject_tag);
#line 459 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_too_long_tag);
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	G_OBJECT_CLASS (gitg_commit_dialog_parent_class)->finalize (obj);
#line 2852 "gitg-commit-dialog.c"
}


GType gitg_commit_dialog_get_type (void) {
	static volatile gsize gitg_commit_dialog_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_commit_dialog_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgCommitDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_commit_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgCommitDialog), 0, (GInstanceInitFunc) gitg_commit_dialog_instance_init, NULL };
		GType gitg_commit_dialog_type_id;
		gitg_commit_dialog_type_id = g_type_register_static (gtk_dialog_get_type (), "GitgCommitDialog", &g_define_type_info, 0);
		g_once_init_leave (&gitg_commit_dialog_type_id__volatile, gitg_commit_dialog_type_id);
	}
	return gitg_commit_dialog_type_id__volatile;
}


static void _vala_gitg_commit_dialog_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GitgCommitDialog * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_COMMIT_TYPE_DIALOG, GitgCommitDialog);
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	switch (property_id) {
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_DIFF:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_take_object (value, gitg_commit_dialog_get_diff (self));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_MAX_VISIBLE_STAT_ITEMS:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_int (value, gitg_commit_dialog_get_max_visible_stat_items (self));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SOURCE_VIEW_MESSAGE:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_object (value, gitg_commit_dialog_get_source_view_message (self));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_PRETTY_MESSAGE:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_take_string (value, gitg_commit_dialog_get_pretty_message (self));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_MESSAGE:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_take_string (value, gitg_commit_dialog_get_message (self));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_AMEND:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_boolean (value, gitg_commit_dialog_get_amend (self));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SIGN_OFF:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_boolean (value, gitg_commit_dialog_get_sign_off (self));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SHOW_MARKUP:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_boolean (value, gitg_commit_dialog_get_show_markup (self));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SHOW_RIGHT_MARGIN:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_boolean (value, gitg_commit_dialog_get_show_right_margin (self));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SHOW_SUBJECT_MARGIN:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_boolean (value, gitg_commit_dialog_get_show_subject_margin (self));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_RIGHT_MARGIN_POSITION:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_int (value, gitg_commit_dialog_get_right_margin_position (self));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SUBJECT_MARGIN_POSITION:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_int (value, gitg_commit_dialog_get_subject_margin_position (self));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_AUTHOR:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_take_object (value, gitg_commit_dialog_get_author (self));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SPELL_CHECKING_LANGUAGE:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_string (value, gitg_commit_dialog_get_spell_checking_language (self));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_ENABLE_SPELL_CHECKING:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_boolean (value, gitg_commit_dialog_get_enable_spell_checking (self));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 2963 "gitg-commit-dialog.c"
		default:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 2969 "gitg-commit-dialog.c"
	}
}


static void _vala_gitg_commit_dialog_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	GitgCommitDialog * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_COMMIT_TYPE_DIALOG, GitgCommitDialog);
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
	switch (property_id) {
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_DIFF:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_diff (self, g_value_get_object (value));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_MAX_VISIBLE_STAT_ITEMS:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_max_visible_stat_items (self, g_value_get_int (value));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_MESSAGE:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_message (self, g_value_get_string (value));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_AMEND:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_amend (self, g_value_get_boolean (value));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SIGN_OFF:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_sign_off (self, g_value_get_boolean (value));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SHOW_MARKUP:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_show_markup (self, g_value_get_boolean (value));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SHOW_RIGHT_MARGIN:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_show_right_margin (self, g_value_get_boolean (value));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SHOW_SUBJECT_MARGIN:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_show_subject_margin (self, g_value_get_boolean (value));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_RIGHT_MARGIN_POSITION:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_right_margin_position (self, g_value_get_int (value));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SUBJECT_MARGIN_POSITION:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_subject_margin_position (self, g_value_get_int (value));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_AUTHOR:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_author (self, g_value_get_object (value));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SPELL_CHECKING_LANGUAGE:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_spell_checking_language (self, g_value_get_string (value));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_ENABLE_SPELL_CHECKING:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_enable_spell_checking (self, g_value_get_boolean (value));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 3057 "gitg-commit-dialog.c"
		default:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 3063 "gitg-commit-dialog.c"
	}
}



