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

/*
 * This file is part of gitg
 *
 * Copyright (C) 2014 - 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 <gio/gio.h>
#include <stdlib.h>
#include <string.h>
#include <config.h>
#include <pango/pango.h>
#include <glib/gi18n-lib.h>
#include <gdk/gdk.h>


#define GITG_TYPE_CREATE_TAG_DIALOG (gitg_create_tag_dialog_get_type ())
#define GITG_CREATE_TAG_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_CREATE_TAG_DIALOG, GitgCreateTagDialog))
#define GITG_CREATE_TAG_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_CREATE_TAG_DIALOG, GitgCreateTagDialogClass))
#define GITG_IS_CREATE_TAG_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_CREATE_TAG_DIALOG))
#define GITG_IS_CREATE_TAG_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_CREATE_TAG_DIALOG))
#define GITG_CREATE_TAG_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_CREATE_TAG_DIALOG, GitgCreateTagDialogClass))

typedef struct _GitgCreateTagDialog GitgCreateTagDialog;
typedef struct _GitgCreateTagDialogClass GitgCreateTagDialogClass;
typedef struct _GitgCreateTagDialogPrivate GitgCreateTagDialogPrivate;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define __vala_PangoFontDescription_free0(var) ((var == NULL) ? NULL : (var = (_vala_PangoFontDescription_free (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
typedef struct _Block31Data Block31Data;

struct _GitgCreateTagDialog {
	GtkDialog parent_instance;
	GitgCreateTagDialogPrivate * priv;
};

struct _GitgCreateTagDialogClass {
	GtkDialogClass parent_class;
};

struct _GitgCreateTagDialogPrivate {
	GtkButton* d_button_create;
	GtkEntry* d_entry_tag_name;
	GtkTextView* d_text_view_message;
	GtkTextTag* d_info_tag;
	gboolean d_is_showing_user_info;
	GSettings* d_font_settings;
};

struct _Block31Data {
	int _ref_count_;
	GitgCreateTagDialog* self;
	GtkTextBuffer* buf;
};


static gpointer gitg_create_tag_dialog_parent_class = NULL;

GType gitg_create_tag_dialog_get_type (void) G_GNUC_CONST;
#define GITG_CREATE_TAG_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_TYPE_CREATE_TAG_DIALOG, GitgCreateTagDialogPrivate))
enum  {
	GITG_CREATE_TAG_DIALOG_DUMMY_PROPERTY,
	GITG_CREATE_TAG_DIALOG_NEW_TAG_NAME,
	GITG_CREATE_TAG_DIALOG_NEW_TAG_MESSAGE
};
#define GITG_CREATE_TAG_DIALOG_version VERSION
static void gitg_create_tag_dialog_update_font_settings (GitgCreateTagDialog* self);
static void _vala_PangoFontDescription_free (PangoFontDescription* self);
static void gitg_create_tag_dialog_show_user_info (GitgCreateTagDialog* self);
static void gitg_create_tag_dialog_update_info_tag (GitgCreateTagDialog* self);
GitgCreateTagDialog* gitg_create_tag_dialog_new (GtkWindow* parent);
GitgCreateTagDialog* gitg_create_tag_dialog_construct (GType object_type, GtkWindow* parent);
gchar* gitg_create_tag_dialog_get_new_tag_name (GitgCreateTagDialog* self);
gchar* gitg_create_tag_dialog_get_new_tag_message (GitgCreateTagDialog* self);
static GObject * gitg_create_tag_dialog_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
static Block31Data* block31_data_ref (Block31Data* _data31_);
static void block31_data_unref (void * _userdata_);
static void _gitg_create_tag_dialog___lambda102_ (GitgCreateTagDialog* self, GSettings* s, const gchar* k);
static void __gitg_create_tag_dialog___lambda102__g_settings_changed (GSettings* _sender, const gchar* key, gpointer self);
static void _gitg_create_tag_dialog___lambda103_ (GitgCreateTagDialog* self);
static void __gitg_create_tag_dialog___lambda103__gtk_editable_changed (GtkEditable* _sender, gpointer self);
static void _gitg_create_tag_dialog___lambda104_ (GitgCreateTagDialog* self);
static void __gitg_create_tag_dialog___lambda104__gtk_widget_style_updated (GtkWidget* _sender, gpointer self);
static gboolean _gitg_create_tag_dialog___lambda105_ (Block31Data* _data31_);
static gboolean __gitg_create_tag_dialog___lambda105__gtk_widget_focus_in_event (GtkWidget* _sender, GdkEventFocus* event, gpointer self);
static gboolean _gitg_create_tag_dialog___lambda106_ (GitgCreateTagDialog* self);
static gboolean __gitg_create_tag_dialog___lambda106__gtk_widget_focus_out_event (GtkWidget* _sender, GdkEventFocus* event, gpointer self);
static void gitg_create_tag_dialog_finalize (GObject* obj);
static void _vala_gitg_create_tag_dialog_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);


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


static void gitg_create_tag_dialog_update_font_settings (GitgCreateTagDialog* self) {
	gchar* mfont = NULL;
	GSettings* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	PangoFontDescription* desc = NULL;
	PangoFontDescription* _tmp2_ = NULL;
	GtkTextView* _tmp3_ = NULL;
#line 88 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	g_return_if_fail (self != NULL);
#line 90 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp0_ = self->priv->d_font_settings;
#line 90 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp1_ = g_settings_get_string (_tmp0_, "monospace-font-name");
#line 90 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	mfont = _tmp1_;
#line 91 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp2_ = pango_font_description_from_string (mfont);
#line 91 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	desc = _tmp2_;
#line 93 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp3_ = self->priv->d_text_view_message;
#line 93 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	gtk_widget_override_font ((GtkWidget*) _tmp3_, desc);
#line 88 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	__vala_PangoFontDescription_free0 (desc);
#line 88 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_g_free0 (mfont);
#line 145 "gitg-create-tag-dialog.c"
}


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


static void gitg_create_tag_dialog_show_user_info (GitgCreateTagDialog* self) {
	GtkTextBuffer* buf = NULL;
	GtkTextView* _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};
	gboolean _tmp7_ = FALSE;
	GtkTextIter _tmp8_ = {0};
	gint _tmp9_ = 0;
#line 96 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	g_return_if_fail (self != NULL);
#line 98 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp0_ = self->priv->d_text_view_message;
#line 98 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp1_ = gtk_text_view_get_buffer (_tmp0_);
#line 98 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp2_ = _tmp1_;
#line 98 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 98 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	buf = _tmp3_;
#line 101 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp4_ = buf;
#line 101 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	gtk_text_buffer_get_bounds (_tmp4_, &_tmp5_, &_tmp6_);
#line 101 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	start = _tmp5_;
#line 101 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	end = _tmp6_;
#line 103 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp8_ = end;
#line 103 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp9_ = gtk_text_iter_compare (&start, &_tmp8_);
#line 103 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	if (_tmp9_ == 0) {
#line 196 "gitg-create-tag-dialog.c"
		GtkTextView* _tmp10_ = NULL;
		gboolean _tmp11_ = FALSE;
		gboolean _tmp12_ = FALSE;
#line 103 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		_tmp10_ = self->priv->d_text_view_message;
#line 103 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		g_object_get ((GtkWidget*) _tmp10_, "has-focus", &_tmp11_, NULL);
#line 103 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		_tmp12_ = _tmp11_;
#line 103 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		_tmp7_ = !_tmp12_;
#line 208 "gitg-create-tag-dialog.c"
	} else {
#line 103 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		_tmp7_ = FALSE;
#line 212 "gitg-create-tag-dialog.c"
	}
#line 103 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	if (_tmp7_) {
#line 216 "gitg-create-tag-dialog.c"
		GtkTextBuffer* _tmp13_ = NULL;
		const gchar* _tmp14_ = NULL;
		GtkTextTag* _tmp15_ = NULL;
#line 106 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		_tmp13_ = buf;
#line 106 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		_tmp14_ = _ ("Provide a message to create an annotated tag");
#line 106 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		_tmp15_ = self->priv->d_info_tag;
#line 106 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		gtk_text_buffer_insert_with_tags (_tmp13_, &start, _tmp14_, -1, _tmp15_, NULL);
#line 114 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		self->priv->d_is_showing_user_info = TRUE;
#line 230 "gitg-create-tag-dialog.c"
	} else {
#line 118 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		self->priv->d_is_showing_user_info = FALSE;
#line 234 "gitg-create-tag-dialog.c"
	}
#line 96 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_g_object_unref0 (buf);
#line 238 "gitg-create-tag-dialog.c"
}


static void gitg_create_tag_dialog_update_info_tag (GitgCreateTagDialog* self) {
	GtkStyleContext* ctx = NULL;
	GtkTextView* _tmp0_ = NULL;
	GtkStyleContext* _tmp1_ = NULL;
	GtkStyleContext* _tmp2_ = NULL;
	GtkTextTag* _tmp3_ = NULL;
	GdkRGBA _tmp4_ = {0};
#line 122 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	g_return_if_fail (self != NULL);
#line 124 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp0_ = self->priv->d_text_view_message;
#line 124 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp1_ = gtk_widget_get_style_context ((GtkWidget*) _tmp0_);
#line 124 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 124 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	ctx = _tmp2_;
#line 125 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp3_ = self->priv->d_info_tag;
#line 125 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	gtk_style_context_get_color (ctx, GTK_STATE_FLAG_INSENSITIVE, &_tmp4_);
#line 125 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	g_object_set (_tmp3_, "foreground-rgba", &_tmp4_, NULL);
#line 122 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_g_object_unref0 (ctx);
#line 267 "gitg-create-tag-dialog.c"
}


GitgCreateTagDialog* gitg_create_tag_dialog_construct (GType object_type, GtkWindow* parent) {
	GitgCreateTagDialog * self = NULL;
	GtkWindow* _tmp0_ = NULL;
#line 130 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	self = (GitgCreateTagDialog*) g_object_new (object_type, "use-header-bar", 1, NULL);
#line 132 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp0_ = parent;
#line 132 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	if (_tmp0_ != NULL) {
#line 280 "gitg-create-tag-dialog.c"
		GtkWindow* _tmp1_ = NULL;
#line 134 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		_tmp1_ = parent;
#line 134 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		gtk_window_set_transient_for ((GtkWindow*) self, _tmp1_);
#line 286 "gitg-create-tag-dialog.c"
	}
#line 128 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	return self;
#line 290 "gitg-create-tag-dialog.c"
}


GitgCreateTagDialog* gitg_create_tag_dialog_new (GtkWindow* parent) {
#line 128 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	return gitg_create_tag_dialog_construct (GITG_TYPE_CREATE_TAG_DIALOG, parent);
#line 297 "gitg-create-tag-dialog.c"
}


static gchar* string_strip (const gchar* self) {
	gchar* result = NULL;
	gchar* _result_ = NULL;
	gchar* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
#line 1115 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1116 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp0_ = g_strdup (self);
#line 1116 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_result_ = _tmp0_;
#line 1117 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp1_ = _result_;
#line 1117 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	g_strstrip (_tmp1_);
#line 1118 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	result = _result_;
#line 1118 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	return result;
#line 320 "gitg-create-tag-dialog.c"
}


gchar* gitg_create_tag_dialog_get_new_tag_name (GitgCreateTagDialog* self) {
	gchar* result;
	GtkEntry* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
#line 140 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 142 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp0_ = self->priv->d_entry_tag_name;
#line 142 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp1_ = gtk_entry_get_text (_tmp0_);
#line 142 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp2_ = _tmp1_;
#line 142 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp3_ = string_strip (_tmp2_);
#line 142 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	result = _tmp3_;
#line 142 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	return result;
#line 344 "gitg-create-tag-dialog.c"
}


gchar* gitg_create_tag_dialog_get_new_tag_message (GitgCreateTagDialog* self) {
	gchar* result;
	gboolean _tmp0_ = FALSE;
	GtkTextBuffer* buf = NULL;
	GtkTextView* _tmp2_ = NULL;
	GtkTextBuffer* _tmp3_ = NULL;
	GtkTextBuffer* _tmp4_ = NULL;
	GtkTextBuffer* _tmp5_ = NULL;
	GtkTextIter start = {0};
	GtkTextIter end = {0};
	GtkTextBuffer* _tmp6_ = NULL;
	GtkTextIter _tmp7_ = {0};
	GtkTextIter _tmp8_ = {0};
	GtkTextBuffer* _tmp9_ = NULL;
	GtkTextIter _tmp10_ = {0};
	GtkTextIter _tmp11_ = {0};
	gchar* _tmp12_ = NULL;
#line 148 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 150 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp0_ = self->priv->d_is_showing_user_info;
#line 150 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	if (_tmp0_) {
#line 371 "gitg-create-tag-dialog.c"
		gchar* _tmp1_ = NULL;
#line 152 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		_tmp1_ = g_strdup ("");
#line 152 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		result = _tmp1_;
#line 152 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		return result;
#line 379 "gitg-create-tag-dialog.c"
	}
#line 155 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp2_ = self->priv->d_text_view_message;
#line 155 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp3_ = gtk_text_view_get_buffer (_tmp2_);
#line 155 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp4_ = _tmp3_;
#line 155 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp5_ = _g_object_ref0 (_tmp4_);
#line 155 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	buf = _tmp5_;
#line 158 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp6_ = buf;
#line 158 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	gtk_text_buffer_get_bounds (_tmp6_, &_tmp7_, &_tmp8_);
#line 158 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	start = _tmp7_;
#line 158 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	end = _tmp8_;
#line 160 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp9_ = buf;
#line 160 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp10_ = start;
#line 160 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp11_ = end;
#line 160 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp12_ = gtk_text_buffer_get_text (_tmp9_, &_tmp10_, &_tmp11_, FALSE);
#line 160 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	result = _tmp12_;
#line 160 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_g_object_unref0 (buf);
#line 160 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	return result;
#line 413 "gitg-create-tag-dialog.c"
}


static Block31Data* block31_data_ref (Block31Data* _data31_) {
#line 42 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	g_atomic_int_inc (&_data31_->_ref_count_);
#line 42 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	return _data31_;
#line 422 "gitg-create-tag-dialog.c"
}


static void block31_data_unref (void * _userdata_) {
	Block31Data* _data31_;
	_data31_ = (Block31Data*) _userdata_;
#line 42 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	if (g_atomic_int_dec_and_test (&_data31_->_ref_count_)) {
#line 431 "gitg-create-tag-dialog.c"
		GitgCreateTagDialog* self;
#line 42 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		self = _data31_->self;
#line 42 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		_g_object_unref0 (_data31_->buf);
#line 42 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		_g_object_unref0 (self);
#line 42 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		g_slice_free (Block31Data, _data31_);
#line 441 "gitg-create-tag-dialog.c"
	}
}


static void _gitg_create_tag_dialog___lambda102_ (GitgCreateTagDialog* self, GSettings* s, const gchar* k) {
#line 48 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	g_return_if_fail (s != NULL);
#line 48 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	g_return_if_fail (k != NULL);
#line 49 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	gitg_create_tag_dialog_update_font_settings (self);
#line 453 "gitg-create-tag-dialog.c"
}


static void __gitg_create_tag_dialog___lambda102__g_settings_changed (GSettings* _sender, const gchar* key, gpointer self) {
#line 48 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_gitg_create_tag_dialog___lambda102_ ((GitgCreateTagDialog*) self, _sender, key);
#line 460 "gitg-create-tag-dialog.c"
}


static void _gitg_create_tag_dialog___lambda103_ (GitgCreateTagDialog* self) {
	GtkButton* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	gint _tmp4_ = 0;
	gint _tmp5_ = 0;
#line 53 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp0_ = self->priv->d_button_create;
#line 53 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp1_ = gitg_create_tag_dialog_get_new_tag_name (self);
#line 53 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp2_ = _tmp1_;
#line 53 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp3_ = _tmp2_;
#line 53 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp4_ = strlen (_tmp3_);
#line 53 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp5_ = _tmp4_;
#line 53 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp0_, _tmp5_ != 0);
#line 53 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_g_free0 (_tmp3_);
#line 487 "gitg-create-tag-dialog.c"
}


static void __gitg_create_tag_dialog___lambda103__gtk_editable_changed (GtkEditable* _sender, gpointer self) {
#line 52 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_gitg_create_tag_dialog___lambda103_ ((GitgCreateTagDialog*) self);
#line 494 "gitg-create-tag-dialog.c"
}


static void _gitg_create_tag_dialog___lambda104_ (GitgCreateTagDialog* self) {
#line 62 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	gitg_create_tag_dialog_update_info_tag (self);
#line 501 "gitg-create-tag-dialog.c"
}


static void __gitg_create_tag_dialog___lambda104__gtk_widget_style_updated (GtkWidget* _sender, gpointer self) {
#line 61 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_gitg_create_tag_dialog___lambda104_ ((GitgCreateTagDialog*) self);
#line 508 "gitg-create-tag-dialog.c"
}


static gboolean _gitg_create_tag_dialog___lambda105_ (Block31Data* _data31_) {
	GitgCreateTagDialog* self;
	gboolean result = FALSE;
	gboolean _tmp0_ = FALSE;
#line 65 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	self = _data31_->self;
#line 66 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp0_ = self->priv->d_is_showing_user_info;
#line 66 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	if (_tmp0_) {
#line 522 "gitg-create-tag-dialog.c"
		GtkTextIter start = {0};
		GtkTextIter end = {0};
		GtkTextBuffer* _tmp1_ = NULL;
		GtkTextIter _tmp2_ = {0};
		GtkTextIter _tmp3_ = {0};
		GtkTextBuffer* _tmp4_ = NULL;
#line 69 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		_tmp1_ = _data31_->buf;
#line 69 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		gtk_text_buffer_get_bounds (_tmp1_, &_tmp2_, &_tmp3_);
#line 69 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		start = _tmp2_;
#line 69 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		end = _tmp3_;
#line 71 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		_tmp4_ = _data31_->buf;
#line 71 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		gtk_text_buffer_delete (_tmp4_, &start, &end);
#line 541 "gitg-create-tag-dialog.c"
	}
#line 74 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	result = FALSE;
#line 74 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	return result;
#line 547 "gitg-create-tag-dialog.c"
}


static gboolean __gitg_create_tag_dialog___lambda105__gtk_widget_focus_in_event (GtkWidget* _sender, GdkEventFocus* event, gpointer self) {
	gboolean result;
	result = _gitg_create_tag_dialog___lambda105_ (self);
#line 65 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	return result;
#line 556 "gitg-create-tag-dialog.c"
}


static gboolean _gitg_create_tag_dialog___lambda106_ (GitgCreateTagDialog* self) {
	gboolean result = FALSE;
#line 78 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	gitg_create_tag_dialog_show_user_info (self);
#line 79 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	result = FALSE;
#line 79 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	return result;
#line 568 "gitg-create-tag-dialog.c"
}


static gboolean __gitg_create_tag_dialog___lambda106__gtk_widget_focus_out_event (GtkWidget* _sender, GdkEventFocus* event, gpointer self) {
	gboolean result;
	result = _gitg_create_tag_dialog___lambda106_ ((GitgCreateTagDialog*) self);
#line 77 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	return result;
#line 577 "gitg-create-tag-dialog.c"
}


static GObject * gitg_create_tag_dialog_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) {
	GObject * obj;
	GObjectClass * parent_class;
	GitgCreateTagDialog * self;
	Block31Data* _data31_;
	GSettings* _tmp0_ = NULL;
	GSettings* _tmp1_ = NULL;
	GtkEntry* _tmp2_ = NULL;
	GtkButton* _tmp3_ = NULL;
	GtkTextView* _tmp4_ = NULL;
	GtkTextBuffer* _tmp5_ = NULL;
	GtkTextBuffer* _tmp6_ = NULL;
	GtkTextBuffer* _tmp7_ = NULL;
	GtkTextBuffer* _tmp8_ = NULL;
	GtkTextTag* _tmp9_ = NULL;
	GtkTextTag* _tmp10_ = NULL;
	GtkTextView* _tmp11_ = NULL;
	GtkTextView* _tmp12_ = NULL;
	GtkTextView* _tmp13_ = NULL;
#line 42 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	parent_class = G_OBJECT_CLASS (gitg_create_tag_dialog_parent_class);
#line 42 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 42 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_CREATE_TAG_DIALOG, GitgCreateTagDialog);
#line 42 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_data31_ = g_slice_new0 (Block31Data);
#line 42 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_data31_->_ref_count_ = 1;
#line 42 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_data31_->self = g_object_ref (self);
#line 44 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp0_ = g_settings_new ("org.gnome.desktop.interface");
#line 44 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_g_object_unref0 (self->priv->d_font_settings);
#line 44 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	self->priv->d_font_settings = _tmp0_;
#line 46 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	gitg_create_tag_dialog_update_font_settings (self);
#line 48 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp1_ = self->priv->d_font_settings;
#line 48 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	g_signal_connect_object (_tmp1_, "changed::monospace-font-name", (GCallback) __gitg_create_tag_dialog___lambda102__g_settings_changed, self, 0);
#line 52 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp2_ = self->priv->d_entry_tag_name;
#line 52 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	g_signal_connect_object ((GtkEditable*) _tmp2_, "changed", (GCallback) __gitg_create_tag_dialog___lambda103__gtk_editable_changed, self, 0);
#line 56 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp3_ = self->priv->d_button_create;
#line 56 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	gtk_window_set_default ((GtkWindow*) self, (GtkWidget*) _tmp3_);
#line 58 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp4_ = self->priv->d_text_view_message;
#line 58 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp5_ = gtk_text_view_get_buffer (_tmp4_);
#line 58 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp6_ = _tmp5_;
#line 58 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp7_ = _g_object_ref0 (_tmp6_);
#line 58 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_data31_->buf = _tmp7_;
#line 59 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp8_ = _data31_->buf;
#line 59 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp9_ = gtk_text_buffer_create_tag (_tmp8_, "info", NULL);
#line 59 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp10_ = _g_object_ref0 (_tmp9_);
#line 59 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_g_object_unref0 (self->priv->d_info_tag);
#line 59 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	self->priv->d_info_tag = _tmp10_;
#line 61 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp11_ = self->priv->d_text_view_message;
#line 61 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	g_signal_connect_object ((GtkWidget*) _tmp11_, "style-updated", (GCallback) __gitg_create_tag_dialog___lambda104__gtk_widget_style_updated, self, 0);
#line 65 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp12_ = self->priv->d_text_view_message;
#line 65 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	g_signal_connect_data ((GtkWidget*) _tmp12_, "focus-in-event", (GCallback) __gitg_create_tag_dialog___lambda105__gtk_widget_focus_in_event, block31_data_ref (_data31_), (GClosureNotify) block31_data_unref, 0);
#line 77 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_tmp13_ = self->priv->d_text_view_message;
#line 77 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	g_signal_connect_object ((GtkWidget*) _tmp13_, "focus-out-event", (GCallback) __gitg_create_tag_dialog___lambda106__gtk_widget_focus_out_event, self, 0);
#line 82 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	gitg_create_tag_dialog_update_info_tag (self);
#line 83 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	gitg_create_tag_dialog_show_user_info (self);
#line 85 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	gtk_dialog_set_default_response ((GtkDialog*) self, (gint) GTK_RESPONSE_OK);
#line 42 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	block31_data_unref (_data31_);
#line 42 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_data31_ = NULL;
#line 42 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	return obj;
#line 676 "gitg-create-tag-dialog.c"
}


static void gitg_create_tag_dialog_class_init (GitgCreateTagDialogClass * klass) {
	gint GitgCreateTagDialog_private_offset;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	gitg_create_tag_dialog_parent_class = g_type_class_peek_parent (klass);
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	g_type_class_add_private (klass, sizeof (GitgCreateTagDialogPrivate));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_create_tag_dialog_get_property;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	G_OBJECT_CLASS (klass)->constructor = gitg_create_tag_dialog_constructor;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_create_tag_dialog_finalize;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_CREATE_TAG_DIALOG_NEW_TAG_NAME, g_param_spec_string ("new-tag-name", "new-tag-name", "new-tag-name", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_CREATE_TAG_DIALOG_NEW_TAG_MESSAGE, g_param_spec_string ("new-tag-message", "new-tag-message", "new-tag-message", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	GitgCreateTagDialog_private_offset = g_type_class_get_instance_private_offset (klass);
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/gitg/ui/gitg-create-tag-dialog.ui");
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_button_create", FALSE, GitgCreateTagDialog_private_offset + G_STRUCT_OFFSET (GitgCreateTagDialogPrivate, d_button_create));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_entry_tag_name", FALSE, GitgCreateTagDialog_private_offset + G_STRUCT_OFFSET (GitgCreateTagDialogPrivate, d_entry_tag_name));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_text_view_message", FALSE, GitgCreateTagDialog_private_offset + G_STRUCT_OFFSET (GitgCreateTagDialogPrivate, d_text_view_message));
#line 706 "gitg-create-tag-dialog.c"
}


static void gitg_create_tag_dialog_instance_init (GitgCreateTagDialog * self) {
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	self->priv = GITG_CREATE_TAG_DIALOG_GET_PRIVATE (self);
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	gtk_widget_init_template (GTK_WIDGET (self));
#line 715 "gitg-create-tag-dialog.c"
}


static void gitg_create_tag_dialog_finalize (GObject* obj) {
	GitgCreateTagDialog * self;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_CREATE_TAG_DIALOG, GitgCreateTagDialog);
#line 30 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_g_object_unref0 (self->priv->d_button_create);
#line 33 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_g_object_unref0 (self->priv->d_entry_tag_name);
#line 36 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_g_object_unref0 (self->priv->d_text_view_message);
#line 38 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_g_object_unref0 (self->priv->d_info_tag);
#line 40 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	_g_object_unref0 (self->priv->d_font_settings);
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	G_OBJECT_CLASS (gitg_create_tag_dialog_parent_class)->finalize (obj);
#line 735 "gitg-create-tag-dialog.c"
}


GType gitg_create_tag_dialog_get_type (void) {
	static volatile gsize gitg_create_tag_dialog_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_create_tag_dialog_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgCreateTagDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_create_tag_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgCreateTagDialog), 0, (GInstanceInitFunc) gitg_create_tag_dialog_instance_init, NULL };
		GType gitg_create_tag_dialog_type_id;
		gitg_create_tag_dialog_type_id = g_type_register_static (gtk_dialog_get_type (), "GitgCreateTagDialog", &g_define_type_info, 0);
		g_once_init_leave (&gitg_create_tag_dialog_type_id__volatile, gitg_create_tag_dialog_type_id);
	}
	return gitg_create_tag_dialog_type_id__volatile;
}


static void _vala_gitg_create_tag_dialog_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GitgCreateTagDialog * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_CREATE_TAG_DIALOG, GitgCreateTagDialog);
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
	switch (property_id) {
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		case GITG_CREATE_TAG_DIALOG_NEW_TAG_NAME:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		g_value_take_string (value, gitg_create_tag_dialog_get_new_tag_name (self));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		case GITG_CREATE_TAG_DIALOG_NEW_TAG_MESSAGE:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		g_value_take_string (value, gitg_create_tag_dialog_get_new_tag_message (self));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		break;
#line 768 "gitg-create-tag-dialog.c"
		default:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/gitg-create-tag-dialog.vala"
		break;
#line 774 "gitg-create-tag-dialog.c"
	}
}



