/* gitg-commit-action-create-branch.c generated by valac 0.34.7, the Vala compiler
 * generated from gitg-commit-action-create-branch.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 "libgitg-ext/libgitg-ext.h"
#include "libgitg/libgitg.h"
#include <stdlib.h>
#include <string.h>
#include <config.h>
#include <gtk/gtk.h>
#include <libgit2-glib/ggit.h>
#include <glib/gi18n-lib.h>


#define GITG_TYPE_COMMIT_ACTION_CREATE_BRANCH (gitg_commit_action_create_branch_get_type ())
#define GITG_COMMIT_ACTION_CREATE_BRANCH(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_COMMIT_ACTION_CREATE_BRANCH, GitgCommitActionCreateBranch))
#define GITG_COMMIT_ACTION_CREATE_BRANCH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_COMMIT_ACTION_CREATE_BRANCH, GitgCommitActionCreateBranchClass))
#define GITG_IS_COMMIT_ACTION_CREATE_BRANCH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_COMMIT_ACTION_CREATE_BRANCH))
#define GITG_IS_COMMIT_ACTION_CREATE_BRANCH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_COMMIT_ACTION_CREATE_BRANCH))
#define GITG_COMMIT_ACTION_CREATE_BRANCH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_COMMIT_ACTION_CREATE_BRANCH, GitgCommitActionCreateBranchClass))

typedef struct _GitgCommitActionCreateBranch GitgCommitActionCreateBranch;
typedef struct _GitgCommitActionCreateBranchClass GitgCommitActionCreateBranchClass;
typedef struct _GitgCommitActionCreateBranchPrivate GitgCommitActionCreateBranchPrivate;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

#define GITG_TYPE_CREATE_BRANCH_DIALOG (gitg_create_branch_dialog_get_type ())
#define GITG_CREATE_BRANCH_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_CREATE_BRANCH_DIALOG, GitgCreateBranchDialog))
#define GITG_CREATE_BRANCH_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_CREATE_BRANCH_DIALOG, GitgCreateBranchDialogClass))
#define GITG_IS_CREATE_BRANCH_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_CREATE_BRANCH_DIALOG))
#define GITG_IS_CREATE_BRANCH_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_CREATE_BRANCH_DIALOG))
#define GITG_CREATE_BRANCH_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_CREATE_BRANCH_DIALOG, GitgCreateBranchDialogClass))

typedef struct _GitgCreateBranchDialog GitgCreateBranchDialog;
typedef struct _GitgCreateBranchDialogClass GitgCreateBranchDialogClass;
typedef struct _Block36Data Block36Data;
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))

struct _GitgCommitActionCreateBranch {
	GObject parent_instance;
	GitgCommitActionCreateBranchPrivate * priv;
};

struct _GitgCommitActionCreateBranchClass {
	GObjectClass parent_class;
};

struct _GitgCommitActionCreateBranchPrivate {
	GitgExtApplication* _application;
	GitgExtRefActionInterface* _action_interface;
	GitgCommit* _commit;
};

struct _Block36Data {
	int _ref_count_;
	GitgCommitActionCreateBranch* self;
	GitgCreateBranchDialog* dlg;
};


static gpointer gitg_commit_action_create_branch_parent_class = NULL;
static GitgExtUIElementIface* gitg_commit_action_create_branch_gitg_ext_ui_element_parent_iface = NULL;
static GitgExtActionIface* gitg_commit_action_create_branch_gitg_ext_action_parent_iface = NULL;
static GitgExtCommitActionIface* gitg_commit_action_create_branch_gitg_ext_commit_action_parent_iface = NULL;

GType gitg_commit_action_create_branch_get_type (void) G_GNUC_CONST;
#define GITG_COMMIT_ACTION_CREATE_BRANCH_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_TYPE_COMMIT_ACTION_CREATE_BRANCH, GitgCommitActionCreateBranchPrivate))
enum  {
	GITG_COMMIT_ACTION_CREATE_BRANCH_DUMMY_PROPERTY,
	GITG_COMMIT_ACTION_CREATE_BRANCH_APPLICATION,
	GITG_COMMIT_ACTION_CREATE_BRANCH_ACTION_INTERFACE,
	GITG_COMMIT_ACTION_CREATE_BRANCH_COMMIT,
	GITG_COMMIT_ACTION_CREATE_BRANCH_ID,
	GITG_COMMIT_ACTION_CREATE_BRANCH_DISPLAY_NAME,
	GITG_COMMIT_ACTION_CREATE_BRANCH_DESCRIPTION
};
#define GITG_COMMIT_ACTION_CREATE_BRANCH_version VERSION
GitgCommitActionCreateBranch* gitg_commit_action_create_branch_new (GitgExtApplication* application, GitgExtRefActionInterface* action_interface, GitgCommit* commit);
GitgCommitActionCreateBranch* gitg_commit_action_create_branch_construct (GType object_type, GitgExtApplication* application, GitgExtRefActionInterface* action_interface, GitgCommit* commit);
static void gitg_commit_action_create_branch_real_activate (GitgExtUIElement* base);
GType gitg_create_branch_dialog_get_type (void) G_GNUC_CONST;
static Block36Data* block36_data_ref (Block36Data* _data36_);
static void block36_data_unref (void * _userdata_);
GitgCreateBranchDialog* gitg_create_branch_dialog_new (GtkWindow* parent);
GitgCreateBranchDialog* gitg_create_branch_dialog_construct (GType object_type, GtkWindow* parent);
static void __lambda147_ (Block36Data* _data36_, GtkDialog* d, gint resp);
gchar* gitg_create_branch_dialog_get_new_branch_name (GitgCreateBranchDialog* self);
static void ___lambda147__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self);
static void gitg_commit_action_create_branch_finalize (GObject* obj);
static void _vala_gitg_commit_action_create_branch_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_gitg_commit_action_create_branch_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);


GitgCommitActionCreateBranch* gitg_commit_action_create_branch_construct (GType object_type, GitgExtApplication* application, GitgExtRefActionInterface* action_interface, GitgCommit* commit) {
	GitgCommitActionCreateBranch * self = NULL;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtRefActionInterface* _tmp1_ = NULL;
	GitgCommit* _tmp2_ = NULL;
#line 32 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	g_return_val_if_fail (application != NULL, NULL);
#line 32 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	g_return_val_if_fail (action_interface != NULL, NULL);
#line 32 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	g_return_val_if_fail (commit != NULL, NULL);
#line 36 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_tmp0_ = application;
#line 36 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_tmp1_ = action_interface;
#line 36 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_tmp2_ = commit;
#line 36 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	self = (GitgCommitActionCreateBranch*) g_object_new (object_type, "application", _tmp0_, "action-interface", _tmp1_, "commit", _tmp2_, NULL);
#line 32 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	return self;
#line 137 "gitg-commit-action-create-branch.c"
}


GitgCommitActionCreateBranch* gitg_commit_action_create_branch_new (GitgExtApplication* application, GitgExtRefActionInterface* action_interface, GitgCommit* commit) {
#line 32 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	return gitg_commit_action_create_branch_construct (GITG_TYPE_COMMIT_ACTION_CREATE_BRANCH, application, action_interface, commit);
#line 144 "gitg-commit-action-create-branch.c"
}


static Block36Data* block36_data_ref (Block36Data* _data36_) {
#line 56 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	g_atomic_int_inc (&_data36_->_ref_count_);
#line 56 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	return _data36_;
#line 153 "gitg-commit-action-create-branch.c"
}


static void block36_data_unref (void * _userdata_) {
	Block36Data* _data36_;
	_data36_ = (Block36Data*) _userdata_;
#line 56 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	if (g_atomic_int_dec_and_test (&_data36_->_ref_count_)) {
#line 162 "gitg-commit-action-create-branch.c"
		GitgCommitActionCreateBranch* self;
#line 56 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		self = _data36_->self;
#line 56 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		_g_object_unref0 (_data36_->dlg);
#line 56 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		_g_object_unref0 (self);
#line 56 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		g_slice_free (Block36Data, _data36_);
#line 172 "gitg-commit-action-create-branch.c"
	}
}


static void __lambda147_ (Block36Data* _data36_, GtkDialog* d, gint resp) {
	GitgCommitActionCreateBranch* self;
	gint _tmp0_ = 0;
	GError * _inner_error_ = NULL;
#line 60 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	self = _data36_->self;
#line 60 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	g_return_if_fail (d != NULL);
#line 61 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_tmp0_ = resp;
#line 61 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	if (_tmp0_ == ((gint) GTK_RESPONSE_OK)) {
#line 189 "gitg-commit-action-create-branch.c"
		GgitBranch* branch = NULL;
		GitgRepository* repo = NULL;
		GitgExtApplication* _tmp1_ = NULL;
		GitgExtApplication* _tmp2_ = NULL;
		GitgExtApplication* _tmp3_ = NULL;
		GitgRepository* _tmp4_ = NULL;
		GitgRepository* _tmp5_ = NULL;
		GitgRepository* _tmp6_ = NULL;
		GgitBranch* _tmp23_ = NULL;
#line 63 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		branch = NULL;
#line 65 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		_tmp1_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 65 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		_tmp2_ = _tmp1_;
#line 65 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		_tmp3_ = _tmp2_;
#line 65 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		_tmp4_ = gitg_ext_application_get_repository (_tmp3_);
#line 65 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		_tmp5_ = _tmp4_;
#line 65 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		_tmp6_ = _tmp5_;
#line 65 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		_g_object_unref0 (_tmp3_);
#line 65 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		repo = _tmp6_;
#line 217 "gitg-commit-action-create-branch.c"
		{
			GitgBranch* _tmp7_ = NULL;
			GitgRepository* _tmp8_ = NULL;
			gchar* _tmp9_ = NULL;
			gchar* _tmp10_ = NULL;
			gchar* _tmp11_ = NULL;
			GitgCommit* _tmp12_ = NULL;
			GitgCommit* _tmp13_ = NULL;
			GitgBranch* _tmp14_ = NULL;
			GitgBranch* _tmp15_ = NULL;
			GitgBranch* _tmp16_ = NULL;
#line 69 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			_tmp8_ = repo;
#line 69 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			_tmp9_ = gitg_create_branch_dialog_get_new_branch_name (_data36_->dlg);
#line 69 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			_tmp10_ = _tmp9_;
#line 69 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			_tmp11_ = _tmp10_;
#line 69 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			_tmp12_ = gitg_ext_commit_action_get_commit ((GitgExtCommitAction*) self);
#line 69 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			_tmp13_ = _tmp12_;
#line 69 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			_tmp14_ = gitg_repository_create_branch (_tmp8_, _tmp11_, (GgitObject*) _tmp13_, GGIT_CREATE_NONE, &_inner_error_);
#line 69 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			_tmp15_ = _tmp14_;
#line 69 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			_g_free0 (_tmp11_);
#line 69 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			_tmp7_ = _tmp15_;
#line 69 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 251 "gitg-commit-action-create-branch.c"
				goto __catch55_g_error;
			}
#line 69 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			_tmp16_ = _tmp7_;
#line 69 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			_tmp7_ = NULL;
#line 69 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			_g_object_unref0 (branch);
#line 69 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			branch = (GgitBranch*) _tmp16_;
#line 67 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			_g_object_unref0 (_tmp7_);
#line 264 "gitg-commit-action-create-branch.c"
		}
		goto __finally55;
		__catch55_g_error:
		{
			GError* e = NULL;
			GitgExtApplication* _tmp17_ = NULL;
			GitgExtApplication* _tmp18_ = NULL;
			GitgExtApplication* _tmp19_ = NULL;
			const gchar* _tmp20_ = NULL;
			GError* _tmp21_ = NULL;
			const gchar* _tmp22_ = NULL;
#line 67 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			e = _inner_error_;
#line 67 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			_inner_error_ = NULL;
#line 75 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			_tmp17_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 75 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			_tmp18_ = _tmp17_;
#line 75 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			_tmp19_ = _tmp18_;
#line 75 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			_tmp20_ = _ ("Failed to create branch");
#line 75 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			_tmp21_ = e;
#line 75 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			_tmp22_ = _tmp21_->message;
#line 75 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			gitg_ext_application_show_infobar (_tmp19_, _tmp20_, _tmp22_, GTK_MESSAGE_ERROR);
#line 75 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			_g_object_unref0 (_tmp19_);
#line 67 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			_g_error_free0 (e);
#line 298 "gitg-commit-action-create-branch.c"
		}
		__finally55:
#line 67 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 67 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			_g_object_unref0 (repo);
#line 67 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			_g_object_unref0 (branch);
#line 67 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.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 67 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			g_clear_error (&_inner_error_);
#line 67 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			return;
#line 313 "gitg-commit-action-create-branch.c"
		}
#line 80 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		_tmp23_ = branch;
#line 80 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		if (_tmp23_ != NULL) {
#line 319 "gitg-commit-action-create-branch.c"
			GitgExtRefActionInterface* _tmp24_ = NULL;
			GitgExtRefActionInterface* _tmp25_ = NULL;
			GgitBranch* _tmp26_ = NULL;
#line 82 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			_tmp24_ = gitg_ext_commit_action_get_action_interface ((GitgExtCommitAction*) self);
#line 82 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			_tmp25_ = _tmp24_;
#line 82 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			_tmp26_ = branch;
#line 82 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
			gitg_ext_ref_action_interface_add_ref (_tmp25_, G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, GITG_TYPE_REF, GitgRef));
#line 331 "gitg-commit-action-create-branch.c"
		}
#line 61 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		_g_object_unref0 (repo);
#line 61 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		_g_object_unref0 (branch);
#line 337 "gitg-commit-action-create-branch.c"
	}
#line 86 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	gtk_widget_destroy ((GtkWidget*) _data36_->dlg);
#line 87 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	g_signal_emit_by_name ((GitgExtCommitAction*) self, "finished");
#line 343 "gitg-commit-action-create-branch.c"
}


static void ___lambda147__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) {
#line 60 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	__lambda147_ (self, _sender, response_id);
#line 350 "gitg-commit-action-create-branch.c"
}


static void gitg_commit_action_create_branch_real_activate (GitgExtUIElement* base) {
	GitgCommitActionCreateBranch * self;
	Block36Data* _data36_;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
	GtkWindow* _tmp2_ = NULL;
	GitgCreateBranchDialog* _tmp3_ = NULL;
	GitgCreateBranchDialog* _tmp4_ = NULL;
#line 56 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	self = (GitgCommitActionCreateBranch*) base;
#line 56 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_data36_ = g_slice_new0 (Block36Data);
#line 56 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_data36_->_ref_count_ = 1;
#line 56 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_data36_->self = g_object_ref (self);
#line 58 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 58 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_tmp1_ = _tmp0_;
#line 58 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_tmp2_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_window_get_type (), GtkWindow);
#line 58 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_tmp3_ = gitg_create_branch_dialog_new (_tmp2_);
#line 58 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	g_object_ref_sink (_tmp3_);
#line 58 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_tmp4_ = _tmp3_;
#line 58 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_g_object_unref0 (_tmp2_);
#line 58 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_data36_->dlg = _tmp4_;
#line 60 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	g_signal_connect_data ((GtkDialog*) _data36_->dlg, "response", (GCallback) ___lambda147__gtk_dialog_response, block36_data_ref (_data36_), (GClosureNotify) block36_data_unref, 0);
#line 90 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	gtk_widget_show ((GtkWidget*) _data36_->dlg);
#line 56 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	block36_data_unref (_data36_);
#line 56 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_data36_ = NULL;
#line 394 "gitg-commit-action-create-branch.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 28 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	return self ? g_object_ref (self) : NULL;
#line 401 "gitg-commit-action-create-branch.c"
}


static GitgExtApplication* gitg_commit_action_create_branch_real_get_application (GitgExtUIElement* base) {
	GitgExtApplication* result;
	GitgCommitActionCreateBranch* self;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
#line 28 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	self = (GitgCommitActionCreateBranch*) base;
#line 28 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_tmp0_ = self->priv->_application;
#line 28 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 28 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	result = _tmp1_;
#line 28 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	return result;
#line 420 "gitg-commit-action-create-branch.c"
}


static void gitg_commit_action_create_branch_real_set_application (GitgExtUIElement* base, GitgExtApplication* value) {
	GitgCommitActionCreateBranch* self;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
#line 28 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	self = (GitgCommitActionCreateBranch*) base;
#line 28 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_tmp0_ = value;
#line 28 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 28 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_g_object_unref0 (self->priv->_application);
#line 28 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	self->priv->_application = _tmp1_;
#line 28 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	g_object_notify ((GObject *) self, "application");
#line 440 "gitg-commit-action-create-branch.c"
}


static GitgExtRefActionInterface* gitg_commit_action_create_branch_real_get_action_interface (GitgExtCommitAction* base) {
	GitgExtRefActionInterface* result;
	GitgCommitActionCreateBranch* self;
	GitgExtRefActionInterface* _tmp0_ = NULL;
#line 29 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	self = (GitgCommitActionCreateBranch*) base;
#line 29 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_tmp0_ = self->priv->_action_interface;
#line 29 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	result = _tmp0_;
#line 29 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	return result;
#line 456 "gitg-commit-action-create-branch.c"
}


static void gitg_commit_action_create_branch_real_set_action_interface (GitgExtCommitAction* base, GitgExtRefActionInterface* value) {
	GitgCommitActionCreateBranch* self;
	GitgExtRefActionInterface* _tmp0_ = NULL;
	GitgExtRefActionInterface* _tmp1_ = NULL;
#line 29 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	self = (GitgCommitActionCreateBranch*) base;
#line 29 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_tmp0_ = value;
#line 29 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 29 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_g_object_unref0 (self->priv->_action_interface);
#line 29 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	self->priv->_action_interface = _tmp1_;
#line 29 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	g_object_notify ((GObject *) self, "action-interface");
#line 476 "gitg-commit-action-create-branch.c"
}


static GitgCommit* gitg_commit_action_create_branch_real_get_commit (GitgExtCommitAction* base) {
	GitgCommit* result;
	GitgCommitActionCreateBranch* self;
	GitgCommit* _tmp0_ = NULL;
#line 30 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	self = (GitgCommitActionCreateBranch*) base;
#line 30 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_tmp0_ = self->priv->_commit;
#line 30 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	result = _tmp0_;
#line 30 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	return result;
#line 492 "gitg-commit-action-create-branch.c"
}


static void gitg_commit_action_create_branch_real_set_commit (GitgExtCommitAction* base, GitgCommit* value) {
	GitgCommitActionCreateBranch* self;
	GitgCommit* _tmp0_ = NULL;
	GitgCommit* _tmp1_ = NULL;
#line 30 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	self = (GitgCommitActionCreateBranch*) base;
#line 30 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_tmp0_ = value;
#line 30 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 30 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_g_object_unref0 (self->priv->_commit);
#line 30 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	self->priv->_commit = _tmp1_;
#line 30 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	g_object_notify ((GObject *) self, "commit");
#line 512 "gitg-commit-action-create-branch.c"
}


static gchar* gitg_commit_action_create_branch_real_get_id (GitgExtUIElement* base) {
	gchar* result;
	GitgCommitActionCreateBranch* self;
	gchar* _tmp0_ = NULL;
#line 43 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	self = (GitgCommitActionCreateBranch*) base;
#line 43 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_tmp0_ = g_strdup ("/org/gnome/gitg/commit-actions/create-branch");
#line 43 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	result = _tmp0_;
#line 43 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	return result;
#line 528 "gitg-commit-action-create-branch.c"
}


static gchar* gitg_commit_action_create_branch_real_get_display_name (GitgExtUIElement* base) {
	gchar* result;
	GitgCommitActionCreateBranch* self;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 48 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	self = (GitgCommitActionCreateBranch*) base;
#line 48 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_tmp0_ = _ ("Create branch");
#line 48 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 48 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	result = _tmp1_;
#line 48 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	return result;
#line 547 "gitg-commit-action-create-branch.c"
}


static gchar* gitg_commit_action_create_branch_real_get_description (GitgExtUIElement* base) {
	gchar* result;
	GitgCommitActionCreateBranch* self;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 53 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	self = (GitgCommitActionCreateBranch*) base;
#line 53 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_tmp0_ = _ ("Create a new branch at the selected commit");
#line 53 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 53 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	result = _tmp1_;
#line 53 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	return result;
#line 566 "gitg-commit-action-create-branch.c"
}


static void gitg_commit_action_create_branch_class_init (GitgCommitActionCreateBranchClass * klass) {
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	gitg_commit_action_create_branch_parent_class = g_type_class_peek_parent (klass);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	g_type_class_add_private (klass, sizeof (GitgCommitActionCreateBranchPrivate));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_commit_action_create_branch_get_property;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_commit_action_create_branch_set_property;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_commit_action_create_branch_finalize;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_ACTION_CREATE_BRANCH_APPLICATION, g_param_spec_object ("application", "application", "application", GITG_EXT_TYPE_APPLICATION, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_ACTION_CREATE_BRANCH_ACTION_INTERFACE, g_param_spec_object ("action-interface", "action-interface", "action-interface", GITG_EXT_TYPE_REF_ACTION_INTERFACE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_ACTION_CREATE_BRANCH_COMMIT, g_param_spec_object ("commit", "commit", "commit", GITG_TYPE_COMMIT, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_ACTION_CREATE_BRANCH_ID, g_param_spec_string ("id", "id", "id", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_ACTION_CREATE_BRANCH_DISPLAY_NAME, g_param_spec_string ("display-name", "display-name", "display-name", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_ACTION_CREATE_BRANCH_DESCRIPTION, g_param_spec_string ("description", "description", "description", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 593 "gitg-commit-action-create-branch.c"
}


static void gitg_commit_action_create_branch_gitg_ext_ui_element_interface_init (GitgExtUIElementIface * iface) {
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	gitg_commit_action_create_branch_gitg_ext_ui_element_parent_iface = g_type_interface_peek_parent (iface);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	iface->activate = (void (*)(GitgExtUIElement*)) gitg_commit_action_create_branch_real_activate;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	iface->get_application = gitg_commit_action_create_branch_real_get_application;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	iface->set_application = gitg_commit_action_create_branch_real_set_application;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	iface->get_id = gitg_commit_action_create_branch_real_get_id;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	iface->get_display_name = gitg_commit_action_create_branch_real_get_display_name;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	iface->get_description = gitg_commit_action_create_branch_real_get_description;
#line 612 "gitg-commit-action-create-branch.c"
}


static void gitg_commit_action_create_branch_gitg_ext_action_interface_init (GitgExtActionIface * iface) {
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	gitg_commit_action_create_branch_gitg_ext_action_parent_iface = g_type_interface_peek_parent (iface);
#line 619 "gitg-commit-action-create-branch.c"
}


static void gitg_commit_action_create_branch_gitg_ext_commit_action_interface_init (GitgExtCommitActionIface * iface) {
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	gitg_commit_action_create_branch_gitg_ext_commit_action_parent_iface = g_type_interface_peek_parent (iface);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	iface->get_action_interface = gitg_commit_action_create_branch_real_get_action_interface;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	iface->set_action_interface = gitg_commit_action_create_branch_real_set_action_interface;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	iface->get_commit = gitg_commit_action_create_branch_real_get_commit;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	iface->set_commit = gitg_commit_action_create_branch_real_set_commit;
#line 634 "gitg-commit-action-create-branch.c"
}


static void gitg_commit_action_create_branch_instance_init (GitgCommitActionCreateBranch * self) {
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	self->priv = GITG_COMMIT_ACTION_CREATE_BRANCH_GET_PRIVATE (self);
#line 641 "gitg-commit-action-create-branch.c"
}


static void gitg_commit_action_create_branch_finalize (GObject* obj) {
	GitgCommitActionCreateBranch * self;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_COMMIT_ACTION_CREATE_BRANCH, GitgCommitActionCreateBranch);
#line 28 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_g_object_unref0 (self->priv->_application);
#line 29 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_g_object_unref0 (self->priv->_action_interface);
#line 30 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	_g_object_unref0 (self->priv->_commit);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	G_OBJECT_CLASS (gitg_commit_action_create_branch_parent_class)->finalize (obj);
#line 657 "gitg-commit-action-create-branch.c"
}


GType gitg_commit_action_create_branch_get_type (void) {
	static volatile gsize gitg_commit_action_create_branch_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_commit_action_create_branch_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgCommitActionCreateBranchClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_commit_action_create_branch_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgCommitActionCreateBranch), 0, (GInstanceInitFunc) gitg_commit_action_create_branch_instance_init, NULL };
		static const GInterfaceInfo gitg_ext_ui_element_info = { (GInterfaceInitFunc) gitg_commit_action_create_branch_gitg_ext_ui_element_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		static const GInterfaceInfo gitg_ext_action_info = { (GInterfaceInitFunc) gitg_commit_action_create_branch_gitg_ext_action_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		static const GInterfaceInfo gitg_ext_commit_action_info = { (GInterfaceInitFunc) gitg_commit_action_create_branch_gitg_ext_commit_action_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType gitg_commit_action_create_branch_type_id;
		gitg_commit_action_create_branch_type_id = g_type_register_static (G_TYPE_OBJECT, "GitgCommitActionCreateBranch", &g_define_type_info, 0);
		g_type_add_interface_static (gitg_commit_action_create_branch_type_id, GITG_EXT_TYPE_UI_ELEMENT, &gitg_ext_ui_element_info);
		g_type_add_interface_static (gitg_commit_action_create_branch_type_id, GITG_EXT_TYPE_ACTION, &gitg_ext_action_info);
		g_type_add_interface_static (gitg_commit_action_create_branch_type_id, GITG_EXT_TYPE_COMMIT_ACTION, &gitg_ext_commit_action_info);
		g_once_init_leave (&gitg_commit_action_create_branch_type_id__volatile, gitg_commit_action_create_branch_type_id);
	}
	return gitg_commit_action_create_branch_type_id__volatile;
}


static void _vala_gitg_commit_action_create_branch_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GitgCommitActionCreateBranch * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_COMMIT_ACTION_CREATE_BRANCH, GitgCommitActionCreateBranch);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	switch (property_id) {
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		case GITG_COMMIT_ACTION_CREATE_BRANCH_APPLICATION:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		g_value_take_object (value, gitg_ext_ui_element_get_application ((GitgExtUIElement*) self));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		break;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		case GITG_COMMIT_ACTION_CREATE_BRANCH_ACTION_INTERFACE:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		g_value_set_object (value, gitg_ext_commit_action_get_action_interface ((GitgExtCommitAction*) self));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		break;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		case GITG_COMMIT_ACTION_CREATE_BRANCH_COMMIT:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		g_value_set_object (value, gitg_ext_commit_action_get_commit ((GitgExtCommitAction*) self));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		break;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		case GITG_COMMIT_ACTION_CREATE_BRANCH_ID:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		g_value_take_string (value, gitg_ext_ui_element_get_id ((GitgExtUIElement*) self));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		break;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		case GITG_COMMIT_ACTION_CREATE_BRANCH_DISPLAY_NAME:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		g_value_take_string (value, gitg_ext_ui_element_get_display_name ((GitgExtUIElement*) self));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		break;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		case GITG_COMMIT_ACTION_CREATE_BRANCH_DESCRIPTION:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		g_value_take_string (value, gitg_ext_ui_element_get_description ((GitgExtUIElement*) self));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		break;
#line 720 "gitg-commit-action-create-branch.c"
		default:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		break;
#line 726 "gitg-commit-action-create-branch.c"
	}
}


static void _vala_gitg_commit_action_create_branch_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	GitgCommitActionCreateBranch * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_COMMIT_ACTION_CREATE_BRANCH, GitgCommitActionCreateBranch);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
	switch (property_id) {
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		case GITG_COMMIT_ACTION_CREATE_BRANCH_APPLICATION:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		gitg_ext_ui_element_set_application ((GitgExtUIElement*) self, g_value_get_object (value));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		break;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		case GITG_COMMIT_ACTION_CREATE_BRANCH_ACTION_INTERFACE:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		gitg_ext_commit_action_set_action_interface ((GitgExtCommitAction*) self, g_value_get_object (value));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		break;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		case GITG_COMMIT_ACTION_CREATE_BRANCH_COMMIT:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		gitg_ext_commit_action_set_commit ((GitgExtCommitAction*) self, g_value_get_object (value));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		break;
#line 754 "gitg-commit-action-create-branch.c"
		default:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-create-branch.vala"
		break;
#line 760 "gitg-commit-action-create-branch.c"
	}
}



