/* gitg-commit-dialog.c generated by valac 0.28.0, 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 <pango/pango.h>
#include "libgitg/libgitg.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;
	gboolean d_use_gravatar;
	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,
	GITG_COMMIT_DIALOG_USE_GRAVATAR
};
#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);
gboolean gitg_commit_dialog_get_use_gravatar (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);
void gitg_commit_dialog_set_use_gravatar (GitgCommitDialog* self, gboolean value);
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 262 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 264 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = self->priv->d_spell_checker;
#line 264 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp1_ != NULL) {
#line 228 "gitg-commit-dialog.c"
		const gchar* _tmp2_ = NULL;
#line 264 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp2_ = self->priv->d_spell_checking_language;
#line 264 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp0_ = g_strcmp0 (_tmp2_, "") != 0;
#line 234 "gitg-commit-dialog.c"
	} else {
#line 264 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp0_ = FALSE;
#line 238 "gitg-commit-dialog.c"
	}
#line 264 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp0_) {
#line 242 "gitg-commit-dialog.c"
		{
			GtkSpellChecker* _tmp3_ = NULL;
			const gchar* _tmp4_ = NULL;
#line 268 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp3_ = self->priv->d_spell_checker;
#line 268 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp4_ = self->priv->d_spell_checking_language;
#line 268 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			gtk_spell_checker_set_language (_tmp3_, _tmp4_, &_inner_error_);
#line 268 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 254 "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 266 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			g_clear_error (&_inner_error_);
#line 266 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			_inner_error_ = NULL;
#line 272 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp5_ = _ ("Cannot set spell checking language: %s");
#line 272 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp6_ = self->priv->d_spell_checking_language;
#line 272 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			g_warning (_tmp5_, _tmp6_);
#line 273 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp7_ = g_strdup ("");
#line 273 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			_g_free0 (self->priv->d_spell_checking_language);
#line 273 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			self->priv->d_spell_checking_language = _tmp7_;
#line 280 "gitg-commit-dialog.c"
		}
		__finally0:
#line 266 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 266 "/home/jesse/devel/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 266 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			g_clear_error (&_inner_error_);
#line 266 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			return;
#line 291 "gitg-commit-dialog.c"
		}
	}
}


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


static Block1Data* block1_data_ref (Block1Data* _data1_) {
#line 342 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_atomic_int_inc (&_data1_->_ref_count_);
#line 342 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	return _data1_;
#line 314 "gitg-commit-dialog.c"
}


static void block1_data_unref (void * _userdata_) {
	Block1Data* _data1_;
	_data1_ = (Block1Data*) _userdata_;
#line 342 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (g_atomic_int_dec_and_test (&_data1_->_ref_count_)) {
#line 323 "gitg-commit-dialog.c"
		GitgCommitDialog* self;
#line 342 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		self = _data1_->self;
#line 342 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (_data1_->ac);
#line 342 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (self);
#line 342 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_slice_free (Block1Data, _data1_);
#line 333 "gitg-commit-dialog.c"
	}
}


static void ___lambda4_ (Block1Data* _data1_, GObject* obj, GAsyncResult* res) {
	GitgCommitDialog* self;
	GdkPixbuf* pixbuf = NULL;
	GitgAvatarCache* _tmp0_ = NULL;
	GAsyncResult* _tmp1_ = NULL;
	GdkPixbuf* _tmp2_ = NULL;
	GCancellable* _tmp3_ = NULL;
	gboolean _tmp4_ = FALSE;
	GdkPixbuf* _tmp5_ = NULL;
#line 347 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	self = _data1_->self;
#line 347 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (res != NULL);
#line 348 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = _data1_->ac;
#line 348 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = res;
#line 348 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = gitg_avatar_cache_load_finish (_tmp0_, _tmp1_);
#line 348 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	pixbuf = _tmp2_;
#line 350 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = self->priv->d_cancel_avatar;
#line 350 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = g_cancellable_is_cancelled (_tmp3_);
#line 350 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp4_) {
#line 352 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (pixbuf);
#line 352 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		return;
#line 369 "gitg-commit-dialog.c"
	}
#line 355 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp5_ = pixbuf;
#line 355 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp5_ != NULL) {
#line 375 "gitg-commit-dialog.c"
		GtkImage* _tmp6_ = NULL;
		GdkPixbuf* _tmp7_ = NULL;
#line 357 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp6_ = self->priv->d_image_avatar;
#line 357 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp7_ = pixbuf;
#line 357 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		gtk_image_set_from_pixbuf (_tmp6_, _tmp7_);
#line 384 "gitg-commit-dialog.c"
	} else {
		GtkImage* _tmp8_ = NULL;
#line 361 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp8_ = self->priv->d_image_avatar;
#line 361 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		gtk_image_set_from_icon_name (_tmp8_, "avatar-default-symbolic", GTK_ICON_SIZE_DIALOG);
#line 391 "gitg-commit-dialog.c"
	}
#line 347 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (pixbuf);
#line 395 "gitg-commit-dialog.c"
}


static void ____lambda4__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 347 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	___lambda4_ (self, source_object, res);
#line 347 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	block1_data_unref (self);
#line 404 "gitg-commit-dialog.c"
}


static void gitg_commit_dialog_load_author_info (GitgCommitDialog* self) {
	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;
	gboolean _tmp41_ = FALSE;
	gboolean _tmp42_ = FALSE;
#line 293 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 295 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_cancel_avatar;
#line 295 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp0_ != NULL) {
#line 454 "gitg-commit-dialog.c"
		GCancellable* _tmp1_ = NULL;
		GCancellable* _tmp2_ = NULL;
#line 297 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp1_ = self->priv->d_cancel_avatar;
#line 297 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_cancellable_cancel (_tmp1_);
#line 298 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp2_ = g_cancellable_new ();
#line 298 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (self->priv->d_cancel_avatar);
#line 298 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		self->priv->d_cancel_avatar = _tmp2_;
#line 467 "gitg-commit-dialog.c"
	}
#line 301 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = self->priv->d_author;
#line 301 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = ggit_signature_get_name (_tmp3_);
#line 301 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp5_ = g_strdup (_tmp4_);
#line 301 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	name = _tmp5_;
#line 302 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp6_ = self->priv->d_author;
#line 302 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp7_ = ggit_signature_get_email (_tmp6_);
#line 302 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp8_ = g_strdup (_tmp7_);
#line 302 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	email = _tmp8_;
#line 304 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp9_ = name;
#line 304 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp10_ = string_to_string (_tmp9_);
#line 304 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp11_ = email;
#line 304 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp12_ = string_to_string (_tmp11_);
#line 304 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp13_ = g_strconcat (_tmp10_, " <", _tmp12_, ">", NULL);
#line 304 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	s = _tmp13_;
#line 305 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp14_ = self->priv->d_label_user;
#line 305 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp15_ = s;
#line 305 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_label_set_label (_tmp14_, _tmp15_);
#line 307 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp16_ = gtk_widget_get_style_context ((GtkWidget*) self);
#line 307 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp17_ = gtk_style_context_get_state (_tmp16_);
#line 307 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	rtl = (_tmp17_ & GTK_STATE_FLAG_DIR_RTL) != 0;
#line 309 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp18_ = rtl;
#line 309 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp19_ = s;
#line 309 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp20_ = pango_find_base_dir (_tmp19_, -1);
#line 309 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp18_ == (_tmp20_ != PANGO_DIRECTION_RTL)) {
#line 517 "gitg-commit-dialog.c"
		GtkLabel* _tmp21_ = NULL;
#line 311 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp21_ = self->priv->d_label_user;
#line 311 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		gtk_widget_set_halign ((GtkWidget*) _tmp21_, GTK_ALIGN_END);
#line 523 "gitg-commit-dialog.c"
	} else {
		GtkLabel* _tmp22_ = NULL;
#line 315 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp22_ = self->priv->d_label_user;
#line 315 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		gtk_widget_set_halign ((GtkWidget*) _tmp22_, GTK_ALIGN_START);
#line 530 "gitg-commit-dialog.c"
	}
#line 318 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp23_ = self->priv->d_author;
#line 318 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp24_ = ggit_signature_get_time (_tmp23_);
#line 318 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	t = _tmp24_;
#line 319 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp25_ = g_date_time_new_now_local ();
#line 319 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	now = _tmp25_;
#line 322 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp26_ = now;
#line 322 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp27_ = t;
#line 322 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp28_ = g_date_time_difference (_tmp26_, _tmp27_);
#line 322 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp28_ < (G_TIME_SPAN_SECOND * 5)) {
#line 550 "gitg-commit-dialog.c"
		gchar* _tmp29_ = NULL;
#line 324 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp29_ = g_strdup ("");
#line 324 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_free0 (date_string);
#line 324 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		date_string = _tmp29_;
#line 558 "gitg-commit-dialog.c"
	} else {
		GDateTime* _tmp30_ = NULL;
		GitgDate* _tmp31_ = NULL;
		GitgDate* _tmp32_ = NULL;
		gchar* _tmp33_ = NULL;
#line 328 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp30_ = t;
#line 328 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp31_ = gitg_date_new_for_date_time (_tmp30_);
#line 328 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp32_ = _tmp31_;
#line 328 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp33_ = gitg_date_for_display (_tmp32_);
#line 328 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_free0 (date_string);
#line 328 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		date_string = _tmp33_;
#line 328 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (_tmp32_);
#line 578 "gitg-commit-dialog.c"
	}
#line 331 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp34_ = self->priv->d_label_date;
#line 331 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp35_ = date_string;
#line 331 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_label_set_label (_tmp34_, _tmp35_);
#line 333 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp36_ = rtl;
#line 333 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp37_ = date_string;
#line 333 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp38_ = pango_find_base_dir (_tmp37_, -1);
#line 333 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp36_ == (_tmp38_ != PANGO_DIRECTION_RTL)) {
#line 594 "gitg-commit-dialog.c"
		GtkLabel* _tmp39_ = NULL;
#line 335 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp39_ = self->priv->d_label_date;
#line 335 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		gtk_widget_set_halign ((GtkWidget*) _tmp39_, GTK_ALIGN_END);
#line 600 "gitg-commit-dialog.c"
	} else {
		GtkLabel* _tmp40_ = NULL;
#line 339 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp40_ = self->priv->d_label_date;
#line 339 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		gtk_widget_set_halign ((GtkWidget*) _tmp40_, GTK_ALIGN_START);
#line 607 "gitg-commit-dialog.c"
	}
#line 342 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp41_ = gitg_commit_dialog_get_use_gravatar (self);
#line 342 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp42_ = _tmp41_;
#line 342 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp42_) {
#line 615 "gitg-commit-dialog.c"
		Block1Data* _data1_;
		GitgAvatarCache* _tmp43_ = NULL;
		GCancellable* _tmp44_ = NULL;
		GitgAvatarCache* _tmp45_ = NULL;
		GgitSignature* _tmp46_ = NULL;
		const gchar* _tmp47_ = NULL;
		GCancellable* _tmp48_ = NULL;
#line 342 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_data1_ = g_slice_new0 (Block1Data);
#line 342 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_data1_->_ref_count_ = 1;
#line 342 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_data1_->self = g_object_ref (self);
#line 344 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp43_ = gitg_avatar_cache_default ();
#line 344 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_data1_->ac = _tmp43_;
#line 345 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp44_ = g_cancellable_new ();
#line 345 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (self->priv->d_cancel_avatar);
#line 345 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		self->priv->d_cancel_avatar = _tmp44_;
#line 347 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp45_ = _data1_->ac;
#line 347 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp46_ = self->priv->d_author;
#line 347 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp47_ = ggit_signature_get_email (_tmp46_);
#line 347 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp48_ = self->priv->d_cancel_avatar;
#line 347 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_avatar_cache_load (_tmp45_, _tmp47_, _tmp48_, ____lambda4__gasync_ready_callback, block1_data_ref (_data1_));
#line 342 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		block1_data_unref (_data1_);
#line 342 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_data1_ = NULL;
#line 653 "gitg-commit-dialog.c"
	} else {
		GtkImage* _tmp49_ = NULL;
#line 367 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp49_ = self->priv->d_image_avatar;
#line 367 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		gtk_image_set_from_icon_name (_tmp49_, "avatar-default-symbolic", GTK_ICON_SIZE_DIALOG);
#line 660 "gitg-commit-dialog.c"
	}
#line 293 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (date_string);
#line 293 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_date_time_unref0 (now);
#line 293 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_date_time_unref0 (t);
#line 293 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (s);
#line 293 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (email);
#line 293 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (name);
#line 674 "gitg-commit-dialog.c"
}


static void gitg_commit_dialog_real_destroy (GtkWidget* base) {
	GitgCommitDialog * self;
	GCancellable* _tmp0_ = NULL;
#line 371 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	self = (GitgCommitDialog*) base;
#line 373 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_cancel_avatar;
#line 373 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp0_ != NULL) {
#line 687 "gitg-commit-dialog.c"
		GCancellable* _tmp1_ = NULL;
#line 375 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp1_ = self->priv->d_cancel_avatar;
#line 375 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_cancellable_cancel (_tmp1_);
#line 693 "gitg-commit-dialog.c"
	}
#line 378 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_message_settings);
#line 378 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_message_settings = NULL;
#line 379 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_font_settings);
#line 379 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_font_settings = NULL;
#line 380 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_commit_settings);
#line 380 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_commit_settings = NULL;
#line 382 "/home/jesse/devel/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 709 "gitg-commit-dialog.c"
}


static Block2Data* block2_data_ref (Block2Data* _data2_) {
#line 478 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_atomic_int_inc (&_data2_->_ref_count_);
#line 478 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	return _data2_;
#line 718 "gitg-commit-dialog.c"
}


static void block2_data_unref (void * _userdata_) {
	Block2Data* _data2_;
	_data2_ = (Block2Data*) _userdata_;
#line 478 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (g_atomic_int_dec_and_test (&_data2_->_ref_count_)) {
#line 727 "gitg-commit-dialog.c"
		GitgCommitDialog* self;
#line 478 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		self = _data2_->self;
#line 478 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (self);
#line 478 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_slice_free (Block2Data, _data2_);
#line 735 "gitg-commit-dialog.c"
	}
}


static gpointer _ggit_diff_file_ref0 (gpointer self) {
#line 502 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	return self ? ggit_diff_file_ref (self) : NULL;
#line 743 "gitg-commit-dialog.c"
}


static void __lambda5_ (Block2Data* _data2_) {
	GitgCommitDialog* self;
	gint _tmp0_ = 0;
#line 528 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	self = _data2_->self;
#line 529 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = _data2_->num;
#line 529 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_update_min_stat_size (self, _tmp0_);
#line 756 "gitg-commit-dialog.c"
}


static void ___lambda5__gtk_widget_size_allocate (GtkWidget* _sender, GtkAllocation* allocation, gpointer self) {
#line 528 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	__lambda5_ (self);
#line 763 "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 478 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 478 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_data2_ = g_slice_new0 (Block2Data);
#line 478 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_data2_->_ref_count_ = 1;
#line 478 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_data2_->self = g_object_ref (self);
#line 480 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = gitg_commit_dialog_get_diff (self);
#line 480 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = _tmp0_;
#line 480 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = _tmp1_;
#line 480 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = ggit_diff_get_num_deltas (_tmp2_);
#line 480 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = _tmp3_;
#line 480 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (_tmp2_);
#line 480 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	n = _tmp4_;
#line 481 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_data2_->num = 0;
#line 801 "gitg-commit-dialog.c"
	{
		gint i = 0;
#line 483 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		i = 0;
#line 806 "gitg-commit-dialog.c"
		{
			gboolean _tmp5_ = FALSE;
#line 483 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp5_ = TRUE;
#line 483 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			while (TRUE) {
#line 813 "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 483 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				if (!_tmp5_) {
#line 858 "gitg-commit-dialog.c"
					gint _tmp6_ = 0;
#line 483 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp6_ = i;
#line 483 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					i = _tmp6_ + 1;
#line 864 "gitg-commit-dialog.c"
				}
#line 483 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp5_ = FALSE;
#line 483 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp7_ = i;
#line 483 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp8_ = n;
#line 483 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				if (!(_tmp7_ < _tmp8_)) {
#line 483 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					break;
#line 876 "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 489 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp10_ = gitg_commit_dialog_get_diff (self);
#line 489 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp11_ = _tmp10_;
#line 489 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp12_ = _tmp11_;
#line 489 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp13_ = i;
#line 489 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp14_ = ggit_patch_new_from_diff (_tmp12_, (gsize) _tmp13_, &_inner_error_);
#line 489 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp15_ = _tmp14_;
#line 489 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					_g_object_unref0 (_tmp12_);
#line 489 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp9_ = _tmp15_;
#line 489 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 905 "gitg-commit-dialog.c"
						goto __catch1_g_error;
					}
#line 489 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp16_ = _tmp9_;
#line 489 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp9_ = NULL;
#line 489 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					_ggit_patch_unref0 (patch);
#line 489 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					patch = _tmp16_;
#line 487 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					_ggit_patch_unref0 (_tmp9_);
#line 918 "gitg-commit-dialog.c"
				}
				goto __finally1;
				__catch1_g_error:
				{
#line 487 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					g_clear_error (&_inner_error_);
#line 487 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					_inner_error_ = NULL;
#line 490 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					_ggit_patch_unref0 (patch);
#line 490 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					continue;
#line 931 "gitg-commit-dialog.c"
				}
				__finally1:
#line 487 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 487 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					_ggit_patch_unref0 (patch);
#line 487 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					block2_data_unref (_data2_);
#line 487 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					_data2_ = NULL;
#line 487 "/home/jesse/devel/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 487 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					g_clear_error (&_inner_error_);
#line 487 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					return;
#line 948 "gitg-commit-dialog.c"
				}
				{
					GgitPatch* _tmp17_ = NULL;
					gsize _tmp18_ = 0UL;
					gsize _tmp19_ = 0UL;
#line 497 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp17_ = patch;
#line 497 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					ggit_patch_get_line_stats (_tmp17_, NULL, &_tmp18_, &_tmp19_, &_inner_error_);
#line 497 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					add = _tmp18_;
#line 497 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					remove = _tmp19_;
#line 497 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 964 "gitg-commit-dialog.c"
						goto __catch2_g_error;
					}
				}
				goto __finally2;
				__catch2_g_error:
				{
#line 495 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					g_clear_error (&_inner_error_);
#line 495 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					_inner_error_ = NULL;
#line 498 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					_ggit_patch_unref0 (patch);
#line 498 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					continue;
#line 979 "gitg-commit-dialog.c"
				}
				__finally2:
#line 495 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 495 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					_ggit_patch_unref0 (patch);
#line 495 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					block2_data_unref (_data2_);
#line 495 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					_data2_ = NULL;
#line 495 "/home/jesse/devel/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 495 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					g_clear_error (&_inner_error_);
#line 495 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
					return;
#line 996 "gitg-commit-dialog.c"
				}
#line 500 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp20_ = patch;
#line 500 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp21_ = ggit_patch_get_delta (_tmp20_);
#line 500 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				delta = _tmp21_;
#line 502 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp22_ = delta;
#line 502 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp23_ = ggit_diff_delta_get_new_file (_tmp22_);
#line 502 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp24_ = _ggit_diff_file_ref0 (_tmp23_);
#line 502 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				nf = _tmp24_;
#line 503 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp25_ = nf;
#line 503 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp26_ = ggit_diff_file_get_path (_tmp25_);
#line 503 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp27_ = g_strdup (_tmp26_);
#line 503 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				path = _tmp27_;
#line 505 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp28_ = (GtkListBoxRow*) gtk_list_box_row_new ();
#line 505 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				g_object_ref_sink (_tmp28_);
#line 505 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				row = _tmp28_;
#line 506 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp29_ = (GtkGrid*) gtk_grid_new ();
#line 506 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				g_object_ref_sink (_tmp29_);
#line 506 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				grid = _tmp29_;
#line 507 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp30_ = row;
#line 507 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp31_ = grid;
#line 507 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_container_add ((GtkContainer*) _tmp30_, (GtkWidget*) _tmp31_);
#line 508 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp32_ = grid;
#line 508 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_grid_set_column_spacing (_tmp32_, 6);
#line 510 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp33_ = gitg_diff_stat_new ();
#line 510 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				g_object_ref_sink (_tmp33_);
#line 510 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				ds = _tmp33_;
#line 512 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp34_ = ds;
#line 512 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp35_ = gtk_widget_get_style_context ((GtkWidget*) _tmp34_);
#line 512 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_style_context_add_class (_tmp35_, "no-frame");
#line 514 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp36_ = ds;
#line 514 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp37_ = add;
#line 514 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				gitg_diff_stat_set_added (_tmp36_, (guint) _tmp37_);
#line 515 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp38_ = ds;
#line 515 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp39_ = remove;
#line 515 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				gitg_diff_stat_set_removed (_tmp38_, (guint) _tmp39_);
#line 517 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp40_ = grid;
#line 517 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp41_ = ds;
#line 517 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_grid_attach (_tmp40_, (GtkWidget*) _tmp41_, 0, 0, 1, 1);
#line 519 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp42_ = path;
#line 519 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp43_ = (GtkLabel*) gtk_label_new (_tmp42_);
#line 519 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				g_object_ref_sink (_tmp43_);
#line 519 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				lbl = _tmp43_;
#line 521 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp44_ = grid;
#line 521 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp45_ = lbl;
#line 521 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_grid_attach (_tmp44_, (GtkWidget*) _tmp45_, 1, 0, 1, 1);
#line 522 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp46_ = row;
#line 522 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_widget_show_all ((GtkWidget*) _tmp46_);
#line 524 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp47_ = self->priv->d_list_box_stats;
#line 524 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp48_ = row;
#line 524 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_container_add ((GtkContainer*) _tmp47_, (GtkWidget*) _tmp48_);
#line 525 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp49_ = _data2_->num;
#line 525 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_data2_->num = _tmp49_ + 1;
#line 483 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_g_object_unref0 (lbl);
#line 483 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_g_object_unref0 (ds);
#line 483 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_g_object_unref0 (grid);
#line 483 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_g_object_unref0 (row);
#line 483 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_g_free0 (path);
#line 483 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_ggit_diff_file_unref0 (nf);
#line 483 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_ggit_diff_delta_unref0 (delta);
#line 483 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_ggit_patch_unref0 (patch);
#line 1116 "gitg-commit-dialog.c"
			}
		}
	}
#line 528 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp50_ = self->priv->d_list_box_stats;
#line 528 "/home/jesse/devel/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 478 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	block2_data_unref (_data2_);
#line 478 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_data2_ = NULL;
#line 1128 "gitg-commit-dialog.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 543 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	return self ? g_object_ref (self) : NULL;
#line 1135 "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 533 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 535 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = num;
#line 535 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp0_ == 0) {
#line 1166 "gitg-commit-dialog.c"
		GtkScrolledWindow* _tmp1_ = NULL;
#line 537 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp1_ = self->priv->d_scrolled_window_stats;
#line 537 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		gtk_widget_hide ((GtkWidget*) _tmp1_);
#line 538 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		return;
#line 1174 "gitg-commit-dialog.c"
	}
#line 541 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = num;
#line 541 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = self->priv->_max_visible_stat_items;
#line 541 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = MIN (_tmp2_, _tmp3_);
#line 541 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	n = _tmp4_;
#line 543 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp5_ = self->priv->d_list_box_stats;
#line 543 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp6_ = n;
#line 543 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp7_ = gtk_list_box_get_row_at_index (_tmp5_, _tmp6_ - 1);
#line 543 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp8_ = _g_object_ref0 (_tmp7_);
#line 543 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	lastrow = _tmp8_;
#line 546 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp9_ = lastrow;
#line 546 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_widget_get_allocation ((GtkWidget*) _tmp9_, &_tmp10_);
#line 546 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	allocation = _tmp10_;
#line 548 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp11_ = n;
#line 548 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp12_ = num;
#line 548 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp11_ == _tmp12_) {
#line 1206 "gitg-commit-dialog.c"
		GtkScrolledWindow* _tmp13_ = NULL;
#line 550 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp13_ = self->priv->d_scrolled_window_stats;
#line 550 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		gtk_scrolled_window_set_policy (_tmp13_, GTK_POLICY_NEVER, GTK_POLICY_NEVER);
#line 1212 "gitg-commit-dialog.c"
	}
#line 554 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp14_ = self->priv->d_scrolled_window_stats;
#line 554 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp15_ = allocation;
#line 554 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp16_ = _tmp15_.y;
#line 554 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp17_ = allocation;
#line 554 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp18_ = _tmp17_.height;
#line 554 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_scrolled_window_set_min_content_height (_tmp14_, _tmp16_ + _tmp18_);
#line 533 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (lastrow);
#line 1228 "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 557 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 560 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_source_view_message;
#line 560 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = gtk_widget_get_style_context ((GtkWidget*) _tmp0_);
#line 560 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 560 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	ctx = _tmp2_;
#line 562 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_style_context_save (ctx);
#line 563 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_style_context_add_class (ctx, "warning");
#line 565 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_style_context_get_color (ctx, GTK_STATE_FLAG_NORMAL, &_tmp3_);
#line 565 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	fg = _tmp3_;
#line 566 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_style_context_get_background_color (ctx, GTK_STATE_FLAG_NORMAL, &_tmp4_);
#line 566 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	bg = _tmp4_;
#line 568 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_style_context_restore (ctx);
#line 570 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp5_ = self->priv->d_too_long_tag;
#line 570 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp6_ = bg;
#line 570 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_set (_tmp5_, "background-rgba", &_tmp6_, NULL);
#line 571 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp7_ = self->priv->d_too_long_tag;
#line 571 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp8_ = fg;
#line 571 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_set (_tmp7_, "foreground-rgba", &_tmp8_, NULL);
#line 557 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (ctx);
#line 1283 "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 574 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 574 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (widget != NULL, FALSE);
#line 574 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 576 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = gtk_accelerator_get_default_mod_mask ();
#line 576 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	mmask = _tmp0_;
#line 578 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = mmask;
#line 578 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = event;
#line 578 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = _tmp3_->state;
#line 578 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	if ((_tmp2_ & _tmp4_) == GDK_CONTROL_MASK) {
#line 1313 "gitg-commit-dialog.c"
		gboolean _tmp5_ = FALSE;
		GdkEventKey* _tmp6_ = NULL;
		guint _tmp7_ = 0U;
#line 579 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp6_ = event;
#line 579 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp7_ = _tmp6_->keyval;
#line 579 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		if (_tmp7_ == ((guint) GDK_KEY_Return)) {
#line 579 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp5_ = TRUE;
#line 1325 "gitg-commit-dialog.c"
		} else {
			GdkEventKey* _tmp8_ = NULL;
			guint _tmp9_ = 0U;
#line 579 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp8_ = event;
#line 579 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp9_ = _tmp8_->keyval;
#line 579 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp5_ = _tmp9_ == ((guint) GDK_KEY_KP_Enter);
#line 1335 "gitg-commit-dialog.c"
		}
#line 579 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp1_ = _tmp5_;
#line 1339 "gitg-commit-dialog.c"
	} else {
#line 578 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp1_ = FALSE;
#line 1343 "gitg-commit-dialog.c"
	}
#line 578 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp1_) {
#line 1347 "gitg-commit-dialog.c"
		GtkButton* _tmp10_ = NULL;
#line 581 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp10_ = self->priv->d_button_ok;
#line 581 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_signal_emit_by_name (_tmp10_, "activate");
#line 582 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		result = TRUE;
#line 582 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		return result;
#line 1357 "gitg-commit-dialog.c"
	}
#line 585 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = FALSE;
#line 585 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 1363 "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 590 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 1372 "gitg-commit-dialog.c"
}


static void __lambda6_ (GitgCommitDialog* self) {
#line 602 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_update_too_long_tag (self);
#line 1379 "gitg-commit-dialog.c"
}


static void ___lambda6__gtk_widget_style_updated (GtkWidget* _sender, gpointer self) {
#line 601 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	__lambda6_ ((GitgCommitDialog*) self);
#line 1386 "gitg-commit-dialog.c"
}


static void __lambda7_ (GitgCommitDialog* self) {
#line 606 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_do_highlight (self);
#line 1393 "gitg-commit-dialog.c"
}


static void ___lambda7__gtk_text_buffer_changed (GtkTextBuffer* _sender, gpointer self) {
#line 605 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	__lambda7_ ((GitgCommitDialog*) self);
#line 1400 "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 588 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 590 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_source_view_message;
#line 590 "/home/jesse/devel/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 592 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = self->priv->d_source_view_message;
#line 592 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = gtk_text_view_get_buffer ((GtkTextView*) _tmp1_);
#line 592 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = _tmp2_;
#line 592 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 592 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	b = _tmp4_;
#line 594 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp5_ = gtk_text_buffer_create_tag (b, "subject", "weight", PANGO_WEIGHT_BOLD, NULL);
#line 594 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp6_ = _g_object_ref0 (_tmp5_);
#line 594 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_subject_tag);
#line 594 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_subject_tag = _tmp6_;
#line 597 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp7_ = gtk_text_buffer_create_tag (b, "too-long", NULL);
#line 597 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp8_ = _g_object_ref0 (_tmp7_);
#line 597 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_too_long_tag);
#line 597 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_too_long_tag = _tmp8_;
#line 599 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_update_too_long_tag (self);
#line 601 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp9_ = self->priv->d_source_view_message;
#line 601 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_signal_connect_object ((GtkWidget*) _tmp9_, "style-updated", (GCallback) ___lambda6__gtk_widget_style_updated, self, 0);
#line 605 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_signal_connect_object (b, "changed", (GCallback) ___lambda7__gtk_text_buffer_changed, self, 0);
#line 609 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_update_highlight (self);
#line 588 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (b);
#line 1460 "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 612 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 614 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_constructed;
#line 614 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (!_tmp0_) {
#line 616 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		return;
#line 1479 "gitg-commit-dialog.c"
	}
#line 619 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = self->priv->d_show_markup;
#line 619 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp2_) {
#line 1485 "gitg-commit-dialog.c"
		gboolean _tmp3_ = FALSE;
#line 619 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp3_ = self->priv->d_show_right_margin;
#line 619 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp1_ = _tmp3_;
#line 1491 "gitg-commit-dialog.c"
	} else {
#line 619 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp1_ = FALSE;
#line 1495 "gitg-commit-dialog.c"
	}
#line 619 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = self->priv->d_source_view_message;
#line 619 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_source_view_set_show_right_margin (_tmp4_, _tmp1_);
#line 620 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp5_ = self->priv->d_source_view_message;
#line 620 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp6_ = self->priv->d_right_margin_position;
#line 620 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_source_view_set_right_margin_position (_tmp5_, (guint) _tmp6_);
#line 622 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_do_highlight (self);
#line 1509 "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 625 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 627 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_source_view_message;
#line 627 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = gtk_text_view_get_buffer ((GtkTextView*) _tmp0_);
#line 627 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = _tmp1_;
#line 627 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 627 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	b = _tmp3_;
#line 632 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = b;
#line 632 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_text_buffer_get_bounds (_tmp4_, &_tmp5_, &_tmp6_);
#line 632 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	start = _tmp5_;
#line 632 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	end = _tmp6_;
#line 633 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp7_ = b;
#line 633 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp8_ = self->priv->d_subject_tag;
#line 633 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp9_ = start;
#line 633 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp10_ = end;
#line 633 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_text_buffer_remove_tag (_tmp7_, _tmp8_, &_tmp9_, &_tmp10_);
#line 634 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp11_ = b;
#line 634 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp12_ = self->priv->d_too_long_tag;
#line 634 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp13_ = start;
#line 634 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp14_ = end;
#line 634 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_text_buffer_remove_tag (_tmp11_, _tmp12_, &_tmp13_, &_tmp14_);
#line 636 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp15_ = self->priv->d_show_markup;
#line 636 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (!_tmp15_) {
#line 638 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (b);
#line 638 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		return;
#line 1592 "gitg-commit-dialog.c"
	}
#line 644 "/home/jesse/devel/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 644 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	sstart = _tmp16_;
#line 644 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	send = _tmp17_;
#line 644 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (!_tmp18_) {
#line 1602 "gitg-commit-dialog.c"
		GtkTextIter _tmp19_ = {0};
		GtkTextIter _tmp20_ = {0};
#line 650 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp19_ = end;
#line 650 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		sstart = _tmp19_;
#line 651 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp20_ = end;
#line 651 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		send = _tmp20_;
#line 1613 "gitg-commit-dialog.c"
	}
#line 654 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp21_ = b;
#line 654 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp22_ = self->priv->d_subject_tag;
#line 654 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp23_ = start;
#line 654 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp24_ = sstart;
#line 654 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_text_buffer_apply_tag (_tmp21_, _tmp22_, &_tmp23_, &_tmp24_);
#line 656 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp25_ = self->priv->d_show_subject_margin;
#line 656 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp25_) {
#line 1629 "gitg-commit-dialog.c"
		GtkTextIter toolong = {0};
		GtkTextIter _tmp26_ = {0};
#line 658 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp26_ = sstart;
#line 658 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		toolong = _tmp26_;
#line 660 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		while (TRUE) {
#line 1638 "gitg-commit-dialog.c"
			gint off = 0;
			gint _tmp27_ = 0;
			gint _tmp28_ = 0;
			gint _tmp29_ = 0;
			gint _tmp36_ = 0;
#line 662 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp27_ = gtk_text_iter_get_line_offset (&toolong);
#line 662 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			off = _tmp27_;
#line 664 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp28_ = off;
#line 664 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp29_ = self->priv->d_subject_margin_position;
#line 664 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			if (_tmp28_ > _tmp29_) {
#line 1654 "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 666 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp30_ = toolong;
#line 666 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				border = _tmp30_;
#line 667 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp31_ = self->priv->d_subject_margin_position;
#line 667 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_text_iter_set_line_offset (&border, _tmp31_);
#line 669 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp32_ = b;
#line 669 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp33_ = self->priv->d_too_long_tag;
#line 669 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp34_ = border;
#line 669 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp35_ = toolong;
#line 669 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_text_buffer_apply_tag (_tmp32_, _tmp33_, &_tmp34_, &_tmp35_);
#line 1680 "gitg-commit-dialog.c"
			}
#line 672 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp36_ = gtk_text_iter_get_line (&toolong);
#line 672 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			if (_tmp36_ == 0) {
#line 674 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				break;
#line 1688 "gitg-commit-dialog.c"
			}
#line 677 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			gtk_text_iter_backward_line (&toolong);
#line 678 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			gtk_text_iter_forward_to_line_end (&toolong);
#line 1694 "gitg-commit-dialog.c"
		}
	}
#line 682 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp37_ = self->priv->d_show_right_margin;
#line 682 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp37_) {
#line 684 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		while (TRUE) {
#line 1703 "gitg-commit-dialog.c"
			GtkTextIter _tmp38_ = {0};
			gboolean _tmp39_ = FALSE;
			gboolean _tmp40_ = FALSE;
			gint _tmp41_ = 0;
			gint _tmp42_ = 0;
			gboolean _tmp49_ = FALSE;
#line 684 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp38_ = end;
#line 684 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp39_ = gtk_text_iter_equal (&send, &_tmp38_);
#line 684 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			if (!(!_tmp39_)) {
#line 684 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				break;
#line 1718 "gitg-commit-dialog.c"
			}
#line 686 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp40_ = gtk_text_iter_ends_line (&send);
#line 686 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			if (!_tmp40_) {
#line 688 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_text_iter_forward_to_line_end (&send);
#line 1726 "gitg-commit-dialog.c"
			}
#line 691 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp41_ = gtk_text_iter_get_line_offset (&send);
#line 691 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp42_ = self->priv->d_right_margin_position;
#line 691 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			if (_tmp41_ > _tmp42_) {
#line 1734 "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 693 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp43_ = send;
#line 693 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				lstart = _tmp43_;
#line 694 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp44_ = self->priv->d_right_margin_position;
#line 694 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_text_iter_set_line_offset (&lstart, _tmp44_);
#line 696 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp45_ = b;
#line 696 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp46_ = self->priv->d_too_long_tag;
#line 696 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp47_ = lstart;
#line 696 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp48_ = send;
#line 696 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_text_buffer_apply_tag (_tmp45_, _tmp46_, &_tmp47_, &_tmp48_);
#line 1760 "gitg-commit-dialog.c"
			}
#line 699 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp49_ = gtk_text_iter_forward_line (&send);
#line 699 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			if (!_tmp49_) {
#line 701 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
				break;
#line 1768 "gitg-commit-dialog.c"
			}
		}
	}
#line 625 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (b);
#line 1774 "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 707 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (author != NULL, NULL);
#line 710 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = author;
#line 710 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = diff;
#line 710 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	self = (GitgCommitDialog*) g_object_new (object_type, "author", _tmp0_, "diff", _tmp1_, "use-header-bar", 1, NULL);
#line 707 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	return self;
#line 1792 "gitg-commit-dialog.c"
}


GitgCommitDialog* gitg_commit_dialog_new (GgitSignature* author, GgitDiff* diff) {
#line 707 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	return gitg_commit_dialog_construct (GITG_COMMIT_TYPE_DIALOG, author, diff);
#line 1799 "gitg-commit-dialog.c"
}


static void _vala_PangoFontDescription_free (PangoFontDescription* self) {
#line 713 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_boxed_free (pango_font_description_get_type (), self);
#line 1806 "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 713 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 715 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_font_settings;
#line 715 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = g_settings_get_string (_tmp0_, "monospace-font-name");
#line 715 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	mfont = _tmp1_;
#line 716 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = pango_font_description_from_string (mfont);
#line 716 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	desc = _tmp2_;
#line 718 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = self->priv->d_source_view_message;
#line 718 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_widget_override_font ((GtkWidget*) _tmp3_, desc);
#line 713 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	__vala_PangoFontDescription_free0 (desc);
#line 713 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (mfont);
#line 1837 "gitg-commit-dialog.c"
}


static void __lambda8_ (GitgCommitDialog* self) {
	GtkRevealer* _tmp0_ = NULL;
#line 735 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_infobar_revealer;
#line 735 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_revealer_set_reveal_child (_tmp0_, FALSE);
#line 1847 "gitg-commit-dialog.c"
}


static void ___lambda8__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 734 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	__lambda8_ ((GitgCommitDialog*) self);
#line 1854 "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 721 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 721 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (primary_msg != NULL);
#line 721 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (secondary_msg != NULL);
#line 725 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_infobar;
#line 725 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = type;
#line 725 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_info_bar_set_message_type (_tmp0_, _tmp1_);
#line 727 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = primary_msg;
#line 727 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = g_markup_escape_text (_tmp2_, (gssize) (-1));
#line 727 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = _tmp3_;
#line 727 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp5_ = g_strdup_printf ("<b>%s</b>", _tmp4_);
#line 727 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp6_ = _tmp5_;
#line 727 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (_tmp4_);
#line 727 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	primary = _tmp6_;
#line 728 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp7_ = secondary_msg;
#line 728 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp8_ = g_markup_escape_text (_tmp7_, (gssize) (-1));
#line 728 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp9_ = _tmp8_;
#line 728 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp10_ = g_strdup_printf ("<small>%s</small>", _tmp9_);
#line 728 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp11_ = _tmp10_;
#line 728 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (_tmp9_);
#line 728 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	secondary = _tmp11_;
#line 730 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp12_ = self->priv->d_infobar_primary_label;
#line 730 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_label_set_label (_tmp12_, primary);
#line 731 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp13_ = self->priv->d_infobar_secondary_label;
#line 731 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_label_set_label (_tmp13_, secondary);
#line 732 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp14_ = self->priv->d_infobar_revealer;
#line 732 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_revealer_set_reveal_child (_tmp14_, TRUE);
#line 734 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp15_ = self->priv->d_infobar_close_button;
#line 734 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_signal_connect_object (_tmp15_, "clicked", (GCallback) ___lambda8__gtk_button_clicked, self, 0);
#line 721 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (secondary);
#line 721 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (primary);
#line 1937 "gitg-commit-dialog.c"
}


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


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


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


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


GtkSourceView* gitg_commit_dialog_get_source_view_message (GitgCommitDialog* self) {
	GtkSourceView* result;
	GtkSourceView* _tmp0_ = NULL;
#line 102 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 102 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_source_view_message;
#line 102 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp0_;
#line 102 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 2018 "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/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 109 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = gitg_commit_dialog_get_message (self);
#line 109 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = _tmp0_;
#line 109 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = _tmp1_;
#line 109 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = ggit_message_prettify (_tmp2_, FALSE, '#');
#line 109 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = _tmp3_;
#line 109 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (_tmp2_);
#line 109 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	pretty = _tmp4_;
#line 111 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp5_ = pretty;
#line 111 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp5_ == NULL) {
#line 2051 "gitg-commit-dialog.c"
		gchar* _tmp6_ = NULL;
#line 113 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp6_ = g_strdup ("");
#line 113 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		result = _tmp6_;
#line 113 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_free0 (pretty);
#line 113 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		return result;
#line 2061 "gitg-commit-dialog.c"
	} else {
#line 117 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		result = pretty;
#line 117 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		return result;
#line 2067 "gitg-commit-dialog.c"
	}
#line 107 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (pretty);
#line 2071 "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/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 126 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_source_view_message;
#line 126 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = gtk_text_view_get_buffer ((GtkTextView*) _tmp0_);
#line 126 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = _tmp1_;
#line 126 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 126 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	b = _tmp3_;
#line 131 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_text_buffer_get_bounds (b, &_tmp4_, &_tmp5_);
#line 131 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	start = _tmp4_;
#line 131 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	end = _tmp5_;
#line 132 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp6_ = start;
#line 132 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp7_ = end;
#line 132 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp8_ = gtk_text_buffer_get_text (b, &_tmp6_, &_tmp7_, FALSE);
#line 132 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp8_;
#line 132 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (b);
#line 132 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 2119 "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/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 136 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_source_view_message;
#line 136 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = gtk_text_view_get_buffer ((GtkTextView*) _tmp0_);
#line 136 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = _tmp1_;
#line 136 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = value;
#line 136 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_text_buffer_set_text (_tmp2_, _tmp3_, -1);
#line 134 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "message");
#line 2142 "gitg-commit-dialog.c"
}


gboolean gitg_commit_dialog_get_amend (GitgCommitDialog* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
#line 140 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 140 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->_amend;
#line 140 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp0_;
#line 140 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 2157 "gitg-commit-dialog.c"
}


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


gboolean gitg_commit_dialog_get_sign_off (GitgCommitDialog* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
#line 141 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 141 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->_sign_off;
#line 141 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp0_;
#line 141 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 2186 "gitg-commit-dialog.c"
}


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


gboolean gitg_commit_dialog_get_show_markup (GitgCommitDialog* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
#line 145 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 145 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_show_markup;
#line 145 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp0_;
#line 145 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 2215 "gitg-commit-dialog.c"
}


void gitg_commit_dialog_set_show_markup (GitgCommitDialog* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
#line 147 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 149 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = value;
#line 149 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_show_markup = _tmp0_;
#line 150 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_update_highlight (self);
#line 147 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "show-markup");
#line 2231 "gitg-commit-dialog.c"
}


gboolean gitg_commit_dialog_get_show_right_margin (GitgCommitDialog* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
#line 158 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 158 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_show_right_margin;
#line 158 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp0_;
#line 158 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 2246 "gitg-commit-dialog.c"
}


void gitg_commit_dialog_set_show_right_margin (GitgCommitDialog* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
#line 160 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 162 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = value;
#line 162 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_show_right_margin = _tmp0_;
#line 163 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_update_highlight (self);
#line 160 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "show-right-margin");
#line 2262 "gitg-commit-dialog.c"
}


gboolean gitg_commit_dialog_get_show_subject_margin (GitgCommitDialog* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
#line 171 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 171 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_show_subject_margin;
#line 171 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp0_;
#line 171 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 2277 "gitg-commit-dialog.c"
}


void gitg_commit_dialog_set_show_subject_margin (GitgCommitDialog* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
#line 173 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 175 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = value;
#line 175 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_show_subject_margin = _tmp0_;
#line 176 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_update_highlight (self);
#line 173 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "show-subject-margin");
#line 2293 "gitg-commit-dialog.c"
}


gint gitg_commit_dialog_get_right_margin_position (GitgCommitDialog* self) {
	gint result;
	gint _tmp0_ = 0;
#line 184 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 184 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_right_margin_position;
#line 184 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp0_;
#line 184 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 2308 "gitg-commit-dialog.c"
}


void gitg_commit_dialog_set_right_margin_position (GitgCommitDialog* self, gint value) {
	gint _tmp0_ = 0;
#line 186 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 188 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = value;
#line 188 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_right_margin_position = _tmp0_;
#line 189 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_update_highlight (self);
#line 186 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "right-margin-position");
#line 2324 "gitg-commit-dialog.c"
}


gint gitg_commit_dialog_get_subject_margin_position (GitgCommitDialog* self) {
	gint result;
	gint _tmp0_ = 0;
#line 197 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 197 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_subject_margin_position;
#line 197 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp0_;
#line 197 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 2339 "gitg-commit-dialog.c"
}


void gitg_commit_dialog_set_subject_margin_position (GitgCommitDialog* self, gint value) {
	gint _tmp0_ = 0;
#line 199 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 201 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = value;
#line 201 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_subject_margin_position = _tmp0_;
#line 202 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_update_highlight (self);
#line 199 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "subject-margin-position");
#line 2355 "gitg-commit-dialog.c"
}


GgitSignature* gitg_commit_dialog_get_author (GitgCommitDialog* self) {
	GgitSignature* result;
	GgitSignature* _tmp0_ = NULL;
	GgitSignature* _tmp1_ = NULL;
#line 210 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 210 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_author;
#line 210 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 210 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp1_;
#line 210 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 2373 "gitg-commit-dialog.c"
}


void gitg_commit_dialog_set_author (GitgCommitDialog* self, GgitSignature* value) {
	GgitSignature* _tmp0_ = NULL;
	GgitSignature* _tmp1_ = NULL;
#line 212 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 214 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = value;
#line 214 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 214 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_author);
#line 214 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_author = _tmp1_;
#line 215 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_load_author_info (self);
#line 212 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "author");
#line 2394 "gitg-commit-dialog.c"
}


const gchar* gitg_commit_dialog_get_spell_checking_language (GitgCommitDialog* self) {
	const gchar* result;
	const gchar* _tmp0_ = NULL;
#line 221 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 221 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_spell_checking_language;
#line 221 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp0_;
#line 221 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 2409 "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 223 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 225 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = value;
#line 225 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 225 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (self->priv->d_spell_checking_language);
#line 225 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_spell_checking_language = _tmp1_;
#line 226 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_set_spell_language (self);
#line 223 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "spell-checking-language");
#line 2430 "gitg-commit-dialog.c"
}


gboolean gitg_commit_dialog_get_enable_spell_checking (GitgCommitDialog* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
#line 232 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 232 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_enable_spell_checking;
#line 232 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp0_;
#line 232 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 2445 "gitg-commit-dialog.c"
}


static void _gitg_commit_dialog_enable_spell_checking_____lambda9_ (GitgCommitDialog* self) {
	GtkSpellChecker* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
#line 247 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_spell_checker;
#line 247 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = gtk_spell_checker_get_language (_tmp0_);
#line 247 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_set_spell_checking_language (self, _tmp1_);
#line 2458 "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 246 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_gitg_commit_dialog_enable_spell_checking_____lambda9_ ((GitgCommitDialog*) self);
#line 2465 "gitg-commit-dialog.c"
}


void gitg_commit_dialog_set_enable_spell_checking (GitgCommitDialog* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
#line 233 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 235 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = value;
#line 235 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_enable_spell_checking = _tmp0_;
#line 237 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = self->priv->d_enable_spell_checking;
#line 237 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp1_) {
#line 2482 "gitg-commit-dialog.c"
		GtkSpellChecker* _tmp2_ = NULL;
#line 239 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp2_ = self->priv->d_spell_checker;
#line 239 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		if (_tmp2_ == NULL) {
#line 2488 "gitg-commit-dialog.c"
			GtkSpellChecker* _tmp3_ = NULL;
			GtkSpellChecker* _tmp4_ = NULL;
			GtkSourceView* _tmp5_ = NULL;
			GtkSpellChecker* _tmp6_ = NULL;
#line 241 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp3_ = gtk_spell_checker_new ();
#line 241 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			g_object_ref_sink (_tmp3_);
#line 241 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			_g_object_unref0 (self->priv->d_spell_checker);
#line 241 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			self->priv->d_spell_checker = _tmp3_;
#line 242 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp4_ = self->priv->d_spell_checker;
#line 242 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp5_ = self->priv->d_source_view_message;
#line 242 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			gtk_spell_checker_attach (_tmp4_, (GtkTextView*) _tmp5_);
#line 244 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			gitg_commit_dialog_set_spell_language (self);
#line 246 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp6_ = self->priv->d_spell_checker;
#line 246 "/home/jesse/devel/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 2513 "gitg-commit-dialog.c"
		}
	} else {
		GtkSpellChecker* _tmp7_ = NULL;
#line 253 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp7_ = self->priv->d_spell_checker;
#line 253 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		if (_tmp7_ != NULL) {
#line 2521 "gitg-commit-dialog.c"
			GtkSpellChecker* _tmp8_ = NULL;
#line 255 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp8_ = self->priv->d_spell_checker;
#line 255 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			gtk_spell_checker_detach (_tmp8_);
#line 256 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			_g_object_unref0 (self->priv->d_spell_checker);
#line 256 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
			self->priv->d_spell_checker = NULL;
#line 2531 "gitg-commit-dialog.c"
		}
	}
#line 233 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "enable-spell-checking");
#line 2536 "gitg-commit-dialog.c"
}


gboolean gitg_commit_dialog_get_use_gravatar (GitgCommitDialog* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
#line 282 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 282 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_use_gravatar;
#line 282 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp0_;
#line 282 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 2551 "gitg-commit-dialog.c"
}


void gitg_commit_dialog_set_use_gravatar (GitgCommitDialog* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
#line 283 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 285 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_use_gravatar;
#line 285 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = value;
#line 285 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp0_ != _tmp1_) {
#line 2566 "gitg-commit-dialog.c"
		gboolean _tmp2_ = FALSE;
#line 287 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp2_ = value;
#line 287 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		self->priv->d_use_gravatar = _tmp2_;
#line 288 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_load_author_info (self);
#line 2574 "gitg-commit-dialog.c"
	}
#line 283 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "use-gravatar");
#line 2578 "gitg-commit-dialog.c"
}


static void _gitg_commit_dialog___lambda10_ (GitgCommitDialog* self, GSettings* s, const gchar* k) {
#line 391 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (s != NULL);
#line 391 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (k != NULL);
#line 392 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_update_font_settings (self);
#line 2589 "gitg-commit-dialog.c"
}


static void __gitg_commit_dialog___lambda10__g_settings_changed (GSettings* _sender, const gchar* key, gpointer self) {
#line 391 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_gitg_commit_dialog___lambda10_ ((GitgCommitDialog*) self, _sender, key);
#line 2596 "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 398 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_button_ok;
#line 398 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = gitg_commit_dialog_get_pretty_message (self);
#line 398 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = _tmp1_;
#line 398 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = _tmp2_;
#line 398 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp0_, g_strcmp0 (_tmp3_, "") != 0);
#line 398 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (_tmp3_);
#line 2617 "gitg-commit-dialog.c"
}


static void __gitg_commit_dialog___lambda11__gtk_text_buffer_changed (GtkTextBuffer* _sender, gpointer self) {
#line 397 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_gitg_commit_dialog___lambda11_ ((GitgCommitDialog*) self);
#line 2624 "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;
	GSettings* interface_settings = NULL;
	GSettings* _tmp21_ = NULL;
	GSettings* _tmp22_ = NULL;
	GgitDiff* _tmp23_ = NULL;
	GgitDiff* _tmp24_ = NULL;
	GgitDiff* _tmp25_ = NULL;
	gboolean _tmp26_ = FALSE;
#line 385 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	parent_class = G_OBJECT_CLASS (gitg_commit_dialog_parent_class);
#line 385 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 385 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_COMMIT_TYPE_DIALOG, GitgCommitDialog);
#line 387 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = g_settings_new ("org.gnome.desktop.interface");
#line 387 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_font_settings);
#line 387 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_font_settings = _tmp0_;
#line 389 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_update_font_settings (self);
#line 391 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = self->priv->d_font_settings;
#line 391 "/home/jesse/devel/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 395 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = self->priv->d_source_view_message;
#line 395 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = gtk_text_view_get_buffer ((GtkTextView*) _tmp2_);
#line 395 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = _tmp3_;
#line 395 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp5_ = _g_object_ref0 (_tmp4_);
#line 395 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	b = _tmp5_;
#line 397 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp6_ = self->priv->d_source_view_message;
#line 397 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp7_ = gtk_text_view_get_buffer ((GtkTextView*) _tmp6_);
#line 397 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp8_ = _tmp7_;
#line 397 "/home/jesse/devel/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 401 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp9_ = self->priv->d_check_button_amend;
#line 401 "/home/jesse/devel/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 406 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp10_ = self->priv->d_check_button_sign_off;
#line 406 "/home/jesse/devel/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 411 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp11_ = g_settings_new ("org.gnome.gitg.state.commit");
#line 411 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_commit_settings);
#line 411 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_commit_settings = _tmp11_;
#line 413 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp12_ = self->priv->d_commit_settings;
#line 413 "/home/jesse/devel/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 419 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp13_ = g_settings_new ("org.gnome.gitg.preferences.commit.message");
#line 419 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_message_settings);
#line 419 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_message_settings = _tmp13_;
#line 421 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp14_ = self->priv->d_message_settings;
#line 421 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_settings_bind (_tmp14_, "show-markup", (GObject*) self, "show-markup", G_SETTINGS_BIND_GET);
#line 426 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp15_ = self->priv->d_message_settings;
#line 426 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_settings_bind (_tmp15_, "show-right-margin", (GObject*) self, "show-right-margin", G_SETTINGS_BIND_GET);
#line 431 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp16_ = self->priv->d_message_settings;
#line 431 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_settings_bind (_tmp16_, "right-margin-position", (GObject*) self, "right-margin-position", G_SETTINGS_BIND_GET);
#line 436 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp17_ = self->priv->d_message_settings;
#line 436 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_settings_bind (_tmp17_, "show-subject-margin", (GObject*) self, "show-subject-margin", G_SETTINGS_BIND_GET);
#line 441 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp18_ = self->priv->d_message_settings;
#line 441 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_settings_bind (_tmp18_, "subject-margin-position", (GObject*) self, "subject-margin-position", G_SETTINGS_BIND_GET);
#line 446 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp19_ = self->priv->d_message_settings;
#line 446 "/home/jesse/devel/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 451 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp20_ = self->priv->d_message_settings;
#line 451 "/home/jesse/devel/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 456 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp21_ = g_settings_new ("org.gnome.gitg.preferences.interface");
#line 456 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	interface_settings = _tmp21_;
#line 457 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp22_ = interface_settings;
#line 457 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_settings_bind (_tmp22_, "use-gravatar", (GObject*) self, "use-gravatar", G_SETTINGS_BIND_GET);
#line 462 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_constructed = TRUE;
#line 464 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_init_message_area (self);
#line 466 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp23_ = gitg_commit_dialog_get_diff (self);
#line 466 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp24_ = _tmp23_;
#line 466 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp25_ = _tmp24_;
#line 466 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp26_ = _tmp25_ != NULL;
#line 466 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (_tmp25_);
#line 466 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp26_) {
#line 468 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_iterate_diff (self);
#line 2775 "gitg-commit-dialog.c"
	} else {
	}
#line 385 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (interface_settings);
#line 385 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (b);
#line 385 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	return obj;
#line 2784 "gitg-commit-dialog.c"
}


static void gitg_commit_dialog_class_init (GitgCommitDialogClass * klass) {
	gint GitgCommitDialog_private_offset;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_parent_class = g_type_class_peek_parent (klass);
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_type_class_add_private (klass, sizeof (GitgCommitDialogPrivate));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	((GtkWidgetClass *) klass)->destroy = gitg_commit_dialog_real_destroy;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_commit_dialog_get_property;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_commit_dialog_set_property;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	G_OBJECT_CLASS (klass)->constructor = gitg_commit_dialog_constructor;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_commit_dialog_finalize;
#line 24 "/home/jesse/devel/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/jesse/devel/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/jesse/devel/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/jesse/devel/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/jesse/devel/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/jesse/devel/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/jesse/devel/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/jesse/devel/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/jesse/devel/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/jesse/devel/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/jesse/devel/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/jesse/devel/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/jesse/devel/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/jesse/devel/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/jesse/devel/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/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_DIALOG_USE_GRAVATAR, g_param_spec_boolean ("use-gravatar", "use-gravatar", "use-gravatar", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	GitgCommitDialog_private_offset = g_type_class_get_instance_private_offset (klass);
#line 24 "/home/jesse/devel/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/jesse/devel/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/jesse/devel/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/jesse/devel/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/jesse/devel/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/jesse/devel/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/jesse/devel/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/jesse/devel/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/jesse/devel/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/jesse/devel/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/jesse/devel/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/jesse/devel/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/jesse/devel/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/jesse/devel/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/jesse/devel/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 2868 "gitg-commit-dialog.c"
}


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


static void gitg_commit_dialog_finalize (GObject* obj) {
	GitgCommitDialog * self;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_COMMIT_TYPE_DIALOG, GitgCommitDialog);
#line 30 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_source_view_message);
#line 33 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_button_ok);
#line 36 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_check_button_amend);
#line 39 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_check_button_sign_off);
#line 42 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_image_avatar);
#line 45 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_label_user);
#line 48 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_label_date);
#line 51 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_infobar);
#line 54 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_infobar_revealer);
#line 57 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_infobar_primary_label);
#line 60 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_infobar_secondary_label);
#line 63 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_infobar_close_button);
#line 66 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_list_box_stats);
#line 69 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_scrolled_window_stats);
#line 76 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_author);
#line 77 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_cancel_avatar);
#line 79 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_message_settings);
#line 80 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_font_settings);
#line 81 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_commit_settings);
#line 83 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (self->priv->d_spell_checking_language);
#line 84 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_spell_checker);
#line 85 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_diff);
#line 475 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_subject_tag);
#line 476 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_too_long_tag);
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	G_OBJECT_CLASS (gitg_commit_dialog_parent_class)->finalize (obj);
#line 2937 "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/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	switch (property_id) {
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_DIFF:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_take_object (value, gitg_commit_dialog_get_diff (self));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_MAX_VISIBLE_STAT_ITEMS:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_int (value, gitg_commit_dialog_get_max_visible_stat_items (self));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SOURCE_VIEW_MESSAGE:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_object (value, gitg_commit_dialog_get_source_view_message (self));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_PRETTY_MESSAGE:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_take_string (value, gitg_commit_dialog_get_pretty_message (self));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_MESSAGE:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_take_string (value, gitg_commit_dialog_get_message (self));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_AMEND:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_boolean (value, gitg_commit_dialog_get_amend (self));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SIGN_OFF:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_boolean (value, gitg_commit_dialog_get_sign_off (self));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SHOW_MARKUP:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_boolean (value, gitg_commit_dialog_get_show_markup (self));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SHOW_RIGHT_MARGIN:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_boolean (value, gitg_commit_dialog_get_show_right_margin (self));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SHOW_SUBJECT_MARGIN:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_boolean (value, gitg_commit_dialog_get_show_subject_margin (self));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_RIGHT_MARGIN_POSITION:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_int (value, gitg_commit_dialog_get_right_margin_position (self));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SUBJECT_MARGIN_POSITION:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_int (value, gitg_commit_dialog_get_subject_margin_position (self));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_AUTHOR:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_take_object (value, gitg_commit_dialog_get_author (self));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SPELL_CHECKING_LANGUAGE:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_string (value, gitg_commit_dialog_get_spell_checking_language (self));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_ENABLE_SPELL_CHECKING:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_boolean (value, gitg_commit_dialog_get_enable_spell_checking (self));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_USE_GRAVATAR:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_boolean (value, gitg_commit_dialog_get_use_gravatar (self));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 3054 "gitg-commit-dialog.c"
		default:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 3060 "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/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
	switch (property_id) {
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_DIFF:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_diff (self, g_value_get_object (value));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_MAX_VISIBLE_STAT_ITEMS:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_max_visible_stat_items (self, g_value_get_int (value));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_MESSAGE:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_message (self, g_value_get_string (value));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_AMEND:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_amend (self, g_value_get_boolean (value));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SIGN_OFF:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_sign_off (self, g_value_get_boolean (value));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SHOW_MARKUP:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_show_markup (self, g_value_get_boolean (value));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SHOW_RIGHT_MARGIN:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_show_right_margin (self, g_value_get_boolean (value));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SHOW_SUBJECT_MARGIN:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_show_subject_margin (self, g_value_get_boolean (value));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_RIGHT_MARGIN_POSITION:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_right_margin_position (self, g_value_get_int (value));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SUBJECT_MARGIN_POSITION:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_subject_margin_position (self, g_value_get_int (value));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_AUTHOR:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_author (self, g_value_get_object (value));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SPELL_CHECKING_LANGUAGE:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_spell_checking_language (self, g_value_get_string (value));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_ENABLE_SPELL_CHECKING:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_enable_spell_checking (self, g_value_get_boolean (value));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_USE_GRAVATAR:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_use_gravatar (self, g_value_get_boolean (value));
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 3154 "gitg-commit-dialog.c"
		default:
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 24 "/home/jesse/devel/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 3160 "gitg-commit-dialog.c"
	}
}



