/* gitg-commit-action-cherry-pick.c generated by valac 0.32.1, the Vala compiler
 * generated from gitg-commit-action-cherry-pick.vala, do not modify */

/*
 * This file is part of gitg
 *
 * Copyright (C) 2015 - 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 <gee.h>
#include <libgit2-glib/ggit.h>
#include <gio/gio.h>
#include <gtk/gtk.h>
#include <glib/gi18n-lib.h>
#include <glib/gstdio.h>


#define GITG_TYPE_COMMIT_ACTION_CHERRY_PICK (gitg_commit_action_cherry_pick_get_type ())
#define GITG_COMMIT_ACTION_CHERRY_PICK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_COMMIT_ACTION_CHERRY_PICK, GitgCommitActionCherryPick))
#define GITG_COMMIT_ACTION_CHERRY_PICK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_COMMIT_ACTION_CHERRY_PICK, GitgCommitActionCherryPickClass))
#define GITG_IS_COMMIT_ACTION_CHERRY_PICK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_COMMIT_ACTION_CHERRY_PICK))
#define GITG_IS_COMMIT_ACTION_CHERRY_PICK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_COMMIT_ACTION_CHERRY_PICK))
#define GITG_COMMIT_ACTION_CHERRY_PICK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_COMMIT_ACTION_CHERRY_PICK, GitgCommitActionCherryPickClass))

typedef struct _GitgCommitActionCherryPick GitgCommitActionCherryPick;
typedef struct _GitgCommitActionCherryPickClass GitgCommitActionCherryPickClass;
typedef struct _GitgCommitActionCherryPickPrivate GitgCommitActionCherryPickPrivate;

#define GITG_TYPE_ACTION_SUPPORT (gitg_action_support_get_type ())
#define GITG_ACTION_SUPPORT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_ACTION_SUPPORT, GitgActionSupport))
#define GITG_ACTION_SUPPORT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_ACTION_SUPPORT, GitgActionSupportClass))
#define GITG_IS_ACTION_SUPPORT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_ACTION_SUPPORT))
#define GITG_IS_ACTION_SUPPORT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_ACTION_SUPPORT))
#define GITG_ACTION_SUPPORT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_ACTION_SUPPORT, GitgActionSupportClass))

typedef struct _GitgActionSupport GitgActionSupport;
typedef struct _GitgActionSupportClass GitgActionSupportClass;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define __vala_GgitOId_free0(var) ((var == NULL) ? NULL : (var = (_vala_GgitOId_free (var), NULL)))

#define GITG_TYPE_SIMPLE_NOTIFICATION (gitg_simple_notification_get_type ())
#define GITG_SIMPLE_NOTIFICATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_SIMPLE_NOTIFICATION, GitgSimpleNotification))
#define GITG_SIMPLE_NOTIFICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_SIMPLE_NOTIFICATION, GitgSimpleNotificationClass))
#define GITG_IS_SIMPLE_NOTIFICATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_SIMPLE_NOTIFICATION))
#define GITG_IS_SIMPLE_NOTIFICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_SIMPLE_NOTIFICATION))
#define GITG_SIMPLE_NOTIFICATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_SIMPLE_NOTIFICATION, GitgSimpleNotificationClass))

typedef struct _GitgSimpleNotification GitgSimpleNotification;
typedef struct _GitgSimpleNotificationClass GitgSimpleNotificationClass;
typedef struct _Block39Data Block39Data;
#define __vala_GgitMergeOptions_free0(var) ((var == NULL) ? NULL : (var = (_vala_GgitMergeOptions_free (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
typedef struct _GitgCommitActionCherryPickCreateIndexData GitgCommitActionCherryPickCreateIndexData;
typedef struct _GitgCommitActionCherryPickCheckoutConflictsData GitgCommitActionCherryPickCheckoutConflictsData;
typedef struct _GitgCommitActionCherryPickCherryPickData GitgCommitActionCherryPickCherryPickData;
typedef struct _Block40Data Block40Data;

struct _GitgCommitActionCherryPick {
	GObject parent_instance;
	GitgCommitActionCherryPickPrivate * priv;
};

struct _GitgCommitActionCherryPickClass {
	GObjectClass parent_class;
};

struct _GitgCommitActionCherryPickPrivate {
	GitgExtApplication* _application;
	GitgExtRefActionInterface* _action_interface;
	GitgCommit* _commit;
	GitgRef** d_destinations;
	gint d_destinations_length1;
	gint _d_destinations_size_;
	GitgActionSupport* d_support;
};

struct _Block39Data {
	int _ref_count_;
	GitgCommitActionCherryPick* self;
	GitgCommit* theirs;
	GgitMergeOptions* merge_options;
	GgitIndex* index;
	gpointer _async_data_;
};

struct _GitgCommitActionCherryPickCreateIndexData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgCommitActionCherryPick* self;
	GitgSimpleNotification* notification;
	GitgRef* destination;
	GgitIndex* result;
	Block39Data* _data39_;
	gchar* theirs_name;
	GitgRef* _tmp0_;
	GitgParsedRefName* _tmp1_;
	GitgParsedRefName* _tmp2_;
	GitgParsedRefName* _tmp3_;
	gchar* _tmp4_;
	gchar* _tmp5_;
	gchar* _tmp6_;
	GgitObject* _tmp7_;
	GitgRef* _tmp8_;
	GgitObject* _tmp9_;
	GgitObject* _tmp10_;
	GitgCommit* _tmp11_;
	GError* e;
	GitgSimpleNotification* _tmp12_;
	const gchar* _tmp13_;
	const gchar* _tmp14_;
	const gchar* _tmp15_;
	gchar* _tmp16_;
	gchar* _tmp17_;
	GError* _tmp18_;
	const gchar* _tmp19_;
	gchar* _tmp20_;
	gchar* _tmp21_;
	GgitMergeOptions* _tmp22_;
	GError* _vala1_e;
	GitgSimpleNotification* _tmp23_;
	const gchar* _tmp24_;
	GError* _tmp25_;
	const gchar* _tmp26_;
	gchar* _tmp27_;
	gchar* _tmp28_;
	GgitIndex* _tmp29_;
	GgitIndex* _tmp30_;
	GError * _inner_error_;
};

struct _GitgCommitActionCherryPickCheckoutConflictsData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgCommitActionCherryPick* self;
	GitgSimpleNotification* notification;
	GgitIndex* index;
	GitgRef* destination;
	gboolean result;
	gchar* ours_name;
	GitgCommit* _tmp0_;
	GitgCommit* _tmp1_;
	GgitOId* _tmp2_;
	GgitOId* _tmp3_;
	gchar* _tmp4_;
	gchar* _tmp5_;
	gchar* _tmp6_;
	gchar* _tmp7_;
	gchar* theirs_name;
	GitgRef* _tmp8_;
	GitgParsedRefName* _tmp9_;
	GitgParsedRefName* _tmp10_;
	GitgParsedRefName* _tmp11_;
	gchar* _tmp12_;
	gchar* _tmp13_;
	gchar* _tmp14_;
	GitgSimpleNotification* _tmp15_;
	const gchar* _tmp16_;
	GitgRef* head;
	gboolean ishead;
	GitgActionSupport* _tmp17_;
	GitgRef* _tmp18_;
	gboolean _tmp19_;
	gchar* message;
	gboolean _tmp20_;
	const gchar* _tmp21_;
	const gchar* _tmp22_;
	const gchar* _tmp23_;
	gchar* _tmp24_;
	gchar* _tmp25_;
	const gchar* _tmp26_;
	const gchar* _tmp27_;
	gchar* _tmp28_;
	gchar* _tmp29_;
	const gchar* _tmp30_;
	const gchar* _tmp31_;
	gchar* _tmp32_;
	gchar* _tmp33_;
	gchar* _tmp34_;
	const gchar* _tmp35_;
	const gchar* _tmp36_;
	const gchar* _tmp37_;
	gchar* _tmp38_;
	gchar* _tmp39_;
	const gchar* _tmp40_;
	const gchar* _tmp41_;
	gchar* _tmp42_;
	gchar* _tmp43_;
	gchar* _tmp44_;
	GitgExtUserQuery* q;
	const gchar* _tmp45_;
	const gchar* _tmp46_;
	const gchar* _tmp47_;
	const gchar* _tmp48_;
	GitgExtUserQuery* _tmp49_;
	GitgExtApplication* _tmp50_;
	GitgExtApplication* _tmp51_;
	GitgExtApplication* _tmp52_;
	GitgExtUserQuery* _tmp53_;
	GtkResponseType _tmp54_;
	gboolean _tmp55_;
	GitgSimpleNotification* _tmp56_;
	const gchar* _tmp57_;
	GitgActionSupport* _tmp58_;
	GitgSimpleNotification* _tmp59_;
	GitgRef* _tmp60_;
	GgitIndex* _tmp61_;
	GitgRef* _tmp62_;
	gboolean _tmp63_;
	GitgSimpleNotification* _tmp64_;
	const gchar* _tmp65_;
};

struct _GitgCommitActionCherryPickCherryPickData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgCommitActionCherryPick* self;
	GitgRef* destination;
	GgitOId* id;
	GitgCommit* _tmp0_;
	GitgCommit* _tmp1_;
	GgitOId* _tmp2_;
	gchar* shortid;
	GgitOId* _tmp3_;
	gchar* _tmp4_;
	gchar* _tmp5_;
	gchar* _tmp6_;
	gchar* _tmp7_;
	gchar* name;
	GitgRef* _tmp8_;
	GitgParsedRefName* _tmp9_;
	GitgParsedRefName* _tmp10_;
	GitgParsedRefName* _tmp11_;
	gchar* _tmp12_;
	gchar* _tmp13_;
	gchar* _tmp14_;
	GitgSimpleNotification* notification;
	const gchar* _tmp15_;
	const gchar* _tmp16_;
	const gchar* _tmp17_;
	gchar* _tmp18_;
	gchar* _tmp19_;
	const gchar* _tmp20_;
	const gchar* _tmp21_;
	gchar* _tmp22_;
	gchar* _tmp23_;
	gchar* _tmp24_;
	gchar* _tmp25_;
	GitgSimpleNotification* _tmp26_;
	GitgSimpleNotification* _tmp27_;
	GitgExtApplication* _tmp28_;
	GitgExtApplication* _tmp29_;
	GitgExtApplication* _tmp30_;
	GitgExtNotifications* _tmp31_;
	GitgExtNotifications* _tmp32_;
	GitgExtNotifications* _tmp33_;
	GitgSimpleNotification* _tmp34_;
	GgitIndex* index;
	GitgSimpleNotification* _tmp35_;
	GitgRef* _tmp36_;
	GgitIndex* _tmp37_;
	GgitIndex* _tmp38_;
	GgitIndex* _tmp39_;
	gboolean _tmp40_;
	GitgSimpleNotification* _tmp41_;
	GgitIndex* _tmp42_;
	GitgRef* _tmp43_;
	GgitOId* oid;
	GitgActionSupport* _tmp44_;
	GitgSimpleNotification* _tmp45_;
	GitgRef* _tmp46_;
	GgitIndex* _tmp47_;
	GitgCommit* _tmp48_;
	GitgCommit* _tmp49_;
	GgitSignature* _tmp50_;
	GgitSignature* _tmp51_;
	GitgCommit* _tmp52_;
	GitgCommit* _tmp53_;
	const gchar* _tmp54_;
	GgitOId* _tmp55_;
	GgitOId* _tmp56_;
	GgitOId* _tmp57_;
	GitgSimpleNotification* _tmp58_;
	const gchar* _tmp59_;
};

struct _Block40Data {
	int _ref_count_;
	GitgCommitActionCherryPick* self;
	GitgRef* dest;
};


static gpointer gitg_commit_action_cherry_pick_parent_class = NULL;
static GitgExtUIElementIface* gitg_commit_action_cherry_pick_gitg_ext_ui_element_parent_iface = NULL;
static GitgExtActionIface* gitg_commit_action_cherry_pick_gitg_ext_action_parent_iface = NULL;
static GitgExtCommitActionIface* gitg_commit_action_cherry_pick_gitg_ext_commit_action_parent_iface = NULL;

GType gitg_commit_action_cherry_pick_get_type (void) G_GNUC_CONST;
GType gitg_action_support_get_type (void) G_GNUC_CONST;
#define GITG_COMMIT_ACTION_CHERRY_PICK_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_TYPE_COMMIT_ACTION_CHERRY_PICK, GitgCommitActionCherryPickPrivate))
enum  {
	GITG_COMMIT_ACTION_CHERRY_PICK_DUMMY_PROPERTY,
	GITG_COMMIT_ACTION_CHERRY_PICK_APPLICATION,
	GITG_COMMIT_ACTION_CHERRY_PICK_ACTION_INTERFACE,
	GITG_COMMIT_ACTION_CHERRY_PICK_COMMIT,
	GITG_COMMIT_ACTION_CHERRY_PICK_ID,
	GITG_COMMIT_ACTION_CHERRY_PICK_DISPLAY_NAME,
	GITG_COMMIT_ACTION_CHERRY_PICK_DESCRIPTION,
	GITG_COMMIT_ACTION_CHERRY_PICK_AVAILABLE,
	GITG_COMMIT_ACTION_CHERRY_PICK_ENABLED
};
#define GITG_COMMIT_ACTION_CHERRY_PICK_version VERSION
GitgCommitActionCherryPick* gitg_commit_action_cherry_pick_new (GitgExtApplication* application, GitgExtRefActionInterface* action_interface, GitgCommit* commit);
GitgCommitActionCherryPick* gitg_commit_action_cherry_pick_construct (GType object_type, GitgExtApplication* application, GitgExtRefActionInterface* action_interface, GitgCommit* commit);
GitgActionSupport* gitg_action_support_new (GitgExtApplication* application, GitgExtRefActionInterface* action_interface);
GitgActionSupport* gitg_action_support_construct (GType object_type, GitgExtApplication* application, GitgExtRefActionInterface* action_interface);
static void gitg_commit_action_cherry_pick_ensure_destinations (GitgCommitActionCherryPick* self);
static void _vala_GgitOId_free (GgitOId* self);
static void _vala_array_add11 (GitgRef*** array, int* length, int* size, GitgRef* value);
static void gitg_commit_action_cherry_pick_create_index_data_free (gpointer _data);
GType gitg_simple_notification_get_type (void) G_GNUC_CONST;
static void gitg_commit_action_cherry_pick_create_index (GitgCommitActionCherryPick* self, GitgSimpleNotification* notification, GitgRef* destination, GAsyncReadyCallback _callback_, gpointer _user_data_);
static GgitIndex* gitg_commit_action_cherry_pick_create_index_finish (GitgCommitActionCherryPick* self, GAsyncResult* _res_);
static gboolean gitg_commit_action_cherry_pick_create_index_co (GitgCommitActionCherryPickCreateIndexData* _data_);
static Block39Data* block39_data_ref (Block39Data* _data39_);
static void _vala_GgitMergeOptions_free (GgitMergeOptions* self);
static void block39_data_unref (void * _userdata_);
void gitg_simple_notification_error (GitgSimpleNotification* self, const gchar* message);
static void ___lambda155_ (Block39Data* _data39_, GError** error);
static void ____lambda155__gitg_async_thread_func (gpointer self, GError** error);
static void gitg_commit_action_cherry_pick_create_index_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void gitg_commit_action_cherry_pick_checkout_conflicts_data_free (gpointer _data);
static void gitg_commit_action_cherry_pick_checkout_conflicts (GitgCommitActionCherryPick* self, GitgSimpleNotification* notification, GgitIndex* index, GitgRef* destination, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean gitg_commit_action_cherry_pick_checkout_conflicts_finish (GitgCommitActionCherryPick* self, GAsyncResult* _res_);
static gboolean gitg_commit_action_cherry_pick_checkout_conflicts_co (GitgCommitActionCherryPickCheckoutConflictsData* _data_);
void gitg_simple_notification_set_message (GitgSimpleNotification* self, const gchar* value);
gboolean gitg_action_support_reference_is_head (GitgActionSupport* self, GitgRef* reference, GitgRef** head);
static void gitg_commit_action_cherry_pick_checkout_conflicts_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
void gitg_action_support_checkout_conflicts (GitgActionSupport* self, GitgSimpleNotification* notification, GitgRef* reference, GgitIndex* index, GitgRef* head, GAsyncReadyCallback _callback_, gpointer _user_data_);
gboolean gitg_action_support_checkout_conflicts_finish (GitgActionSupport* self, GAsyncResult* _res_);
static void gitg_commit_action_cherry_pick_write_cherry_pick_state_files (GitgCommitActionCherryPick* self);
void gitg_simple_notification_success (GitgSimpleNotification* self, const gchar* message);
static void gitg_commit_action_cherry_pick_cherry_pick_data_free (gpointer _data);
void gitg_commit_action_cherry_pick_cherry_pick (GitgCommitActionCherryPick* self, GitgRef* destination, GAsyncReadyCallback _callback_, gpointer _user_data_);
void gitg_commit_action_cherry_pick_cherry_pick_finish (GitgCommitActionCherryPick* self, GAsyncResult* _res_);
static gboolean gitg_commit_action_cherry_pick_cherry_pick_co (GitgCommitActionCherryPickCherryPickData* _data_);
GitgSimpleNotification* gitg_simple_notification_new (const gchar* title, const gchar* message);
GitgSimpleNotification* gitg_simple_notification_construct (GType object_type, const gchar* title, const gchar* message);
static void gitg_commit_action_cherry_pick_cherry_pick_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
void gitg_action_support_commit_index (GitgActionSupport* self, GitgSimpleNotification* notification, GitgRef* reference, GgitIndex* index, GgitOId** parents, int parents_length1, GgitSignature* author, const gchar* message, GAsyncReadyCallback _callback_, gpointer _user_data_);
GgitOId* gitg_action_support_commit_index_finish (GitgActionSupport* self, GAsyncResult* _res_);
static void gitg_commit_action_cherry_pick_activate_destination (GitgCommitActionCherryPick* self, GitgRef* destination);
static void __lambda156_ (GitgCommitActionCherryPick* self, GObject* obj, GAsyncResult* res);
static void ___lambda156__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void gitg_commit_action_cherry_pick_real_populate_menu (GitgExtAction* base, GtkMenu* menu);
static Block40Data* block40_data_ref (Block40Data* _data40_);
static void block40_data_unref (void * _userdata_);
static void ____lambda157_ (Block40Data* _data40_);
static void _____lambda157__gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self);
static void gitg_commit_action_cherry_pick_real_activate (GitgExtUIElement* base);
static void gitg_commit_action_cherry_pick_finalize (GObject* obj);
static void _vala_gitg_commit_action_cherry_pick_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_gitg_commit_action_cherry_pick_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);


GitgCommitActionCherryPick* gitg_commit_action_cherry_pick_construct (GType object_type, GitgExtApplication* application, GitgExtRefActionInterface* action_interface, GitgCommit* commit) {
	GitgCommitActionCherryPick * self = NULL;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtRefActionInterface* _tmp1_ = NULL;
	GitgCommit* _tmp2_ = NULL;
	GitgExtApplication* _tmp3_ = NULL;
	GitgExtRefActionInterface* _tmp4_ = NULL;
	GitgActionSupport* _tmp5_ = NULL;
#line 35 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_return_val_if_fail (application != NULL, NULL);
#line 35 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_return_val_if_fail (action_interface != NULL, NULL);
#line 35 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_return_val_if_fail (commit != NULL, NULL);
#line 39 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp0_ = application;
#line 39 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp1_ = action_interface;
#line 39 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp2_ = commit;
#line 39 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	self = (GitgCommitActionCherryPick*) g_object_new (object_type, "application", _tmp0_, "action-interface", _tmp1_, "commit", _tmp2_, NULL);
#line 43 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp3_ = application;
#line 43 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp4_ = action_interface;
#line 43 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp5_ = gitg_action_support_new (_tmp3_, _tmp4_);
#line 43 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (self->priv->d_support);
#line 43 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	self->priv->d_support = _tmp5_;
#line 35 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	return self;
#line 430 "gitg-commit-action-cherry-pick.c"
}


GitgCommitActionCherryPick* gitg_commit_action_cherry_pick_new (GitgExtApplication* application, GitgExtRefActionInterface* action_interface, GitgCommit* commit) {
#line 35 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	return gitg_commit_action_cherry_pick_construct (GITG_TYPE_COMMIT_ACTION_CHERRY_PICK, application, action_interface, commit);
#line 437 "gitg-commit-action-cherry-pick.c"
}


static void _vala_GgitOId_free (GgitOId* self) {
#line 97 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_boxed_free (ggit_oid_get_type (), self);
#line 444 "gitg-commit-action-cherry-pick.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 99 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	return self ? g_object_ref (self) : NULL;
#line 451 "gitg-commit-action-cherry-pick.c"
}


static void _vala_array_add11 (GitgRef*** array, int* length, int* size, GitgRef* value) {
#line 99 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	if ((*length) == (*size)) {
#line 99 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 99 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		*array = g_renew (GitgRef*, *array, (*size) + 1);
#line 462 "gitg-commit-action-cherry-pick.c"
	}
#line 99 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	(*array)[(*length)++] = value;
#line 99 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	(*array)[*length] = NULL;
#line 468 "gitg-commit-action-cherry-pick.c"
}


static void gitg_commit_action_cherry_pick_ensure_destinations (GitgCommitActionCherryPick* self) {
	GitgRef** _tmp0_ = NULL;
	gint _tmp0__length1 = 0;
	GitgRef** _tmp1_ = NULL;
	GError * _inner_error_ = NULL;
#line 80 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_return_if_fail (self != NULL);
#line 82 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp0_ = self->priv->d_destinations;
#line 82 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp0__length1 = self->priv->d_destinations_length1;
#line 82 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	if (_tmp0_ != NULL) {
#line 84 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		return;
#line 487 "gitg-commit-action-cherry-pick.c"
	}
#line 87 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp1_ = g_new0 (GitgRef*, 0 + 1);
#line 87 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	self->priv->d_destinations = (_vala_array_free (self->priv->d_destinations, self->priv->d_destinations_length1, (GDestroyNotify) g_object_unref), NULL);
#line 87 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	self->priv->d_destinations = _tmp1_;
#line 87 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	self->priv->d_destinations_length1 = 0;
#line 87 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	self->priv->_d_destinations_size_ = self->priv->d_destinations_length1;
#line 499 "gitg-commit-action-cherry-pick.c"
	{
		GeeList* _r_list = NULL;
		GitgExtRefActionInterface* _tmp2_ = NULL;
		GitgExtRefActionInterface* _tmp3_ = NULL;
		GeeList* _tmp4_ = NULL;
		GeeList* _tmp5_ = NULL;
		gint _r_size = 0;
		GeeList* _tmp6_ = NULL;
		gint _tmp7_ = 0;
		gint _tmp8_ = 0;
		gint _r_index = 0;
#line 89 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_tmp2_ = gitg_ext_commit_action_get_action_interface ((GitgExtCommitAction*) self);
#line 89 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_tmp3_ = _tmp2_;
#line 89 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_tmp4_ = gitg_ext_ref_action_interface_get_references (_tmp3_);
#line 89 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_tmp5_ = _tmp4_;
#line 89 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_r_list = _tmp5_;
#line 89 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_tmp6_ = _r_list;
#line 89 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_tmp7_ = gee_collection_get_size ((GeeCollection*) _tmp6_);
#line 89 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_tmp8_ = _tmp7_;
#line 89 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_r_size = _tmp8_;
#line 89 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_r_index = -1;
#line 89 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		while (TRUE) {
#line 533 "gitg-commit-action-cherry-pick.c"
			gint _tmp9_ = 0;
			gint _tmp10_ = 0;
			gint _tmp11_ = 0;
			GitgRef* r = NULL;
			GeeList* _tmp12_ = NULL;
			gint _tmp13_ = 0;
			gpointer _tmp14_ = NULL;
			GitgRef* _tmp15_ = NULL;
			gboolean _tmp16_ = FALSE;
#line 89 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
			_tmp9_ = _r_index;
#line 89 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
			_r_index = _tmp9_ + 1;
#line 89 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
			_tmp10_ = _r_index;
#line 89 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
			_tmp11_ = _r_size;
#line 89 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
			if (!(_tmp10_ < _tmp11_)) {
#line 89 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				break;
#line 555 "gitg-commit-action-cherry-pick.c"
			}
#line 89 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
			_tmp12_ = _r_list;
#line 89 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
			_tmp13_ = _r_index;
#line 89 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
			_tmp14_ = gee_list_get (_tmp12_, _tmp13_);
#line 89 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
			r = (GitgRef*) _tmp14_;
#line 91 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
			_tmp15_ = r;
#line 91 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
			_tmp16_ = ggit_ref_is_branch ((GgitRef*) _tmp15_);
#line 91 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
			if (_tmp16_) {
#line 571 "gitg-commit-action-cherry-pick.c"
				{
					GgitObject* _tmp17_ = NULL;
					GitgRef* _tmp18_ = NULL;
					GgitObject* _tmp19_ = NULL;
					GgitCommit* c = NULL;
					GgitObject* _tmp20_ = NULL;
					GgitCommit* _tmp21_ = NULL;
					GgitCommit* _tmp22_ = NULL;
					GgitOId* _tmp23_ = NULL;
					GgitOId* _tmp24_ = NULL;
					GitgCommit* _tmp25_ = NULL;
					GitgCommit* _tmp26_ = NULL;
					GgitOId* _tmp27_ = NULL;
					GgitOId* _tmp28_ = NULL;
					gboolean _tmp29_ = FALSE;
					gboolean _tmp30_ = FALSE;
#line 95 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
					_tmp18_ = r;
#line 95 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
					_tmp19_ = ggit_ref_lookup ((GgitRef*) _tmp18_, &_inner_error_);
#line 95 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
					_tmp17_ = _tmp19_;
#line 95 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 596 "gitg-commit-action-cherry-pick.c"
						goto __catch64_g_error;
					}
#line 95 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
					_tmp20_ = _tmp17_;
#line 95 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
					_tmp17_ = NULL;
#line 95 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
					_tmp21_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp20_, ggit_commit_get_type ()) ? ((GgitCommit*) _tmp20_) : NULL;
#line 95 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
					if (_tmp21_ == NULL) {
#line 95 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
						_g_object_unref0 (_tmp20_);
#line 609 "gitg-commit-action-cherry-pick.c"
					}
#line 95 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
					c = _tmp21_;
#line 97 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
					_tmp22_ = c;
#line 97 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
					_tmp23_ = ggit_object_get_id ((GgitObject*) _tmp22_);
#line 97 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
					_tmp24_ = _tmp23_;
#line 97 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
					_tmp25_ = gitg_ext_commit_action_get_commit ((GitgExtCommitAction*) self);
#line 97 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
					_tmp26_ = _tmp25_;
#line 97 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
					_tmp27_ = ggit_object_get_id ((GgitObject*) _tmp26_);
#line 97 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
					_tmp28_ = _tmp27_;
#line 97 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
					_tmp29_ = ggit_oid_equal (_tmp24_, _tmp28_);
#line 97 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
					_tmp30_ = !_tmp29_;
#line 97 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
					__vala_GgitOId_free0 (_tmp28_);
#line 97 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
					__vala_GgitOId_free0 (_tmp24_);
#line 97 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
					if (_tmp30_) {
#line 637 "gitg-commit-action-cherry-pick.c"
						GitgRef** _tmp31_ = NULL;
						gint _tmp31__length1 = 0;
						GitgRef* _tmp32_ = NULL;
						GitgRef* _tmp33_ = NULL;
#line 99 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
						_tmp31_ = self->priv->d_destinations;
#line 99 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
						_tmp31__length1 = self->priv->d_destinations_length1;
#line 99 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
						_tmp32_ = r;
#line 99 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
						_tmp33_ = _g_object_ref0 (_tmp32_);
#line 99 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
						_vala_array_add11 (&self->priv->d_destinations, &self->priv->d_destinations_length1, &self->priv->_d_destinations_size_, _tmp33_);
#line 652 "gitg-commit-action-cherry-pick.c"
					}
#line 93 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
					_g_object_unref0 (c);
#line 93 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
					_g_object_unref0 (_tmp17_);
#line 658 "gitg-commit-action-cherry-pick.c"
				}
				goto __finally64;
				__catch64_g_error:
				{
#line 93 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
					g_clear_error (&_inner_error_);
#line 93 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
					_inner_error_ = NULL;
#line 667 "gitg-commit-action-cherry-pick.c"
				}
				__finally64:
#line 93 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 93 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
					_g_object_unref0 (r);
#line 93 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
					_g_object_unref0 (_r_list);
#line 93 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.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 93 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
					g_clear_error (&_inner_error_);
#line 93 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
					return;
#line 682 "gitg-commit-action-cherry-pick.c"
				}
			}
#line 89 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
			_g_object_unref0 (r);
#line 687 "gitg-commit-action-cherry-pick.c"
		}
#line 89 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_object_unref0 (_r_list);
#line 691 "gitg-commit-action-cherry-pick.c"
	}
}


static void gitg_commit_action_cherry_pick_create_index_data_free (gpointer _data) {
	GitgCommitActionCherryPickCreateIndexData* _data_;
	_data_ = _data;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data_->notification);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data_->destination);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data_->result);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data_->self);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_slice_free (GitgCommitActionCherryPickCreateIndexData, _data_);
#line 709 "gitg-commit-action-cherry-pick.c"
}


static void gitg_commit_action_cherry_pick_create_index (GitgCommitActionCherryPick* self, GitgSimpleNotification* notification, GitgRef* destination, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgCommitActionCherryPickCreateIndexData* _data_;
	GitgCommitActionCherryPick* _tmp0_ = NULL;
	GitgSimpleNotification* _tmp1_ = NULL;
	GitgSimpleNotification* _tmp2_ = NULL;
	GitgRef* _tmp3_ = NULL;
	GitgRef* _tmp4_ = NULL;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_ = g_slice_new0 (GitgCommitActionCherryPickCreateIndexData);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_commit_action_cherry_pick_create_index);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_commit_action_cherry_pick_create_index_data_free);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->self = _tmp0_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp1_ = notification;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data_->notification);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->notification = _tmp2_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp3_ = destination;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data_->destination);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->destination = _tmp4_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	gitg_commit_action_cherry_pick_create_index_co (_data_);
#line 748 "gitg-commit-action-cherry-pick.c"
}


static GgitIndex* gitg_commit_action_cherry_pick_create_index_finish (GitgCommitActionCherryPick* self, GAsyncResult* _res_) {
	GgitIndex* result;
	GitgCommitActionCherryPickCreateIndexData* _data_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	result = _data_->result;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->result = NULL;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	return result;
#line 763 "gitg-commit-action-cherry-pick.c"
}


static Block39Data* block39_data_ref (Block39Data* _data39_) {
#line 106 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_atomic_int_inc (&_data39_->_ref_count_);
#line 106 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	return _data39_;
#line 772 "gitg-commit-action-cherry-pick.c"
}


static void _vala_GgitMergeOptions_free (GgitMergeOptions* self) {
#line 106 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_boxed_free (ggit_merge_options_get_type (), self);
#line 779 "gitg-commit-action-cherry-pick.c"
}


static void block39_data_unref (void * _userdata_) {
	Block39Data* _data39_;
	_data39_ = (Block39Data*) _userdata_;
#line 106 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	if (g_atomic_int_dec_and_test (&_data39_->_ref_count_)) {
#line 788 "gitg-commit-action-cherry-pick.c"
		GitgCommitActionCherryPick* self;
#line 106 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		self = _data39_->self;
#line 106 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_object_unref0 (_data39_->index);
#line 106 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		__vala_GgitMergeOptions_free0 (_data39_->merge_options);
#line 106 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_object_unref0 (_data39_->theirs);
#line 106 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_object_unref0 (self);
#line 106 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_slice_free (Block39Data, _data39_);
#line 802 "gitg-commit-action-cherry-pick.c"
	}
}


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


static void ___lambda155_ (Block39Data* _data39_, GError** error) {
	GitgCommitActionCherryPick* self;
	GgitIndex* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
	GitgExtApplication* _tmp2_ = NULL;
	GitgExtApplication* _tmp3_ = NULL;
	GitgRepository* _tmp4_ = NULL;
	GitgRepository* _tmp5_ = NULL;
	GitgRepository* _tmp6_ = NULL;
	GitgCommit* _tmp7_ = NULL;
	GitgCommit* _tmp8_ = NULL;
	GitgCommit* _tmp9_ = NULL;
	GgitMergeOptions* _tmp10_ = NULL;
	GgitIndex* _tmp11_ = NULL;
	GgitIndex* _tmp12_ = NULL;
	GgitIndex* _tmp13_ = NULL;
	GError * _inner_error_ = NULL;
#line 126 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	self = _data39_->self;
#line 127 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp1_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 127 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp2_ = _tmp1_;
#line 127 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp3_ = _tmp2_;
#line 127 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp4_ = gitg_ext_application_get_repository (_tmp3_);
#line 127 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp5_ = _tmp4_;
#line 127 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp6_ = _tmp5_;
#line 127 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp7_ = gitg_ext_commit_action_get_commit ((GitgExtCommitAction*) self);
#line 127 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp8_ = _tmp7_;
#line 127 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp9_ = _data39_->theirs;
#line 127 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp10_ = _data39_->merge_options;
#line 127 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp11_ = ggit_repository_cherry_pick_commit ((GgitRepository*) _tmp6_, (GgitCommit*) _tmp8_, (GgitCommit*) _tmp9_, (guint) 0, _tmp10_, &_inner_error_);
#line 127 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp12_ = _tmp11_;
#line 127 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_tmp6_);
#line 127 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_tmp3_);
#line 127 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp0_ = _tmp12_;
#line 127 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 127 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_propagate_error (error, _inner_error_);
#line 127 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		return;
#line 874 "gitg-commit-action-cherry-pick.c"
	}
#line 127 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp13_ = _tmp0_;
#line 127 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp0_ = NULL;
#line 127 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data39_->index);
#line 127 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data39_->index = _tmp13_;
#line 126 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_tmp0_);
#line 886 "gitg-commit-action-cherry-pick.c"
}


static void ____lambda155__gitg_async_thread_func (gpointer self, GError** error) {
#line 126 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	___lambda155_ (self, error);
#line 893 "gitg-commit-action-cherry-pick.c"
}


static void gitg_commit_action_cherry_pick_create_index_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgCommitActionCherryPickCreateIndexData* _data_;
#line 126 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_ = _user_data_;
#line 126 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_source_object_ = source_object;
#line 126 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_res_ = _res_;
#line 126 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	gitg_commit_action_cherry_pick_create_index_co (_data_);
#line 907 "gitg-commit-action-cherry-pick.c"
}


static gboolean gitg_commit_action_cherry_pick_create_index_co (GitgCommitActionCherryPickCreateIndexData* _data_) {
#line 106 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	switch (_data_->_state_) {
#line 106 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		case 0:
#line 916 "gitg-commit-action-cherry-pick.c"
		goto _state_0;
#line 106 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		case 1:
#line 920 "gitg-commit-action-cherry-pick.c"
		goto _state_1;
		default:
#line 106 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_assert_not_reached ();
#line 925 "gitg-commit-action-cherry-pick.c"
	}
	_state_0:
#line 106 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_data39_ = g_slice_new0 (Block39Data);
#line 106 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_data39_->_ref_count_ = 1;
#line 106 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_data39_->self = g_object_ref (_data_->self);
#line 106 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_data39_->_async_data_ = _data_;
#line 108 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_data39_->theirs = NULL;
#line 109 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp0_ = NULL;
#line 109 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp0_ = _data_->destination;
#line 109 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp1_ = NULL;
#line 109 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp1_ = gitg_ref_get_parsed_name (_data_->_tmp0_);
#line 109 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp2_ = NULL;
#line 109 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 109 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp3_ = NULL;
#line 109 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp3_ = _data_->_tmp2_;
#line 109 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp4_ = NULL;
#line 109 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp4_ = gitg_parsed_ref_name_get_shortname (_data_->_tmp3_);
#line 109 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp5_ = NULL;
#line 109 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp5_ = _data_->_tmp4_;
#line 109 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp6_ = NULL;
#line 109 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 109 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data_->_tmp3_);
#line 109 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->theirs_name = _data_->_tmp6_;
#line 970 "gitg-commit-action-cherry-pick.c"
	{
#line 113 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp8_ = NULL;
#line 113 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp8_ = _data_->destination;
#line 113 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp9_ = NULL;
#line 113 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp9_ = ggit_ref_lookup ((GgitRef*) _data_->_tmp8_, &_data_->_inner_error_);
#line 113 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp7_ = _data_->_tmp9_;
#line 113 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 984 "gitg-commit-action-cherry-pick.c"
			goto __catch65_g_error;
		}
#line 113 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp10_ = NULL;
#line 113 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp10_ = _data_->_tmp7_;
#line 113 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp7_ = NULL;
#line 113 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp11_ = NULL;
#line 113 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp11_ = G_TYPE_CHECK_INSTANCE_TYPE (_data_->_tmp10_, GITG_TYPE_COMMIT) ? ((GitgCommit*) _data_->_tmp10_) : NULL;
#line 113 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		if (_data_->_tmp11_ == NULL) {
#line 113 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
			_g_object_unref0 (_data_->_tmp10_);
#line 1001 "gitg-commit-action-cherry-pick.c"
		}
#line 113 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_object_unref0 (_data_->_data39_->theirs);
#line 113 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_data39_->theirs = _data_->_tmp11_;
#line 111 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_object_unref0 (_data_->_tmp7_);
#line 1009 "gitg-commit-action-cherry-pick.c"
	}
	goto __finally65;
	__catch65_g_error:
	{
#line 111 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->e = _data_->_inner_error_;
#line 111 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_inner_error_ = NULL;
#line 117 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp12_ = NULL;
#line 117 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp12_ = _data_->notification;
#line 117 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp13_ = NULL;
#line 117 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp13_ = _ ("Failed to lookup the commit for branch %s: %s");
#line 117 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp14_ = NULL;
#line 117 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp14_ = _data_->theirs_name;
#line 117 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp15_ = NULL;
#line 117 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp15_ = string_to_string (_data_->_tmp14_);
#line 117 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp16_ = NULL;
#line 117 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp16_ = g_strconcat ("'", _data_->_tmp15_, "'", NULL);
#line 117 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp17_ = NULL;
#line 117 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp17_ = _data_->_tmp16_;
#line 117 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp18_ = NULL;
#line 117 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp18_ = _data_->e;
#line 117 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp19_ = NULL;
#line 117 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp19_ = _data_->_tmp18_->message;
#line 117 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp20_ = NULL;
#line 117 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp20_ = g_strdup_printf (_data_->_tmp13_, _data_->_tmp17_, _data_->_tmp19_);
#line 117 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp21_ = NULL;
#line 117 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp21_ = _data_->_tmp20_;
#line 117 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		gitg_simple_notification_error (_data_->_tmp12_, _data_->_tmp21_);
#line 117 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_free0 (_data_->_tmp21_);
#line 117 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_free0 (_data_->_tmp17_);
#line 118 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->result = NULL;
#line 118 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_error_free0 (_data_->e);
#line 118 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_free0 (_data_->theirs_name);
#line 118 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		block39_data_unref (_data_->_data39_);
#line 118 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_data39_ = NULL;
#line 118 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		if (_data_->_state_ == 0) {
#line 118 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1078 "gitg-commit-action-cherry-pick.c"
		} else {
#line 118 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1082 "gitg-commit-action-cherry-pick.c"
		}
#line 118 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_object_unref (_data_->_async_result);
#line 118 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		return FALSE;
#line 1088 "gitg-commit-action-cherry-pick.c"
	}
	__finally65:
#line 111 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 111 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_free0 (_data_->theirs_name);
#line 111 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		block39_data_unref (_data_->_data39_);
#line 111 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_data39_ = NULL;
#line 111 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 111 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_clear_error (&_data_->_inner_error_);
#line 111 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		return FALSE;
#line 1105 "gitg-commit-action-cherry-pick.c"
	}
#line 121 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp22_ = NULL;
#line 121 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp22_ = ggit_merge_options_new ();
#line 121 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_data39_->merge_options = _data_->_tmp22_;
#line 122 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_data39_->index = NULL;
#line 1115 "gitg-commit-action-cherry-pick.c"
	{
#line 126 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_state_ = 1;
#line 126 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		gitg_async_thread (____lambda155__gitg_async_thread_func, _data_->_data39_, gitg_commit_action_cherry_pick_create_index_ready, _data_);
#line 126 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		return FALSE;
#line 1123 "gitg-commit-action-cherry-pick.c"
		_state_1:
#line 126 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		gitg_async_thread_finish (_data_->_res_, &_data_->_inner_error_);
#line 126 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1129 "gitg-commit-action-cherry-pick.c"
			goto __catch66_g_error;
		}
	}
	goto __finally66;
	__catch66_g_error:
	{
#line 124 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_vala1_e = _data_->_inner_error_;
#line 124 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_inner_error_ = NULL;
#line 132 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp23_ = NULL;
#line 132 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp23_ = _data_->notification;
#line 132 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp24_ = NULL;
#line 132 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp24_ = _ ("Failed to cherry-pick the commit: %s");
#line 132 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp25_ = NULL;
#line 132 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp25_ = _data_->_vala1_e;
#line 132 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp26_ = NULL;
#line 132 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp26_ = _data_->_tmp25_->message;
#line 132 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp27_ = NULL;
#line 132 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp27_ = g_strdup_printf (_data_->_tmp24_, _data_->_tmp26_);
#line 132 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp28_ = NULL;
#line 132 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp28_ = _data_->_tmp27_;
#line 132 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		gitg_simple_notification_error (_data_->_tmp23_, _data_->_tmp28_);
#line 132 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_free0 (_data_->_tmp28_);
#line 133 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->result = NULL;
#line 133 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_error_free0 (_data_->_vala1_e);
#line 133 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_free0 (_data_->theirs_name);
#line 133 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		block39_data_unref (_data_->_data39_);
#line 133 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_data39_ = NULL;
#line 133 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		if (_data_->_state_ == 0) {
#line 133 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1182 "gitg-commit-action-cherry-pick.c"
		} else {
#line 133 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1186 "gitg-commit-action-cherry-pick.c"
		}
#line 133 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_object_unref (_data_->_async_result);
#line 133 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		return FALSE;
#line 1192 "gitg-commit-action-cherry-pick.c"
	}
	__finally66:
#line 124 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 124 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_free0 (_data_->theirs_name);
#line 124 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		block39_data_unref (_data_->_data39_);
#line 124 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_data39_ = NULL;
#line 124 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 124 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_clear_error (&_data_->_inner_error_);
#line 124 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		return FALSE;
#line 1209 "gitg-commit-action-cherry-pick.c"
	}
#line 136 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp29_ = NULL;
#line 136 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp29_ = _data_->_data39_->index;
#line 136 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp30_ = NULL;
#line 136 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp30_ = _g_object_ref0 (_data_->_tmp29_);
#line 136 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->result = _data_->_tmp30_;
#line 136 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_free0 (_data_->theirs_name);
#line 136 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	block39_data_unref (_data_->_data39_);
#line 136 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_data39_ = NULL;
#line 136 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	if (_data_->_state_ == 0) {
#line 136 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1231 "gitg-commit-action-cherry-pick.c"
	} else {
#line 136 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1235 "gitg-commit-action-cherry-pick.c"
	}
#line 136 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_object_unref (_data_->_async_result);
#line 136 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	return FALSE;
#line 106 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_free0 (_data_->theirs_name);
#line 106 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	block39_data_unref (_data_->_data39_);
#line 106 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_data39_ = NULL;
#line 106 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	if (_data_->_state_ == 0) {
#line 106 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1251 "gitg-commit-action-cherry-pick.c"
	} else {
#line 106 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1255 "gitg-commit-action-cherry-pick.c"
	}
#line 106 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_object_unref (_data_->_async_result);
#line 106 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	return FALSE;
#line 1261 "gitg-commit-action-cherry-pick.c"
}


static void gitg_commit_action_cherry_pick_checkout_conflicts_data_free (gpointer _data) {
	GitgCommitActionCherryPickCheckoutConflictsData* _data_;
	_data_ = _data;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data_->notification);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data_->index);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data_->destination);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data_->self);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_slice_free (GitgCommitActionCherryPickCheckoutConflictsData, _data_);
#line 1278 "gitg-commit-action-cherry-pick.c"
}


static void gitg_commit_action_cherry_pick_checkout_conflicts (GitgCommitActionCherryPick* self, GitgSimpleNotification* notification, GgitIndex* index, GitgRef* destination, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgCommitActionCherryPickCheckoutConflictsData* _data_;
	GitgCommitActionCherryPick* _tmp0_ = NULL;
	GitgSimpleNotification* _tmp1_ = NULL;
	GitgSimpleNotification* _tmp2_ = NULL;
	GgitIndex* _tmp3_ = NULL;
	GgitIndex* _tmp4_ = NULL;
	GitgRef* _tmp5_ = NULL;
	GitgRef* _tmp6_ = NULL;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_ = g_slice_new0 (GitgCommitActionCherryPickCheckoutConflictsData);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_commit_action_cherry_pick_checkout_conflicts);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_commit_action_cherry_pick_checkout_conflicts_data_free);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->self = _tmp0_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp1_ = notification;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data_->notification);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->notification = _tmp2_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp3_ = index;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data_->index);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->index = _tmp4_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp5_ = destination;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp6_ = _g_object_ref0 (_tmp5_);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data_->destination);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->destination = _tmp6_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	gitg_commit_action_cherry_pick_checkout_conflicts_co (_data_);
#line 1327 "gitg-commit-action-cherry-pick.c"
}


static gboolean gitg_commit_action_cherry_pick_checkout_conflicts_finish (GitgCommitActionCherryPick* self, GAsyncResult* _res_) {
	gboolean result;
	GitgCommitActionCherryPickCheckoutConflictsData* _data_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	result = _data_->result;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	return result;
#line 1340 "gitg-commit-action-cherry-pick.c"
}


static gchar* string_slice (const gchar* self, glong start, glong end) {
	gchar* result = NULL;
	glong string_length = 0L;
	gint _tmp0_ = 0;
	gint _tmp1_ = 0;
	glong _tmp2_ = 0L;
	glong _tmp5_ = 0L;
	gboolean _tmp8_ = FALSE;
	glong _tmp9_ = 0L;
	gboolean _tmp12_ = FALSE;
	glong _tmp13_ = 0L;
	glong _tmp16_ = 0L;
	glong _tmp17_ = 0L;
	glong _tmp18_ = 0L;
	glong _tmp19_ = 0L;
	glong _tmp20_ = 0L;
	gchar* _tmp21_ = NULL;
#line 1328 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp0_ = strlen (self);
#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp1_ = _tmp0_;
#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	string_length = (glong) _tmp1_;
#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp2_ = start;
#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	if (_tmp2_ < ((glong) 0)) {
#line 1373 "gitg-commit-action-cherry-pick.c"
		glong _tmp3_ = 0L;
		glong _tmp4_ = 0L;
#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp3_ = string_length;
#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp4_ = start;
#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		start = _tmp3_ + _tmp4_;
#line 1382 "gitg-commit-action-cherry-pick.c"
	}
#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp5_ = end;
#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	if (_tmp5_ < ((glong) 0)) {
#line 1388 "gitg-commit-action-cherry-pick.c"
		glong _tmp6_ = 0L;
		glong _tmp7_ = 0L;
#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp6_ = string_length;
#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp7_ = end;
#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		end = _tmp6_ + _tmp7_;
#line 1397 "gitg-commit-action-cherry-pick.c"
	}
#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp9_ = start;
#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	if (_tmp9_ >= ((glong) 0)) {
#line 1403 "gitg-commit-action-cherry-pick.c"
		glong _tmp10_ = 0L;
		glong _tmp11_ = 0L;
#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp10_ = start;
#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp11_ = string_length;
#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp8_ = _tmp10_ <= _tmp11_;
#line 1412 "gitg-commit-action-cherry-pick.c"
	} else {
#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp8_ = FALSE;
#line 1416 "gitg-commit-action-cherry-pick.c"
	}
#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	g_return_val_if_fail (_tmp8_, NULL);
#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp13_ = end;
#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	if (_tmp13_ >= ((glong) 0)) {
#line 1424 "gitg-commit-action-cherry-pick.c"
		glong _tmp14_ = 0L;
		glong _tmp15_ = 0L;
#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp14_ = end;
#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp15_ = string_length;
#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp12_ = _tmp14_ <= _tmp15_;
#line 1433 "gitg-commit-action-cherry-pick.c"
	} else {
#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp12_ = FALSE;
#line 1437 "gitg-commit-action-cherry-pick.c"
	}
#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	g_return_val_if_fail (_tmp12_, NULL);
#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp16_ = start;
#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp17_ = end;
#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	g_return_val_if_fail (_tmp16_ <= _tmp17_, NULL);
#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp18_ = start;
#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp19_ = end;
#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp20_ = start;
#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp21_ = g_strndup (((gchar*) self) + _tmp18_, (gsize) (_tmp19_ - _tmp20_));
#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	result = _tmp21_;
#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	return result;
#line 1459 "gitg-commit-action-cherry-pick.c"
}


static void gitg_commit_action_cherry_pick_checkout_conflicts_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgCommitActionCherryPickCheckoutConflictsData* _data_;
#line 166 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_ = _user_data_;
#line 166 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_source_object_ = source_object;
#line 166 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_res_ = _res_;
#line 166 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	gitg_commit_action_cherry_pick_checkout_conflicts_co (_data_);
#line 1473 "gitg-commit-action-cherry-pick.c"
}


static gboolean gitg_commit_action_cherry_pick_checkout_conflicts_co (GitgCommitActionCherryPickCheckoutConflictsData* _data_) {
#line 139 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	switch (_data_->_state_) {
#line 139 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		case 0:
#line 1482 "gitg-commit-action-cherry-pick.c"
		goto _state_0;
#line 139 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		case 1:
#line 1486 "gitg-commit-action-cherry-pick.c"
		goto _state_1;
#line 139 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		case 2:
#line 1490 "gitg-commit-action-cherry-pick.c"
		goto _state_2;
		default:
#line 139 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_assert_not_reached ();
#line 1495 "gitg-commit-action-cherry-pick.c"
	}
	_state_0:
#line 141 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp0_ = NULL;
#line 141 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp0_ = gitg_ext_commit_action_get_commit ((GitgExtCommitAction*) _data_->self);
#line 141 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp1_ = NULL;
#line 141 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 141 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp2_ = NULL;
#line 141 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp2_ = ggit_object_get_id ((GgitObject*) _data_->_tmp1_);
#line 141 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp3_ = NULL;
#line 141 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp3_ = _data_->_tmp2_;
#line 141 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp4_ = NULL;
#line 141 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp4_ = ggit_oid_to_string (_data_->_tmp3_);
#line 141 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp5_ = NULL;
#line 141 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp5_ = _data_->_tmp4_;
#line 141 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp6_ = NULL;
#line 141 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp6_ = string_slice (_data_->_tmp5_, (glong) 0, (glong) 6);
#line 141 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp7_ = NULL;
#line 141 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp7_ = _data_->_tmp6_;
#line 141 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_free0 (_data_->_tmp5_);
#line 141 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	__vala_GgitOId_free0 (_data_->_tmp3_);
#line 141 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->ours_name = _data_->_tmp7_;
#line 142 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp8_ = NULL;
#line 142 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp8_ = _data_->destination;
#line 142 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp9_ = NULL;
#line 142 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp9_ = gitg_ref_get_parsed_name (_data_->_tmp8_);
#line 142 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp10_ = NULL;
#line 142 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp10_ = _data_->_tmp9_;
#line 142 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp11_ = NULL;
#line 142 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp11_ = _data_->_tmp10_;
#line 142 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp12_ = NULL;
#line 142 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp12_ = gitg_parsed_ref_name_get_shortname (_data_->_tmp11_);
#line 142 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp13_ = NULL;
#line 142 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp13_ = _data_->_tmp12_;
#line 142 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp14_ = NULL;
#line 142 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp14_ = _data_->_tmp13_;
#line 142 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data_->_tmp11_);
#line 142 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->theirs_name = _data_->_tmp14_;
#line 144 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp15_ = NULL;
#line 144 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp15_ = _data_->notification;
#line 144 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp16_ = NULL;
#line 144 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp16_ = _ ("Cherry pick has conflicts");
#line 144 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	gitg_simple_notification_set_message (_data_->_tmp15_, _data_->_tmp16_);
#line 146 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->head = NULL;
#line 147 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp17_ = NULL;
#line 147 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp17_ = _data_->self->priv->d_support;
#line 147 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp18_ = NULL;
#line 147 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp18_ = _data_->destination;
#line 147 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp19_ = FALSE;
#line 147 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp19_ = gitg_action_support_reference_is_head (_data_->_tmp17_, _data_->_tmp18_, &_data_->head);
#line 147 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->ishead = _data_->_tmp19_;
#line 151 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp20_ = FALSE;
#line 151 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp20_ = _data_->ishead;
#line 151 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	if (_data_->_tmp20_) {
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp21_ = NULL;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp21_ = _ ("The cherry pick of %s onto %s has caused conflicts, would you like to " \
"checkout branch %s with the cherry pick to your working directory to r" \
"esolve the conflicts?");
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp22_ = NULL;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp22_ = _data_->ours_name;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp23_ = NULL;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp23_ = string_to_string (_data_->_tmp22_);
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp24_ = NULL;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp24_ = g_strconcat ("'", _data_->_tmp23_, "'", NULL);
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp25_ = NULL;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp25_ = _data_->_tmp24_;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp26_ = NULL;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp26_ = _data_->theirs_name;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp27_ = NULL;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp27_ = string_to_string (_data_->_tmp26_);
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp28_ = NULL;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp28_ = g_strconcat ("'", _data_->_tmp27_, "'", NULL);
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp29_ = NULL;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp29_ = _data_->_tmp28_;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp30_ = NULL;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp30_ = _data_->theirs_name;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp31_ = NULL;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp31_ = string_to_string (_data_->_tmp30_);
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp32_ = NULL;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp32_ = g_strconcat ("'", _data_->_tmp31_, "'", NULL);
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp33_ = NULL;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp33_ = _data_->_tmp32_;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp34_ = NULL;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp34_ = g_strdup_printf (_data_->_tmp21_, _data_->_tmp25_, _data_->_tmp29_, _data_->_tmp33_);
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_free0 (_data_->message);
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->message = _data_->_tmp34_;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_free0 (_data_->_tmp33_);
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_free0 (_data_->_tmp29_);
#line 153 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_free0 (_data_->_tmp25_);
#line 1666 "gitg-commit-action-cherry-pick.c"
	} else {
#line 157 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp35_ = NULL;
#line 157 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp35_ = _ ("The cherry-pick of %s onto %s has caused conflicts, would you like to " \
"checkout the cherry pick to your working directory to resolve the conf" \
"licts?");
#line 157 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp36_ = NULL;
#line 157 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp36_ = _data_->ours_name;
#line 157 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp37_ = NULL;
#line 157 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp37_ = string_to_string (_data_->_tmp36_);
#line 157 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp38_ = NULL;
#line 157 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp38_ = g_strconcat ("'", _data_->_tmp37_, "'", NULL);
#line 157 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp39_ = NULL;
#line 157 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp39_ = _data_->_tmp38_;
#line 157 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp40_ = NULL;
#line 157 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp40_ = _data_->theirs_name;
#line 157 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp41_ = NULL;
#line 157 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp41_ = string_to_string (_data_->_tmp40_);
#line 157 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp42_ = NULL;
#line 157 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp42_ = g_strconcat ("'", _data_->_tmp41_, "'", NULL);
#line 157 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp43_ = NULL;
#line 157 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp43_ = _data_->_tmp42_;
#line 157 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp44_ = NULL;
#line 157 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp44_ = g_strdup_printf (_data_->_tmp35_, _data_->_tmp39_, _data_->_tmp43_);
#line 157 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_free0 (_data_->message);
#line 157 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->message = _data_->_tmp44_;
#line 157 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_free0 (_data_->_tmp43_);
#line 157 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_free0 (_data_->_tmp39_);
#line 1716 "gitg-commit-action-cherry-pick.c"
	}
#line 160 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp45_ = NULL;
#line 160 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp45_ = _ ("Cherry pick has conflicts");
#line 160 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp46_ = NULL;
#line 160 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp46_ = _data_->message;
#line 160 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp47_ = NULL;
#line 160 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp47_ = _ ("Cancel");
#line 160 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp48_ = NULL;
#line 160 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp48_ = _ ("Checkout");
#line 160 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp49_ = NULL;
#line 160 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp49_ = gitg_ext_user_query_new_full (_data_->_tmp45_, _data_->_tmp46_, GTK_MESSAGE_QUESTION, _data_->_tmp47_, GTK_RESPONSE_CANCEL, _data_->_tmp48_, GTK_RESPONSE_OK, NULL);
#line 160 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->q = _data_->_tmp49_;
#line 166 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp50_ = NULL;
#line 166 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp50_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 166 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp51_ = NULL;
#line 166 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp51_ = _data_->_tmp50_;
#line 166 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp52_ = NULL;
#line 166 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp52_ = _data_->_tmp51_;
#line 166 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp53_ = NULL;
#line 166 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp53_ = _data_->q;
#line 166 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_state_ = 1;
#line 166 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	gitg_ext_application_user_query_async (_data_->_tmp52_, _data_->_tmp53_, gitg_commit_action_cherry_pick_checkout_conflicts_ready, _data_);
#line 166 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	return FALSE;
#line 1762 "gitg-commit-action-cherry-pick.c"
	_state_1:
#line 166 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp54_ = 0;
#line 166 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp54_ = gitg_ext_application_user_query_finish (_data_->_tmp52_, _data_->_res_);
#line 166 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp55_ = FALSE;
#line 166 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp55_ = _data_->_tmp54_ != GTK_RESPONSE_OK;
#line 166 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data_->_tmp52_);
#line 166 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	if (_data_->_tmp55_) {
#line 168 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp56_ = NULL;
#line 168 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp56_ = _data_->notification;
#line 168 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp57_ = NULL;
#line 168 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp57_ = _ ("Cherry pick failed with conflicts");
#line 168 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		gitg_simple_notification_error (_data_->_tmp56_, _data_->_tmp57_);
#line 169 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->result = FALSE;
#line 169 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_object_unref0 (_data_->q);
#line 169 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_free0 (_data_->message);
#line 169 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_object_unref0 (_data_->head);
#line 169 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_free0 (_data_->theirs_name);
#line 169 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_free0 (_data_->ours_name);
#line 169 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		if (_data_->_state_ == 0) {
#line 169 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1802 "gitg-commit-action-cherry-pick.c"
		} else {
#line 169 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1806 "gitg-commit-action-cherry-pick.c"
		}
#line 169 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_object_unref (_data_->_async_result);
#line 169 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		return FALSE;
#line 1812 "gitg-commit-action-cherry-pick.c"
	}
#line 172 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp58_ = NULL;
#line 172 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp58_ = _data_->self->priv->d_support;
#line 172 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp59_ = NULL;
#line 172 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp59_ = _data_->notification;
#line 172 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp60_ = NULL;
#line 172 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp60_ = _data_->destination;
#line 172 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp61_ = NULL;
#line 172 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp61_ = _data_->index;
#line 172 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp62_ = NULL;
#line 172 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp62_ = _data_->head;
#line 172 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_state_ = 2;
#line 172 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	gitg_action_support_checkout_conflicts (_data_->_tmp58_, _data_->_tmp59_, _data_->_tmp60_, _data_->_tmp61_, _data_->_tmp62_, gitg_commit_action_cherry_pick_checkout_conflicts_ready, _data_);
#line 172 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	return FALSE;
#line 1840 "gitg-commit-action-cherry-pick.c"
	_state_2:
#line 172 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp63_ = FALSE;
#line 172 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp63_ = gitg_action_support_checkout_conflicts_finish (_data_->_tmp58_, _data_->_res_);
#line 172 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	if (!_data_->_tmp63_) {
#line 174 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->result = FALSE;
#line 174 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_object_unref0 (_data_->q);
#line 174 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_free0 (_data_->message);
#line 174 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_object_unref0 (_data_->head);
#line 174 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_free0 (_data_->theirs_name);
#line 174 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_free0 (_data_->ours_name);
#line 174 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		if (_data_->_state_ == 0) {
#line 174 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1864 "gitg-commit-action-cherry-pick.c"
		} else {
#line 174 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1868 "gitg-commit-action-cherry-pick.c"
		}
#line 174 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_object_unref (_data_->_async_result);
#line 174 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		return FALSE;
#line 1874 "gitg-commit-action-cherry-pick.c"
	}
#line 177 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	gitg_commit_action_cherry_pick_write_cherry_pick_state_files (_data_->self);
#line 179 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp64_ = NULL;
#line 179 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp64_ = _data_->notification;
#line 179 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp65_ = NULL;
#line 179 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp65_ = _ ("Cherry pick finished with conflicts in working directory");
#line 179 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	gitg_simple_notification_success (_data_->_tmp64_, _data_->_tmp65_);
#line 180 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->result = TRUE;
#line 180 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data_->q);
#line 180 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_free0 (_data_->message);
#line 180 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data_->head);
#line 180 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_free0 (_data_->theirs_name);
#line 180 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_free0 (_data_->ours_name);
#line 180 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	if (_data_->_state_ == 0) {
#line 180 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1904 "gitg-commit-action-cherry-pick.c"
	} else {
#line 180 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1908 "gitg-commit-action-cherry-pick.c"
	}
#line 180 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_object_unref (_data_->_async_result);
#line 180 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	return FALSE;
#line 139 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data_->q);
#line 139 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_free0 (_data_->message);
#line 139 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data_->head);
#line 139 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_free0 (_data_->theirs_name);
#line 139 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_free0 (_data_->ours_name);
#line 139 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	if (_data_->_state_ == 0) {
#line 139 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1928 "gitg-commit-action-cherry-pick.c"
	} else {
#line 139 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1932 "gitg-commit-action-cherry-pick.c"
	}
#line 139 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_object_unref (_data_->_async_result);
#line 139 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	return FALSE;
#line 1938 "gitg-commit-action-cherry-pick.c"
}


static void gitg_commit_action_cherry_pick_write_cherry_pick_state_files (GitgCommitActionCherryPick* self) {
	gchar* wd = NULL;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
	GitgExtApplication* _tmp2_ = NULL;
	GitgRepository* _tmp3_ = NULL;
	GitgRepository* _tmp4_ = NULL;
	GitgRepository* _tmp5_ = NULL;
	GFile* _tmp6_ = NULL;
	GFile* _tmp7_ = NULL;
	gchar* _tmp8_ = NULL;
	gchar* _tmp9_ = NULL;
	GError * _inner_error_ = NULL;
#line 183 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_return_if_fail (self != NULL);
#line 185 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 185 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp1_ = _tmp0_;
#line 185 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp2_ = _tmp1_;
#line 185 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp3_ = gitg_ext_application_get_repository (_tmp2_);
#line 185 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp4_ = _tmp3_;
#line 185 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp5_ = _tmp4_;
#line 185 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp6_ = ggit_repository_get_location ((GgitRepository*) _tmp5_);
#line 185 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp7_ = _tmp6_;
#line 185 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp8_ = g_file_get_path (_tmp7_);
#line 185 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp9_ = _tmp8_;
#line 185 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_tmp7_);
#line 185 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_tmp5_);
#line 185 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_tmp2_);
#line 185 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	wd = _tmp9_;
#line 1985 "gitg-commit-action-cherry-pick.c"
	{
		gchar* _tmp10_ = NULL;
		gchar* _tmp11_ = NULL;
		GitgCommit* _tmp12_ = NULL;
		GitgCommit* _tmp13_ = NULL;
		GgitOId* _tmp14_ = NULL;
		GgitOId* _tmp15_ = NULL;
		gchar* _tmp16_ = NULL;
		gchar* _tmp17_ = NULL;
		gchar* _tmp18_ = NULL;
		gchar* _tmp19_ = NULL;
#line 189 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_tmp10_ = g_build_filename (wd, "CHERRY_PICK_HEAD", NULL);
#line 189 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_tmp11_ = _tmp10_;
#line 189 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_tmp12_ = gitg_ext_commit_action_get_commit ((GitgExtCommitAction*) self);
#line 189 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_tmp13_ = _tmp12_;
#line 189 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_tmp14_ = ggit_object_get_id ((GgitObject*) _tmp13_);
#line 189 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_tmp15_ = _tmp14_;
#line 189 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_tmp16_ = ggit_oid_to_string (_tmp15_);
#line 189 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_tmp17_ = _tmp16_;
#line 189 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_tmp18_ = g_strdup_printf ("%s\n", _tmp17_);
#line 189 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_tmp19_ = _tmp18_;
#line 189 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_file_set_contents (_tmp11_, _tmp19_, (gssize) -1, &_inner_error_);
#line 189 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_free0 (_tmp19_);
#line 189 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_free0 (_tmp17_);
#line 189 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		__vala_GgitOId_free0 (_tmp15_);
#line 189 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_free0 (_tmp11_);
#line 189 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2029 "gitg-commit-action-cherry-pick.c"
			goto __catch67_g_error;
		}
	}
	goto __finally67;
	__catch67_g_error:
	{
#line 187 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_clear_error (&_inner_error_);
#line 187 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_inner_error_ = NULL;
#line 2040 "gitg-commit-action-cherry-pick.c"
	}
	__finally67:
#line 187 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 187 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_free0 (wd);
#line 187 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.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 187 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_clear_error (&_inner_error_);
#line 187 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		return;
#line 2053 "gitg-commit-action-cherry-pick.c"
	}
#line 183 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_free0 (wd);
#line 2057 "gitg-commit-action-cherry-pick.c"
}


static void gitg_commit_action_cherry_pick_cherry_pick_data_free (gpointer _data) {
	GitgCommitActionCherryPickCherryPickData* _data_;
	_data_ = _data;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data_->destination);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data_->self);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_slice_free (GitgCommitActionCherryPickCherryPickData, _data_);
#line 2070 "gitg-commit-action-cherry-pick.c"
}


void gitg_commit_action_cherry_pick_cherry_pick (GitgCommitActionCherryPick* self, GitgRef* destination, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgCommitActionCherryPickCherryPickData* _data_;
	GitgCommitActionCherryPick* _tmp0_ = NULL;
	GitgRef* _tmp1_ = NULL;
	GitgRef* _tmp2_ = NULL;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_ = g_slice_new0 (GitgCommitActionCherryPickCherryPickData);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_commit_action_cherry_pick_cherry_pick);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_commit_action_cherry_pick_cherry_pick_data_free);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->self = _tmp0_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp1_ = destination;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data_->destination);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->destination = _tmp2_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	gitg_commit_action_cherry_pick_cherry_pick_co (_data_);
#line 2099 "gitg-commit-action-cherry-pick.c"
}


void gitg_commit_action_cherry_pick_cherry_pick_finish (GitgCommitActionCherryPick* self, GAsyncResult* _res_) {
	GitgCommitActionCherryPickCherryPickData* _data_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 2107 "gitg-commit-action-cherry-pick.c"
}


static void gitg_commit_action_cherry_pick_cherry_pick_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgCommitActionCherryPickCherryPickData* _data_;
#line 203 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_ = _user_data_;
#line 203 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_source_object_ = source_object;
#line 203 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_res_ = _res_;
#line 203 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	gitg_commit_action_cherry_pick_cherry_pick_co (_data_);
#line 2121 "gitg-commit-action-cherry-pick.c"
}


static gboolean gitg_commit_action_cherry_pick_cherry_pick_co (GitgCommitActionCherryPickCherryPickData* _data_) {
#line 193 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	switch (_data_->_state_) {
#line 193 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		case 0:
#line 2130 "gitg-commit-action-cherry-pick.c"
		goto _state_0;
#line 193 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		case 1:
#line 2134 "gitg-commit-action-cherry-pick.c"
		goto _state_1;
#line 193 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		case 2:
#line 2138 "gitg-commit-action-cherry-pick.c"
		goto _state_2;
#line 193 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		case 3:
#line 2142 "gitg-commit-action-cherry-pick.c"
		goto _state_3;
		default:
#line 193 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_assert_not_reached ();
#line 2147 "gitg-commit-action-cherry-pick.c"
	}
	_state_0:
#line 195 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp0_ = NULL;
#line 195 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp0_ = gitg_ext_commit_action_get_commit ((GitgExtCommitAction*) _data_->self);
#line 195 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp1_ = NULL;
#line 195 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 195 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp2_ = NULL;
#line 195 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp2_ = ggit_object_get_id ((GgitObject*) _data_->_tmp1_);
#line 195 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->id = _data_->_tmp2_;
#line 196 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp3_ = NULL;
#line 196 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp3_ = _data_->id;
#line 196 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp4_ = NULL;
#line 196 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp4_ = ggit_oid_to_string (_data_->_tmp3_);
#line 196 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp5_ = NULL;
#line 196 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp5_ = _data_->_tmp4_;
#line 196 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp6_ = NULL;
#line 196 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp6_ = string_slice (_data_->_tmp5_, (glong) 0, (glong) 6);
#line 196 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp7_ = NULL;
#line 196 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp7_ = _data_->_tmp6_;
#line 196 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_free0 (_data_->_tmp5_);
#line 196 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->shortid = _data_->_tmp7_;
#line 197 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp8_ = NULL;
#line 197 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp8_ = _data_->destination;
#line 197 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp9_ = NULL;
#line 197 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp9_ = gitg_ref_get_parsed_name (_data_->_tmp8_);
#line 197 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp10_ = NULL;
#line 197 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp10_ = _data_->_tmp9_;
#line 197 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp11_ = NULL;
#line 197 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp11_ = _data_->_tmp10_;
#line 197 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp12_ = NULL;
#line 197 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp12_ = gitg_parsed_ref_name_get_shortname (_data_->_tmp11_);
#line 197 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp13_ = NULL;
#line 197 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp13_ = _data_->_tmp12_;
#line 197 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp14_ = NULL;
#line 197 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp14_ = _data_->_tmp13_;
#line 197 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data_->_tmp11_);
#line 197 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->name = _data_->_tmp14_;
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp15_ = NULL;
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp15_ = _ ("Cherry pick %s onto %s");
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp16_ = NULL;
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp16_ = _data_->shortid;
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp17_ = NULL;
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp17_ = string_to_string (_data_->_tmp16_);
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp18_ = NULL;
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp18_ = g_strconcat ("'", _data_->_tmp17_, "'", NULL);
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp19_ = NULL;
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp19_ = _data_->_tmp18_;
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp20_ = NULL;
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp20_ = _data_->name;
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp21_ = NULL;
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp21_ = string_to_string (_data_->_tmp20_);
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp22_ = NULL;
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp22_ = g_strconcat ("'", _data_->_tmp21_, "'", NULL);
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp23_ = NULL;
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp23_ = _data_->_tmp22_;
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp24_ = NULL;
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp24_ = g_strdup_printf (_data_->_tmp15_, _data_->_tmp19_, _data_->_tmp23_);
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp25_ = NULL;
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp25_ = _data_->_tmp24_;
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp26_ = NULL;
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp26_ = gitg_simple_notification_new (_data_->_tmp25_, NULL);
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_object_ref_sink (_data_->_tmp26_);
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp27_ = NULL;
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp27_ = _data_->_tmp26_;
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_free0 (_data_->_tmp25_);
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_free0 (_data_->_tmp23_);
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_free0 (_data_->_tmp19_);
#line 199 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->notification = _data_->_tmp27_;
#line 201 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp28_ = NULL;
#line 201 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp28_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 201 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp29_ = NULL;
#line 201 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp29_ = _data_->_tmp28_;
#line 201 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp30_ = NULL;
#line 201 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp30_ = _data_->_tmp29_;
#line 201 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp31_ = NULL;
#line 201 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp31_ = gitg_ext_application_get_notifications (_data_->_tmp30_);
#line 201 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp32_ = NULL;
#line 201 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp32_ = _data_->_tmp31_;
#line 201 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp33_ = NULL;
#line 201 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp33_ = _data_->_tmp32_;
#line 201 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp34_ = NULL;
#line 201 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp34_ = _data_->notification;
#line 201 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	gitg_ext_notifications_add (_data_->_tmp33_, (GitgExtNotification*) _data_->_tmp34_);
#line 201 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data_->_tmp33_);
#line 201 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data_->_tmp30_);
#line 203 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp35_ = NULL;
#line 203 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp35_ = _data_->notification;
#line 203 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp36_ = NULL;
#line 203 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp36_ = _data_->destination;
#line 203 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_state_ = 1;
#line 203 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	gitg_commit_action_cherry_pick_create_index (_data_->self, _data_->_tmp35_, _data_->_tmp36_, gitg_commit_action_cherry_pick_cherry_pick_ready, _data_);
#line 203 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	return FALSE;
#line 2330 "gitg-commit-action-cherry-pick.c"
	_state_1:
#line 203 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp37_ = NULL;
#line 203 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp37_ = gitg_commit_action_cherry_pick_create_index_finish (_data_->self, _data_->_res_);
#line 203 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->index = _data_->_tmp37_;
#line 205 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp38_ = NULL;
#line 205 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp38_ = _data_->index;
#line 205 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	if (_data_->_tmp38_ == NULL) {
#line 207 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_object_unref0 (_data_->index);
#line 207 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_object_unref0 (_data_->notification);
#line 207 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_free0 (_data_->name);
#line 207 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_free0 (_data_->shortid);
#line 207 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		__vala_GgitOId_free0 (_data_->id);
#line 207 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		if (_data_->_state_ == 0) {
#line 207 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2358 "gitg-commit-action-cherry-pick.c"
		} else {
#line 207 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 2362 "gitg-commit-action-cherry-pick.c"
		}
#line 207 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_object_unref (_data_->_async_result);
#line 207 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		return FALSE;
#line 2368 "gitg-commit-action-cherry-pick.c"
	}
#line 210 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp39_ = NULL;
#line 210 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp39_ = _data_->index;
#line 210 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp40_ = FALSE;
#line 210 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp40_ = ggit_index_has_conflicts (_data_->_tmp39_);
#line 210 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	if (_data_->_tmp40_) {
#line 212 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp41_ = NULL;
#line 212 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp41_ = _data_->notification;
#line 212 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp42_ = NULL;
#line 212 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp42_ = _data_->index;
#line 212 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp43_ = NULL;
#line 212 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp43_ = _data_->destination;
#line 212 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_state_ = 2;
#line 212 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		gitg_commit_action_cherry_pick_checkout_conflicts (_data_->self, _data_->_tmp41_, _data_->_tmp42_, _data_->_tmp43_, gitg_commit_action_cherry_pick_cherry_pick_ready, _data_);
#line 212 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		return FALSE;
#line 2398 "gitg-commit-action-cherry-pick.c"
		_state_2:
#line 212 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		gitg_commit_action_cherry_pick_checkout_conflicts_finish (_data_->self, _data_->_res_);
#line 213 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_object_unref0 (_data_->index);
#line 213 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_object_unref0 (_data_->notification);
#line 213 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_free0 (_data_->name);
#line 213 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_free0 (_data_->shortid);
#line 213 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		__vala_GgitOId_free0 (_data_->id);
#line 213 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		if (_data_->_state_ == 0) {
#line 213 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2416 "gitg-commit-action-cherry-pick.c"
		} else {
#line 213 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 2420 "gitg-commit-action-cherry-pick.c"
		}
#line 213 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_object_unref (_data_->_async_result);
#line 213 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		return FALSE;
#line 2426 "gitg-commit-action-cherry-pick.c"
	}
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp44_ = NULL;
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp44_ = _data_->self->priv->d_support;
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp45_ = NULL;
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp45_ = _data_->notification;
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp46_ = NULL;
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp46_ = _data_->destination;
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp47_ = NULL;
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp47_ = _data_->index;
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp48_ = NULL;
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp48_ = gitg_ext_commit_action_get_commit ((GitgExtCommitAction*) _data_->self);
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp49_ = NULL;
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp49_ = _data_->_tmp48_;
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp50_ = NULL;
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp50_ = ggit_commit_get_author ((GgitCommit*) _data_->_tmp49_);
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp51_ = NULL;
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp51_ = _data_->_tmp50_;
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp52_ = NULL;
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp52_ = gitg_ext_commit_action_get_commit ((GitgExtCommitAction*) _data_->self);
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp53_ = NULL;
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp53_ = _data_->_tmp52_;
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp54_ = NULL;
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp54_ = ggit_commit_get_message ((GgitCommit*) _data_->_tmp53_);
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_state_ = 3;
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	gitg_action_support_commit_index (_data_->_tmp44_, _data_->_tmp45_, _data_->_tmp46_, _data_->_tmp47_, NULL, 0, _data_->_tmp51_, _data_->_tmp54_, gitg_commit_action_cherry_pick_cherry_pick_ready, _data_);
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	return FALSE;
#line 2478 "gitg-commit-action-cherry-pick.c"
	_state_3:
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp55_ = NULL;
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp55_ = gitg_action_support_commit_index_finish (_data_->_tmp44_, _data_->_res_);
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp56_ = NULL;
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp56_ = _data_->_tmp55_;
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data_->_tmp51_);
#line 216 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->oid = _data_->_tmp56_;
#line 223 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp57_ = NULL;
#line 223 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_data_->_tmp57_ = _data_->oid;
#line 223 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	if (_data_->_tmp57_ != NULL) {
#line 224 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp58_ = NULL;
#line 224 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp58_ = _data_->notification;
#line 224 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp59_ = NULL;
#line 224 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_data_->_tmp59_ = _ ("Successfully cherry picked");
#line 224 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		gitg_simple_notification_success (_data_->_tmp58_, _data_->_tmp59_);
#line 2508 "gitg-commit-action-cherry-pick.c"
	}
#line 193 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	__vala_GgitOId_free0 (_data_->oid);
#line 193 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data_->index);
#line 193 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_data_->notification);
#line 193 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_free0 (_data_->name);
#line 193 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_free0 (_data_->shortid);
#line 193 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	__vala_GgitOId_free0 (_data_->id);
#line 193 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	if (_data_->_state_ == 0) {
#line 193 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2526 "gitg-commit-action-cherry-pick.c"
	} else {
#line 193 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2530 "gitg-commit-action-cherry-pick.c"
	}
#line 193 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_object_unref (_data_->_async_result);
#line 193 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	return FALSE;
#line 2536 "gitg-commit-action-cherry-pick.c"
}


static void __lambda156_ (GitgCommitActionCherryPick* self, GObject* obj, GAsyncResult* res) {
	GAsyncResult* _tmp0_ = NULL;
#line 230 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_return_if_fail (res != NULL);
#line 231 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp0_ = res;
#line 231 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	gitg_commit_action_cherry_pick_cherry_pick_finish (self, _tmp0_);
#line 2548 "gitg-commit-action-cherry-pick.c"
}


static void ___lambda156__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 230 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	__lambda156_ ((GitgCommitActionCherryPick*) self, source_object, res);
#line 230 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_object_unref (self);
#line 2557 "gitg-commit-action-cherry-pick.c"
}


static void gitg_commit_action_cherry_pick_activate_destination (GitgCommitActionCherryPick* self, GitgRef* destination) {
	GitgRef* _tmp0_ = NULL;
#line 228 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_return_if_fail (self != NULL);
#line 228 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_return_if_fail (destination != NULL);
#line 230 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp0_ = destination;
#line 230 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	gitg_commit_action_cherry_pick_cherry_pick (self, _tmp0_, ___lambda156__gasync_ready_callback, g_object_ref (self));
#line 2571 "gitg-commit-action-cherry-pick.c"
}


static Block40Data* block40_data_ref (Block40Data* _data40_) {
#line 256 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_atomic_int_inc (&_data40_->_ref_count_);
#line 256 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	return _data40_;
#line 2580 "gitg-commit-action-cherry-pick.c"
}


static void block40_data_unref (void * _userdata_) {
	Block40Data* _data40_;
	_data40_ = (Block40Data*) _userdata_;
#line 256 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	if (g_atomic_int_dec_and_test (&_data40_->_ref_count_)) {
#line 2589 "gitg-commit-action-cherry-pick.c"
		GitgCommitActionCherryPick* self;
#line 256 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		self = _data40_->self;
#line 256 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_object_unref0 (_data40_->dest);
#line 256 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		_g_object_unref0 (self);
#line 256 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_slice_free (Block40Data, _data40_);
#line 2599 "gitg-commit-action-cherry-pick.c"
	}
}


static void ____lambda157_ (Block40Data* _data40_) {
	GitgCommitActionCherryPick* self;
	GitgRef* _tmp0_ = NULL;
#line 264 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	self = _data40_->self;
#line 265 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp0_ = _data40_->dest;
#line 265 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	gitg_commit_action_cherry_pick_activate_destination (self, _tmp0_);
#line 2613 "gitg-commit-action-cherry-pick.c"
}


static void _____lambda157__gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) {
#line 264 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	____lambda157_ (self);
#line 2620 "gitg-commit-action-cherry-pick.c"
}


static void gitg_commit_action_cherry_pick_real_populate_menu (GitgExtAction* base, GtkMenu* menu) {
	GitgCommitActionCherryPick * self;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
	gboolean _tmp3_ = FALSE;
	GtkMenuItem* item = NULL;
	gchar* _tmp4_ = NULL;
	gchar* _tmp5_ = NULL;
	gchar* _tmp6_ = NULL;
	GtkMenuItem* _tmp7_ = NULL;
	GtkMenuItem* _tmp8_ = NULL;
	GtkMenuItem* _tmp9_ = NULL;
	gchar* _tmp10_ = NULL;
	gchar* _tmp11_ = NULL;
	gchar* _tmp12_ = NULL;
	GtkMenuItem* _tmp13_ = NULL;
	GtkMenu* submenu = NULL;
	GtkMenu* _tmp14_ = NULL;
	GtkMenu* _tmp15_ = NULL;
	GitgRef** _tmp16_ = NULL;
	gint _tmp16__length1 = 0;
	GtkMenuItem* _tmp39_ = NULL;
	GtkMenu* _tmp40_ = NULL;
	GtkMenu* _tmp41_ = NULL;
	GtkMenuItem* _tmp42_ = NULL;
#line 235 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	self = (GitgCommitActionCherryPick*) base;
#line 235 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_return_if_fail (menu != NULL);
#line 237 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp0_ = gitg_ext_ui_element_get_available ((GitgExtUIElement*) self);
#line 237 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp1_ = _tmp0_;
#line 237 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	if (!_tmp1_) {
#line 239 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		return;
#line 2662 "gitg-commit-action-cherry-pick.c"
	}
#line 242 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	gitg_commit_action_cherry_pick_ensure_destinations (self);
#line 244 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp2_ = gitg_ext_ui_element_get_enabled ((GitgExtUIElement*) self);
#line 244 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp3_ = _tmp2_;
#line 244 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	if (!_tmp3_) {
#line 246 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		return;
#line 2674 "gitg-commit-action-cherry-pick.c"
	}
#line 249 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp4_ = gitg_ext_ui_element_get_display_name ((GitgExtUIElement*) self);
#line 249 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp5_ = _tmp4_;
#line 249 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp6_ = _tmp5_;
#line 249 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp7_ = (GtkMenuItem*) gtk_menu_item_new_with_label (_tmp6_);
#line 249 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_object_ref_sink (_tmp7_);
#line 249 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp8_ = _tmp7_;
#line 249 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_free0 (_tmp6_);
#line 249 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	item = _tmp8_;
#line 250 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp9_ = item;
#line 250 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp10_ = gitg_ext_ui_element_get_description ((GitgExtUIElement*) self);
#line 250 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp11_ = _tmp10_;
#line 250 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp12_ = _tmp11_;
#line 250 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	gtk_widget_set_tooltip_text ((GtkWidget*) _tmp9_, _tmp12_);
#line 250 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_free0 (_tmp12_);
#line 251 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp13_ = item;
#line 251 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	gtk_widget_show ((GtkWidget*) _tmp13_);
#line 253 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp14_ = (GtkMenu*) gtk_menu_new ();
#line 253 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_object_ref_sink (_tmp14_);
#line 253 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	submenu = _tmp14_;
#line 254 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp15_ = submenu;
#line 254 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	gtk_widget_show ((GtkWidget*) _tmp15_);
#line 256 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp16_ = self->priv->d_destinations;
#line 256 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp16__length1 = self->priv->d_destinations_length1;
#line 2722 "gitg-commit-action-cherry-pick.c"
	{
		GitgRef** dest_collection = NULL;
		gint dest_collection_length1 = 0;
		gint _dest_collection_size_ = 0;
		gint dest_it = 0;
#line 256 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		dest_collection = _tmp16_;
#line 256 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		dest_collection_length1 = _tmp16__length1;
#line 256 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		for (dest_it = 0; dest_it < _tmp16__length1; dest_it = dest_it + 1) {
#line 2734 "gitg-commit-action-cherry-pick.c"
			GitgRef* _tmp17_ = NULL;
			GitgRef* dest = NULL;
#line 256 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
			_tmp17_ = _g_object_ref0 (dest_collection[dest_it]);
#line 256 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
			dest = _tmp17_;
#line 2741 "gitg-commit-action-cherry-pick.c"
			{
				Block40Data* _data40_;
				gchar* name = NULL;
				GitgRef* _tmp18_ = NULL;
				GitgParsedRefName* _tmp19_ = NULL;
				GitgParsedRefName* _tmp20_ = NULL;
				GitgParsedRefName* _tmp21_ = NULL;
				gchar* _tmp22_ = NULL;
				gchar* _tmp23_ = NULL;
				gchar* _tmp24_ = NULL;
				GtkMenuItem* subitem = NULL;
				const gchar* _tmp25_ = NULL;
				GtkMenuItem* _tmp26_ = NULL;
				GtkMenuItem* _tmp27_ = NULL;
				const gchar* _tmp28_ = NULL;
				const gchar* _tmp29_ = NULL;
				const gchar* _tmp30_ = NULL;
				gchar* _tmp31_ = NULL;
				gchar* _tmp32_ = NULL;
				gchar* _tmp33_ = NULL;
				gchar* _tmp34_ = NULL;
				GtkMenuItem* _tmp35_ = NULL;
				GtkMenuItem* _tmp36_ = NULL;
				GtkMenu* _tmp37_ = NULL;
				GtkMenuItem* _tmp38_ = NULL;
#line 256 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_data40_ = g_slice_new0 (Block40Data);
#line 256 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_data40_->_ref_count_ = 1;
#line 256 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_data40_->self = g_object_ref (self);
#line 256 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_data40_->dest = dest;
#line 258 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_tmp18_ = _data40_->dest;
#line 258 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_tmp19_ = gitg_ref_get_parsed_name (_tmp18_);
#line 258 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_tmp20_ = _tmp19_;
#line 258 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_tmp21_ = _tmp20_;
#line 258 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_tmp22_ = gitg_parsed_ref_name_get_shortname (_tmp21_);
#line 258 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_tmp23_ = _tmp22_;
#line 258 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_tmp24_ = _tmp23_;
#line 258 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_g_object_unref0 (_tmp21_);
#line 258 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				name = _tmp24_;
#line 259 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_tmp25_ = name;
#line 259 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_tmp26_ = (GtkMenuItem*) gtk_menu_item_new_with_label (_tmp25_);
#line 259 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				g_object_ref_sink (_tmp26_);
#line 259 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				subitem = _tmp26_;
#line 261 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_tmp27_ = subitem;
#line 261 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_tmp28_ = _ ("Cherry pick onto %s");
#line 261 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_tmp29_ = name;
#line 261 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_tmp30_ = string_to_string (_tmp29_);
#line 261 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_tmp31_ = g_strconcat ("'", _tmp30_, "'", NULL);
#line 261 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_tmp32_ = _tmp31_;
#line 261 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_tmp33_ = g_strdup_printf (_tmp28_, _tmp32_);
#line 261 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_tmp34_ = _tmp33_;
#line 261 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				gtk_widget_set_tooltip_text ((GtkWidget*) _tmp27_, _tmp34_);
#line 261 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_g_free0 (_tmp34_);
#line 261 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_g_free0 (_tmp32_);
#line 262 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_tmp35_ = subitem;
#line 262 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				gtk_widget_show ((GtkWidget*) _tmp35_);
#line 264 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_tmp36_ = subitem;
#line 264 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				g_signal_connect_data (_tmp36_, "activate", (GCallback) _____lambda157__gtk_menu_item_activate, block40_data_ref (_data40_), (GClosureNotify) block40_data_unref, 0);
#line 268 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_tmp37_ = submenu;
#line 268 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_tmp38_ = subitem;
#line 268 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				gtk_menu_shell_append ((GtkMenuShell*) _tmp37_, (GtkWidget*) _tmp38_);
#line 256 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_g_object_unref0 (subitem);
#line 256 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_g_free0 (name);
#line 256 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				block40_data_unref (_data40_);
#line 256 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
				_data40_ = NULL;
#line 2845 "gitg-commit-action-cherry-pick.c"
			}
		}
	}
#line 271 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp39_ = item;
#line 271 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp40_ = submenu;
#line 271 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	gtk_menu_item_set_submenu (_tmp39_, _tmp40_);
#line 272 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp41_ = menu;
#line 272 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp42_ = item;
#line 272 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	gtk_menu_shell_append ((GtkMenuShell*) _tmp41_, (GtkWidget*) _tmp42_);
#line 235 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (submenu);
#line 235 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (item);
#line 2865 "gitg-commit-action-cherry-pick.c"
}


static void gitg_commit_action_cherry_pick_real_activate (GitgExtUIElement* base) {
	GitgCommitActionCherryPick * self;
#line 275 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	self = (GitgCommitActionCherryPick*) base;
#line 2873 "gitg-commit-action-cherry-pick.c"
}


static GitgExtApplication* gitg_commit_action_cherry_pick_real_get_application (GitgExtUIElement* base) {
	GitgExtApplication* result;
	GitgCommitActionCherryPick* self;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
#line 28 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	self = (GitgCommitActionCherryPick*) base;
#line 28 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp0_ = self->priv->_application;
#line 28 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 28 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	result = _tmp1_;
#line 28 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	return result;
#line 2892 "gitg-commit-action-cherry-pick.c"
}


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


static GitgExtRefActionInterface* gitg_commit_action_cherry_pick_real_get_action_interface (GitgExtCommitAction* base) {
	GitgExtRefActionInterface* result;
	GitgCommitActionCherryPick* self;
	GitgExtRefActionInterface* _tmp0_ = NULL;
#line 29 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	self = (GitgCommitActionCherryPick*) base;
#line 29 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp0_ = self->priv->_action_interface;
#line 29 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	result = _tmp0_;
#line 29 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	return result;
#line 2928 "gitg-commit-action-cherry-pick.c"
}


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


static GitgCommit* gitg_commit_action_cherry_pick_real_get_commit (GitgExtCommitAction* base) {
	GitgCommit* result;
	GitgCommitActionCherryPick* self;
	GitgCommit* _tmp0_ = NULL;
#line 30 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	self = (GitgCommitActionCherryPick*) base;
#line 30 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp0_ = self->priv->_commit;
#line 30 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	result = _tmp0_;
#line 30 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	return result;
#line 2964 "gitg-commit-action-cherry-pick.c"
}


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


static gchar* gitg_commit_action_cherry_pick_real_get_id (GitgExtUIElement* base) {
	gchar* result;
	GitgCommitActionCherryPick* self;
	gchar* _tmp0_ = NULL;
#line 48 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	self = (GitgCommitActionCherryPick*) base;
#line 48 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp0_ = g_strdup ("/org/gnome/gitg/commit-actions/cherry-pick");
#line 48 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	result = _tmp0_;
#line 48 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	return result;
#line 3000 "gitg-commit-action-cherry-pick.c"
}


static gchar* gitg_commit_action_cherry_pick_real_get_display_name (GitgExtUIElement* base) {
	gchar* result;
	GitgCommitActionCherryPick* self;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 53 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	self = (GitgCommitActionCherryPick*) base;
#line 53 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp0_ = _ ("Cherry pick onto");
#line 53 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 53 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	result = _tmp1_;
#line 53 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	return result;
#line 3019 "gitg-commit-action-cherry-pick.c"
}


static gchar* gitg_commit_action_cherry_pick_real_get_description (GitgExtUIElement* base) {
	gchar* result;
	GitgCommitActionCherryPick* self;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 58 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	self = (GitgCommitActionCherryPick*) base;
#line 58 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp0_ = _ ("Cherry pick this commit onto a branch");
#line 58 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 58 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	result = _tmp1_;
#line 58 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	return result;
#line 3038 "gitg-commit-action-cherry-pick.c"
}


static gboolean gitg_commit_action_cherry_pick_real_get_available (GitgExtUIElement* base) {
	gboolean result;
	GitgCommitActionCherryPick* self;
#line 63 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	self = (GitgCommitActionCherryPick*) base;
#line 63 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	result = TRUE;
#line 63 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	return result;
#line 3051 "gitg-commit-action-cherry-pick.c"
}


static gboolean gitg_commit_action_cherry_pick_real_get_enabled (GitgExtUIElement* base) {
	gboolean result;
	GitgCommitActionCherryPick* self;
	GitgCommit* _tmp0_ = NULL;
	GitgCommit* _tmp1_ = NULL;
	GgitCommitParents* _tmp2_ = NULL;
	GgitCommitParents* _tmp3_ = NULL;
	guint _tmp4_ = 0U;
	gboolean _tmp5_ = FALSE;
	GitgRef** _tmp6_ = NULL;
	gint _tmp6__length1 = 0;
#line 68 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	self = (GitgCommitActionCherryPick*) base;
#line 70 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp0_ = gitg_ext_commit_action_get_commit ((GitgExtCommitAction*) self);
#line 70 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp1_ = _tmp0_;
#line 70 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp2_ = ggit_commit_get_parents ((GgitCommit*) _tmp1_);
#line 70 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp3_ = _tmp2_;
#line 70 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp4_ = ggit_commit_parents_get_size (_tmp3_);
#line 70 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp5_ = _tmp4_ > ((guint) 1);
#line 70 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (_tmp3_);
#line 70 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	if (_tmp5_) {
#line 72 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		result = FALSE;
#line 72 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		return result;
#line 3088 "gitg-commit-action-cherry-pick.c"
	}
#line 75 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	gitg_commit_action_cherry_pick_ensure_destinations (self);
#line 76 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp6_ = self->priv->d_destinations;
#line 76 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_tmp6__length1 = self->priv->d_destinations_length1;
#line 76 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	result = _tmp6__length1 != 0;
#line 76 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	return result;
#line 3100 "gitg-commit-action-cherry-pick.c"
}


static void gitg_commit_action_cherry_pick_class_init (GitgCommitActionCherryPickClass * klass) {
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	gitg_commit_action_cherry_pick_parent_class = g_type_class_peek_parent (klass);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_type_class_add_private (klass, sizeof (GitgCommitActionCherryPickPrivate));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_commit_action_cherry_pick_get_property;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_commit_action_cherry_pick_set_property;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_commit_action_cherry_pick_finalize;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_ACTION_CHERRY_PICK_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-cherry-pick.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_ACTION_CHERRY_PICK_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-cherry-pick.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_ACTION_CHERRY_PICK_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-cherry-pick.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_ACTION_CHERRY_PICK_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-cherry-pick.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_ACTION_CHERRY_PICK_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-cherry-pick.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_ACTION_CHERRY_PICK_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 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_ACTION_CHERRY_PICK_AVAILABLE, g_param_spec_boolean ("available", "available", "available", FALSE, 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-cherry-pick.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_ACTION_CHERRY_PICK_ENABLED, g_param_spec_boolean ("enabled", "enabled", "enabled", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 3131 "gitg-commit-action-cherry-pick.c"
}


static void gitg_commit_action_cherry_pick_gitg_ext_ui_element_interface_init (GitgExtUIElementIface * iface) {
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	gitg_commit_action_cherry_pick_gitg_ext_ui_element_parent_iface = g_type_interface_peek_parent (iface);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	iface->activate = (void (*)(GitgExtUIElement*)) gitg_commit_action_cherry_pick_real_activate;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	iface->get_application = gitg_commit_action_cherry_pick_real_get_application;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	iface->set_application = gitg_commit_action_cherry_pick_real_set_application;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	iface->get_id = gitg_commit_action_cherry_pick_real_get_id;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	iface->get_display_name = gitg_commit_action_cherry_pick_real_get_display_name;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	iface->get_description = gitg_commit_action_cherry_pick_real_get_description;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	iface->get_available = gitg_commit_action_cherry_pick_real_get_available;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	iface->get_enabled = gitg_commit_action_cherry_pick_real_get_enabled;
#line 3154 "gitg-commit-action-cherry-pick.c"
}


static void gitg_commit_action_cherry_pick_gitg_ext_action_interface_init (GitgExtActionIface * iface) {
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	gitg_commit_action_cherry_pick_gitg_ext_action_parent_iface = g_type_interface_peek_parent (iface);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	iface->populate_menu = (void (*)(GitgExtAction*, GtkMenu*)) gitg_commit_action_cherry_pick_real_populate_menu;
#line 3163 "gitg-commit-action-cherry-pick.c"
}


static void gitg_commit_action_cherry_pick_gitg_ext_commit_action_interface_init (GitgExtCommitActionIface * iface) {
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	gitg_commit_action_cherry_pick_gitg_ext_commit_action_parent_iface = g_type_interface_peek_parent (iface);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	iface->get_action_interface = gitg_commit_action_cherry_pick_real_get_action_interface;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	iface->set_action_interface = gitg_commit_action_cherry_pick_real_set_action_interface;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	iface->get_commit = gitg_commit_action_cherry_pick_real_get_commit;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	iface->set_commit = gitg_commit_action_cherry_pick_real_set_commit;
#line 3178 "gitg-commit-action-cherry-pick.c"
}


static void gitg_commit_action_cherry_pick_instance_init (GitgCommitActionCherryPick * self) {
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	self->priv = GITG_COMMIT_ACTION_CHERRY_PICK_GET_PRIVATE (self);
#line 3185 "gitg-commit-action-cherry-pick.c"
}


static void gitg_commit_action_cherry_pick_finalize (GObject* obj) {
	GitgCommitActionCherryPick * self;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_COMMIT_ACTION_CHERRY_PICK, GitgCommitActionCherryPick);
#line 28 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (self->priv->_application);
#line 29 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (self->priv->_action_interface);
#line 30 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (self->priv->_commit);
#line 32 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	self->priv->d_destinations = (_vala_array_free (self->priv->d_destinations, self->priv->d_destinations_length1, (GDestroyNotify) g_object_unref), NULL);
#line 33 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	_g_object_unref0 (self->priv->d_support);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	G_OBJECT_CLASS (gitg_commit_action_cherry_pick_parent_class)->finalize (obj);
#line 3205 "gitg-commit-action-cherry-pick.c"
}


GType gitg_commit_action_cherry_pick_get_type (void) {
	static volatile gsize gitg_commit_action_cherry_pick_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_commit_action_cherry_pick_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgCommitActionCherryPickClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_commit_action_cherry_pick_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgCommitActionCherryPick), 0, (GInstanceInitFunc) gitg_commit_action_cherry_pick_instance_init, NULL };
		static const GInterfaceInfo gitg_ext_ui_element_info = { (GInterfaceInitFunc) gitg_commit_action_cherry_pick_gitg_ext_ui_element_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		static const GInterfaceInfo gitg_ext_action_info = { (GInterfaceInitFunc) gitg_commit_action_cherry_pick_gitg_ext_action_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		static const GInterfaceInfo gitg_ext_commit_action_info = { (GInterfaceInitFunc) gitg_commit_action_cherry_pick_gitg_ext_commit_action_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType gitg_commit_action_cherry_pick_type_id;
		gitg_commit_action_cherry_pick_type_id = g_type_register_static (G_TYPE_OBJECT, "GitgCommitActionCherryPick", &g_define_type_info, 0);
		g_type_add_interface_static (gitg_commit_action_cherry_pick_type_id, GITG_EXT_TYPE_UI_ELEMENT, &gitg_ext_ui_element_info);
		g_type_add_interface_static (gitg_commit_action_cherry_pick_type_id, GITG_EXT_TYPE_ACTION, &gitg_ext_action_info);
		g_type_add_interface_static (gitg_commit_action_cherry_pick_type_id, GITG_EXT_TYPE_COMMIT_ACTION, &gitg_ext_commit_action_info);
		g_once_init_leave (&gitg_commit_action_cherry_pick_type_id__volatile, gitg_commit_action_cherry_pick_type_id);
	}
	return gitg_commit_action_cherry_pick_type_id__volatile;
}


static void _vala_gitg_commit_action_cherry_pick_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GitgCommitActionCherryPick * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_COMMIT_ACTION_CHERRY_PICK, GitgCommitActionCherryPick);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	switch (property_id) {
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		case GITG_COMMIT_ACTION_CHERRY_PICK_APPLICATION:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_value_take_object (value, gitg_ext_ui_element_get_application ((GitgExtUIElement*) self));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		break;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		case GITG_COMMIT_ACTION_CHERRY_PICK_ACTION_INTERFACE:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.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-cherry-pick.vala"
		break;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		case GITG_COMMIT_ACTION_CHERRY_PICK_COMMIT:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_value_set_object (value, gitg_ext_commit_action_get_commit ((GitgExtCommitAction*) self));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		break;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		case GITG_COMMIT_ACTION_CHERRY_PICK_ID:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_value_take_string (value, gitg_ext_ui_element_get_id ((GitgExtUIElement*) self));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		break;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		case GITG_COMMIT_ACTION_CHERRY_PICK_DISPLAY_NAME:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.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-cherry-pick.vala"
		break;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		case GITG_COMMIT_ACTION_CHERRY_PICK_DESCRIPTION:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_value_take_string (value, gitg_ext_ui_element_get_description ((GitgExtUIElement*) self));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		break;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		case GITG_COMMIT_ACTION_CHERRY_PICK_AVAILABLE:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_value_set_boolean (value, gitg_ext_ui_element_get_available ((GitgExtUIElement*) self));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		break;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		case GITG_COMMIT_ACTION_CHERRY_PICK_ENABLED:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		g_value_set_boolean (value, gitg_ext_ui_element_get_enabled ((GitgExtUIElement*) self));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		break;
#line 3280 "gitg-commit-action-cherry-pick.c"
		default:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		break;
#line 3286 "gitg-commit-action-cherry-pick.c"
	}
}


static void _vala_gitg_commit_action_cherry_pick_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	GitgCommitActionCherryPick * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_COMMIT_ACTION_CHERRY_PICK, GitgCommitActionCherryPick);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
	switch (property_id) {
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		case GITG_COMMIT_ACTION_CHERRY_PICK_APPLICATION:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		gitg_ext_ui_element_set_application ((GitgExtUIElement*) self, g_value_get_object (value));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		break;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		case GITG_COMMIT_ACTION_CHERRY_PICK_ACTION_INTERFACE:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.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-cherry-pick.vala"
		break;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		case GITG_COMMIT_ACTION_CHERRY_PICK_COMMIT:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		gitg_ext_commit_action_set_commit ((GitgExtCommitAction*) self, g_value_get_object (value));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		break;
#line 3314 "gitg-commit-action-cherry-pick.c"
		default:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-commit-action-cherry-pick.vala"
		break;
#line 3320 "gitg-commit-action-cherry-pick.c"
	}
}


static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) {
	if ((array != NULL) && (destroy_func != NULL)) {
		int i;
		for (i = 0; i < array_length; i = i + 1) {
			if (((gpointer*) array)[i] != NULL) {
				destroy_func (((gpointer*) array)[i]);
			}
		}
	}
}


static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) {
	_vala_array_destroy (array, array_length, destroy_func);
	g_free (array);
}



