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

/*
 * This file is part of gitg
 *
 * Copyright (C) 2013 - Sindhu S
 *
 * 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 <stdlib.h>
#include <string.h>
#include <libgit2-glib/ggit.h>
#include <config.h>
#include <gio/gio.h>
#include <glib/gi18n-lib.h>


#define GITG_TYPE_AUTHOR_DETAILS_DIALOG (gitg_author_details_dialog_get_type ())
#define GITG_AUTHOR_DETAILS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_AUTHOR_DETAILS_DIALOG, GitgAuthorDetailsDialog))
#define GITG_AUTHOR_DETAILS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_AUTHOR_DETAILS_DIALOG, GitgAuthorDetailsDialogClass))
#define GITG_IS_AUTHOR_DETAILS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_AUTHOR_DETAILS_DIALOG))
#define GITG_IS_AUTHOR_DETAILS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_AUTHOR_DETAILS_DIALOG))
#define GITG_AUTHOR_DETAILS_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_AUTHOR_DETAILS_DIALOG, GitgAuthorDetailsDialogClass))

typedef struct _GitgAuthorDetailsDialog GitgAuthorDetailsDialog;
typedef struct _GitgAuthorDetailsDialogClass GitgAuthorDetailsDialogClass;
typedef struct _GitgAuthorDetailsDialogPrivate GitgAuthorDetailsDialogPrivate;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
typedef struct _Block26Data Block26Data;

struct _GitgAuthorDetailsDialog {
	GtkDialog parent_instance;
	GitgAuthorDetailsDialogPrivate * priv;
};

struct _GitgAuthorDetailsDialogClass {
	GtkDialogClass parent_class;
};

struct _GitgAuthorDetailsDialogPrivate {
	GtkEntry* d_input_name;
	GtkEntry* d_input_email;
	GtkLabel* d_label_view;
	GtkLabel* d_label_dash;
	gchar* d_repository_name;
	GgitConfig* d_config;
};

struct _Block26Data {
	int _ref_count_;
	GitgAuthorDetailsDialog* self;
	GtkMessageDialog* error_dialog;
};


static gpointer gitg_author_details_dialog_parent_class = NULL;

GType gitg_author_details_dialog_get_type (void) G_GNUC_CONST;
#define GITG_AUTHOR_DETAILS_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_TYPE_AUTHOR_DETAILS_DIALOG, GitgAuthorDetailsDialogPrivate))
enum  {
	GITG_AUTHOR_DETAILS_DIALOG_DUMMY_PROPERTY
};
#define GITG_AUTHOR_DETAILS_DIALOG_version VERSION
GitgAuthorDetailsDialog* gitg_author_details_dialog_new (GtkWindow* parent, GgitConfig* config, const gchar* repository_name);
GitgAuthorDetailsDialog* gitg_author_details_dialog_construct (GType object_type, GtkWindow* parent, GgitConfig* config, const gchar* repository_name);
static void gitg_author_details_dialog_real_show (GtkWidget* base);
static void gitg_author_details_dialog_show_config_error (GitgAuthorDetailsDialog* self, const gchar* primary_message, const gchar* secondary_message);
static void __lambda79_ (GitgAuthorDetailsDialog* self, GtkEntry* e);
static void ___lambda79__gtk_entry_activate (GtkEntry* _sender, gpointer self);
static void __lambda80_ (GitgAuthorDetailsDialog* self, GtkEntry* e);
static void ___lambda80__gtk_entry_activate (GtkEntry* _sender, gpointer self);
static void __lambda81_ (GitgAuthorDetailsDialog* self, GtkEditable* e);
static void ___lambda81__gtk_editable_changed (GtkEditable* _sender, gpointer self);
static void __lambda82_ (GitgAuthorDetailsDialog* self, GtkEditable* e);
static void ___lambda82__gtk_editable_changed (GtkEditable* _sender, gpointer self);
static void gitg_author_details_dialog_real_response (GtkDialog* base, gint id);
static Block26Data* block26_data_ref (Block26Data* _data26_);
static void block26_data_unref (void * _userdata_);
static void __lambda78_ (Block26Data* _data26_, GtkDialog* d, gint id);
static void ___lambda78__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self);
static void gitg_author_details_dialog_finalize (GObject* obj);


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


GitgAuthorDetailsDialog* gitg_author_details_dialog_construct (GType object_type, GtkWindow* parent, GgitConfig* config, const gchar* repository_name) {
	GitgAuthorDetailsDialog * self = NULL;
	GtkWindow* _tmp0_ = NULL;
	const gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	GgitConfig* _tmp4_ = NULL;
	GgitConfig* _tmp5_ = NULL;
#line 44 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	g_return_val_if_fail (config != NULL, NULL);
#line 46 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	self = (GitgAuthorDetailsDialog*) g_object_new (object_type, "use-header-bar", 1, NULL);
#line 48 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp0_ = parent;
#line 48 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	if (_tmp0_ != NULL) {
#line 125 "gitg-author-details-dialog.c"
		GtkWindow* _tmp1_ = NULL;
#line 50 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp1_ = parent;
#line 50 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		gtk_window_set_transient_for ((GtkWindow*) self, _tmp1_);
#line 131 "gitg-author-details-dialog.c"
	}
#line 53 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp2_ = repository_name;
#line 53 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp3_ = g_strdup (_tmp2_);
#line 53 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_g_free0 (self->priv->d_repository_name);
#line 53 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	self->priv->d_repository_name = _tmp3_;
#line 54 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp4_ = config;
#line 54 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp5_ = _g_object_ref0 (_tmp4_);
#line 54 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_g_object_unref0 (self->priv->d_config);
#line 54 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	self->priv->d_config = _tmp5_;
#line 44 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	return self;
#line 151 "gitg-author-details-dialog.c"
}


GitgAuthorDetailsDialog* gitg_author_details_dialog_new (GtkWindow* parent, GgitConfig* config, const gchar* repository_name) {
#line 44 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	return gitg_author_details_dialog_construct (GITG_TYPE_AUTHOR_DETAILS_DIALOG, parent, config, repository_name);
#line 158 "gitg-author-details-dialog.c"
}


static gchar* string_chomp (const gchar* self) {
	gchar* result = NULL;
	gchar* _result_ = NULL;
	gchar* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
#line 1099 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1100 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp0_ = g_strdup (self);
#line 1100 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_result_ = _tmp0_;
#line 1101 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp1_ = _result_;
#line 1101 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	g_strchomp (_tmp1_);
#line 1102 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	result = _result_;
#line 1102 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	return result;
#line 181 "gitg-author-details-dialog.c"
}


static void __lambda79_ (GitgAuthorDetailsDialog* self, GtkEntry* e) {
#line 106 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	g_return_if_fail (e != NULL);
#line 107 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	gtk_dialog_response ((GtkDialog*) self, (gint) GTK_RESPONSE_OK);
#line 190 "gitg-author-details-dialog.c"
}


static void ___lambda79__gtk_entry_activate (GtkEntry* _sender, gpointer self) {
#line 106 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	__lambda79_ ((GitgAuthorDetailsDialog*) self, _sender);
#line 197 "gitg-author-details-dialog.c"
}


static void __lambda80_ (GitgAuthorDetailsDialog* self, GtkEntry* e) {
#line 110 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	g_return_if_fail (e != NULL);
#line 111 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	gtk_dialog_response ((GtkDialog*) self, (gint) GTK_RESPONSE_OK);
#line 206 "gitg-author-details-dialog.c"
}


static void ___lambda80__gtk_entry_activate (GtkEntry* _sender, gpointer self) {
#line 110 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	__lambda80_ ((GitgAuthorDetailsDialog*) self, _sender);
#line 213 "gitg-author-details-dialog.c"
}


static void __lambda81_ (GitgAuthorDetailsDialog* self, GtkEditable* e) {
#line 114 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	g_return_if_fail (e != NULL);
#line 115 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	gtk_dialog_set_response_sensitive ((GtkDialog*) self, (gint) GTK_RESPONSE_OK, TRUE);
#line 222 "gitg-author-details-dialog.c"
}


static void ___lambda81__gtk_editable_changed (GtkEditable* _sender, gpointer self) {
#line 114 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	__lambda81_ ((GitgAuthorDetailsDialog*) self, _sender);
#line 229 "gitg-author-details-dialog.c"
}


static void __lambda82_ (GitgAuthorDetailsDialog* self, GtkEditable* e) {
#line 118 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	g_return_if_fail (e != NULL);
#line 119 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	gtk_dialog_set_response_sensitive ((GtkDialog*) self, (gint) GTK_RESPONSE_OK, TRUE);
#line 238 "gitg-author-details-dialog.c"
}


static void ___lambda82__gtk_editable_changed (GtkEditable* _sender, gpointer self) {
#line 118 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	__lambda82_ ((GitgAuthorDetailsDialog*) self, _sender);
#line 245 "gitg-author-details-dialog.c"
}


static void gitg_author_details_dialog_real_show (GtkWidget* base) {
	GitgAuthorDetailsDialog * self;
	const gchar* _tmp0_ = NULL;
	gchar* author_name = NULL;
	gchar* _tmp18_ = NULL;
	gchar* author_email = NULL;
	gchar* _tmp19_ = NULL;
	const gchar* _tmp28_ = NULL;
	const gchar* _tmp33_ = NULL;
	GtkEntry* _tmp38_ = NULL;
	GtkEntry* _tmp39_ = NULL;
	GtkEntry* _tmp40_ = NULL;
	GtkEntry* _tmp41_ = NULL;
	GError * _inner_error_ = NULL;
#line 57 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	self = (GitgAuthorDetailsDialog*) base;
#line 59 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	GTK_WIDGET_CLASS (gitg_author_details_dialog_parent_class)->show ((GtkWidget*) G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
#line 60 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp0_ = self->priv->d_repository_name;
#line 60 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	if (_tmp0_ == NULL) {
#line 271 "gitg-author-details-dialog.c"
		GtkLabel* _tmp1_ = NULL;
		GtkLabel* _tmp2_ = NULL;
		GFile* _tmp3_ = NULL;
		GFile* _tmp4_ = NULL;
		gchar* _tmp5_ = NULL;
		gchar* _tmp6_ = NULL;
		gboolean _tmp7_ = FALSE;
#line 62 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp1_ = self->priv->d_label_view;
#line 62 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		gtk_widget_hide ((GtkWidget*) _tmp1_);
#line 63 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp2_ = self->priv->d_label_dash;
#line 63 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		gtk_widget_show ((GtkWidget*) _tmp2_);
#line 65 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp3_ = ggit_config_find_global ();
#line 65 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp4_ = _tmp3_;
#line 65 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp5_ = g_file_get_path (_tmp4_);
#line 65 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp6_ = _tmp5_;
#line 65 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp7_ = _tmp6_ == NULL;
#line 65 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_g_free0 (_tmp6_);
#line 65 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_g_object_unref0 (_tmp4_);
#line 65 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		if (_tmp7_) {
#line 303 "gitg-author-details-dialog.c"
			const gchar* _tmp8_ = NULL;
#line 67 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
			_tmp8_ = _ ("Unable to open the .gitconfig file.");
#line 67 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
			gitg_author_details_dialog_show_config_error (self, _tmp8_, "");
#line 68 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
			return;
#line 311 "gitg-author-details-dialog.c"
		}
	} else {
		GtkLabel* _tmp9_ = NULL;
		GtkLabel* _tmp10_ = NULL;
		const gchar* _tmp11_ = NULL;
		const gchar* _tmp12_ = NULL;
		const gchar* _tmp13_ = NULL;
		gchar* _tmp14_ = NULL;
		gchar* _tmp15_ = NULL;
		GtkLabel* _tmp16_ = NULL;
		GtkLabel* _tmp17_ = NULL;
#line 73 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp9_ = self->priv->d_label_view;
#line 73 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp10_ = self->priv->d_label_view;
#line 73 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp11_ = gtk_label_get_label (_tmp10_);
#line 73 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp12_ = _tmp11_;
#line 73 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp13_ = self->priv->d_repository_name;
#line 73 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp14_ = g_strdup_printf (_tmp12_, _tmp13_);
#line 73 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp15_ = _tmp14_;
#line 73 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		gtk_label_set_label (_tmp9_, _tmp15_);
#line 73 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_g_free0 (_tmp15_);
#line 75 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp16_ = self->priv->d_label_view;
#line 75 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		gtk_widget_show ((GtkWidget*) _tmp16_);
#line 76 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp17_ = self->priv->d_label_dash;
#line 76 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		gtk_widget_hide ((GtkWidget*) _tmp17_);
#line 349 "gitg-author-details-dialog.c"
	}
#line 79 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp18_ = g_strdup ("");
#line 79 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	author_name = _tmp18_;
#line 80 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp19_ = g_strdup ("");
#line 80 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	author_email = _tmp19_;
#line 359 "gitg-author-details-dialog.c"
	{
		const gchar* _tmp20_ = NULL;
		GgitConfig* _tmp21_ = NULL;
		const gchar* _tmp22_ = NULL;
		gchar* _tmp23_ = NULL;
#line 84 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp21_ = self->priv->d_config;
#line 84 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp22_ = ggit_config_get_string (_tmp21_, "user.name", &_inner_error_);
#line 84 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp20_ = _tmp22_;
#line 84 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 373 "gitg-author-details-dialog.c"
			goto __catch36_g_error;
		}
#line 84 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp23_ = g_strdup (_tmp20_);
#line 84 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_g_free0 (author_name);
#line 84 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		author_name = _tmp23_;
#line 382 "gitg-author-details-dialog.c"
	}
	goto __finally36;
	__catch36_g_error:
	{
#line 82 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		g_clear_error (&_inner_error_);
#line 82 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_inner_error_ = NULL;
#line 391 "gitg-author-details-dialog.c"
	}
	__finally36:
#line 82 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 82 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_g_free0 (author_email);
#line 82 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_g_free0 (author_name);
#line 82 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-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 82 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		g_clear_error (&_inner_error_);
#line 82 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		return;
#line 406 "gitg-author-details-dialog.c"
	}
	{
		const gchar* _tmp24_ = NULL;
		GgitConfig* _tmp25_ = NULL;
		const gchar* _tmp26_ = NULL;
		gchar* _tmp27_ = NULL;
#line 90 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp25_ = self->priv->d_config;
#line 90 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp26_ = ggit_config_get_string (_tmp25_, "user.email", &_inner_error_);
#line 90 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp24_ = _tmp26_;
#line 90 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 421 "gitg-author-details-dialog.c"
			goto __catch37_g_error;
		}
#line 90 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp27_ = g_strdup (_tmp24_);
#line 90 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_g_free0 (author_email);
#line 90 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		author_email = _tmp27_;
#line 430 "gitg-author-details-dialog.c"
	}
	goto __finally37;
	__catch37_g_error:
	{
#line 88 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		g_clear_error (&_inner_error_);
#line 88 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_inner_error_ = NULL;
#line 439 "gitg-author-details-dialog.c"
	}
	__finally37:
#line 88 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 88 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_g_free0 (author_email);
#line 88 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_g_free0 (author_name);
#line 88 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-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 88 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		g_clear_error (&_inner_error_);
#line 88 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		return;
#line 454 "gitg-author-details-dialog.c"
	}
#line 94 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp28_ = author_name;
#line 94 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	if (g_strcmp0 (_tmp28_, "") != 0) {
#line 460 "gitg-author-details-dialog.c"
		GtkEntry* _tmp29_ = NULL;
		const gchar* _tmp30_ = NULL;
		gchar* _tmp31_ = NULL;
		gchar* _tmp32_ = NULL;
#line 96 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp29_ = self->priv->d_input_name;
#line 96 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp30_ = author_name;
#line 96 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp31_ = string_chomp (_tmp30_);
#line 96 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp32_ = _tmp31_;
#line 96 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		gtk_entry_set_text (_tmp29_, _tmp32_);
#line 96 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_g_free0 (_tmp32_);
#line 477 "gitg-author-details-dialog.c"
	}
#line 99 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp33_ = author_email;
#line 99 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	if (g_strcmp0 (_tmp33_, "") != 0) {
#line 483 "gitg-author-details-dialog.c"
		GtkEntry* _tmp34_ = NULL;
		const gchar* _tmp35_ = NULL;
		gchar* _tmp36_ = NULL;
		gchar* _tmp37_ = NULL;
#line 101 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp34_ = self->priv->d_input_email;
#line 101 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp35_ = author_email;
#line 101 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp36_ = string_chomp (_tmp35_);
#line 101 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp37_ = _tmp36_;
#line 101 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		gtk_entry_set_text (_tmp34_, _tmp37_);
#line 101 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_g_free0 (_tmp37_);
#line 500 "gitg-author-details-dialog.c"
	}
#line 104 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	gtk_dialog_set_response_sensitive ((GtkDialog*) self, (gint) GTK_RESPONSE_OK, FALSE);
#line 106 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp38_ = self->priv->d_input_name;
#line 106 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	g_signal_connect_object (_tmp38_, "activate", (GCallback) ___lambda79__gtk_entry_activate, self, 0);
#line 110 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp39_ = self->priv->d_input_email;
#line 110 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	g_signal_connect_object (_tmp39_, "activate", (GCallback) ___lambda80__gtk_entry_activate, self, 0);
#line 114 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp40_ = self->priv->d_input_name;
#line 114 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	g_signal_connect_object ((GtkEditable*) _tmp40_, "changed", (GCallback) ___lambda81__gtk_editable_changed, self, 0);
#line 118 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp41_ = self->priv->d_input_email;
#line 118 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	g_signal_connect_object ((GtkEditable*) _tmp41_, "changed", (GCallback) ___lambda82__gtk_editable_changed, self, 0);
#line 57 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_g_free0 (author_email);
#line 57 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_g_free0 (author_name);
#line 524 "gitg-author-details-dialog.c"
}


static void gitg_author_details_dialog_real_response (GtkDialog* base, gint id) {
	GitgAuthorDetailsDialog * self;
	gint _tmp0_ = 0;
	GError * _inner_error_ = NULL;
#line 123 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	self = (GitgAuthorDetailsDialog*) base;
#line 124 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp0_ = id;
#line 124 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	if (_tmp0_ == ((gint) GTK_RESPONSE_OK)) {
#line 538 "gitg-author-details-dialog.c"
		{
			GtkEntry* _tmp1_ = NULL;
			const gchar* _tmp2_ = NULL;
			GtkEntry* _tmp7_ = NULL;
			const gchar* _tmp8_ = NULL;
#line 128 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
			_tmp1_ = self->priv->d_input_name;
#line 128 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
			_tmp2_ = gtk_entry_get_text (_tmp1_);
#line 128 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
			if (g_strcmp0 (_tmp2_, "") == 0) {
#line 550 "gitg-author-details-dialog.c"
				GgitConfig* _tmp3_ = NULL;
#line 130 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
				_tmp3_ = self->priv->d_config;
#line 130 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
				ggit_config_delete_entry (_tmp3_, "user.name", &_inner_error_);
#line 130 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 558 "gitg-author-details-dialog.c"
					goto __catch38_g_error;
				}
			} else {
				GgitConfig* _tmp4_ = NULL;
				GtkEntry* _tmp5_ = NULL;
				const gchar* _tmp6_ = NULL;
#line 134 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
				_tmp4_ = self->priv->d_config;
#line 134 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
				_tmp5_ = self->priv->d_input_name;
#line 134 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
				_tmp6_ = gtk_entry_get_text (_tmp5_);
#line 134 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
				ggit_config_set_string (_tmp4_, "user.name", _tmp6_, &_inner_error_);
#line 134 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 575 "gitg-author-details-dialog.c"
					goto __catch38_g_error;
				}
			}
#line 137 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
			_tmp7_ = self->priv->d_input_email;
#line 137 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
			_tmp8_ = gtk_entry_get_text (_tmp7_);
#line 137 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
			if (g_strcmp0 (_tmp8_, "") == 0) {
#line 585 "gitg-author-details-dialog.c"
				GgitConfig* _tmp9_ = NULL;
#line 139 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
				_tmp9_ = self->priv->d_config;
#line 139 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
				ggit_config_delete_entry (_tmp9_, "user.email", &_inner_error_);
#line 139 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 593 "gitg-author-details-dialog.c"
					goto __catch38_g_error;
				}
			} else {
				GgitConfig* _tmp10_ = NULL;
				GtkEntry* _tmp11_ = NULL;
				const gchar* _tmp12_ = NULL;
#line 143 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
				_tmp10_ = self->priv->d_config;
#line 143 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
				_tmp11_ = self->priv->d_input_email;
#line 143 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
				_tmp12_ = gtk_entry_get_text (_tmp11_);
#line 143 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
				ggit_config_set_string (_tmp10_, "user.email", _tmp12_, &_inner_error_);
#line 143 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 610 "gitg-author-details-dialog.c"
					goto __catch38_g_error;
				}
			}
		}
		goto __finally38;
		__catch38_g_error:
		{
			GError* e = NULL;
			const gchar* _tmp13_ = NULL;
			GError* _tmp14_ = NULL;
			const gchar* _tmp15_ = NULL;
#line 126 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
			e = _inner_error_;
#line 126 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
			_inner_error_ = NULL;
#line 148 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
			_tmp13_ = _ ("Failed to set Git user config.");
#line 148 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
			_tmp14_ = e;
#line 148 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
			_tmp15_ = _tmp14_->message;
#line 148 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
			gitg_author_details_dialog_show_config_error (self, _tmp13_, _tmp15_);
#line 149 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
			gtk_widget_destroy ((GtkWidget*) self);
#line 150 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
			_g_error_free0 (e);
#line 150 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
			return;
#line 640 "gitg-author-details-dialog.c"
		}
		__finally38:
#line 126 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 126 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-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 126 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
			g_clear_error (&_inner_error_);
#line 126 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
			return;
#line 651 "gitg-author-details-dialog.c"
		}
	}
#line 154 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	gtk_widget_destroy ((GtkWidget*) self);
#line 656 "gitg-author-details-dialog.c"
}


static Block26Data* block26_data_ref (Block26Data* _data26_) {
#line 157 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	g_atomic_int_inc (&_data26_->_ref_count_);
#line 157 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	return _data26_;
#line 665 "gitg-author-details-dialog.c"
}


static void block26_data_unref (void * _userdata_) {
	Block26Data* _data26_;
	_data26_ = (Block26Data*) _userdata_;
#line 157 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	if (g_atomic_int_dec_and_test (&_data26_->_ref_count_)) {
#line 674 "gitg-author-details-dialog.c"
		GitgAuthorDetailsDialog* self;
#line 157 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		self = _data26_->self;
#line 157 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_g_object_unref0 (_data26_->error_dialog);
#line 157 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		_g_object_unref0 (self);
#line 157 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
		g_slice_free (Block26Data, _data26_);
#line 684 "gitg-author-details-dialog.c"
	}
}


static void __lambda78_ (Block26Data* _data26_, GtkDialog* d, gint id) {
	GitgAuthorDetailsDialog* self;
#line 166 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	self = _data26_->self;
#line 166 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	g_return_if_fail (d != NULL);
#line 167 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	gtk_widget_destroy ((GtkWidget*) _data26_->error_dialog);
#line 697 "gitg-author-details-dialog.c"
}


static void ___lambda78__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) {
#line 166 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	__lambda78_ (self, _sender, response_id);
#line 704 "gitg-author-details-dialog.c"
}


static void gitg_author_details_dialog_show_config_error (GitgAuthorDetailsDialog* self, const gchar* primary_message, const gchar* secondary_message) {
	Block26Data* _data26_;
	const gchar* _tmp0_ = NULL;
	GtkMessageDialog* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
#line 157 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	g_return_if_fail (self != NULL);
#line 157 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	g_return_if_fail (primary_message != NULL);
#line 157 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	g_return_if_fail (secondary_message != NULL);
#line 157 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_data26_ = g_slice_new0 (Block26Data);
#line 157 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_data26_->_ref_count_ = 1;
#line 157 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_data26_->self = g_object_ref (self);
#line 159 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp0_ = primary_message;
#line 159 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp1_ = (GtkMessageDialog*) gtk_message_dialog_new ((GtkWindow*) self, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, _tmp0_);
#line 159 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	g_object_ref_sink (_tmp1_);
#line 159 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_data26_->error_dialog = _tmp1_;
#line 165 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp2_ = secondary_message;
#line 165 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	g_object_set (_data26_->error_dialog, "secondary-text", _tmp2_, NULL);
#line 166 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	g_signal_connect_data ((GtkDialog*) _data26_->error_dialog, "response", (GCallback) ___lambda78__gtk_dialog_response, block26_data_ref (_data26_), (GClosureNotify) block26_data_unref, 0);
#line 170 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	gtk_widget_show ((GtkWidget*) _data26_->error_dialog);
#line 157 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	block26_data_unref (_data26_);
#line 157 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_data26_ = NULL;
#line 745 "gitg-author-details-dialog.c"
}


static void gitg_author_details_dialog_class_init (GitgAuthorDetailsDialogClass * klass) {
	gint GitgAuthorDetailsDialog_private_offset;
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	gitg_author_details_dialog_parent_class = g_type_class_peek_parent (klass);
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	g_type_class_add_private (klass, sizeof (GitgAuthorDetailsDialogPrivate));
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	((GtkWidgetClass *) klass)->show = gitg_author_details_dialog_real_show;
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	((GtkDialogClass *) klass)->response = gitg_author_details_dialog_real_response;
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_author_details_dialog_finalize;
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	GitgAuthorDetailsDialog_private_offset = g_type_class_get_instance_private_offset (klass);
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/gitg/ui/gitg-author-details-dialog.ui");
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "input_name", FALSE, GitgAuthorDetailsDialog_private_offset + G_STRUCT_OFFSET (GitgAuthorDetailsDialogPrivate, d_input_name));
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "input_email", FALSE, GitgAuthorDetailsDialog_private_offset + G_STRUCT_OFFSET (GitgAuthorDetailsDialogPrivate, d_input_email));
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "label_view", FALSE, GitgAuthorDetailsDialog_private_offset + G_STRUCT_OFFSET (GitgAuthorDetailsDialogPrivate, d_label_view));
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "label_dash", FALSE, GitgAuthorDetailsDialog_private_offset + G_STRUCT_OFFSET (GitgAuthorDetailsDialogPrivate, d_label_dash));
#line 773 "gitg-author-details-dialog.c"
}


static void gitg_author_details_dialog_instance_init (GitgAuthorDetailsDialog * self) {
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	self->priv = GITG_AUTHOR_DETAILS_DIALOG_GET_PRIVATE (self);
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	gtk_widget_init_template (GTK_WIDGET (self));
#line 782 "gitg-author-details-dialog.c"
}


static void gitg_author_details_dialog_finalize (GObject* obj) {
	GitgAuthorDetailsDialog * self;
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_AUTHOR_DETAILS_DIALOG, GitgAuthorDetailsDialog);
#line 29 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_g_object_unref0 (self->priv->d_input_name);
#line 32 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_g_object_unref0 (self->priv->d_input_email);
#line 35 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_g_object_unref0 (self->priv->d_label_view);
#line 38 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_g_object_unref0 (self->priv->d_label_dash);
#line 40 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_g_free0 (self->priv->d_repository_name);
#line 42 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	_g_object_unref0 (self->priv->d_config);
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-author-details-dialog.vala"
	G_OBJECT_CLASS (gitg_author_details_dialog_parent_class)->finalize (obj);
#line 804 "gitg-author-details-dialog.c"
}


GType gitg_author_details_dialog_get_type (void) {
	static volatile gsize gitg_author_details_dialog_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_author_details_dialog_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgAuthorDetailsDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_author_details_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgAuthorDetailsDialog), 0, (GInstanceInitFunc) gitg_author_details_dialog_instance_init, NULL };
		GType gitg_author_details_dialog_type_id;
		gitg_author_details_dialog_type_id = g_type_register_static (gtk_dialog_get_type (), "GitgAuthorDetailsDialog", &g_define_type_info, 0);
		g_once_init_leave (&gitg_author_details_dialog_type_id__volatile, gitg_author_details_dialog_type_id);
	}
	return gitg_author_details_dialog_type_id__volatile;
}



