/* gitg-author-details-dialog.c generated by valac 0.28.0, 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 GITG_TYPE_WINDOW (gitg_window_get_type ())
#define GITG_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_WINDOW, GitgWindow))
#define GITG_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_WINDOW, GitgWindowClass))
#define GITG_IS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_WINDOW))
#define GITG_IS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_WINDOW))
#define GITG_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_WINDOW, GitgWindowClass))

typedef struct _GitgWindow GitgWindow;
typedef struct _GitgWindowClass GitgWindowClass;
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
typedef struct _Block30Data Block30Data;

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 _Block30Data {
	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);
GType gitg_window_get_type (void) G_GNUC_CONST;
GitgAuthorDetailsDialog* gitg_author_details_dialog_show_global (GitgWindow* window);
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 __lambda75_ (GitgAuthorDetailsDialog* self, GtkEntry* e);
static void ___lambda75__gtk_entry_activate (GtkEntry* _sender, gpointer self);
static void __lambda76_ (GitgAuthorDetailsDialog* self, GtkEntry* e);
static void ___lambda76__gtk_entry_activate (GtkEntry* _sender, gpointer self);
static void __lambda77_ (GitgAuthorDetailsDialog* self, GtkEditable* e);
static void ___lambda77__gtk_editable_changed (GtkEditable* _sender, gpointer self);
static void __lambda78_ (GitgAuthorDetailsDialog* self, GtkEditable* e);
static void ___lambda78__gtk_editable_changed (GtkEditable* _sender, gpointer self);
static void gitg_author_details_dialog_real_response (GtkDialog* base, gint id);
static Block30Data* block30_data_ref (Block30Data* _data30_);
static void block30_data_unref (void * _userdata_);
static void __lambda74_ (Block30Data* _data30_, GtkDialog* d, gint id);
static void ___lambda74__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/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	return self ? g_object_ref (self) : NULL;
#line 118 "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/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	g_return_val_if_fail (config != NULL, NULL);
#line 46 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	self = (GitgAuthorDetailsDialog*) g_object_new (object_type, "use-header-bar", 1, NULL);
#line 48 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp0_ = parent;
#line 48 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	if (_tmp0_ != NULL) {
#line 137 "gitg-author-details-dialog.c"
		GtkWindow* _tmp1_ = NULL;
#line 50 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp1_ = parent;
#line 50 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		gtk_window_set_transient_for ((GtkWindow*) self, _tmp1_);
#line 143 "gitg-author-details-dialog.c"
	}
#line 53 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp2_ = repository_name;
#line 53 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp3_ = g_strdup (_tmp2_);
#line 53 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_g_free0 (self->priv->d_repository_name);
#line 53 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	self->priv->d_repository_name = _tmp3_;
#line 54 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp4_ = config;
#line 54 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp5_ = _g_object_ref0 (_tmp4_);
#line 54 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_g_object_unref0 (self->priv->d_config);
#line 54 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	self->priv->d_config = _tmp5_;
#line 44 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	return self;
#line 163 "gitg-author-details-dialog.c"
}


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


GitgAuthorDetailsDialog* gitg_author_details_dialog_show_global (GitgWindow* window) {
	GitgAuthorDetailsDialog* result = NULL;
	GgitConfig* global_config = NULL;
	GitgAuthorDetailsDialog* author_details = NULL;
	GitgWindow* _tmp3_ = NULL;
	GgitConfig* _tmp4_ = NULL;
	GitgAuthorDetailsDialog* _tmp5_ = NULL;
	GitgAuthorDetailsDialog* _tmp6_ = NULL;
	GError * _inner_error_ = NULL;
#line 57 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	g_return_val_if_fail (window != NULL, NULL);
#line 59 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	global_config = NULL;
#line 187 "gitg-author-details-dialog.c"
	{
		GgitConfig* _tmp0_ = NULL;
		GgitConfig* _tmp1_ = NULL;
		GgitConfig* _tmp2_ = NULL;
#line 63 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp1_ = ggit_config_new_default (&_inner_error_);
#line 63 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp0_ = _tmp1_;
#line 63 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 198 "gitg-author-details-dialog.c"
			goto __catch38_g_error;
		}
#line 63 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp2_ = _tmp0_;
#line 63 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp0_ = NULL;
#line 63 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_g_object_unref0 (global_config);
#line 63 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		global_config = _tmp2_;
#line 61 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_g_object_unref0 (_tmp0_);
#line 211 "gitg-author-details-dialog.c"
	}
	goto __finally38;
	__catch38_g_error:
	{
		GError* e = NULL;
#line 61 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		e = _inner_error_;
#line 61 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_inner_error_ = NULL;
#line 67 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		result = NULL;
#line 67 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_g_error_free0 (e);
#line 67 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_g_object_unref0 (global_config);
#line 67 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		return result;
#line 229 "gitg-author-details-dialog.c"
	}
	__finally38:
#line 61 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 61 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_g_object_unref0 (global_config);
#line 61 "/home/jesse/devel/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 61 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		g_clear_error (&_inner_error_);
#line 61 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		return NULL;
#line 242 "gitg-author-details-dialog.c"
	}
#line 70 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp3_ = window;
#line 70 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp4_ = global_config;
#line 70 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp5_ = gitg_author_details_dialog_new ((GtkWindow*) _tmp3_, _tmp4_, NULL);
#line 70 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	g_object_ref_sink (_tmp5_);
#line 70 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	author_details = _tmp5_;
#line 71 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp6_ = author_details;
#line 71 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	gtk_widget_show ((GtkWidget*) _tmp6_);
#line 73 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	result = author_details;
#line 73 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_g_object_unref0 (global_config);
#line 73 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	return result;
#line 264 "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 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1100 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp0_ = g_strdup (self);
#line 1100 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_result_ = _tmp0_;
#line 1101 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp1_ = _result_;
#line 1101 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	g_strchomp (_tmp1_);
#line 1102 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	result = _result_;
#line 1102 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	return result;
#line 287 "gitg-author-details-dialog.c"
}


static void __lambda75_ (GitgAuthorDetailsDialog* self, GtkEntry* e) {
#line 131 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	g_return_if_fail (e != NULL);
#line 132 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	gtk_dialog_response ((GtkDialog*) self, (gint) GTK_RESPONSE_OK);
#line 296 "gitg-author-details-dialog.c"
}


static void ___lambda75__gtk_entry_activate (GtkEntry* _sender, gpointer self) {
#line 131 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	__lambda75_ ((GitgAuthorDetailsDialog*) self, _sender);
#line 303 "gitg-author-details-dialog.c"
}


static void __lambda76_ (GitgAuthorDetailsDialog* self, GtkEntry* e) {
#line 135 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	g_return_if_fail (e != NULL);
#line 136 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	gtk_dialog_response ((GtkDialog*) self, (gint) GTK_RESPONSE_OK);
#line 312 "gitg-author-details-dialog.c"
}


static void ___lambda76__gtk_entry_activate (GtkEntry* _sender, gpointer self) {
#line 135 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	__lambda76_ ((GitgAuthorDetailsDialog*) self, _sender);
#line 319 "gitg-author-details-dialog.c"
}


static void __lambda77_ (GitgAuthorDetailsDialog* self, GtkEditable* e) {
#line 139 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	g_return_if_fail (e != NULL);
#line 140 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	gtk_dialog_set_response_sensitive ((GtkDialog*) self, (gint) GTK_RESPONSE_OK, TRUE);
#line 328 "gitg-author-details-dialog.c"
}


static void ___lambda77__gtk_editable_changed (GtkEditable* _sender, gpointer self) {
#line 139 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	__lambda77_ ((GitgAuthorDetailsDialog*) self, _sender);
#line 335 "gitg-author-details-dialog.c"
}


static void __lambda78_ (GitgAuthorDetailsDialog* self, GtkEditable* e) {
#line 143 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	g_return_if_fail (e != NULL);
#line 144 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	gtk_dialog_set_response_sensitive ((GtkDialog*) self, (gint) GTK_RESPONSE_OK, TRUE);
#line 344 "gitg-author-details-dialog.c"
}


static void ___lambda78__gtk_editable_changed (GtkEditable* _sender, gpointer self) {
#line 143 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	__lambda78_ ((GitgAuthorDetailsDialog*) self, _sender);
#line 351 "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* _tmp30_ = NULL;
	const gchar* _tmp35_ = NULL;
	GtkEntry* _tmp40_ = NULL;
	GtkEntry* _tmp41_ = NULL;
	GtkEntry* _tmp42_ = NULL;
	GtkEntry* _tmp43_ = NULL;
	GError * _inner_error_ = NULL;
#line 76 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	self = (GitgAuthorDetailsDialog*) base;
#line 78 "/home/jesse/devel/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 79 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp0_ = self->priv->d_repository_name;
#line 79 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	if (_tmp0_ == NULL) {
#line 377 "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 81 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp1_ = self->priv->d_label_view;
#line 81 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		gtk_widget_hide ((GtkWidget*) _tmp1_);
#line 82 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp2_ = self->priv->d_label_dash;
#line 82 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		gtk_widget_show ((GtkWidget*) _tmp2_);
#line 84 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp3_ = ggit_config_find_global ();
#line 84 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp4_ = _tmp3_;
#line 84 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp5_ = g_file_get_path (_tmp4_);
#line 84 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp6_ = _tmp5_;
#line 84 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp7_ = _tmp6_ == NULL;
#line 84 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_g_free0 (_tmp6_);
#line 84 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_g_object_unref0 (_tmp4_);
#line 84 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		if (_tmp7_) {
#line 409 "gitg-author-details-dialog.c"
			const gchar* _tmp8_ = NULL;
#line 86 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			_tmp8_ = _ ("Unable to open the .gitconfig file.");
#line 86 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			gitg_author_details_dialog_show_config_error (self, _tmp8_, "");
#line 87 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			return;
#line 417 "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 92 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp9_ = self->priv->d_label_view;
#line 92 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp10_ = self->priv->d_label_view;
#line 92 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp11_ = gtk_label_get_label (_tmp10_);
#line 92 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp12_ = _tmp11_;
#line 92 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp13_ = self->priv->d_repository_name;
#line 92 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp14_ = g_strdup_printf (_tmp12_, _tmp13_);
#line 92 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp15_ = _tmp14_;
#line 92 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		gtk_label_set_label (_tmp9_, _tmp15_);
#line 92 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_g_free0 (_tmp15_);
#line 94 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp16_ = self->priv->d_label_view;
#line 94 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		gtk_widget_show ((GtkWidget*) _tmp16_);
#line 95 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp17_ = self->priv->d_label_dash;
#line 95 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		gtk_widget_hide ((GtkWidget*) _tmp17_);
#line 455 "gitg-author-details-dialog.c"
	}
#line 98 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp18_ = g_strdup ("");
#line 98 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	author_name = _tmp18_;
#line 99 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp19_ = g_strdup ("");
#line 99 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	author_email = _tmp19_;
#line 465 "gitg-author-details-dialog.c"
	{
		GgitConfig* config = NULL;
		GgitConfig* _tmp20_ = NULL;
		GgitConfig* _tmp21_ = NULL;
#line 103 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp20_ = self->priv->d_config;
#line 103 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp21_ = ggit_config_snapshot (_tmp20_, &_inner_error_);
#line 103 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		config = _tmp21_;
#line 103 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 478 "gitg-author-details-dialog.c"
			goto __catch39_g_error;
		}
		{
			const gchar* _tmp22_ = NULL;
			GgitConfig* _tmp23_ = NULL;
			const gchar* _tmp24_ = NULL;
			gchar* _tmp25_ = NULL;
#line 107 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			_tmp23_ = config;
#line 107 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			_tmp24_ = ggit_config_get_string (_tmp23_, "user.name", &_inner_error_);
#line 107 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			_tmp22_ = _tmp24_;
#line 107 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 494 "gitg-author-details-dialog.c"
				goto __catch40_g_error;
			}
#line 107 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			_tmp25_ = g_strdup (_tmp22_);
#line 107 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			_g_free0 (author_name);
#line 107 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			author_name = _tmp25_;
#line 503 "gitg-author-details-dialog.c"
		}
		goto __finally40;
		__catch40_g_error:
		{
#line 105 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			g_clear_error (&_inner_error_);
#line 105 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			_inner_error_ = NULL;
#line 512 "gitg-author-details-dialog.c"
		}
		__finally40:
#line 105 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 105 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			_g_object_unref0 (config);
#line 519 "gitg-author-details-dialog.c"
			goto __catch39_g_error;
		}
		{
			const gchar* _tmp26_ = NULL;
			GgitConfig* _tmp27_ = NULL;
			const gchar* _tmp28_ = NULL;
			gchar* _tmp29_ = NULL;
#line 112 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			_tmp27_ = config;
#line 112 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			_tmp28_ = ggit_config_get_string (_tmp27_, "user.email", &_inner_error_);
#line 112 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			_tmp26_ = _tmp28_;
#line 112 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 535 "gitg-author-details-dialog.c"
				goto __catch41_g_error;
			}
#line 112 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			_tmp29_ = g_strdup (_tmp26_);
#line 112 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			_g_free0 (author_email);
#line 112 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			author_email = _tmp29_;
#line 544 "gitg-author-details-dialog.c"
		}
		goto __finally41;
		__catch41_g_error:
		{
#line 110 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			g_clear_error (&_inner_error_);
#line 110 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			_inner_error_ = NULL;
#line 553 "gitg-author-details-dialog.c"
		}
		__finally41:
#line 110 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 110 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			_g_object_unref0 (config);
#line 560 "gitg-author-details-dialog.c"
			goto __catch39_g_error;
		}
#line 101 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_g_object_unref0 (config);
#line 565 "gitg-author-details-dialog.c"
	}
	goto __finally39;
	__catch39_g_error:
	{
#line 101 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		g_clear_error (&_inner_error_);
#line 101 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_inner_error_ = NULL;
#line 574 "gitg-author-details-dialog.c"
	}
	__finally39:
#line 101 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 101 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_g_free0 (author_email);
#line 101 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_g_free0 (author_name);
#line 101 "/home/jesse/devel/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 101 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		g_clear_error (&_inner_error_);
#line 101 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		return;
#line 589 "gitg-author-details-dialog.c"
	}
#line 119 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp30_ = author_name;
#line 119 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	if (g_strcmp0 (_tmp30_, "") != 0) {
#line 595 "gitg-author-details-dialog.c"
		GtkEntry* _tmp31_ = NULL;
		const gchar* _tmp32_ = NULL;
		gchar* _tmp33_ = NULL;
		gchar* _tmp34_ = NULL;
#line 121 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp31_ = self->priv->d_input_name;
#line 121 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp32_ = author_name;
#line 121 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp33_ = string_chomp (_tmp32_);
#line 121 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp34_ = _tmp33_;
#line 121 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		gtk_entry_set_text (_tmp31_, _tmp34_);
#line 121 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_g_free0 (_tmp34_);
#line 612 "gitg-author-details-dialog.c"
	}
#line 124 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp35_ = author_email;
#line 124 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	if (g_strcmp0 (_tmp35_, "") != 0) {
#line 618 "gitg-author-details-dialog.c"
		GtkEntry* _tmp36_ = NULL;
		const gchar* _tmp37_ = NULL;
		gchar* _tmp38_ = NULL;
		gchar* _tmp39_ = NULL;
#line 126 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp36_ = self->priv->d_input_email;
#line 126 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp37_ = author_email;
#line 126 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp38_ = string_chomp (_tmp37_);
#line 126 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_tmp39_ = _tmp38_;
#line 126 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		gtk_entry_set_text (_tmp36_, _tmp39_);
#line 126 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_g_free0 (_tmp39_);
#line 635 "gitg-author-details-dialog.c"
	}
#line 129 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	gtk_dialog_set_response_sensitive ((GtkDialog*) self, (gint) GTK_RESPONSE_OK, FALSE);
#line 131 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp40_ = self->priv->d_input_name;
#line 131 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	g_signal_connect_object (_tmp40_, "activate", (GCallback) ___lambda75__gtk_entry_activate, self, 0);
#line 135 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp41_ = self->priv->d_input_email;
#line 135 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	g_signal_connect_object (_tmp41_, "activate", (GCallback) ___lambda76__gtk_entry_activate, self, 0);
#line 139 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp42_ = self->priv->d_input_name;
#line 139 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	g_signal_connect_object ((GtkEditable*) _tmp42_, "changed", (GCallback) ___lambda77__gtk_editable_changed, self, 0);
#line 143 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp43_ = self->priv->d_input_email;
#line 143 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	g_signal_connect_object ((GtkEditable*) _tmp43_, "changed", (GCallback) ___lambda78__gtk_editable_changed, self, 0);
#line 76 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_g_free0 (author_email);
#line 76 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_g_free0 (author_name);
#line 659 "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 148 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	self = (GitgAuthorDetailsDialog*) base;
#line 149 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp0_ = id;
#line 149 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	if (_tmp0_ == ((gint) GTK_RESPONSE_OK)) {
#line 673 "gitg-author-details-dialog.c"
		{
			GtkEntry* _tmp1_ = NULL;
			const gchar* _tmp2_ = NULL;
			GtkEntry* _tmp7_ = NULL;
			const gchar* _tmp8_ = NULL;
#line 153 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			_tmp1_ = self->priv->d_input_name;
#line 153 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			_tmp2_ = gtk_entry_get_text (_tmp1_);
#line 153 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			if (g_strcmp0 (_tmp2_, "") == 0) {
#line 685 "gitg-author-details-dialog.c"
				GgitConfig* _tmp3_ = NULL;
#line 155 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
				_tmp3_ = self->priv->d_config;
#line 155 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
				ggit_config_delete_entry (_tmp3_, "user.name", &_inner_error_);
#line 155 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 693 "gitg-author-details-dialog.c"
					goto __catch42_g_error;
				}
			} else {
				GgitConfig* _tmp4_ = NULL;
				GtkEntry* _tmp5_ = NULL;
				const gchar* _tmp6_ = NULL;
#line 159 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
				_tmp4_ = self->priv->d_config;
#line 159 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
				_tmp5_ = self->priv->d_input_name;
#line 159 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
				_tmp6_ = gtk_entry_get_text (_tmp5_);
#line 159 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
				ggit_config_set_string (_tmp4_, "user.name", _tmp6_, &_inner_error_);
#line 159 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 710 "gitg-author-details-dialog.c"
					goto __catch42_g_error;
				}
			}
#line 162 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			_tmp7_ = self->priv->d_input_email;
#line 162 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			_tmp8_ = gtk_entry_get_text (_tmp7_);
#line 162 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			if (g_strcmp0 (_tmp8_, "") == 0) {
#line 720 "gitg-author-details-dialog.c"
				GgitConfig* _tmp9_ = NULL;
#line 164 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
				_tmp9_ = self->priv->d_config;
#line 164 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
				ggit_config_delete_entry (_tmp9_, "user.email", &_inner_error_);
#line 164 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 728 "gitg-author-details-dialog.c"
					goto __catch42_g_error;
				}
			} else {
				GgitConfig* _tmp10_ = NULL;
				GtkEntry* _tmp11_ = NULL;
				const gchar* _tmp12_ = NULL;
#line 168 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
				_tmp10_ = self->priv->d_config;
#line 168 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
				_tmp11_ = self->priv->d_input_email;
#line 168 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
				_tmp12_ = gtk_entry_get_text (_tmp11_);
#line 168 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
				ggit_config_set_string (_tmp10_, "user.email", _tmp12_, &_inner_error_);
#line 168 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 745 "gitg-author-details-dialog.c"
					goto __catch42_g_error;
				}
			}
		}
		goto __finally42;
		__catch42_g_error:
		{
			GError* e = NULL;
			const gchar* _tmp13_ = NULL;
			GError* _tmp14_ = NULL;
			const gchar* _tmp15_ = NULL;
#line 151 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			e = _inner_error_;
#line 151 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			_inner_error_ = NULL;
#line 173 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			_tmp13_ = _ ("Failed to set Git user config.");
#line 173 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			_tmp14_ = e;
#line 173 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			_tmp15_ = _tmp14_->message;
#line 173 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			gitg_author_details_dialog_show_config_error (self, _tmp13_, _tmp15_);
#line 174 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			gtk_widget_destroy ((GtkWidget*) self);
#line 175 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			_g_error_free0 (e);
#line 175 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			return;
#line 775 "gitg-author-details-dialog.c"
		}
		__finally42:
#line 151 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 151 "/home/jesse/devel/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 151 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			g_clear_error (&_inner_error_);
#line 151 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
			return;
#line 786 "gitg-author-details-dialog.c"
		}
	}
#line 179 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	gtk_widget_destroy ((GtkWidget*) self);
#line 791 "gitg-author-details-dialog.c"
}


static Block30Data* block30_data_ref (Block30Data* _data30_) {
#line 182 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	g_atomic_int_inc (&_data30_->_ref_count_);
#line 182 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	return _data30_;
#line 800 "gitg-author-details-dialog.c"
}


static void block30_data_unref (void * _userdata_) {
	Block30Data* _data30_;
	_data30_ = (Block30Data*) _userdata_;
#line 182 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	if (g_atomic_int_dec_and_test (&_data30_->_ref_count_)) {
#line 809 "gitg-author-details-dialog.c"
		GitgAuthorDetailsDialog* self;
#line 182 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		self = _data30_->self;
#line 182 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_g_object_unref0 (_data30_->error_dialog);
#line 182 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		_g_object_unref0 (self);
#line 182 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
		g_slice_free (Block30Data, _data30_);
#line 819 "gitg-author-details-dialog.c"
	}
}


static void __lambda74_ (Block30Data* _data30_, GtkDialog* d, gint id) {
	GitgAuthorDetailsDialog* self;
#line 191 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	self = _data30_->self;
#line 191 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	g_return_if_fail (d != NULL);
#line 192 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	gtk_widget_destroy ((GtkWidget*) _data30_->error_dialog);
#line 832 "gitg-author-details-dialog.c"
}


static void ___lambda74__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) {
#line 191 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	__lambda74_ (self, _sender, response_id);
#line 839 "gitg-author-details-dialog.c"
}


static void gitg_author_details_dialog_show_config_error (GitgAuthorDetailsDialog* self, const gchar* primary_message, const gchar* secondary_message) {
	Block30Data* _data30_;
	const gchar* _tmp0_ = NULL;
	GtkMessageDialog* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
#line 182 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	g_return_if_fail (self != NULL);
#line 182 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	g_return_if_fail (primary_message != NULL);
#line 182 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	g_return_if_fail (secondary_message != NULL);
#line 182 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_data30_ = g_slice_new0 (Block30Data);
#line 182 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_data30_->_ref_count_ = 1;
#line 182 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_data30_->self = g_object_ref (self);
#line 184 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp0_ = primary_message;
#line 184 "/home/jesse/devel/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 184 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	g_object_ref_sink (_tmp1_);
#line 184 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_data30_->error_dialog = _tmp1_;
#line 190 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_tmp2_ = secondary_message;
#line 190 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	g_object_set (_data30_->error_dialog, "secondary-text", _tmp2_, NULL);
#line 191 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	g_signal_connect_data ((GtkDialog*) _data30_->error_dialog, "response", (GCallback) ___lambda74__gtk_dialog_response, block30_data_ref (_data30_), (GClosureNotify) block30_data_unref, 0);
#line 195 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	gtk_widget_show ((GtkWidget*) _data30_->error_dialog);
#line 182 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	block30_data_unref (_data30_);
#line 182 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_data30_ = NULL;
#line 880 "gitg-author-details-dialog.c"
}


static void gitg_author_details_dialog_class_init (GitgAuthorDetailsDialogClass * klass) {
	gint GitgAuthorDetailsDialog_private_offset;
#line 23 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	gitg_author_details_dialog_parent_class = g_type_class_peek_parent (klass);
#line 23 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	g_type_class_add_private (klass, sizeof (GitgAuthorDetailsDialogPrivate));
#line 23 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	((GtkWidgetClass *) klass)->show = gitg_author_details_dialog_real_show;
#line 23 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	((GtkDialogClass *) klass)->response = gitg_author_details_dialog_real_response;
#line 23 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_author_details_dialog_finalize;
#line 23 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	GitgAuthorDetailsDialog_private_offset = g_type_class_get_instance_private_offset (klass);
#line 23 "/home/jesse/devel/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/jesse/devel/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/jesse/devel/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/jesse/devel/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/jesse/devel/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 908 "gitg-author-details-dialog.c"
}


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


static void gitg_author_details_dialog_finalize (GObject* obj) {
	GitgAuthorDetailsDialog * self;
#line 23 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_AUTHOR_DETAILS_DIALOG, GitgAuthorDetailsDialog);
#line 29 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_g_object_unref0 (self->priv->d_input_name);
#line 32 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_g_object_unref0 (self->priv->d_input_email);
#line 35 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_g_object_unref0 (self->priv->d_label_view);
#line 38 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_g_object_unref0 (self->priv->d_label_dash);
#line 40 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_g_free0 (self->priv->d_repository_name);
#line 42 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	_g_object_unref0 (self->priv->d_config);
#line 23 "/home/jesse/devel/gitg/gitg/gitg-author-details-dialog.vala"
	G_OBJECT_CLASS (gitg_author_details_dialog_parent_class)->finalize (obj);
#line 939 "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;
}



