/* gitg-commit-dialog.c generated by valac 0.34.7, 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 "libgitg/libgitg.h"
#include <config.h>
#include <glib/gi18n-lib.h>
#include <pango/pango.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <cairo.h>
#include <gdk/gdk.h>
#include <glib/gstdio.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;
	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;
	gboolean d_infobar_shown;
	GitgRepository* _repository;
	gint _max_visible_stat_items;
	gchar* _default_message;
	gboolean d_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_REPOSITORY,
	GITG_COMMIT_DIALOG_MAX_VISIBLE_STAT_ITEMS,
	GITG_COMMIT_DIALOG_SOURCE_VIEW_MESSAGE,
	GITG_COMMIT_DIALOG_PRETTY_MESSAGE,
	GITG_COMMIT_DIALOG_DEFAULT_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_update_sensitivity (GitgCommitDialog* self);
gchar* gitg_commit_dialog_get_pretty_message (GitgCommitDialog* self);
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);
static void gitg_commit_dialog_set_default_message (GitgCommitDialog* self, const gchar* value);
GitgRepository* gitg_commit_dialog_get_repository (GitgCommitDialog* self);
gchar* gitg_convert_utf8 (const gchar* str, gssize size, const gchar* from_charset);
const gchar* gitg_commit_dialog_get_default_message (GitgCommitDialog* self);
GitgCommitDialog* gitg_commit_dialog_new (GitgRepository* repository, GgitSignature* author, GgitDiff* diff);
GitgCommitDialog* gitg_commit_dialog_construct (GType object_type, GitgRepository* repository, 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);
void gitg_commit_dialog_set_diff (GitgCommitDialog* self, GgitDiff* value);
void gitg_commit_dialog_set_repository (GitgCommitDialog* self, GitgRepository* 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_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_____lambda8_ (GitgCommitDialog* self);
static void __gitg_commit_dialog_enable_spell_checking_____lambda8__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___lambda9_ (GitgCommitDialog* self, GSettings* s, const gchar* k);
static void __gitg_commit_dialog___lambda9__g_settings_changed (GSettings* _sender, const gchar* key, gpointer self);
static void _gitg_commit_dialog___lambda10_ (GitgCommitDialog* self);
static void __gitg_commit_dialog___lambda10__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_update_sensitivity (GitgCommitDialog* self) {
	gboolean _tmp0_ = FALSE;
	GtkRevealer* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
#line 172 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 174 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = self->priv->d_infobar_revealer;
#line 174 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = gtk_revealer_get_reveal_child (_tmp1_);
#line 174 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (!_tmp2_) {
#line 239 "gitg-commit-dialog.c"
		gchar* _tmp3_ = NULL;
		gchar* _tmp4_ = NULL;
		gchar* _tmp5_ = NULL;
#line 174 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp3_ = gitg_commit_dialog_get_pretty_message (self);
#line 174 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp4_ = _tmp3_;
#line 174 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp5_ = _tmp4_;
#line 174 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp0_ = g_strcmp0 (_tmp5_, "") != 0;
#line 174 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_free0 (_tmp5_);
#line 253 "gitg-commit-dialog.c"
	} else {
#line 174 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp0_ = FALSE;
#line 257 "gitg-commit-dialog.c"
	}
#line 174 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_dialog_set_response_sensitive ((GtkDialog*) self, (gint) GTK_RESPONSE_OK, _tmp0_);
#line 261 "gitg-commit-dialog.c"
}


static void gitg_commit_dialog_set_spell_language (GitgCommitDialog* self) {
	gboolean _tmp0_ = FALSE;
	GtkSpellChecker* _tmp1_ = NULL;
	GError * _inner_error_ = NULL;
#line 298 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 300 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = self->priv->d_spell_checker;
#line 300 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp1_ != NULL) {
#line 275 "gitg-commit-dialog.c"
		const gchar* _tmp2_ = NULL;
#line 300 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp2_ = self->priv->d_spell_checking_language;
#line 300 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp0_ = g_strcmp0 (_tmp2_, "") != 0;
#line 281 "gitg-commit-dialog.c"
	} else {
#line 300 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp0_ = FALSE;
#line 285 "gitg-commit-dialog.c"
	}
#line 300 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp0_) {
#line 289 "gitg-commit-dialog.c"
		{
			GtkSpellChecker* _tmp3_ = NULL;
			const gchar* _tmp4_ = NULL;
#line 304 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp3_ = self->priv->d_spell_checker;
#line 304 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp4_ = self->priv->d_spell_checking_language;
#line 304 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			gtk_spell_checker_set_language (_tmp3_, _tmp4_, &_inner_error_);
#line 304 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 301 "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 302 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			g_clear_error (&_inner_error_);
#line 302 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_inner_error_ = NULL;
#line 308 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp5_ = _ ("Cannot set spell checking language: %s");
#line 308 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp6_ = self->priv->d_spell_checking_language;
#line 308 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			g_warning (_tmp5_, _tmp6_);
#line 309 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp7_ = g_strdup ("");
#line 309 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_g_free0 (self->priv->d_spell_checking_language);
#line 309 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			self->priv->d_spell_checking_language = _tmp7_;
#line 327 "gitg-commit-dialog.c"
		}
		__finally0:
#line 302 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 302 "/home/jesse/dev/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 302 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			g_clear_error (&_inner_error_);
#line 302 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			return;
#line 338 "gitg-commit-dialog.c"
		}
	}
}


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


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


static void block1_data_unref (void * _userdata_) {
	Block1Data* _data1_;
	_data1_ = (Block1Data*) _userdata_;
#line 378 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (g_atomic_int_dec_and_test (&_data1_->_ref_count_)) {
#line 370 "gitg-commit-dialog.c"
		GitgCommitDialog* self;
#line 378 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		self = _data1_->self;
#line 378 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (_data1_->ac);
#line 378 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (self);
#line 378 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_slice_free (Block1Data, _data1_);
#line 380 "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 383 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	self = _data1_->self;
#line 383 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (res != NULL);
#line 384 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = _data1_->ac;
#line 384 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = res;
#line 384 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = gitg_avatar_cache_load_finish (_tmp0_, _tmp1_);
#line 384 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	pixbuf = _tmp2_;
#line 386 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = self->priv->d_cancel_avatar;
#line 386 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = g_cancellable_is_cancelled (_tmp3_);
#line 386 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp4_) {
#line 388 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (pixbuf);
#line 388 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		return;
#line 416 "gitg-commit-dialog.c"
	}
#line 391 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp5_ = pixbuf;
#line 391 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp5_ != NULL) {
#line 422 "gitg-commit-dialog.c"
		GtkImage* _tmp6_ = NULL;
		GdkPixbuf* _tmp7_ = NULL;
#line 393 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp6_ = self->priv->d_image_avatar;
#line 393 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp7_ = pixbuf;
#line 393 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		gtk_image_set_from_pixbuf (_tmp6_, _tmp7_);
#line 431 "gitg-commit-dialog.c"
	} else {
		GtkImage* _tmp8_ = NULL;
#line 397 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp8_ = self->priv->d_image_avatar;
#line 397 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		gtk_image_set_from_icon_name (_tmp8_, "avatar-default-symbolic", GTK_ICON_SIZE_DIALOG);
#line 438 "gitg-commit-dialog.c"
	}
#line 383 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (pixbuf);
#line 442 "gitg-commit-dialog.c"
}


static void ____lambda4__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 383 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	___lambda4_ (self, source_object, res);
#line 383 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	block1_data_unref (self);
#line 451 "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 329 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 331 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_cancel_avatar;
#line 331 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp0_ != NULL) {
#line 501 "gitg-commit-dialog.c"
		GCancellable* _tmp1_ = NULL;
		GCancellable* _tmp2_ = NULL;
#line 333 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp1_ = self->priv->d_cancel_avatar;
#line 333 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_cancellable_cancel (_tmp1_);
#line 334 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp2_ = g_cancellable_new ();
#line 334 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (self->priv->d_cancel_avatar);
#line 334 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		self->priv->d_cancel_avatar = _tmp2_;
#line 514 "gitg-commit-dialog.c"
	}
#line 337 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = self->priv->d_author;
#line 337 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = ggit_signature_get_name (_tmp3_);
#line 337 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp5_ = g_strdup (_tmp4_);
#line 337 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	name = _tmp5_;
#line 338 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp6_ = self->priv->d_author;
#line 338 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp7_ = ggit_signature_get_email (_tmp6_);
#line 338 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp8_ = g_strdup (_tmp7_);
#line 338 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	email = _tmp8_;
#line 340 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp9_ = name;
#line 340 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp10_ = string_to_string (_tmp9_);
#line 340 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp11_ = email;
#line 340 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp12_ = string_to_string (_tmp11_);
#line 340 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp13_ = g_strconcat (_tmp10_, " <", _tmp12_, ">", NULL);
#line 340 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	s = _tmp13_;
#line 341 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp14_ = self->priv->d_label_user;
#line 341 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp15_ = s;
#line 341 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_label_set_label (_tmp14_, _tmp15_);
#line 343 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp16_ = gtk_widget_get_style_context ((GtkWidget*) self);
#line 343 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp17_ = gtk_style_context_get_state (_tmp16_);
#line 343 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	rtl = (_tmp17_ & GTK_STATE_FLAG_DIR_RTL) != 0;
#line 345 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp18_ = rtl;
#line 345 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp19_ = s;
#line 345 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp20_ = pango_find_base_dir (_tmp19_, -1);
#line 345 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp18_ == (_tmp20_ != PANGO_DIRECTION_RTL)) {
#line 564 "gitg-commit-dialog.c"
		GtkLabel* _tmp21_ = NULL;
#line 347 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp21_ = self->priv->d_label_user;
#line 347 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		gtk_widget_set_halign ((GtkWidget*) _tmp21_, GTK_ALIGN_END);
#line 570 "gitg-commit-dialog.c"
	} else {
		GtkLabel* _tmp22_ = NULL;
#line 351 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp22_ = self->priv->d_label_user;
#line 351 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		gtk_widget_set_halign ((GtkWidget*) _tmp22_, GTK_ALIGN_START);
#line 577 "gitg-commit-dialog.c"
	}
#line 354 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp23_ = self->priv->d_author;
#line 354 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp24_ = ggit_signature_get_time (_tmp23_);
#line 354 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	t = _tmp24_;
#line 355 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp25_ = g_date_time_new_now_local ();
#line 355 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	now = _tmp25_;
#line 358 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp26_ = now;
#line 358 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp27_ = t;
#line 358 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp28_ = g_date_time_difference (_tmp26_, _tmp27_);
#line 358 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp28_ < (G_TIME_SPAN_SECOND * 5)) {
#line 597 "gitg-commit-dialog.c"
		gchar* _tmp29_ = NULL;
#line 360 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp29_ = g_strdup ("");
#line 360 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_free0 (date_string);
#line 360 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		date_string = _tmp29_;
#line 605 "gitg-commit-dialog.c"
	} else {
		GDateTime* _tmp30_ = NULL;
		GitgDate* _tmp31_ = NULL;
		GitgDate* _tmp32_ = NULL;
		gchar* _tmp33_ = NULL;
#line 364 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp30_ = t;
#line 364 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp31_ = gitg_date_new_for_date_time (_tmp30_);
#line 364 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp32_ = _tmp31_;
#line 364 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp33_ = gitg_date_for_display (_tmp32_);
#line 364 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_free0 (date_string);
#line 364 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		date_string = _tmp33_;
#line 364 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (_tmp32_);
#line 625 "gitg-commit-dialog.c"
	}
#line 367 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp34_ = self->priv->d_label_date;
#line 367 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp35_ = date_string;
#line 367 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_label_set_label (_tmp34_, _tmp35_);
#line 369 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp36_ = rtl;
#line 369 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp37_ = date_string;
#line 369 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp38_ = pango_find_base_dir (_tmp37_, -1);
#line 369 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp36_ == (_tmp38_ != PANGO_DIRECTION_RTL)) {
#line 641 "gitg-commit-dialog.c"
		GtkLabel* _tmp39_ = NULL;
#line 371 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp39_ = self->priv->d_label_date;
#line 371 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		gtk_widget_set_halign ((GtkWidget*) _tmp39_, GTK_ALIGN_END);
#line 647 "gitg-commit-dialog.c"
	} else {
		GtkLabel* _tmp40_ = NULL;
#line 375 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp40_ = self->priv->d_label_date;
#line 375 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		gtk_widget_set_halign ((GtkWidget*) _tmp40_, GTK_ALIGN_START);
#line 654 "gitg-commit-dialog.c"
	}
#line 378 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp41_ = gitg_commit_dialog_get_use_gravatar (self);
#line 378 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp42_ = _tmp41_;
#line 378 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp42_) {
#line 662 "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 378 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_data1_ = g_slice_new0 (Block1Data);
#line 378 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_data1_->_ref_count_ = 1;
#line 378 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_data1_->self = g_object_ref (self);
#line 380 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp43_ = gitg_avatar_cache_default ();
#line 380 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_data1_->ac = _tmp43_;
#line 381 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp44_ = g_cancellable_new ();
#line 381 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (self->priv->d_cancel_avatar);
#line 381 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		self->priv->d_cancel_avatar = _tmp44_;
#line 383 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp45_ = _data1_->ac;
#line 383 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp46_ = self->priv->d_author;
#line 383 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp47_ = ggit_signature_get_email (_tmp46_);
#line 383 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp48_ = self->priv->d_cancel_avatar;
#line 383 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_avatar_cache_load (_tmp45_, _tmp47_, 50, _tmp48_, ____lambda4__gasync_ready_callback, block1_data_ref (_data1_));
#line 378 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		block1_data_unref (_data1_);
#line 378 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_data1_ = NULL;
#line 700 "gitg-commit-dialog.c"
	} else {
		GtkImage* _tmp49_ = NULL;
#line 403 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp49_ = self->priv->d_image_avatar;
#line 403 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		gtk_image_set_from_icon_name (_tmp49_, "avatar-default-symbolic", GTK_ICON_SIZE_DIALOG);
#line 707 "gitg-commit-dialog.c"
	}
#line 329 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (date_string);
#line 329 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_date_time_unref0 (now);
#line 329 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_date_time_unref0 (t);
#line 329 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (s);
#line 329 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (email);
#line 329 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (name);
#line 721 "gitg-commit-dialog.c"
}


static void gitg_commit_dialog_real_destroy (GtkWidget* base) {
	GitgCommitDialog * self;
	GCancellable* _tmp0_ = NULL;
#line 407 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	self = (GitgCommitDialog*) base;
#line 409 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_cancel_avatar;
#line 409 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp0_ != NULL) {
#line 734 "gitg-commit-dialog.c"
		GCancellable* _tmp1_ = NULL;
#line 411 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp1_ = self->priv->d_cancel_avatar;
#line 411 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_cancellable_cancel (_tmp1_);
#line 740 "gitg-commit-dialog.c"
	}
#line 414 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_message_settings);
#line 414 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_message_settings = NULL;
#line 415 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_font_settings);
#line 415 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_font_settings = NULL;
#line 416 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_commit_settings);
#line 416 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_commit_settings = NULL;
#line 418 "/home/jesse/dev/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 756 "gitg-commit-dialog.c"
}


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


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


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


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


static void ___lambda5__gtk_widget_size_allocate (GtkWidget* _sender, GtkAllocation* allocation, gpointer self) {
#line 567 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	__lambda5_ (self);
#line 810 "gitg-commit-dialog.c"
}


static void gitg_commit_dialog_iterate_diff (GitgCommitDialog* self) {
	Block2Data* _data2_;
	gsize n = 0UL;
	GgitDiff* _tmp0_ = NULL;
	GgitDiff* _tmp1_ = NULL;
	GgitDiff* _tmp2_ = NULL;
	gsize _tmp3_ = 0UL;
	gsize _tmp4_ = 0UL;
	GtkListBox* _tmp50_ = NULL;
	GError * _inner_error_ = NULL;
#line 517 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 517 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_data2_ = g_slice_new0 (Block2Data);
#line 517 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_data2_->_ref_count_ = 1;
#line 517 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_data2_->self = g_object_ref (self);
#line 519 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = gitg_commit_dialog_get_diff (self);
#line 519 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = _tmp0_;
#line 519 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = _tmp1_;
#line 519 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = ggit_diff_get_num_deltas (_tmp2_);
#line 519 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = _tmp3_;
#line 519 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (_tmp2_);
#line 519 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	n = _tmp4_;
#line 520 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_data2_->num = 0;
#line 848 "gitg-commit-dialog.c"
	{
		gint i = 0;
#line 522 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		i = 0;
#line 853 "gitg-commit-dialog.c"
		{
			gboolean _tmp5_ = FALSE;
#line 522 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp5_ = TRUE;
#line 522 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			while (TRUE) {
#line 860 "gitg-commit-dialog.c"
				gint _tmp7_ = 0;
				gsize _tmp8_ = 0UL;
				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 522 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				if (!_tmp5_) {
#line 905 "gitg-commit-dialog.c"
					gint _tmp6_ = 0;
#line 522 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp6_ = i;
#line 522 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					i = _tmp6_ + 1;
#line 911 "gitg-commit-dialog.c"
				}
#line 522 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp5_ = FALSE;
#line 522 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp7_ = i;
#line 522 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp8_ = n;
#line 522 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				if (!(((gsize) _tmp7_) < _tmp8_)) {
#line 522 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					break;
#line 923 "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 528 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp10_ = gitg_commit_dialog_get_diff (self);
#line 528 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp11_ = _tmp10_;
#line 528 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp12_ = _tmp11_;
#line 528 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp13_ = i;
#line 528 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp14_ = ggit_patch_new_from_diff (_tmp12_, (gsize) _tmp13_, &_inner_error_);
#line 528 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp15_ = _tmp14_;
#line 528 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					_g_object_unref0 (_tmp12_);
#line 528 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp9_ = _tmp15_;
#line 528 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 952 "gitg-commit-dialog.c"
						goto __catch1_g_error;
					}
#line 528 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp16_ = _tmp9_;
#line 528 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp9_ = NULL;
#line 528 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					_ggit_patch_unref0 (patch);
#line 528 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					patch = _tmp16_;
#line 526 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					_ggit_patch_unref0 (_tmp9_);
#line 965 "gitg-commit-dialog.c"
				}
				goto __finally1;
				__catch1_g_error:
				{
#line 526 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					g_clear_error (&_inner_error_);
#line 526 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					_inner_error_ = NULL;
#line 529 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					_ggit_patch_unref0 (patch);
#line 529 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					continue;
#line 978 "gitg-commit-dialog.c"
				}
				__finally1:
#line 526 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 526 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					_ggit_patch_unref0 (patch);
#line 526 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					block2_data_unref (_data2_);
#line 526 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					_data2_ = NULL;
#line 526 "/home/jesse/dev/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 526 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					g_clear_error (&_inner_error_);
#line 526 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					return;
#line 995 "gitg-commit-dialog.c"
				}
				{
					GgitPatch* _tmp17_ = NULL;
					gsize _tmp18_ = 0UL;
					gsize _tmp19_ = 0UL;
#line 536 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					_tmp17_ = patch;
#line 536 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					ggit_patch_get_line_stats (_tmp17_, NULL, &_tmp18_, &_tmp19_, &_inner_error_);
#line 536 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					add = _tmp18_;
#line 536 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					remove = _tmp19_;
#line 536 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1011 "gitg-commit-dialog.c"
						goto __catch2_g_error;
					}
				}
				goto __finally2;
				__catch2_g_error:
				{
#line 534 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					g_clear_error (&_inner_error_);
#line 534 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					_inner_error_ = NULL;
#line 537 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					_ggit_patch_unref0 (patch);
#line 537 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					continue;
#line 1026 "gitg-commit-dialog.c"
				}
				__finally2:
#line 534 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 534 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					_ggit_patch_unref0 (patch);
#line 534 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					block2_data_unref (_data2_);
#line 534 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					_data2_ = NULL;
#line 534 "/home/jesse/dev/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 534 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					g_clear_error (&_inner_error_);
#line 534 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
					return;
#line 1043 "gitg-commit-dialog.c"
				}
#line 539 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp20_ = patch;
#line 539 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp21_ = ggit_patch_get_delta (_tmp20_);
#line 539 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				delta = _tmp21_;
#line 541 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp22_ = delta;
#line 541 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp23_ = ggit_diff_delta_get_new_file (_tmp22_);
#line 541 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp24_ = _ggit_diff_file_ref0 (_tmp23_);
#line 541 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				nf = _tmp24_;
#line 542 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp25_ = nf;
#line 542 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp26_ = ggit_diff_file_get_path (_tmp25_);
#line 542 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp27_ = g_strdup (_tmp26_);
#line 542 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				path = _tmp27_;
#line 544 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp28_ = (GtkListBoxRow*) gtk_list_box_row_new ();
#line 544 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				g_object_ref_sink (_tmp28_);
#line 544 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				row = _tmp28_;
#line 545 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp29_ = (GtkGrid*) gtk_grid_new ();
#line 545 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				g_object_ref_sink (_tmp29_);
#line 545 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				grid = _tmp29_;
#line 546 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp30_ = row;
#line 546 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp31_ = grid;
#line 546 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_container_add ((GtkContainer*) _tmp30_, (GtkWidget*) _tmp31_);
#line 547 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp32_ = grid;
#line 547 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_grid_set_column_spacing (_tmp32_, 6);
#line 549 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp33_ = gitg_diff_stat_new ();
#line 549 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				g_object_ref_sink (_tmp33_);
#line 549 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				ds = _tmp33_;
#line 551 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp34_ = ds;
#line 551 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp35_ = gtk_widget_get_style_context ((GtkWidget*) _tmp34_);
#line 551 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_style_context_add_class (_tmp35_, "no-frame");
#line 553 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp36_ = ds;
#line 553 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp37_ = add;
#line 553 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				gitg_diff_stat_set_added (_tmp36_, (guint) _tmp37_);
#line 554 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp38_ = ds;
#line 554 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp39_ = remove;
#line 554 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				gitg_diff_stat_set_removed (_tmp38_, (guint) _tmp39_);
#line 556 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp40_ = grid;
#line 556 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp41_ = ds;
#line 556 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_grid_attach (_tmp40_, (GtkWidget*) _tmp41_, 0, 0, 1, 1);
#line 558 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp42_ = path;
#line 558 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp43_ = (GtkLabel*) gtk_label_new (_tmp42_);
#line 558 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				g_object_ref_sink (_tmp43_);
#line 558 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				lbl = _tmp43_;
#line 560 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp44_ = grid;
#line 560 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp45_ = lbl;
#line 560 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_grid_attach (_tmp44_, (GtkWidget*) _tmp45_, 1, 0, 1, 1);
#line 561 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp46_ = row;
#line 561 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_widget_show_all ((GtkWidget*) _tmp46_);
#line 563 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp47_ = self->priv->d_list_box_stats;
#line 563 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp48_ = row;
#line 563 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_container_add ((GtkContainer*) _tmp47_, (GtkWidget*) _tmp48_);
#line 564 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp49_ = _data2_->num;
#line 564 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_data2_->num = _tmp49_ + 1;
#line 522 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_g_object_unref0 (lbl);
#line 522 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_g_object_unref0 (ds);
#line 522 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_g_object_unref0 (grid);
#line 522 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_g_object_unref0 (row);
#line 522 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_g_free0 (path);
#line 522 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_ggit_diff_file_unref0 (nf);
#line 522 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_ggit_diff_delta_unref0 (delta);
#line 522 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_ggit_patch_unref0 (patch);
#line 1163 "gitg-commit-dialog.c"
			}
		}
	}
#line 567 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp50_ = self->priv->d_list_box_stats;
#line 567 "/home/jesse/dev/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 517 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	block2_data_unref (_data2_);
#line 517 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_data2_ = NULL;
#line 1175 "gitg-commit-dialog.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 582 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	return self ? g_object_ref (self) : NULL;
#line 1182 "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 572 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 574 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = num;
#line 574 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp0_ == 0) {
#line 1213 "gitg-commit-dialog.c"
		GtkScrolledWindow* _tmp1_ = NULL;
#line 576 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp1_ = self->priv->d_scrolled_window_stats;
#line 576 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		gtk_widget_hide ((GtkWidget*) _tmp1_);
#line 577 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		return;
#line 1221 "gitg-commit-dialog.c"
	}
#line 580 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = num;
#line 580 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = self->priv->_max_visible_stat_items;
#line 580 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = MIN (_tmp2_, _tmp3_);
#line 580 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	n = _tmp4_;
#line 582 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp5_ = self->priv->d_list_box_stats;
#line 582 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp6_ = n;
#line 582 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp7_ = gtk_list_box_get_row_at_index (_tmp5_, _tmp6_ - 1);
#line 582 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp8_ = _g_object_ref0 (_tmp7_);
#line 582 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	lastrow = _tmp8_;
#line 585 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp9_ = lastrow;
#line 585 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_widget_get_allocation ((GtkWidget*) _tmp9_, &_tmp10_);
#line 585 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	allocation = _tmp10_;
#line 587 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp11_ = n;
#line 587 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp12_ = num;
#line 587 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp11_ == _tmp12_) {
#line 1253 "gitg-commit-dialog.c"
		GtkScrolledWindow* _tmp13_ = NULL;
#line 589 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp13_ = self->priv->d_scrolled_window_stats;
#line 589 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		gtk_scrolled_window_set_policy (_tmp13_, GTK_POLICY_NEVER, GTK_POLICY_NEVER);
#line 1259 "gitg-commit-dialog.c"
	}
#line 593 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp14_ = self->priv->d_scrolled_window_stats;
#line 593 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp15_ = allocation;
#line 593 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp16_ = _tmp15_.y;
#line 593 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp17_ = allocation;
#line 593 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp18_ = _tmp17_.height;
#line 593 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_scrolled_window_set_min_content_height (_tmp14_, _tmp16_ + _tmp18_);
#line 572 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (lastrow);
#line 1275 "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 596 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 599 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_source_view_message;
#line 599 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = gtk_widget_get_style_context ((GtkWidget*) _tmp0_);
#line 599 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 599 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	ctx = _tmp2_;
#line 601 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_style_context_save (ctx);
#line 602 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_style_context_add_class (ctx, "warning");
#line 604 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_style_context_get_color (ctx, GTK_STATE_FLAG_NORMAL, &_tmp3_);
#line 604 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	fg = _tmp3_;
#line 605 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_style_context_get_background_color (ctx, GTK_STATE_FLAG_NORMAL, &_tmp4_);
#line 605 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	bg = _tmp4_;
#line 607 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_style_context_restore (ctx);
#line 609 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp5_ = self->priv->d_too_long_tag;
#line 609 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp6_ = bg;
#line 609 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_set (_tmp5_, "background-rgba", &_tmp6_, NULL);
#line 610 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp7_ = self->priv->d_too_long_tag;
#line 610 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp8_ = fg;
#line 610 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_set (_tmp7_, "foreground-rgba", &_tmp8_, NULL);
#line 596 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (ctx);
#line 1330 "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 613 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 613 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (widget != NULL, FALSE);
#line 613 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 615 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = gtk_accelerator_get_default_mod_mask ();
#line 615 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	mmask = _tmp0_;
#line 617 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = mmask;
#line 617 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = event;
#line 617 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = _tmp3_->state;
#line 617 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	if ((_tmp2_ & _tmp4_) == GDK_CONTROL_MASK) {
#line 1360 "gitg-commit-dialog.c"
		gboolean _tmp5_ = FALSE;
		GdkEventKey* _tmp6_ = NULL;
		guint _tmp7_ = 0U;
#line 618 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp6_ = event;
#line 618 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp7_ = _tmp6_->keyval;
#line 618 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		if (_tmp7_ == ((guint) GDK_KEY_Return)) {
#line 618 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp5_ = TRUE;
#line 1372 "gitg-commit-dialog.c"
		} else {
			GdkEventKey* _tmp8_ = NULL;
			guint _tmp9_ = 0U;
#line 618 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp8_ = event;
#line 618 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp9_ = _tmp8_->keyval;
#line 618 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp5_ = _tmp9_ == ((guint) GDK_KEY_KP_Enter);
#line 1382 "gitg-commit-dialog.c"
		}
#line 618 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp1_ = _tmp5_;
#line 1386 "gitg-commit-dialog.c"
	} else {
#line 617 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp1_ = FALSE;
#line 1390 "gitg-commit-dialog.c"
	}
#line 617 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp1_) {
#line 1394 "gitg-commit-dialog.c"
		GtkButton* _tmp10_ = NULL;
#line 620 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp10_ = self->priv->d_button_ok;
#line 620 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_signal_emit_by_name (_tmp10_, "activate");
#line 621 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		result = TRUE;
#line 621 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		return result;
#line 1404 "gitg-commit-dialog.c"
	}
#line 624 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = FALSE;
#line 624 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 1410 "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 629 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 1419 "gitg-commit-dialog.c"
}


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


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


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


static void ___lambda7__gtk_text_buffer_changed (GtkTextBuffer* _sender, gpointer self) {
#line 644 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	__lambda7_ ((GitgCommitDialog*) self);
#line 1447 "gitg-commit-dialog.c"
}


static gchar* string_strip (const gchar* self) {
	gchar* result = NULL;
	gchar* _result_ = NULL;
	gchar* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
#line 1207 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	_tmp0_ = g_strdup (self);
#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	_result_ = _tmp0_;
#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	_tmp1_ = _result_;
#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	g_strstrip (_tmp1_);
#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	result = _result_;
#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	return result;
#line 1470 "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;
	GtkTextBuffer* _tmp5_ = NULL;
	GtkTextTag* _tmp6_ = NULL;
	GtkTextTag* _tmp7_ = NULL;
	GtkTextBuffer* _tmp8_ = NULL;
	GtkTextTag* _tmp9_ = NULL;
	GtkTextTag* _tmp10_ = NULL;
	GtkSourceView* _tmp11_ = NULL;
	GtkTextBuffer* _tmp12_ = NULL;
	GError * _inner_error_ = NULL;
#line 627 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 629 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_source_view_message;
#line 629 "/home/jesse/dev/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 631 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = self->priv->d_source_view_message;
#line 631 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = gtk_text_view_get_buffer ((GtkTextView*) _tmp1_);
#line 631 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = _tmp2_;
#line 631 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 631 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	b = _tmp4_;
#line 633 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp5_ = b;
#line 633 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp6_ = gtk_text_buffer_create_tag (_tmp5_, "subject", "weight", PANGO_WEIGHT_BOLD, NULL);
#line 633 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp7_ = _g_object_ref0 (_tmp6_);
#line 633 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_subject_tag);
#line 633 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_subject_tag = _tmp7_;
#line 636 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp8_ = b;
#line 636 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp9_ = gtk_text_buffer_create_tag (_tmp8_, "too-long", NULL);
#line 636 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp10_ = _g_object_ref0 (_tmp9_);
#line 636 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_too_long_tag);
#line 636 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_too_long_tag = _tmp10_;
#line 638 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_update_too_long_tag (self);
#line 640 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp11_ = self->priv->d_source_view_message;
#line 640 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_signal_connect_object ((GtkWidget*) _tmp11_, "style-updated", (GCallback) ___lambda6__gtk_widget_style_updated, self, 0);
#line 644 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp12_ = b;
#line 644 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_signal_connect_object (_tmp12_, "changed", (GCallback) ___lambda7__gtk_text_buffer_changed, self, 0);
#line 648 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_update_highlight (self);
#line 650 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_set_default_message (self, "");
#line 1540 "gitg-commit-dialog.c"
	{
		GgitConfig* config = NULL;
		GgitConfig* _tmp13_ = NULL;
		GitgRepository* _tmp14_ = NULL;
		GitgRepository* _tmp15_ = NULL;
		GitgRepository* _tmp16_ = NULL;
		GgitConfig* _tmp17_ = NULL;
		GgitConfig* _tmp18_ = NULL;
		GgitConfig* _tmp19_ = NULL;
		GgitConfig* _tmp20_ = NULL;
		GgitConfig* _tmp21_ = NULL;
		GgitConfig* _tmp22_ = NULL;
		GgitConfig* _tmp23_ = NULL;
		GgitConfig* _tmp24_ = NULL;
		gchar* template_path = NULL;
		GgitConfig* _tmp25_ = NULL;
		const gchar* _tmp26_ = NULL;
		gchar* _tmp27_ = NULL;
		const gchar* _tmp28_ = NULL;
#line 656 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp14_ = gitg_commit_dialog_get_repository (self);
#line 656 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp15_ = _tmp14_;
#line 656 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp16_ = _tmp15_;
#line 656 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp17_ = ggit_repository_get_config ((GgitRepository*) _tmp16_, &_inner_error_);
#line 656 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp18_ = _tmp17_;
#line 656 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (_tmp16_);
#line 656 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp13_ = _tmp18_;
#line 656 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 656 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_g_object_unref0 (config);
#line 1578 "gitg-commit-dialog.c"
			goto __catch3_g_error;
		}
#line 656 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp20_ = _tmp13_;
#line 656 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp13_ = NULL;
#line 656 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp21_ = _tmp20_;
#line 656 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp22_ = ggit_config_snapshot (_tmp21_, &_inner_error_);
#line 656 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp23_ = _tmp22_;
#line 656 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (_tmp21_);
#line 656 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp19_ = _tmp23_;
#line 656 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 656 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_g_object_unref0 (_tmp13_);
#line 656 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_g_object_unref0 (config);
#line 1601 "gitg-commit-dialog.c"
			goto __catch3_g_error;
		}
#line 656 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp24_ = _tmp19_;
#line 656 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp19_ = NULL;
#line 656 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (config);
#line 656 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		config = _tmp24_;
#line 658 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp25_ = config;
#line 658 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp26_ = ggit_config_get_string (_tmp25_, "commit.template", &_inner_error_);
#line 658 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp27_ = g_strdup (_tmp26_);
#line 658 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		template_path = _tmp27_;
#line 658 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 658 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_g_object_unref0 (_tmp19_);
#line 658 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_g_object_unref0 (_tmp13_);
#line 658 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_g_object_unref0 (config);
#line 1628 "gitg-commit-dialog.c"
			goto __catch3_g_error;
		}
#line 660 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp28_ = template_path;
#line 660 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		if (_tmp28_ != NULL) {
#line 1635 "gitg-commit-dialog.c"
			gchar* path = NULL;
			const gchar* _tmp29_ = NULL;
			gchar* _tmp30_ = NULL;
			const gchar* _tmp31_ = NULL;
			gboolean _tmp32_ = FALSE;
			gchar* contents = NULL;
			gsize len = 0UL;
			const gchar* _tmp42_ = NULL;
			gchar* _tmp43_ = NULL;
			gsize _tmp44_ = 0UL;
			const gchar* _tmp45_ = NULL;
			gsize _tmp46_ = 0UL;
			gchar* _tmp47_ = NULL;
			gchar* _tmp48_ = NULL;
			gchar* _tmp49_ = NULL;
			gchar* _tmp50_ = NULL;
			GtkSourceView* _tmp51_ = NULL;
			GtkTextBuffer* _tmp52_ = NULL;
			GtkTextBuffer* _tmp53_ = NULL;
			const gchar* _tmp54_ = NULL;
#line 662 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp29_ = template_path;
#line 662 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp30_ = gitg_utils_expand_home_dir (_tmp29_);
#line 662 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			path = _tmp30_;
#line 664 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp31_ = path;
#line 664 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp32_ = g_path_is_absolute (_tmp31_);
#line 664 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			if (!_tmp32_) {
#line 1668 "gitg-commit-dialog.c"
				GitgRepository* _tmp33_ = NULL;
				GitgRepository* _tmp34_ = NULL;
				GitgRepository* _tmp35_ = NULL;
				GFile* _tmp36_ = NULL;
				GFile* _tmp37_ = NULL;
				const gchar* _tmp38_ = NULL;
				GFile* _tmp39_ = NULL;
				GFile* _tmp40_ = NULL;
				gchar* _tmp41_ = NULL;
#line 666 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp33_ = gitg_commit_dialog_get_repository (self);
#line 666 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp34_ = _tmp33_;
#line 666 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp35_ = _tmp34_;
#line 666 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp36_ = ggit_repository_get_workdir ((GgitRepository*) _tmp35_);
#line 666 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp37_ = _tmp36_;
#line 666 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp38_ = path;
#line 666 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp39_ = g_file_get_child (_tmp37_, _tmp38_);
#line 666 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp40_ = _tmp39_;
#line 666 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp41_ = g_file_get_path (_tmp40_);
#line 666 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_g_free0 (path);
#line 666 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				path = _tmp41_;
#line 666 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_g_object_unref0 (_tmp40_);
#line 666 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_g_object_unref0 (_tmp37_);
#line 666 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_g_object_unref0 (_tmp35_);
#line 1706 "gitg-commit-dialog.c"
			}
#line 672 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp42_ = path;
#line 672 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			g_file_get_contents (_tmp42_, &_tmp43_, &_tmp44_, &_inner_error_);
#line 672 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_g_free0 (contents);
#line 672 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			contents = _tmp43_;
#line 672 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			len = _tmp44_;
#line 672 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 672 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_g_free0 (contents);
#line 672 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_g_free0 (path);
#line 672 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_g_free0 (template_path);
#line 672 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_g_object_unref0 (_tmp19_);
#line 672 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_g_object_unref0 (_tmp13_);
#line 672 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_g_object_unref0 (config);
#line 1732 "gitg-commit-dialog.c"
				goto __catch3_g_error;
			}
#line 674 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp45_ = contents;
#line 674 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp46_ = len;
#line 674 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp47_ = gitg_convert_utf8 (_tmp45_, (gssize) _tmp46_, NULL);
#line 674 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp48_ = _tmp47_;
#line 674 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp49_ = string_strip (_tmp48_);
#line 674 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp50_ = _tmp49_;
#line 674 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			gitg_commit_dialog_set_default_message (self, _tmp50_);
#line 674 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_g_free0 (_tmp50_);
#line 674 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_g_free0 (_tmp48_);
#line 675 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp51_ = self->priv->d_source_view_message;
#line 675 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp52_ = gtk_text_view_get_buffer ((GtkTextView*) _tmp51_);
#line 675 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp53_ = _tmp52_;
#line 675 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp54_ = self->priv->_default_message;
#line 675 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			gtk_text_buffer_set_text (_tmp53_, _tmp54_, -1);
#line 660 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_g_free0 (contents);
#line 660 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_g_free0 (path);
#line 1767 "gitg-commit-dialog.c"
		}
#line 652 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_free0 (template_path);
#line 652 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (_tmp19_);
#line 652 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (_tmp13_);
#line 652 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (config);
#line 1777 "gitg-commit-dialog.c"
	}
	goto __finally3;
	__catch3_g_error:
	{
#line 652 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_clear_error (&_inner_error_);
#line 652 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_inner_error_ = NULL;
#line 1786 "gitg-commit-dialog.c"
	}
	__finally3:
#line 652 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 652 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (b);
#line 652 "/home/jesse/dev/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 652 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_clear_error (&_inner_error_);
#line 652 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		return;
#line 1799 "gitg-commit-dialog.c"
	}
#line 627 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (b);
#line 1803 "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 681 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 683 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_constructed;
#line 683 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (!_tmp0_) {
#line 685 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		return;
#line 1822 "gitg-commit-dialog.c"
	}
#line 688 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = self->priv->d_show_markup;
#line 688 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp2_) {
#line 1828 "gitg-commit-dialog.c"
		gboolean _tmp3_ = FALSE;
#line 688 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp3_ = self->priv->d_show_right_margin;
#line 688 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp1_ = _tmp3_;
#line 1834 "gitg-commit-dialog.c"
	} else {
#line 688 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp1_ = FALSE;
#line 1838 "gitg-commit-dialog.c"
	}
#line 688 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = self->priv->d_source_view_message;
#line 688 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_source_view_set_show_right_margin (_tmp4_, _tmp1_);
#line 689 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp5_ = self->priv->d_source_view_message;
#line 689 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp6_ = self->priv->d_right_margin_position;
#line 689 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_source_view_set_right_margin_position (_tmp5_, (guint) _tmp6_);
#line 691 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_do_highlight (self);
#line 1852 "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 _tmp39_ = FALSE;
#line 694 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 696 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_source_view_message;
#line 696 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = gtk_text_view_get_buffer ((GtkTextView*) _tmp0_);
#line 696 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = _tmp1_;
#line 696 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 696 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	b = _tmp3_;
#line 701 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = b;
#line 701 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_text_buffer_get_bounds (_tmp4_, &_tmp5_, &_tmp6_);
#line 701 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	start = _tmp5_;
#line 701 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	end = _tmp6_;
#line 702 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp7_ = b;
#line 702 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp8_ = self->priv->d_subject_tag;
#line 702 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp9_ = start;
#line 702 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp10_ = end;
#line 702 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_text_buffer_remove_tag (_tmp7_, _tmp8_, &_tmp9_, &_tmp10_);
#line 703 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp11_ = b;
#line 703 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp12_ = self->priv->d_too_long_tag;
#line 703 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp13_ = start;
#line 703 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp14_ = end;
#line 703 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_text_buffer_remove_tag (_tmp11_, _tmp12_, &_tmp13_, &_tmp14_);
#line 705 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp15_ = self->priv->d_show_markup;
#line 705 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (!_tmp15_) {
#line 707 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (b);
#line 707 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		return;
#line 1935 "gitg-commit-dialog.c"
	}
#line 713 "/home/jesse/dev/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 713 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	sstart = _tmp16_;
#line 713 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	send = _tmp17_;
#line 713 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (!_tmp18_) {
#line 1945 "gitg-commit-dialog.c"
		GtkTextIter _tmp19_ = {0};
		GtkTextIter _tmp20_ = {0};
#line 719 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp19_ = end;
#line 719 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		sstart = _tmp19_;
#line 720 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp20_ = end;
#line 720 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		send = _tmp20_;
#line 1956 "gitg-commit-dialog.c"
	}
#line 723 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp21_ = b;
#line 723 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp22_ = self->priv->d_subject_tag;
#line 723 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp23_ = start;
#line 723 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp24_ = sstart;
#line 723 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_text_buffer_apply_tag (_tmp21_, _tmp22_, &_tmp23_, &_tmp24_);
#line 725 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp25_ = self->priv->d_show_subject_margin;
#line 725 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp25_) {
#line 1972 "gitg-commit-dialog.c"
		GtkTextIter toolong = {0};
		GtkTextIter _tmp26_ = {0};
#line 727 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp26_ = sstart;
#line 727 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		toolong = _tmp26_;
#line 729 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		while (TRUE) {
#line 1981 "gitg-commit-dialog.c"
			gint off = 0;
			gint _tmp27_ = 0;
			gint _tmp28_ = 0;
			gint _tmp29_ = 0;
			gint _tmp36_ = 0;
			gboolean _tmp37_ = FALSE;
			gboolean _tmp38_ = FALSE;
#line 731 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp27_ = gtk_text_iter_get_line_offset (&toolong);
#line 731 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			off = _tmp27_;
#line 733 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp28_ = off;
#line 733 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp29_ = self->priv->d_subject_margin_position;
#line 733 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			if (_tmp28_ > _tmp29_) {
#line 1999 "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 735 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp30_ = toolong;
#line 735 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				border = _tmp30_;
#line 736 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp31_ = self->priv->d_subject_margin_position;
#line 736 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_text_iter_set_line_offset (&border, _tmp31_);
#line 738 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp32_ = b;
#line 738 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp33_ = self->priv->d_too_long_tag;
#line 738 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp34_ = border;
#line 738 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp35_ = toolong;
#line 738 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_text_buffer_apply_tag (_tmp32_, _tmp33_, &_tmp34_, &_tmp35_);
#line 2025 "gitg-commit-dialog.c"
			}
#line 741 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp36_ = gtk_text_iter_get_line (&toolong);
#line 741 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			if (_tmp36_ == 0) {
#line 743 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				break;
#line 2033 "gitg-commit-dialog.c"
			}
#line 746 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp37_ = gtk_text_iter_backward_line (&toolong);
#line 746 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			if (!_tmp37_) {
#line 748 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				break;
#line 2041 "gitg-commit-dialog.c"
			}
#line 751 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp38_ = gtk_text_iter_forward_to_line_end (&toolong);
#line 751 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			if (!_tmp38_) {
#line 753 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				break;
#line 2049 "gitg-commit-dialog.c"
			}
		}
	}
#line 758 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp39_ = self->priv->d_show_right_margin;
#line 758 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp39_) {
#line 760 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		while (TRUE) {
#line 2059 "gitg-commit-dialog.c"
			GtkTextIter _tmp40_ = {0};
			gboolean _tmp41_ = FALSE;
			gboolean _tmp42_ = FALSE;
			gint _tmp43_ = 0;
			gint _tmp44_ = 0;
			gboolean _tmp51_ = FALSE;
#line 760 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp40_ = end;
#line 760 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp41_ = gtk_text_iter_equal (&send, &_tmp40_);
#line 760 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			if (!(!_tmp41_)) {
#line 760 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				break;
#line 2074 "gitg-commit-dialog.c"
			}
#line 762 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp42_ = gtk_text_iter_ends_line (&send);
#line 762 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			if (!_tmp42_) {
#line 764 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_text_iter_forward_to_line_end (&send);
#line 2082 "gitg-commit-dialog.c"
			}
#line 767 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp43_ = gtk_text_iter_get_line_offset (&send);
#line 767 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp44_ = self->priv->d_right_margin_position;
#line 767 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			if (_tmp43_ > _tmp44_) {
#line 2090 "gitg-commit-dialog.c"
				GtkTextIter lstart = {0};
				GtkTextIter _tmp45_ = {0};
				gint _tmp46_ = 0;
				GtkTextBuffer* _tmp47_ = NULL;
				GtkTextTag* _tmp48_ = NULL;
				GtkTextIter _tmp49_ = {0};
				GtkTextIter _tmp50_ = {0};
#line 769 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp45_ = send;
#line 769 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				lstart = _tmp45_;
#line 770 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp46_ = self->priv->d_right_margin_position;
#line 770 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_text_iter_set_line_offset (&lstart, _tmp46_);
#line 772 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp47_ = b;
#line 772 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp48_ = self->priv->d_too_long_tag;
#line 772 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp49_ = lstart;
#line 772 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				_tmp50_ = send;
#line 772 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				gtk_text_buffer_apply_tag (_tmp47_, _tmp48_, &_tmp49_, &_tmp50_);
#line 2116 "gitg-commit-dialog.c"
			}
#line 775 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp51_ = gtk_text_iter_forward_line (&send);
#line 775 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			if (!_tmp51_) {
#line 777 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
				break;
#line 2124 "gitg-commit-dialog.c"
			}
		}
	}
#line 694 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (b);
#line 2130 "gitg-commit-dialog.c"
}


GitgCommitDialog* gitg_commit_dialog_construct (GType object_type, GitgRepository* repository, GgitSignature* author, GgitDiff* diff) {
	GitgCommitDialog * self = NULL;
	GitgRepository* _tmp0_ = NULL;
	GgitSignature* _tmp1_ = NULL;
	GgitDiff* _tmp2_ = NULL;
#line 783 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (repository != NULL, NULL);
#line 783 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (author != NULL, NULL);
#line 787 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = repository;
#line 787 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = author;
#line 787 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = diff;
#line 787 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	self = (GitgCommitDialog*) g_object_new (object_type, "repository", _tmp0_, "author", _tmp1_, "diff", _tmp2_, "use-header-bar", 1, NULL);
#line 783 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	return self;
#line 2153 "gitg-commit-dialog.c"
}


GitgCommitDialog* gitg_commit_dialog_new (GitgRepository* repository, GgitSignature* author, GgitDiff* diff) {
#line 783 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	return gitg_commit_dialog_construct (GITG_COMMIT_TYPE_DIALOG, repository, author, diff);
#line 2160 "gitg-commit-dialog.c"
}


static void _vala_PangoFontDescription_free (PangoFontDescription* self) {
#line 790 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_boxed_free (pango_font_description_get_type (), self);
#line 2167 "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 790 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 792 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_font_settings;
#line 792 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = g_settings_get_string (_tmp0_, "monospace-font-name");
#line 792 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	mfont = _tmp1_;
#line 793 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = pango_font_description_from_string (mfont);
#line 793 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	desc = _tmp2_;
#line 795 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = self->priv->d_source_view_message;
#line 795 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_widget_override_font ((GtkWidget*) _tmp3_, desc);
#line 790 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	__vala_PangoFontDescription_free0 (desc);
#line 790 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (mfont);
#line 2198 "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;
#line 798 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 798 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (primary_msg != NULL);
#line 798 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (secondary_msg != NULL);
#line 802 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_infobar_shown = TRUE;
#line 803 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_infobar;
#line 803 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = type;
#line 803 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_info_bar_set_message_type (_tmp0_, _tmp1_);
#line 805 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = primary_msg;
#line 805 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = g_markup_escape_text (_tmp2_, (gssize) -1);
#line 805 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = _tmp3_;
#line 805 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp5_ = g_strdup_printf ("<b>%s</b>", _tmp4_);
#line 805 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp6_ = _tmp5_;
#line 805 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (_tmp4_);
#line 805 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	primary = _tmp6_;
#line 806 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp7_ = secondary_msg;
#line 806 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp8_ = g_markup_escape_text (_tmp7_, (gssize) -1);
#line 806 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp9_ = _tmp8_;
#line 806 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp10_ = g_strdup_printf ("<small>%s</small>", _tmp9_);
#line 806 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp11_ = _tmp10_;
#line 806 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (_tmp9_);
#line 806 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	secondary = _tmp11_;
#line 808 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp12_ = self->priv->d_infobar_primary_label;
#line 808 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_label_set_label (_tmp12_, primary);
#line 809 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp13_ = self->priv->d_infobar_secondary_label;
#line 809 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_label_set_label (_tmp13_, secondary);
#line 810 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp14_ = self->priv->d_infobar_revealer;
#line 810 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_revealer_set_reveal_child (_tmp14_, TRUE);
#line 812 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_dialog_set_response_sensitive ((GtkDialog*) self, (gint) GTK_RESPONSE_OK, FALSE);
#line 798 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (secondary);
#line 798 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (primary);
#line 2280 "gitg-commit-dialog.c"
}


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


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


GitgRepository* gitg_commit_dialog_get_repository (GitgCommitDialog* self) {
	GitgRepository* result;
	GitgRepository* _tmp0_ = NULL;
	GitgRepository* _tmp1_ = NULL;
#line 93 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 93 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->_repository;
#line 93 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 93 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp1_;
#line 93 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 2335 "gitg-commit-dialog.c"
}


void gitg_commit_dialog_set_repository (GitgCommitDialog* self, GitgRepository* value) {
	GitgRepository* _tmp0_ = NULL;
	GitgRepository* _tmp1_ = NULL;
#line 93 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 93 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = value;
#line 93 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 93 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->_repository);
#line 93 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->_repository = _tmp1_;
#line 93 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "repository");
#line 2354 "gitg-commit-dialog.c"
}


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


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


GtkSourceView* gitg_commit_dialog_get_source_view_message (GitgCommitDialog* self) {
	GtkSourceView* result;
	GtkSourceView* _tmp0_ = NULL;
#line 105 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 105 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_source_view_message;
#line 105 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp0_;
#line 105 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 2398 "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 110 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 112 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = gitg_commit_dialog_get_message (self);
#line 112 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = _tmp0_;
#line 112 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = _tmp1_;
#line 112 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = ggit_message_prettify (_tmp2_, FALSE, '#');
#line 112 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = _tmp3_;
#line 112 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (_tmp2_);
#line 112 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	pretty = _tmp4_;
#line 114 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp5_ = pretty;
#line 114 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp5_ == NULL) {
#line 2431 "gitg-commit-dialog.c"
		gchar* _tmp6_ = NULL;
#line 116 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp6_ = g_strdup ("");
#line 116 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		result = _tmp6_;
#line 116 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_free0 (pretty);
#line 116 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		return result;
#line 2441 "gitg-commit-dialog.c"
	} else {
#line 120 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		result = pretty;
#line 120 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		return result;
#line 2447 "gitg-commit-dialog.c"
	}
#line 110 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (pretty);
#line 2451 "gitg-commit-dialog.c"
}


const gchar* gitg_commit_dialog_get_default_message (GitgCommitDialog* self) {
	const gchar* result;
	const gchar* _tmp0_ = NULL;
#line 127 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 127 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->_default_message;
#line 127 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp0_;
#line 127 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 2466 "gitg-commit-dialog.c"
}


static void gitg_commit_dialog_set_default_message (GitgCommitDialog* self, const gchar* value) {
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 127 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 127 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = value;
#line 127 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 127 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (self->priv->_default_message);
#line 127 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->_default_message = _tmp1_;
#line 127 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "default-message");
#line 2485 "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 132 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 134 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_source_view_message;
#line 134 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = gtk_text_view_get_buffer ((GtkTextView*) _tmp0_);
#line 134 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = _tmp1_;
#line 134 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 134 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	b = _tmp3_;
#line 139 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_text_buffer_get_bounds (b, &_tmp4_, &_tmp5_);
#line 139 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	start = _tmp4_;
#line 139 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	end = _tmp5_;
#line 140 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp6_ = start;
#line 140 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp7_ = end;
#line 140 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp8_ = gtk_text_buffer_get_text (b, &_tmp6_, &_tmp7_, FALSE);
#line 140 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp8_;
#line 140 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (b);
#line 140 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 2533 "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 142 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 144 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_source_view_message;
#line 144 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = gtk_text_view_get_buffer ((GtkTextView*) _tmp0_);
#line 144 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = _tmp1_;
#line 144 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = value;
#line 144 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gtk_text_buffer_set_text (_tmp2_, _tmp3_, -1);
#line 142 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "message");
#line 2556 "gitg-commit-dialog.c"
}


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


void gitg_commit_dialog_set_amend (GitgCommitDialog* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
#line 154 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 156 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = value;
#line 156 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_amend = _tmp0_;
#line 158 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = value;
#line 158 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp1_) {
#line 2588 "gitg-commit-dialog.c"
		GtkRevealer* _tmp2_ = NULL;
#line 160 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp2_ = self->priv->d_infobar_revealer;
#line 160 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		gtk_revealer_set_reveal_child (_tmp2_, FALSE);
#line 2594 "gitg-commit-dialog.c"
	} else {
		gboolean _tmp3_ = FALSE;
#line 163 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp3_ = self->priv->d_infobar_shown;
#line 163 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		if (_tmp3_) {
#line 2601 "gitg-commit-dialog.c"
			GtkRevealer* _tmp4_ = NULL;
#line 165 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp4_ = self->priv->d_infobar_revealer;
#line 165 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			gtk_revealer_set_reveal_child (_tmp4_, TRUE);
#line 2607 "gitg-commit-dialog.c"
		}
	}
#line 168 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_update_sensitivity (self);
#line 154 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "amend");
#line 2614 "gitg-commit-dialog.c"
}


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


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


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


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


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


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


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


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


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


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


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


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


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


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


const gchar* gitg_commit_dialog_get_spell_checking_language (GitgCommitDialog* self) {
	const gchar* result;
	const gchar* _tmp0_ = NULL;
#line 257 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 257 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_spell_checking_language;
#line 257 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	result = _tmp0_;
#line 257 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	return result;
#line 2852 "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 259 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 261 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = value;
#line 261 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 261 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (self->priv->d_spell_checking_language);
#line 261 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_spell_checking_language = _tmp1_;
#line 262 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_set_spell_language (self);
#line 259 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "spell-checking-language");
#line 2873 "gitg-commit-dialog.c"
}


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


static void _gitg_commit_dialog_enable_spell_checking_____lambda8_ (GitgCommitDialog* self) {
	GtkSpellChecker* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
#line 283 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_spell_checker;
#line 283 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = gtk_spell_checker_get_language (_tmp0_);
#line 283 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_set_spell_checking_language (self, _tmp1_);
#line 2901 "gitg-commit-dialog.c"
}


static void __gitg_commit_dialog_enable_spell_checking_____lambda8__gtk_spell_checker_language_changed (GtkSpellChecker* _sender, const gchar* new_lang, gpointer self) {
#line 282 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_gitg_commit_dialog_enable_spell_checking_____lambda8_ ((GitgCommitDialog*) self);
#line 2908 "gitg-commit-dialog.c"
}


void gitg_commit_dialog_set_enable_spell_checking (GitgCommitDialog* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
#line 269 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 271 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = value;
#line 271 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_enable_spell_checking = _tmp0_;
#line 273 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = self->priv->d_enable_spell_checking;
#line 273 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp1_) {
#line 2925 "gitg-commit-dialog.c"
		GtkSpellChecker* _tmp2_ = NULL;
#line 275 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp2_ = self->priv->d_spell_checker;
#line 275 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		if (_tmp2_ == NULL) {
#line 2931 "gitg-commit-dialog.c"
			GtkSpellChecker* _tmp3_ = NULL;
			GtkSpellChecker* _tmp4_ = NULL;
			GtkSourceView* _tmp5_ = NULL;
			GtkSpellChecker* _tmp6_ = NULL;
#line 277 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp3_ = gtk_spell_checker_new ();
#line 277 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			g_object_ref_sink (_tmp3_);
#line 277 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_g_object_unref0 (self->priv->d_spell_checker);
#line 277 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			self->priv->d_spell_checker = _tmp3_;
#line 278 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp4_ = self->priv->d_spell_checker;
#line 278 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp5_ = self->priv->d_source_view_message;
#line 278 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			gtk_spell_checker_attach (_tmp4_, (GtkTextView*) _tmp5_);
#line 280 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			gitg_commit_dialog_set_spell_language (self);
#line 282 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp6_ = self->priv->d_spell_checker;
#line 282 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			g_signal_connect_object (_tmp6_, "language-changed", (GCallback) __gitg_commit_dialog_enable_spell_checking_____lambda8__gtk_spell_checker_language_changed, self, 0);
#line 2956 "gitg-commit-dialog.c"
		}
	} else {
		GtkSpellChecker* _tmp7_ = NULL;
#line 289 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp7_ = self->priv->d_spell_checker;
#line 289 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		if (_tmp7_ != NULL) {
#line 2964 "gitg-commit-dialog.c"
			GtkSpellChecker* _tmp8_ = NULL;
#line 291 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_tmp8_ = self->priv->d_spell_checker;
#line 291 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			gtk_spell_checker_detach (_tmp8_);
#line 292 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			_g_object_unref0 (self->priv->d_spell_checker);
#line 292 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
			self->priv->d_spell_checker = NULL;
#line 2974 "gitg-commit-dialog.c"
		}
	}
#line 269 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "enable-spell-checking");
#line 2979 "gitg-commit-dialog.c"
}


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


void gitg_commit_dialog_set_use_gravatar (GitgCommitDialog* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
#line 319 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (self != NULL);
#line 321 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = self->priv->d_use_gravatar;
#line 321 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = value;
#line 321 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp0_ != _tmp1_) {
#line 3009 "gitg-commit-dialog.c"
		gboolean _tmp2_ = FALSE;
#line 323 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp2_ = value;
#line 323 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		self->priv->d_use_gravatar = _tmp2_;
#line 324 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_load_author_info (self);
#line 3017 "gitg-commit-dialog.c"
	}
#line 319 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_notify ((GObject *) self, "use-gravatar");
#line 3021 "gitg-commit-dialog.c"
}


static void _gitg_commit_dialog___lambda9_ (GitgCommitDialog* self, GSettings* s, const gchar* k) {
#line 427 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (s != NULL);
#line 427 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_return_if_fail (k != NULL);
#line 428 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_update_font_settings (self);
#line 3032 "gitg-commit-dialog.c"
}


static void __gitg_commit_dialog___lambda9__g_settings_changed (GSettings* _sender, const gchar* key, gpointer self) {
#line 427 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_gitg_commit_dialog___lambda9_ ((GitgCommitDialog*) self, _sender, key);
#line 3039 "gitg-commit-dialog.c"
}


static void _gitg_commit_dialog___lambda10_ (GitgCommitDialog* self) {
#line 434 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_update_sensitivity (self);
#line 3046 "gitg-commit-dialog.c"
}


static void __gitg_commit_dialog___lambda10__gtk_text_buffer_changed (GtkTextBuffer* _sender, gpointer self) {
#line 433 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_gitg_commit_dialog___lambda10_ ((GitgCommitDialog*) self);
#line 3053 "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;
	gboolean _tmp23_ = FALSE;
	GgitDiff* _tmp24_ = NULL;
	GgitDiff* _tmp25_ = NULL;
	GgitDiff* _tmp26_ = NULL;
	gboolean _tmp27_ = FALSE;
#line 421 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	parent_class = G_OBJECT_CLASS (gitg_commit_dialog_parent_class);
#line 421 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 421 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_COMMIT_TYPE_DIALOG, GitgCommitDialog);
#line 423 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp0_ = g_settings_new ("org.gnome.desktop.interface");
#line 423 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_font_settings);
#line 423 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_font_settings = _tmp0_;
#line 425 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_update_font_settings (self);
#line 427 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp1_ = self->priv->d_font_settings;
#line 427 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_signal_connect_object (_tmp1_, "changed::monospace-font-name", (GCallback) __gitg_commit_dialog___lambda9__g_settings_changed, self, 0);
#line 431 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp2_ = self->priv->d_source_view_message;
#line 431 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp3_ = gtk_text_view_get_buffer ((GtkTextView*) _tmp2_);
#line 431 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp4_ = _tmp3_;
#line 431 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp5_ = _g_object_ref0 (_tmp4_);
#line 431 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	b = _tmp5_;
#line 433 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp6_ = self->priv->d_source_view_message;
#line 433 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp7_ = gtk_text_view_get_buffer ((GtkTextView*) _tmp6_);
#line 433 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp8_ = _tmp7_;
#line 433 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_signal_connect_object (_tmp8_, "changed", (GCallback) __gitg_commit_dialog___lambda10__gtk_text_buffer_changed, self, 0);
#line 437 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp9_ = self->priv->d_check_button_amend;
#line 437 "/home/jesse/dev/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, (GClosureNotify) NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)));
#line 442 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp10_ = self->priv->d_check_button_sign_off;
#line 442 "/home/jesse/dev/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, (GClosureNotify) NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)));
#line 447 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp11_ = g_settings_new ("org.gnome.gitg.state.commit");
#line 447 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_commit_settings);
#line 447 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_commit_settings = _tmp11_;
#line 449 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp12_ = self->priv->d_commit_settings;
#line 449 "/home/jesse/dev/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 455 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp13_ = g_settings_new ("org.gnome.gitg.preferences.commit.message");
#line 455 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_message_settings);
#line 455 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_message_settings = _tmp13_;
#line 457 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp14_ = self->priv->d_message_settings;
#line 457 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_settings_bind (_tmp14_, "show-markup", (GObject*) self, "show-markup", G_SETTINGS_BIND_GET);
#line 462 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp15_ = self->priv->d_message_settings;
#line 462 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_settings_bind (_tmp15_, "show-right-margin", (GObject*) self, "show-right-margin", G_SETTINGS_BIND_GET);
#line 467 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp16_ = self->priv->d_message_settings;
#line 467 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_settings_bind (_tmp16_, "right-margin-position", (GObject*) self, "right-margin-position", G_SETTINGS_BIND_GET);
#line 472 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp17_ = self->priv->d_message_settings;
#line 472 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_settings_bind (_tmp17_, "show-subject-margin", (GObject*) self, "show-subject-margin", G_SETTINGS_BIND_GET);
#line 477 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp18_ = self->priv->d_message_settings;
#line 477 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_settings_bind (_tmp18_, "subject-margin-position", (GObject*) self, "subject-margin-position", G_SETTINGS_BIND_GET);
#line 482 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp19_ = self->priv->d_message_settings;
#line 482 "/home/jesse/dev/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 487 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp20_ = self->priv->d_message_settings;
#line 487 "/home/jesse/dev/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 492 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp21_ = g_settings_new ("org.gnome.gitg.preferences.interface");
#line 492 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	interface_settings = _tmp21_;
#line 493 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp22_ = interface_settings;
#line 493 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_settings_bind (_tmp22_, "use-gravatar", (GObject*) self, "use-gravatar", G_SETTINGS_BIND_GET);
#line 498 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	self->priv->d_constructed = TRUE;
#line 500 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_init_message_area (self);
#line 502 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp24_ = gitg_commit_dialog_get_diff (self);
#line 502 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp25_ = _tmp24_;
#line 502 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp26_ = _tmp25_;
#line 502 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_tmp27_ = _tmp26_ != NULL;
#line 502 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (_tmp26_);
#line 502 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp27_) {
#line 3203 "gitg-commit-dialog.c"
		GgitDiff* _tmp28_ = NULL;
		GgitDiff* _tmp29_ = NULL;
		GgitDiff* _tmp30_ = NULL;
		gsize _tmp31_ = 0UL;
#line 502 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp28_ = gitg_commit_dialog_get_diff (self);
#line 502 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp29_ = _tmp28_;
#line 502 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp30_ = _tmp29_;
#line 502 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp31_ = ggit_diff_get_num_deltas (_tmp30_);
#line 502 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp23_ = _tmp31_ != ((gsize) 0);
#line 502 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_g_object_unref0 (_tmp30_);
#line 3220 "gitg-commit-dialog.c"
	} else {
#line 502 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp23_ = FALSE;
#line 3224 "gitg-commit-dialog.c"
	}
#line 502 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	if (_tmp23_) {
#line 504 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_iterate_diff (self);
#line 3230 "gitg-commit-dialog.c"
	} else {
		const gchar* _tmp32_ = NULL;
		const gchar* _tmp33_ = NULL;
#line 508 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp32_ = _ ("There are no changes to be committed");
#line 508 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		_tmp33_ = _ ("Use amend to change the commit message of the previous commit");
#line 508 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_show_infobar (self, _tmp32_, _tmp33_, GTK_MESSAGE_WARNING);
#line 3240 "gitg-commit-dialog.c"
	}
#line 421 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (interface_settings);
#line 421 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (b);
#line 421 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	return obj;
#line 3248 "gitg-commit-dialog.c"
}


static void gitg_commit_dialog_class_init (GitgCommitDialogClass * klass) {
	gint GitgCommitDialog_private_offset;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	gitg_commit_dialog_parent_class = g_type_class_peek_parent (klass);
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_type_class_add_private (klass, sizeof (GitgCommitDialogPrivate));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	((GtkWidgetClass *) klass)->destroy = (void (*)(GtkWidget*)) gitg_commit_dialog_real_destroy;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_commit_dialog_get_property;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_commit_dialog_set_property;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	G_OBJECT_CLASS (klass)->constructor = gitg_commit_dialog_constructor;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_commit_dialog_finalize;
#line 24 "/home/jesse/dev/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/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_DIALOG_REPOSITORY, g_param_spec_object ("repository", "repository", "repository", GITG_TYPE_REPOSITORY, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
#line 24 "/home/jesse/dev/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/dev/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/dev/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/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_DIALOG_DEFAULT_MESSAGE, g_param_spec_string ("default-message", "default-message", "default-message", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 24 "/home/jesse/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	GitgCommitDialog_private_offset = g_type_class_get_instance_private_offset (klass);
#line 24 "/home/jesse/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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 3334 "gitg-commit-dialog.c"
}


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


static void gitg_commit_dialog_finalize (GObject* obj) {
	GitgCommitDialog * self;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_COMMIT_TYPE_DIALOG, GitgCommitDialog);
#line 30 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_source_view_message);
#line 33 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_button_ok);
#line 36 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_check_button_amend);
#line 39 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_check_button_sign_off);
#line 42 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_image_avatar);
#line 45 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_label_user);
#line 48 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_label_date);
#line 51 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_infobar);
#line 54 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_infobar_revealer);
#line 57 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_infobar_primary_label);
#line 60 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_infobar_secondary_label);
#line 63 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_list_box_stats);
#line 66 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_scrolled_window_stats);
#line 73 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_author);
#line 74 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_cancel_avatar);
#line 76 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_message_settings);
#line 77 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_font_settings);
#line 78 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_commit_settings);
#line 80 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (self->priv->d_spell_checking_language);
#line 81 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_spell_checker);
#line 82 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_diff);
#line 91 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->_repository);
#line 125 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_free0 (self->priv->_default_message);
#line 514 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_subject_tag);
#line 515 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	_g_object_unref0 (self->priv->d_too_long_tag);
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	G_OBJECT_CLASS (gitg_commit_dialog_parent_class)->finalize (obj);
#line 3405 "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/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	switch (property_id) {
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_DIFF:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_take_object (value, gitg_commit_dialog_get_diff (self));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_REPOSITORY:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_take_object (value, gitg_commit_dialog_get_repository (self));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_MAX_VISIBLE_STAT_ITEMS:
#line 24 "/home/jesse/dev/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/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SOURCE_VIEW_MESSAGE:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_object (value, gitg_commit_dialog_get_source_view_message (self));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_PRETTY_MESSAGE:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_take_string (value, gitg_commit_dialog_get_pretty_message (self));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_DEFAULT_MESSAGE:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_string (value, gitg_commit_dialog_get_default_message (self));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_MESSAGE:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_take_string (value, gitg_commit_dialog_get_message (self));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_AMEND:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_boolean (value, gitg_commit_dialog_get_amend (self));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SIGN_OFF:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_boolean (value, gitg_commit_dialog_get_sign_off (self));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SHOW_MARKUP:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_boolean (value, gitg_commit_dialog_get_show_markup (self));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SHOW_RIGHT_MARGIN:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_boolean (value, gitg_commit_dialog_get_show_right_margin (self));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SHOW_SUBJECT_MARGIN:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_boolean (value, gitg_commit_dialog_get_show_subject_margin (self));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_RIGHT_MARGIN_POSITION:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_int (value, gitg_commit_dialog_get_right_margin_position (self));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SUBJECT_MARGIN_POSITION:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_int (value, gitg_commit_dialog_get_subject_margin_position (self));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_AUTHOR:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_take_object (value, gitg_commit_dialog_get_author (self));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SPELL_CHECKING_LANGUAGE:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_string (value, gitg_commit_dialog_get_spell_checking_language (self));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_ENABLE_SPELL_CHECKING:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_boolean (value, gitg_commit_dialog_get_enable_spell_checking (self));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_USE_GRAVATAR:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		g_value_set_boolean (value, gitg_commit_dialog_get_use_gravatar (self));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 3534 "gitg-commit-dialog.c"
		default:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 3540 "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/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
	switch (property_id) {
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_DIFF:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_diff (self, g_value_get_object (value));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_REPOSITORY:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_repository (self, g_value_get_object (value));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_MAX_VISIBLE_STAT_ITEMS:
#line 24 "/home/jesse/dev/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/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_DEFAULT_MESSAGE:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_default_message (self, g_value_get_string (value));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_MESSAGE:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_message (self, g_value_get_string (value));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_AMEND:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_amend (self, g_value_get_boolean (value));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SIGN_OFF:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_sign_off (self, g_value_get_boolean (value));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SHOW_MARKUP:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_show_markup (self, g_value_get_boolean (value));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SHOW_RIGHT_MARGIN:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_show_right_margin (self, g_value_get_boolean (value));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SHOW_SUBJECT_MARGIN:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_show_subject_margin (self, g_value_get_boolean (value));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_RIGHT_MARGIN_POSITION:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_right_margin_position (self, g_value_get_int (value));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SUBJECT_MARGIN_POSITION:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_subject_margin_position (self, g_value_get_int (value));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_AUTHOR:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_author (self, g_value_get_object (value));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_SPELL_CHECKING_LANGUAGE:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_spell_checking_language (self, g_value_get_string (value));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_ENABLE_SPELL_CHECKING:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_enable_spell_checking (self, g_value_get_boolean (value));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		case GITG_COMMIT_DIALOG_USE_GRAVATAR:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		gitg_commit_dialog_set_use_gravatar (self, g_value_get_boolean (value));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 3646 "gitg-commit-dialog.c"
		default:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-dialog.vala"
		break;
#line 3652 "gitg-commit-dialog.c"
	}
}



