/* gitg-action-support.c generated by valac 0.35.5.2-9e6c0, the Vala compiler
 * generated from gitg-action-support.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 <stdlib.h>
#include <string.h>
#include <config.h>
#include <gio/gio.h>
#include <libgit2-glib/ggit.h>
#include "libgitg/libgitg.h"
#include <glib/gi18n-lib.h>
#include <gtk/gtk.h>


#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;
typedef struct _GitgActionSupportPrivate GitgActionSupportPrivate;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
typedef struct _Block27Data Block27Data;
#define __vala_GgitStatusOptions_free0(var) ((var == NULL) ? NULL : (var = (_vala_GgitStatusOptions_free (var), NULL)))
typedef struct _GitgActionSupportWorkingDirectoryDirtyData GitgActionSupportWorkingDirectoryDirtyData;

#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 _Block28Data Block28Data;
#define _g_free0(var) (var = (g_free (var), NULL))
#define __vala_GgitOId_free0(var) ((var == NULL) ? NULL : (var = (_vala_GgitOId_free (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
typedef struct _GitgActionSupportSaveStashData GitgActionSupportSaveStashData;
typedef struct _GitgActionSupportStashIfNeededData GitgActionSupportStashIfNeededData;
typedef struct _Block29Data Block29Data;

#define GITG_TYPE_REF_ACTION_CHECKOUT (gitg_ref_action_checkout_get_type ())
#define GITG_REF_ACTION_CHECKOUT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_REF_ACTION_CHECKOUT, GitgRefActionCheckout))
#define GITG_REF_ACTION_CHECKOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_REF_ACTION_CHECKOUT, GitgRefActionCheckoutClass))
#define GITG_IS_REF_ACTION_CHECKOUT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_REF_ACTION_CHECKOUT))
#define GITG_IS_REF_ACTION_CHECKOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_REF_ACTION_CHECKOUT))
#define GITG_REF_ACTION_CHECKOUT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_REF_ACTION_CHECKOUT, GitgRefActionCheckoutClass))

typedef struct _GitgRefActionCheckout GitgRefActionCheckout;
typedef struct _GitgRefActionCheckoutClass GitgRefActionCheckoutClass;
typedef struct _GitgActionSupportCheckoutConflictsData GitgActionSupportCheckoutConflictsData;
typedef struct _Block30Data Block30Data;
typedef struct _GitgActionSupportCommitIndexData GitgActionSupportCommitIndexData;

struct _GitgActionSupport {
	GObject parent_instance;
	GitgActionSupportPrivate * priv;
};

struct _GitgActionSupportClass {
	GObjectClass parent_class;
};

struct _GitgActionSupportPrivate {
	GitgExtApplication* _application;
	GitgExtRefActionInterface* _action_interface;
};

struct _Block27Data {
	int _ref_count_;
	GitgActionSupport* self;
	GgitStatusOptions* options;
	gboolean is_dirty;
	gpointer _async_data_;
};

struct _GitgActionSupportWorkingDirectoryDirtyData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	gboolean _task_complete_;
	GitgActionSupport* self;
	gboolean result;
	Block27Data* _data27_;
	GgitStatusOptions* _tmp0_;
};

struct _Block28Data {
	int _ref_count_;
	GitgActionSupport* self;
	GgitSignature* committer;
	GitgRef* head;
	gpointer _async_data_;
};

struct _GitgActionSupportSaveStashData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	gboolean _task_complete_;
	GitgActionSupport* self;
	GitgSimpleNotification* notification;
	GitgRef* head;
	gboolean result;
	Block28Data* _data28_;
	GitgRef* _tmp0_;
	GitgExtApplication* _tmp1_;
	GitgExtApplication* _tmp2_;
	GitgExtApplication* _tmp3_;
	GgitSignature* _tmp4_;
	GgitSignature* _tmp5_;
	GgitSignature* _tmp6_;
	GError* err;
	GitgSimpleNotification* _tmp7_;
	GError* _tmp8_;
	const gchar* _tmp9_;
	gchar* _tmp10_;
	gchar* _tmp11_;
	GError * _inner_error_;
};

struct _GitgActionSupportStashIfNeededData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	gboolean _task_complete_;
	GitgActionSupport* self;
	GitgSimpleNotification* notification;
	GitgRef* head;
	gboolean result;
	gboolean _tmp0_;
	GitgExtUserQuery* q;
	GitgExtUserQuery* _tmp1_;
	GitgExtApplication* _tmp2_;
	GitgExtApplication* _tmp3_;
	GitgExtApplication* _tmp4_;
	GitgExtUserQuery* _tmp5_;
	GtkResponseType _tmp6_;
	gboolean _tmp7_;
	GitgSimpleNotification* _tmp8_;
	GitgSimpleNotification* _tmp9_;
	GitgRef* _tmp10_;
	gboolean _tmp11_;
};

struct _Block29Data {
	int _ref_count_;
	GitgActionSupport* self;
	GgitIndex* index;
	gpointer _async_data_;
};

struct _GitgActionSupportCheckoutConflictsData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	gboolean _task_complete_;
	GitgActionSupport* self;
	GitgSimpleNotification* notification;
	GitgRef* reference;
	GgitIndex* index;
	GitgRef* head;
	gboolean result;
	Block29Data* _data29_;
	GgitIndex* _tmp0_;
	GitgSimpleNotification* _tmp1_;
	GitgRef* _tmp2_;
	gboolean _tmp3_;
	GitgRef* _tmp4_;
	GitgRefActionCheckout* checkout;
	GitgExtApplication* _tmp5_;
	GitgExtApplication* _tmp6_;
	GitgExtApplication* _tmp7_;
	GitgExtRefActionInterface* _tmp8_;
	GitgExtRefActionInterface* _tmp9_;
	GitgExtRefActionInterface* _tmp10_;
	GitgRef* _tmp11_;
	GitgRefActionCheckout* _tmp12_;
	GitgRefActionCheckout* _tmp13_;
	GitgRefActionCheckout* _tmp14_;
	gboolean _tmp15_;
	GitgSimpleNotification* _tmp16_;
	GError* err;
	GitgSimpleNotification* _tmp17_;
	GError* _tmp18_;
	const gchar* _tmp19_;
	gchar* _tmp20_;
	gchar* _tmp21_;
	GError * _inner_error_;
};

struct _Block30Data {
	int _ref_count_;
	GitgActionSupport* self;
	GgitOId* oid;
	GgitTree* head_tree;
	gpointer _async_data_;
};

struct _GitgActionSupportCommitIndexData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	gboolean _task_complete_;
	GitgActionSupport* self;
	GitgSimpleNotification* notification;
	GitgRef* reference;
	GgitIndex* index;
	GgitOId** parents;
	gint parents_length1;
	GgitSignature* author;
	gchar* message;
	GgitOId* result;
	Block30Data* _data30_;
	GgitSignature* committer;
	GitgExtApplication* _tmp0_;
	GitgExtApplication* _tmp1_;
	GitgExtApplication* _tmp2_;
	GgitSignature* _tmp3_;
	GgitSignature* _tmp4_;
	GgitSignature* _tmp5_;
	GitgSimpleNotification* _tmp6_;
	GgitSignature* _tmp7_;
	GgitSignature* _tmp8_;
	GitgStage* stage;
	GitgExtApplication* _tmp10_;
	GitgExtApplication* _tmp11_;
	GitgExtApplication* _tmp12_;
	GitgRepository* _tmp13_;
	GitgRepository* _tmp14_;
	GitgRepository* _tmp15_;
	GitgStage* _tmp16_;
	GitgStage* _tmp17_;
	GitgStage* _tmp18_;
	GitgRef* head;
	gboolean ishead;
	GitgRef* _tmp19_;
	gboolean _tmp20_;
	GitgCommit* commit;
	GgitObject* _tmp21_;
	GitgRef* _tmp22_;
	GgitObject* _tmp23_;
	GgitObject* _tmp24_;
	GitgCommit* _tmp25_;
	GError* e;
	GitgSimpleNotification* _tmp26_;
	GError* _tmp27_;
	const gchar* _tmp28_;
	gchar* _tmp29_;
	gchar* _tmp30_;
	gboolean _tmp31_;
	GitgSimpleNotification* _tmp32_;
	GitgRef* _tmp33_;
	gboolean _tmp34_;
	GitgCommit* _tmp35_;
	GgitTree* _tmp36_;
	GgitOId** _tmp37_;
	gint _tmp37__length1;
	GitgCommit* _tmp38_;
	GgitOId* _tmp39_;
	GgitOId** _tmp40_;
	GitgRef* _tmp41_;
	gboolean _tmp42_;
	GitgRef* _tmp43_;
	GitgRef* _tmp44_;
	GgitOId* _tmp45_;
	GitgStage* _tmp46_;
	GgitIndex* _tmp47_;
	const gchar* _tmp48_;
	GgitSignature* _tmp49_;
	GgitSignature* _tmp50_;
	GgitOId** _tmp51_;
	gint _tmp51__length1;
	GgitOId* _tmp52_;
	GgitOId* _tmp53_;
	GError* _vala1_e;
	GitgSimpleNotification* _tmp54_;
	GError* _tmp55_;
	const gchar* _tmp56_;
	gchar* _tmp57_;
	gchar* _tmp58_;
	gboolean _tmp59_;
	GError* _vala2_e;
	GitgSimpleNotification* _tmp60_;
	GError* _tmp61_;
	const gchar* _tmp62_;
	gchar* _tmp63_;
	gchar* _tmp64_;
	GgitOId* _tmp65_;
	GgitOId* _tmp66_;
	GError * _inner_error_;
};


static gpointer gitg_action_support_parent_class = NULL;

GType gitg_action_support_get_type (void) G_GNUC_CONST;
#define GITG_ACTION_SUPPORT_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_TYPE_ACTION_SUPPORT, GitgActionSupportPrivate))
enum  {
	GITG_ACTION_SUPPORT_DUMMY_PROPERTY,
	GITG_ACTION_SUPPORT_APPLICATION,
	GITG_ACTION_SUPPORT_ACTION_INTERFACE
};
#define GITG_ACTION_SUPPORT_version VERSION
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_action_support_working_directory_dirty_data_free (gpointer _data);
void gitg_action_support_working_directory_dirty (GitgActionSupport* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
gboolean gitg_action_support_working_directory_dirty_finish (GitgActionSupport* self, GAsyncResult* _res_);
static gboolean gitg_action_support_working_directory_dirty_co (GitgActionSupportWorkingDirectoryDirtyData* _data_);
static Block27Data* block27_data_ref (Block27Data* _data27_);
static void _vala_GgitStatusOptions_free (GgitStatusOptions* self);
static void block27_data_unref (void * _userdata_);
static void __lambda9_ (Block27Data* _data27_, GError** error);
GitgExtApplication* gitg_action_support_get_application (GitgActionSupport* self);
static gint __lambda10_ (Block27Data* _data27_, const gchar* path, GgitStatusFlags flags);
static gint ___lambda10__ggit_status_callback (const gchar* path, GgitStatusFlags status_flags, gpointer self);
static void ___lambda9__gitg_async_thread_func (gpointer self, GError** error);
static void gitg_action_support_working_directory_dirty_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void gitg_action_support_save_stash_data_free (gpointer _data);
GType gitg_simple_notification_get_type (void) G_GNUC_CONST;
void gitg_action_support_save_stash (GitgActionSupport* self, GitgSimpleNotification* notification, GitgRef* head, GAsyncReadyCallback _callback_, gpointer _user_data_);
gboolean gitg_action_support_save_stash_finish (GitgActionSupport* self, GAsyncResult* _res_);
static gboolean gitg_action_support_save_stash_co (GitgActionSupportSaveStashData* _data_);
static Block28Data* block28_data_ref (Block28Data* _data28_);
static void block28_data_unref (void * _userdata_);
static void ___lambda11_ (Block28Data* _data28_, GError** error);
static void _vala_GgitOId_free (GgitOId* self);
static void ____lambda11__gitg_async_thread_func (gpointer self, GError** error);
static void gitg_action_support_save_stash_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
void gitg_simple_notification_error (GitgSimpleNotification* self, const gchar* message);
gboolean gitg_action_support_reference_is_head (GitgActionSupport* self, GitgRef* reference, GitgRef* * head);
static void gitg_action_support_stash_if_needed_data_free (gpointer _data);
void gitg_action_support_stash_if_needed (GitgActionSupport* self, GitgSimpleNotification* notification, GitgRef* head, GAsyncReadyCallback _callback_, gpointer _user_data_);
gboolean gitg_action_support_stash_if_needed_finish (GitgActionSupport* self, GAsyncResult* _res_);
static gboolean gitg_action_support_stash_if_needed_co (GitgActionSupportStashIfNeededData* _data_);
static void gitg_action_support_stash_if_needed_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void gitg_action_support_checkout_conflicts_data_free (gpointer _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 gboolean gitg_action_support_checkout_conflicts_co (GitgActionSupportCheckoutConflictsData* _data_);
static Block29Data* block29_data_ref (Block29Data* _data29_);
static void block29_data_unref (void * _userdata_);
static void gitg_action_support_checkout_conflicts_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
GType gitg_ref_action_checkout_get_type (void) G_GNUC_CONST;
GitgExtRefActionInterface* gitg_action_support_get_action_interface (GitgActionSupport* self);
GitgRefActionCheckout* gitg_ref_action_checkout_new (GitgExtApplication* application, GitgExtRefActionInterface* action_interface, GitgRef* reference);
GitgRefActionCheckout* gitg_ref_action_checkout_construct (GType object_type, GitgExtApplication* application, GitgExtRefActionInterface* action_interface, GitgRef* reference);
void gitg_ref_action_checkout_checkout (GitgRefActionCheckout* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
gboolean gitg_ref_action_checkout_checkout_finish (GitgRefActionCheckout* self, GAsyncResult* _res_);
static void ___lambda12_ (Block29Data* _data29_, GError** error);
static void ____lambda12__gitg_async_thread_func (gpointer self, GError** error);
static void gitg_action_support_commit_index_data_free (gpointer _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 gboolean gitg_action_support_commit_index_co (GitgActionSupportCommitIndexData* _data_);
static Block30Data* block30_data_ref (Block30Data* _data30_);
static void block30_data_unref (void * _userdata_);
static void gitg_action_support_commit_index_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void ____lambda13_ (Block30Data* _data30_, GError** error);
static void _____lambda13__gitg_async_thread_func (gpointer self, GError** error);
static GgitOId* _vala_GgitOId_copy (GgitOId* self);
void gitg_action_support_set_application (GitgActionSupport* self, GitgExtApplication* value);
void gitg_action_support_set_action_interface (GitgActionSupport* self, GitgExtRefActionInterface* value);
static void gitg_action_support_finalize (GObject * obj);
static void _vala_gitg_action_support_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_gitg_action_support_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);


GitgActionSupport* gitg_action_support_construct (GType object_type, GitgExtApplication* application, GitgExtRefActionInterface* action_interface) {
	GitgActionSupport * self = NULL;
	GitgExtApplication* _tmp0_;
	GitgExtRefActionInterface* _tmp1_;
#line 31 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_return_val_if_fail (application != NULL, NULL);
#line 31 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_return_val_if_fail (action_interface != NULL, NULL);
#line 33 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp0_ = application;
#line 33 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp1_ = action_interface;
#line 33 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	self = (GitgActionSupport*) g_object_new (object_type, "application", _tmp0_, "action-interface", _tmp1_, NULL);
#line 31 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	return self;
#line 420 "gitg-action-support.c"
}


GitgActionSupport* gitg_action_support_new (GitgExtApplication* application, GitgExtRefActionInterface* action_interface) {
#line 31 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	return gitg_action_support_construct (GITG_TYPE_ACTION_SUPPORT, application, action_interface);
#line 427 "gitg-action-support.c"
}


static void gitg_action_support_working_directory_dirty_data_free (gpointer _data) {
	GitgActionSupportWorkingDirectoryDirtyData* _data_;
	_data_ = _data;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->self);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_slice_free (GitgActionSupportWorkingDirectoryDirtyData, _data_);
#line 438 "gitg-action-support.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	return self ? g_object_ref (self) : NULL;
#line 445 "gitg-action-support.c"
}


void gitg_action_support_working_directory_dirty (GitgActionSupport* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgActionSupportWorkingDirectoryDirtyData* _data_;
	GitgActionSupport* _tmp0_;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_ = g_slice_new0 (GitgActionSupportWorkingDirectoryDirtyData);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (_callback_ == NULL) {
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_task_complete_ = TRUE;
#line 460 "gitg-action-support.c"
	}
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_task_set_task_data (_data_->_async_result, _data_, gitg_action_support_working_directory_dirty_data_free);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->self = _tmp0_;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	gitg_action_support_working_directory_dirty_co (_data_);
#line 470 "gitg-action-support.c"
}


gboolean gitg_action_support_working_directory_dirty_finish (GitgActionSupport* self, GAsyncResult* _res_) {
	gboolean result;
	GitgActionSupportWorkingDirectoryDirtyData* _data_;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_task_complete_ = TRUE;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	result = _data_->result;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	return result;
#line 485 "gitg-action-support.c"
}


static Block27Data* block27_data_ref (Block27Data* _data27_) {
#line 36 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_atomic_int_inc (&_data27_->_ref_count_);
#line 36 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	return _data27_;
#line 494 "gitg-action-support.c"
}


static void _vala_GgitStatusOptions_free (GgitStatusOptions* self) {
#line 36 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_boxed_free (ggit_status_options_get_type (), self);
#line 501 "gitg-action-support.c"
}


static void block27_data_unref (void * _userdata_) {
	Block27Data* _data27_;
	_data27_ = (Block27Data*) _userdata_;
#line 36 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (g_atomic_int_dec_and_test (&_data27_->_ref_count_)) {
#line 510 "gitg-action-support.c"
		GitgActionSupport* self;
#line 36 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		self = _data27_->self;
#line 36 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		__vala_GgitStatusOptions_free0 (_data27_->options);
#line 36 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (self);
#line 36 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_slice_free (Block27Data, _data27_);
#line 520 "gitg-action-support.c"
	}
}


static gint __lambda10_ (Block27Data* _data27_, const gchar* path, GgitStatusFlags flags) {
	GitgActionSupport* self;
	gint result = 0;
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	self = _data27_->self;
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_return_val_if_fail (path != NULL, 0);
#line 45 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data27_->is_dirty = TRUE;
#line 46 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	result = -1;
#line 46 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	return result;
#line 538 "gitg-action-support.c"
}


static gint ___lambda10__ggit_status_callback (const gchar* path, GgitStatusFlags status_flags, gpointer self) {
	gint result;
	result = __lambda10_ (self, path, status_flags);
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	return result;
#line 547 "gitg-action-support.c"
}


static void __lambda9_ (Block27Data* _data27_, GError** error) {
	GitgActionSupport* self;
	GitgExtApplication* _tmp0_;
	GitgExtApplication* _tmp1_;
	GitgExtApplication* _tmp2_;
	GitgRepository* _tmp3_;
	GitgRepository* _tmp4_;
	GitgRepository* _tmp5_;
	GError * _inner_error_ = NULL;
#line 43 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	self = _data27_->self;
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp0_ = gitg_action_support_get_application (self);
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp1_ = _tmp0_;
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp2_ = _tmp1_;
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp3_ = gitg_ext_application_get_repository (_tmp2_);
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp4_ = _tmp3_;
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp5_ = _tmp4_;
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	ggit_repository_file_status_foreach ((GgitRepository*) _tmp5_, _data27_->options, ___lambda10__ggit_status_callback, _data27_, &_inner_error_);
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_tmp5_);
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_tmp2_);
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_propagate_error (error, _inner_error_);
#line 44 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		return;
#line 586 "gitg-action-support.c"
	}
}


static void ___lambda9__gitg_async_thread_func (gpointer self, GError** error) {
#line 43 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	__lambda9_ (self, error);
#line 594 "gitg-action-support.c"
}


static void gitg_action_support_working_directory_dirty_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgActionSupportWorkingDirectoryDirtyData* _data_;
#line 43 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_ = _user_data_;
#line 43 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_source_object_ = source_object;
#line 43 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_res_ = _res_;
#line 43 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_task_complete_ = TRUE;
#line 43 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	gitg_action_support_working_directory_dirty_co (_data_);
#line 610 "gitg-action-support.c"
}


static gboolean gitg_action_support_working_directory_dirty_co (GitgActionSupportWorkingDirectoryDirtyData* _data_) {
#line 36 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	switch (_data_->_state_) {
#line 36 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		case 0:
#line 619 "gitg-action-support.c"
		goto _state_0;
#line 36 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		case 1:
#line 623 "gitg-action-support.c"
		goto _state_1;
		default:
#line 36 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_assert_not_reached ();
#line 628 "gitg-action-support.c"
	}
	_state_0:
#line 36 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_data27_ = g_slice_new0 (Block27Data);
#line 36 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_data27_->_ref_count_ = 1;
#line 36 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_data27_->self = g_object_ref (_data_->self);
#line 36 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_data27_->_async_data_ = _data_;
#line 38 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp0_ = ggit_status_options_new (GGIT_STATUS_OPTION_EXCLUDE_SUBMODULES, GGIT_STATUS_SHOW_WORKDIR_ONLY, NULL);
#line 38 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_data27_->options = _data_->_tmp0_;
#line 41 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_data27_->is_dirty = FALSE;
#line 43 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_state_ = 1;
#line 43 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	gitg_async_thread_try (___lambda9__gitg_async_thread_func, _data_->_data27_, gitg_action_support_working_directory_dirty_ready, _data_);
#line 43 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	return FALSE;
#line 651 "gitg-action-support.c"
	_state_1:
#line 43 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	gitg_async_thread_try_finish (_data_->_res_);
#line 50 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->result = _data_->_data27_->is_dirty;
#line 50 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	block27_data_unref (_data_->_data27_);
#line 50 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_data27_ = NULL;
#line 50 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 50 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (_data_->_state_ != 0) {
#line 50 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 50 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 669 "gitg-action-support.c"
		}
	}
#line 50 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_object_unref (_data_->_async_result);
#line 50 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	return FALSE;
#line 676 "gitg-action-support.c"
}


static void gitg_action_support_save_stash_data_free (gpointer _data) {
	GitgActionSupportSaveStashData* _data_;
	_data_ = _data;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->notification);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->self);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_slice_free (GitgActionSupportSaveStashData, _data_);
#line 689 "gitg-action-support.c"
}


void gitg_action_support_save_stash (GitgActionSupport* self, GitgSimpleNotification* notification, GitgRef* head, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgActionSupportSaveStashData* _data_;
	GitgActionSupport* _tmp0_;
	GitgSimpleNotification* _tmp1_;
	GitgSimpleNotification* _tmp2_;
	GitgRef* _tmp3_;
	GitgRef* _tmp4_;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_ = g_slice_new0 (GitgActionSupportSaveStashData);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (_callback_ == NULL) {
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_task_complete_ = TRUE;
#line 708 "gitg-action-support.c"
	}
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_task_set_task_data (_data_->_async_result, _data_, gitg_action_support_save_stash_data_free);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->self = _tmp0_;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp1_ = notification;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->notification);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->notification = _tmp2_;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp3_ = head;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->head);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->head = _tmp4_;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	gitg_action_support_save_stash_co (_data_);
#line 734 "gitg-action-support.c"
}


gboolean gitg_action_support_save_stash_finish (GitgActionSupport* self, GAsyncResult* _res_) {
	gboolean result;
	GitgActionSupportSaveStashData* _data_;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_task_complete_ = TRUE;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	result = _data_->result;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	return result;
#line 749 "gitg-action-support.c"
}


static Block28Data* block28_data_ref (Block28Data* _data28_) {
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_atomic_int_inc (&_data28_->_ref_count_);
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	return _data28_;
#line 758 "gitg-action-support.c"
}


static void block28_data_unref (void * _userdata_) {
	Block28Data* _data28_;
	_data28_ = (Block28Data*) _userdata_;
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (g_atomic_int_dec_and_test (&_data28_->_ref_count_)) {
#line 767 "gitg-action-support.c"
		GitgActionSupport* self;
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		self = _data28_->self;
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data28_->committer);
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data28_->head);
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (self);
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_slice_free (Block28Data, _data28_);
#line 779 "gitg-action-support.c"
	}
}


static gchar* string_slice (const gchar* self, glong start, glong end) {
	gchar* result = NULL;
	glong string_length;
	gint _tmp0_;
	gint _tmp1_;
	glong _tmp2_;
	glong _tmp5_;
	gboolean _tmp8_ = FALSE;
	glong _tmp9_;
	gboolean _tmp12_ = FALSE;
	glong _tmp13_;
	glong _tmp16_;
	glong _tmp17_;
	glong _tmp18_;
	glong _tmp19_;
	glong _tmp20_;
	gchar* _tmp21_;
#line 1347 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1348 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp0_ = strlen (self);
#line 1348 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp1_ = _tmp0_;
#line 1348 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	string_length = (glong) _tmp1_;
#line 1349 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp2_ = start;
#line 1349 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp2_ < ((glong) 0)) {
#line 813 "gitg-action-support.c"
		glong _tmp3_;
		glong _tmp4_;
#line 1350 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp3_ = string_length;
#line 1350 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp4_ = start;
#line 1350 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		start = _tmp3_ + _tmp4_;
#line 822 "gitg-action-support.c"
	}
#line 1352 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp5_ = end;
#line 1352 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp5_ < ((glong) 0)) {
#line 828 "gitg-action-support.c"
		glong _tmp6_;
		glong _tmp7_;
#line 1353 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp6_ = string_length;
#line 1353 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp7_ = end;
#line 1353 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		end = _tmp6_ + _tmp7_;
#line 837 "gitg-action-support.c"
	}
#line 1355 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp9_ = start;
#line 1355 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp9_ >= ((glong) 0)) {
#line 843 "gitg-action-support.c"
		glong _tmp10_;
		glong _tmp11_;
#line 1355 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp10_ = start;
#line 1355 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp11_ = string_length;
#line 1355 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp8_ = _tmp10_ <= _tmp11_;
#line 852 "gitg-action-support.c"
	} else {
#line 1355 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp8_ = FALSE;
#line 856 "gitg-action-support.c"
	}
#line 1355 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	g_return_val_if_fail (_tmp8_, NULL);
#line 1356 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp13_ = end;
#line 1356 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp13_ >= ((glong) 0)) {
#line 864 "gitg-action-support.c"
		glong _tmp14_;
		glong _tmp15_;
#line 1356 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp14_ = end;
#line 1356 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp15_ = string_length;
#line 1356 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp12_ = _tmp14_ <= _tmp15_;
#line 873 "gitg-action-support.c"
	} else {
#line 1356 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp12_ = FALSE;
#line 877 "gitg-action-support.c"
	}
#line 1356 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	g_return_val_if_fail (_tmp12_, NULL);
#line 1357 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp16_ = start;
#line 1357 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp17_ = end;
#line 1357 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	g_return_val_if_fail (_tmp16_ <= _tmp17_, NULL);
#line 1358 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp18_ = start;
#line 1358 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp19_ = end;
#line 1358 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp20_ = start;
#line 1358 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp21_ = g_strndup (((gchar*) self) + _tmp18_, (gsize) (_tmp19_ - _tmp20_));
#line 1358 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	result = _tmp21_;
#line 1358 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	return result;
#line 899 "gitg-action-support.c"
}


static void _vala_GgitOId_free (GgitOId* self) {
#line 75 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_boxed_free (ggit_oid_get_type (), self);
#line 906 "gitg-action-support.c"
}


static const gchar* string_to_string (const gchar* self) {
	const gchar* result = NULL;
#line 1434 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1435 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	result = self;
#line 1435 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	return result;
#line 918 "gitg-action-support.c"
}


static void ___lambda11_ (Block28Data* _data28_, GError** error) {
	GitgActionSupport* self;
	gchar* message = NULL;
	GitgRef* _tmp0_;
	GitgExtApplication* _tmp39_;
	GitgExtApplication* _tmp40_;
	GitgExtApplication* _tmp41_;
	GitgRepository* _tmp42_;
	GitgRepository* _tmp43_;
	GitgRepository* _tmp44_;
	GgitSignature* _tmp45_;
	const gchar* _tmp46_;
	GgitOId* _tmp47_;
	GgitOId* _tmp48_;
	GError * _inner_error_ = NULL;
#line 64 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	self = _data28_->self;
#line 68 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp0_ = _data28_->head;
#line 68 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (_tmp0_ != NULL) {
#line 943 "gitg-action-support.c"
		gchar* headname;
		GitgRef* _tmp1_;
		GitgParsedRefName* _tmp2_;
		GitgParsedRefName* _tmp3_;
		GitgParsedRefName* _tmp4_;
		gchar* _tmp5_;
		gchar* _tmp6_;
		gchar* _tmp7_;
#line 70 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_tmp1_ = _data28_->head;
#line 70 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_tmp2_ = gitg_ref_get_parsed_name (_tmp1_);
#line 70 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_tmp3_ = _tmp2_;
#line 70 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_tmp4_ = _tmp3_;
#line 70 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_tmp5_ = gitg_parsed_ref_name_get_shortname (_tmp4_);
#line 70 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_tmp6_ = _tmp5_;
#line 70 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_tmp7_ = _tmp6_;
#line 70 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_tmp4_);
#line 70 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		headname = _tmp7_;
#line 970 "gitg-action-support.c"
		{
			GgitRef* _tmp8_;
			GitgRef* _tmp9_;
			GgitRef* _tmp10_;
			GgitObject* _tmp11_;
			GgitRef* _tmp12_;
			GgitRef* _tmp13_;
			GgitObject* _tmp14_;
			GgitObject* _tmp15_;
			GgitCommit* head_commit;
			GgitObject* _tmp16_;
			GgitCommit* _tmp17_;
			gchar* shortid;
			GgitCommit* _tmp18_;
			GgitOId* _tmp19_;
			GgitOId* _tmp20_;
			gchar* _tmp21_;
			gchar* _tmp22_;
			gchar* _tmp23_;
			gchar* _tmp24_;
			gchar* subject;
			GgitCommit* _tmp25_;
			const gchar* _tmp26_;
			gchar* _tmp27_;
			const gchar* _tmp28_;
			const gchar* _tmp29_;
			const gchar* _tmp30_;
			const gchar* _tmp31_;
			const gchar* _tmp32_;
			const gchar* _tmp33_;
			gchar* _tmp34_;
#line 74 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp9_ = _data28_->head;
#line 74 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp10_ = ggit_ref_resolve ((GgitRef*) _tmp9_, &_inner_error_);
#line 74 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp8_ = _tmp10_;
#line 74 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1010 "gitg-action-support.c"
				goto __catch41_g_error;
			}
#line 74 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp12_ = _tmp8_;
#line 74 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp8_ = NULL;
#line 74 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp13_ = _tmp12_;
#line 74 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp14_ = ggit_ref_lookup (_tmp13_, &_inner_error_);
#line 74 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp15_ = _tmp14_;
#line 74 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_object_unref0 (_tmp13_);
#line 74 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp11_ = _tmp15_;
#line 74 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 74 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
				_g_object_unref0 (_tmp8_);
#line 1031 "gitg-action-support.c"
				goto __catch41_g_error;
			}
#line 74 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp16_ = _tmp11_;
#line 74 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp11_ = NULL;
#line 74 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp17_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp16_, ggit_commit_get_type ()) ? ((GgitCommit*) _tmp16_) : NULL;
#line 74 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			if (_tmp17_ == NULL) {
#line 74 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
				_g_object_unref0 (_tmp16_);
#line 1044 "gitg-action-support.c"
			}
#line 74 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			head_commit = _tmp17_;
#line 75 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp18_ = head_commit;
#line 75 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp19_ = ggit_object_get_id ((GgitObject*) _tmp18_);
#line 75 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp20_ = _tmp19_;
#line 75 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp21_ = ggit_oid_to_string (_tmp20_);
#line 75 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp22_ = _tmp21_;
#line 75 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp23_ = string_slice (_tmp22_, (glong) 0, (glong) 6);
#line 75 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp24_ = _tmp23_;
#line 75 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_free0 (_tmp22_);
#line 75 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			__vala_GgitOId_free0 (_tmp20_);
#line 75 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			shortid = _tmp24_;
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp25_ = head_commit;
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp26_ = ggit_commit_get_subject (_tmp25_);
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp27_ = g_strdup (_tmp26_);
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			subject = _tmp27_;
#line 78 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp28_ = headname;
#line 78 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp29_ = string_to_string (_tmp28_);
#line 78 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp30_ = shortid;
#line 78 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp31_ = string_to_string (_tmp30_);
#line 78 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp32_ = subject;
#line 78 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp33_ = string_to_string (_tmp32_);
#line 78 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp34_ = g_strconcat ("WIP on ", _tmp29_, ": ", _tmp31_, " ", _tmp33_, NULL);
#line 78 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_free0 (message);
#line 78 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			message = _tmp34_;
#line 72 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_free0 (subject);
#line 72 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_free0 (shortid);
#line 72 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_object_unref0 (head_commit);
#line 72 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_object_unref0 (_tmp11_);
#line 72 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_object_unref0 (_tmp8_);
#line 1104 "gitg-action-support.c"
		}
		goto __finally41;
		__catch41_g_error:
		{
			const gchar* _tmp35_;
			const gchar* _tmp36_;
			gchar* _tmp37_;
#line 72 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			g_clear_error (&_inner_error_);
#line 72 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_inner_error_ = NULL;
#line 82 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp35_ = headname;
#line 82 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp36_ = string_to_string (_tmp35_);
#line 82 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_tmp37_ = g_strconcat ("WIP on ", _tmp36_, NULL);
#line 82 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_free0 (message);
#line 82 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			message = _tmp37_;
#line 1126 "gitg-action-support.c"
		}
		__finally41:
#line 72 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 72 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			g_propagate_error (error, _inner_error_);
#line 72 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_free0 (headname);
#line 72 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_free0 (message);
#line 72 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			return;
#line 1139 "gitg-action-support.c"
		}
#line 68 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_free0 (headname);
#line 1143 "gitg-action-support.c"
	} else {
		gchar* _tmp38_;
#line 87 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_tmp38_ = g_strdup ("WIP on HEAD");
#line 87 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_free0 (message);
#line 87 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		message = _tmp38_;
#line 1152 "gitg-action-support.c"
	}
#line 90 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp39_ = gitg_action_support_get_application (self);
#line 90 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp40_ = _tmp39_;
#line 90 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp41_ = _tmp40_;
#line 90 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp42_ = gitg_ext_application_get_repository (_tmp41_);
#line 90 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp43_ = _tmp42_;
#line 90 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp44_ = _tmp43_;
#line 90 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp45_ = _data28_->committer;
#line 90 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp46_ = message;
#line 90 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp47_ = ggit_repository_save_stash ((GgitRepository*) _tmp44_, _tmp45_, _tmp46_, GGIT_STASH_DEFAULT, &_inner_error_);
#line 90 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp48_ = _tmp47_;
#line 90 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	__vala_GgitOId_free0 (_tmp48_);
#line 90 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_tmp44_);
#line 90 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_tmp41_);
#line 90 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 90 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_propagate_error (error, _inner_error_);
#line 90 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_free0 (message);
#line 90 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		return;
#line 1188 "gitg-action-support.c"
	}
#line 64 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_free0 (message);
#line 1192 "gitg-action-support.c"
}


static void ____lambda11__gitg_async_thread_func (gpointer self, GError** error) {
#line 64 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	___lambda11_ (self, error);
#line 1199 "gitg-action-support.c"
}


static void gitg_action_support_save_stash_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgActionSupportSaveStashData* _data_;
#line 64 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_ = _user_data_;
#line 64 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_source_object_ = source_object;
#line 64 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_res_ = _res_;
#line 64 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_task_complete_ = TRUE;
#line 64 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	gitg_action_support_save_stash_co (_data_);
#line 1215 "gitg-action-support.c"
}


static gboolean gitg_action_support_save_stash_co (GitgActionSupportSaveStashData* _data_) {
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	switch (_data_->_state_) {
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		case 0:
#line 1224 "gitg-action-support.c"
		goto _state_0;
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		case 1:
#line 1228 "gitg-action-support.c"
		goto _state_1;
		default:
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_assert_not_reached ();
#line 1233 "gitg-action-support.c"
	}
	_state_0:
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_data28_ = g_slice_new0 (Block28Data);
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_data28_->_ref_count_ = 1;
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_data28_->self = g_object_ref (_data_->self);
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp0_ = _data_->head;
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->_data28_->head);
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_data28_->head = _data_->_tmp0_;
#line 53 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_data28_->_async_data_ = _data_;
#line 55 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp1_ = gitg_action_support_get_application (_data_->self);
#line 55 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 55 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp3_ = _data_->_tmp2_;
#line 55 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp4_ = gitg_ext_application_get_verified_committer (_data_->_tmp3_);
#line 55 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp5_ = _data_->_tmp4_;
#line 55 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->_tmp3_);
#line 55 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_data28_->committer = _data_->_tmp5_;
#line 57 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp6_ = _data_->_data28_->committer;
#line 57 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (_data_->_tmp6_ == NULL) {
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->result = FALSE;
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		block28_data_unref (_data_->_data28_);
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_data28_ = NULL;
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		if (_data_->_state_ != 0) {
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			while (_data_->_task_complete_ != TRUE) {
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 1282 "gitg-action-support.c"
			}
		}
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_object_unref (_data_->_async_result);
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		return FALSE;
#line 1289 "gitg-action-support.c"
	}
	{
#line 64 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_state_ = 1;
#line 64 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		gitg_async_thread (____lambda11__gitg_async_thread_func, _data_->_data28_, gitg_action_support_save_stash_ready, _data_);
#line 64 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		return FALSE;
#line 1298 "gitg-action-support.c"
		_state_1:
#line 64 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		gitg_async_thread_finish (_data_->_res_, &_data_->_inner_error_);
#line 64 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1304 "gitg-action-support.c"
			goto __catch40_g_error;
		}
	}
	goto __finally40;
	__catch40_g_error:
	{
#line 62 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->err = _data_->_inner_error_;
#line 62 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_inner_error_ = NULL;
#line 95 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp7_ = _data_->notification;
#line 95 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp8_ = _data_->err;
#line 95 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp9_ = _data_->_tmp8_->message;
#line 95 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp10_ = g_strdup_printf (_ ("Failed to stash changes: %s"), _data_->_tmp9_);
#line 95 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp11_ = _data_->_tmp10_;
#line 95 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		gitg_simple_notification_error (_data_->_tmp7_, _data_->_tmp11_);
#line 95 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_free0 (_data_->_tmp11_);
#line 96 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->result = FALSE;
#line 96 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_error_free0 (_data_->err);
#line 96 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		block28_data_unref (_data_->_data28_);
#line 96 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_data28_ = NULL;
#line 96 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 96 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		if (_data_->_state_ != 0) {
#line 96 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			while (_data_->_task_complete_ != TRUE) {
#line 96 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 1345 "gitg-action-support.c"
			}
		}
#line 96 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_object_unref (_data_->_async_result);
#line 96 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		return FALSE;
#line 1352 "gitg-action-support.c"
	}
	__finally40:
#line 62 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 62 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		block28_data_unref (_data_->_data28_);
#line 62 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_data28_ = NULL;
#line 62 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.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 62 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_clear_error (&_data_->_inner_error_);
#line 62 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		return FALSE;
#line 1367 "gitg-action-support.c"
	}
#line 99 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->result = TRUE;
#line 99 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	block28_data_unref (_data_->_data28_);
#line 99 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_data28_ = NULL;
#line 99 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 99 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (_data_->_state_ != 0) {
#line 99 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 99 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 1383 "gitg-action-support.c"
		}
	}
#line 99 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_object_unref (_data_->_async_result);
#line 99 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	return FALSE;
#line 1390 "gitg-action-support.c"
}


gboolean gitg_action_support_reference_is_head (GitgActionSupport* self, GitgRef* reference, GitgRef* * head) {
	gboolean result = FALSE;
	GgitBranch* branch;
	GitgRef* _tmp0_;
	GgitBranch* _tmp1_;
	GgitBranch* _tmp2_;
	GitgRef* _tmp17_;
	GError * _inner_error_ = NULL;
#line 102 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 102 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_return_val_if_fail (reference != NULL, FALSE);
#line 104 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp0_ = reference;
#line 104 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, ggit_branch_get_type ()) ? ((GgitBranch*) _tmp0_) : NULL);
#line 104 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	branch = _tmp1_;
#line 105 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (*head);
#line 105 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	*head = NULL;
#line 107 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp2_ = branch;
#line 107 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (_tmp2_ == NULL) {
#line 109 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		result = FALSE;
#line 109 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (branch);
#line 109 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		return result;
#line 1426 "gitg-action-support.c"
	}
	{
		gboolean _tmp3_;
		GgitBranch* _tmp4_;
		gboolean _tmp5_;
		GitgRef* _tmp6_;
		GitgExtApplication* _tmp7_;
		GitgExtApplication* _tmp8_;
		GitgExtApplication* _tmp9_;
		GitgRepository* _tmp10_;
		GitgRepository* _tmp11_;
		GitgRepository* _tmp12_;
		GitgRef* _tmp13_;
		GitgRef* _tmp14_;
		GitgRef* _tmp15_;
#line 114 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_tmp4_ = branch;
#line 114 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_tmp5_ = ggit_branch_is_head (_tmp4_, &_inner_error_);
#line 114 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_tmp3_ = _tmp5_;
#line 114 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1450 "gitg-action-support.c"
			goto __catch42_g_error;
		}
#line 114 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		if (!_tmp3_) {
#line 116 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			result = FALSE;
#line 116 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_object_unref0 (branch);
#line 116 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			return result;
#line 1461 "gitg-action-support.c"
		}
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_tmp7_ = gitg_action_support_get_application (self);
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_tmp8_ = _tmp7_;
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_tmp9_ = _tmp8_;
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_tmp10_ = gitg_ext_application_get_repository (_tmp9_);
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_tmp11_ = _tmp10_;
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_tmp12_ = _tmp11_;
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_tmp13_ = gitg_repository_lookup_reference (_tmp12_, "HEAD", &_inner_error_);
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_tmp14_ = _tmp13_;
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_tmp12_);
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_tmp9_);
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_tmp6_ = _tmp14_;
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1487 "gitg-action-support.c"
			goto __catch42_g_error;
		}
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_tmp15_ = _tmp6_;
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_tmp6_ = NULL;
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (*head);
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		*head = _tmp15_;
#line 112 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_tmp6_);
#line 1500 "gitg-action-support.c"
	}
	goto __finally42;
	__catch42_g_error:
	{
#line 112 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_clear_error (&_inner_error_);
#line 112 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_inner_error_ = NULL;
#line 1509 "gitg-action-support.c"
	}
	__finally42:
#line 112 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1514 "gitg-action-support.c"
		gboolean _tmp16_ = FALSE;
#line 112 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (branch);
#line 112 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.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 112 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_clear_error (&_inner_error_);
#line 112 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		return _tmp16_;
#line 1524 "gitg-action-support.c"
	}
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp17_ = *head;
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	result = _tmp17_ != NULL;
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (branch);
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	return result;
#line 1534 "gitg-action-support.c"
}


static void gitg_action_support_stash_if_needed_data_free (gpointer _data) {
	GitgActionSupportStashIfNeededData* _data_;
	_data_ = _data;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->notification);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->head);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->self);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_slice_free (GitgActionSupportStashIfNeededData, _data_);
#line 1549 "gitg-action-support.c"
}


void gitg_action_support_stash_if_needed (GitgActionSupport* self, GitgSimpleNotification* notification, GitgRef* head, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgActionSupportStashIfNeededData* _data_;
	GitgActionSupport* _tmp0_;
	GitgSimpleNotification* _tmp1_;
	GitgSimpleNotification* _tmp2_;
	GitgRef* _tmp3_;
	GitgRef* _tmp4_;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_ = g_slice_new0 (GitgActionSupportStashIfNeededData);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (_callback_ == NULL) {
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_task_complete_ = TRUE;
#line 1568 "gitg-action-support.c"
	}
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_task_set_task_data (_data_->_async_result, _data_, gitg_action_support_stash_if_needed_data_free);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->self = _tmp0_;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp1_ = notification;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->notification);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->notification = _tmp2_;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp3_ = head;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->head);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->head = _tmp4_;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	gitg_action_support_stash_if_needed_co (_data_);
#line 1594 "gitg-action-support.c"
}


gboolean gitg_action_support_stash_if_needed_finish (GitgActionSupport* self, GAsyncResult* _res_) {
	gboolean result;
	GitgActionSupportStashIfNeededData* _data_;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_task_complete_ = TRUE;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	result = _data_->result;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	return result;
#line 1609 "gitg-action-support.c"
}


static void gitg_action_support_stash_if_needed_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgActionSupportStashIfNeededData* _data_;
#line 128 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_ = _user_data_;
#line 128 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_source_object_ = source_object;
#line 128 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_res_ = _res_;
#line 128 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_task_complete_ = TRUE;
#line 128 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	gitg_action_support_stash_if_needed_co (_data_);
#line 1625 "gitg-action-support.c"
}


static gboolean gitg_action_support_stash_if_needed_co (GitgActionSupportStashIfNeededData* _data_) {
#line 125 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	switch (_data_->_state_) {
#line 125 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		case 0:
#line 1634 "gitg-action-support.c"
		goto _state_0;
#line 125 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		case 1:
#line 1638 "gitg-action-support.c"
		goto _state_1;
#line 125 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		case 2:
#line 1642 "gitg-action-support.c"
		goto _state_2;
#line 125 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		case 3:
#line 1646 "gitg-action-support.c"
		goto _state_3;
		default:
#line 125 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_assert_not_reached ();
#line 1651 "gitg-action-support.c"
	}
	_state_0:
#line 128 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_state_ = 1;
#line 128 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	gitg_action_support_working_directory_dirty (_data_->self, gitg_action_support_stash_if_needed_ready, _data_);
#line 128 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	return FALSE;
#line 1660 "gitg-action-support.c"
	_state_1:
#line 128 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp0_ = gitg_action_support_working_directory_dirty_finish (_data_->self, _data_->_res_);
#line 128 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (_data_->_tmp0_) {
#line 130 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp1_ = gitg_ext_user_query_new_full (_ ("Unstaged changes"), _ ("You appear to have unstaged changes in your working directory. Would y" \
"ou like to stash the changes before the checkout?"), GTK_MESSAGE_QUESTION, _ ("Cancel"), GTK_RESPONSE_CANCEL, _ ("Stash changes"), GTK_RESPONSE_OK, NULL);
#line 130 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->q = _data_->_tmp1_;
#line 136 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp2_ = gitg_action_support_get_application (_data_->self);
#line 136 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp3_ = _data_->_tmp2_;
#line 136 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp4_ = _data_->_tmp3_;
#line 136 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp5_ = _data_->q;
#line 136 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_state_ = 2;
#line 136 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		gitg_ext_application_user_query_async (_data_->_tmp4_, _data_->_tmp5_, gitg_action_support_stash_if_needed_ready, _data_);
#line 136 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		return FALSE;
#line 1684 "gitg-action-support.c"
		_state_2:
#line 136 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp6_ = gitg_ext_application_user_query_finish (_data_->_tmp4_, _data_->_res_);
#line 136 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp7_ = _data_->_tmp6_ != GTK_RESPONSE_OK;
#line 136 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->_tmp4_);
#line 136 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		if (_data_->_tmp7_) {
#line 138 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_data_->_tmp8_ = _data_->notification;
#line 138 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			gitg_simple_notification_error (_data_->_tmp8_, _ ("Failed with conflicts"));
#line 139 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_data_->result = FALSE;
#line 139 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->q);
#line 139 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 139 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			if (_data_->_state_ != 0) {
#line 139 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
				while (_data_->_task_complete_ != TRUE) {
#line 139 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
					g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 1710 "gitg-action-support.c"
				}
			}
#line 139 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			g_object_unref (_data_->_async_result);
#line 139 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			return FALSE;
#line 1717 "gitg-action-support.c"
		}
#line 142 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp9_ = _data_->notification;
#line 142 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp10_ = _data_->head;
#line 142 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_state_ = 3;
#line 142 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		gitg_action_support_save_stash (_data_->self, _data_->_tmp9_, _data_->_tmp10_, gitg_action_support_stash_if_needed_ready, _data_);
#line 142 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		return FALSE;
#line 1729 "gitg-action-support.c"
		_state_3:
#line 142 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp11_ = gitg_action_support_save_stash_finish (_data_->self, _data_->_res_);
#line 142 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		if (!_data_->_tmp11_) {
#line 144 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_data_->result = FALSE;
#line 144 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->q);
#line 144 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 144 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			if (_data_->_state_ != 0) {
#line 144 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
				while (_data_->_task_complete_ != TRUE) {
#line 144 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
					g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 1747 "gitg-action-support.c"
				}
			}
#line 144 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			g_object_unref (_data_->_async_result);
#line 144 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			return FALSE;
#line 1754 "gitg-action-support.c"
		}
#line 128 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->q);
#line 1758 "gitg-action-support.c"
	}
#line 148 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->result = TRUE;
#line 148 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 148 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (_data_->_state_ != 0) {
#line 148 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 148 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 1770 "gitg-action-support.c"
		}
	}
#line 148 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_object_unref (_data_->_async_result);
#line 148 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	return FALSE;
#line 1777 "gitg-action-support.c"
}


static void gitg_action_support_checkout_conflicts_data_free (gpointer _data) {
	GitgActionSupportCheckoutConflictsData* _data_;
	_data_ = _data;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->notification);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->reference);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->head);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->self);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_slice_free (GitgActionSupportCheckoutConflictsData, _data_);
#line 1794 "gitg-action-support.c"
}


void gitg_action_support_checkout_conflicts (GitgActionSupport* self, GitgSimpleNotification* notification, GitgRef* reference, GgitIndex* index, GitgRef* head, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgActionSupportCheckoutConflictsData* _data_;
	GitgActionSupport* _tmp0_;
	GitgSimpleNotification* _tmp1_;
	GitgSimpleNotification* _tmp2_;
	GitgRef* _tmp3_;
	GitgRef* _tmp4_;
	GgitIndex* _tmp5_;
	GgitIndex* _tmp6_;
	GitgRef* _tmp7_;
	GitgRef* _tmp8_;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_ = g_slice_new0 (GitgActionSupportCheckoutConflictsData);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (_callback_ == NULL) {
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_task_complete_ = TRUE;
#line 1817 "gitg-action-support.c"
	}
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_task_set_task_data (_data_->_async_result, _data_, gitg_action_support_checkout_conflicts_data_free);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->self = _tmp0_;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp1_ = notification;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->notification);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->notification = _tmp2_;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp3_ = reference;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->reference);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->reference = _tmp4_;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp5_ = index;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp6_ = _g_object_ref0 (_tmp5_);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->index);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->index = _tmp6_;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp7_ = head;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp8_ = _g_object_ref0 (_tmp7_);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->head);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->head = _tmp8_;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	gitg_action_support_checkout_conflicts_co (_data_);
#line 1859 "gitg-action-support.c"
}


gboolean gitg_action_support_checkout_conflicts_finish (GitgActionSupport* self, GAsyncResult* _res_) {
	gboolean result;
	GitgActionSupportCheckoutConflictsData* _data_;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_task_complete_ = TRUE;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	result = _data_->result;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	return result;
#line 1874 "gitg-action-support.c"
}


static Block29Data* block29_data_ref (Block29Data* _data29_) {
#line 151 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_atomic_int_inc (&_data29_->_ref_count_);
#line 151 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	return _data29_;
#line 1883 "gitg-action-support.c"
}


static void block29_data_unref (void * _userdata_) {
	Block29Data* _data29_;
	_data29_ = (Block29Data*) _userdata_;
#line 151 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (g_atomic_int_dec_and_test (&_data29_->_ref_count_)) {
#line 1892 "gitg-action-support.c"
		GitgActionSupport* self;
#line 151 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		self = _data29_->self;
#line 151 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data29_->index);
#line 151 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (self);
#line 151 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_slice_free (Block29Data, _data29_);
#line 1902 "gitg-action-support.c"
	}
}


static void gitg_action_support_checkout_conflicts_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgActionSupportCheckoutConflictsData* _data_;
#line 153 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_ = _user_data_;
#line 153 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_source_object_ = source_object;
#line 153 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_res_ = _res_;
#line 153 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_task_complete_ = TRUE;
#line 153 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	gitg_action_support_checkout_conflicts_co (_data_);
#line 1919 "gitg-action-support.c"
}


static void ___lambda12_ (Block29Data* _data29_, GError** error) {
	GitgActionSupport* self;
	GgitCheckoutOptions* opts;
	GgitCheckoutOptions* _tmp0_;
	GitgExtApplication* _tmp1_;
	GitgExtApplication* _tmp2_;
	GitgExtApplication* _tmp3_;
	GitgRepository* _tmp4_;
	GitgRepository* _tmp5_;
	GitgRepository* _tmp6_;
	GgitIndex* _tmp7_;
	GError * _inner_error_ = NULL;
#line 173 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	self = _data29_->self;
#line 174 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp0_ = ggit_checkout_options_new ();
#line 174 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	opts = _tmp0_;
#line 175 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	ggit_checkout_options_set_strategy (opts, GGIT_CHECKOUT_SAFE);
#line 176 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp1_ = gitg_action_support_get_application (self);
#line 176 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp2_ = _tmp1_;
#line 176 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp3_ = _tmp2_;
#line 176 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp4_ = gitg_ext_application_get_repository (_tmp3_);
#line 176 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp5_ = _tmp4_;
#line 176 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp6_ = _tmp5_;
#line 176 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp7_ = _data29_->index;
#line 176 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	ggit_repository_checkout_index ((GgitRepository*) _tmp6_, _tmp7_, opts, &_inner_error_);
#line 176 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_tmp6_);
#line 176 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_tmp3_);
#line 176 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 176 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_propagate_error (error, _inner_error_);
#line 176 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (opts);
#line 176 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		return;
#line 1971 "gitg-action-support.c"
	}
#line 173 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (opts);
#line 1975 "gitg-action-support.c"
}


static void ____lambda12__gitg_async_thread_func (gpointer self, GError** error) {
#line 173 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	___lambda12_ (self, error);
#line 1982 "gitg-action-support.c"
}


static gboolean gitg_action_support_checkout_conflicts_co (GitgActionSupportCheckoutConflictsData* _data_) {
#line 151 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	switch (_data_->_state_) {
#line 151 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		case 0:
#line 1991 "gitg-action-support.c"
		goto _state_0;
#line 151 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		case 1:
#line 1995 "gitg-action-support.c"
		goto _state_1;
#line 151 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		case 2:
#line 1999 "gitg-action-support.c"
		goto _state_2;
#line 151 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		case 3:
#line 2003 "gitg-action-support.c"
		goto _state_3;
		default:
#line 151 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_assert_not_reached ();
#line 2008 "gitg-action-support.c"
	}
	_state_0:
#line 151 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_data29_ = g_slice_new0 (Block29Data);
#line 151 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_data29_->_ref_count_ = 1;
#line 151 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_data29_->self = g_object_ref (_data_->self);
#line 151 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp0_ = _data_->index;
#line 151 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->_data29_->index);
#line 151 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_data29_->index = _data_->_tmp0_;
#line 151 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_data29_->_async_data_ = _data_;
#line 153 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp1_ = _data_->notification;
#line 153 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp2_ = _data_->head;
#line 153 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_state_ = 1;
#line 153 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	gitg_action_support_stash_if_needed (_data_->self, _data_->_tmp1_, _data_->_tmp2_, gitg_action_support_checkout_conflicts_ready, _data_);
#line 153 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	return FALSE;
#line 2035 "gitg-action-support.c"
	_state_1:
#line 153 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp3_ = gitg_action_support_stash_if_needed_finish (_data_->self, _data_->_res_);
#line 153 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (!_data_->_tmp3_) {
#line 155 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->result = FALSE;
#line 155 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		block29_data_unref (_data_->_data29_);
#line 155 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_data29_ = NULL;
#line 155 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 155 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		if (_data_->_state_ != 0) {
#line 155 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			while (_data_->_task_complete_ != TRUE) {
#line 155 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 2055 "gitg-action-support.c"
			}
		}
#line 155 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_object_unref (_data_->_async_result);
#line 155 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		return FALSE;
#line 2062 "gitg-action-support.c"
	}
#line 158 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp4_ = _data_->head;
#line 158 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (_data_->_tmp4_ == NULL) {
#line 161 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp5_ = gitg_action_support_get_application (_data_->self);
#line 161 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp6_ = _data_->_tmp5_;
#line 161 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp7_ = _data_->_tmp6_;
#line 161 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp8_ = gitg_action_support_get_action_interface (_data_->self);
#line 161 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp9_ = _data_->_tmp8_;
#line 161 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp10_ = _data_->_tmp9_;
#line 161 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp11_ = _data_->reference;
#line 161 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp12_ = gitg_ref_action_checkout_new (_data_->_tmp7_, _data_->_tmp10_, _data_->_tmp11_);
#line 161 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp13_ = _data_->_tmp12_;
#line 161 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->_tmp10_);
#line 161 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->_tmp7_);
#line 161 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->checkout = _data_->_tmp13_;
#line 163 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp14_ = _data_->checkout;
#line 163 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_state_ = 2;
#line 163 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		gitg_ref_action_checkout_checkout (_data_->_tmp14_, gitg_action_support_checkout_conflicts_ready, _data_);
#line 163 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		return FALSE;
#line 2100 "gitg-action-support.c"
		_state_2:
#line 163 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp15_ = gitg_ref_action_checkout_checkout_finish (_data_->_tmp14_, _data_->_res_);
#line 163 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		if (!_data_->_tmp15_) {
#line 165 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_data_->_tmp16_ = _data_->notification;
#line 165 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			gitg_simple_notification_error (_data_->_tmp16_, _ ("Failed with conflicts"));
#line 166 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_data_->result = FALSE;
#line 166 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->checkout);
#line 166 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			block29_data_unref (_data_->_data29_);
#line 166 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_data_->_data29_ = NULL;
#line 166 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 166 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			if (_data_->_state_ != 0) {
#line 166 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
				while (_data_->_task_complete_ != TRUE) {
#line 166 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
					g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 2126 "gitg-action-support.c"
				}
			}
#line 166 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			g_object_unref (_data_->_async_result);
#line 166 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			return FALSE;
#line 2133 "gitg-action-support.c"
		}
#line 158 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->checkout);
#line 2137 "gitg-action-support.c"
	}
	{
#line 173 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_state_ = 3;
#line 173 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		gitg_async_thread (____lambda12__gitg_async_thread_func, _data_->_data29_, gitg_action_support_checkout_conflicts_ready, _data_);
#line 173 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		return FALSE;
#line 2146 "gitg-action-support.c"
		_state_3:
#line 173 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		gitg_async_thread_finish (_data_->_res_, &_data_->_inner_error_);
#line 173 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 2152 "gitg-action-support.c"
			goto __catch43_g_error;
		}
	}
	goto __finally43;
	__catch43_g_error:
	{
#line 171 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->err = _data_->_inner_error_;
#line 171 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_inner_error_ = NULL;
#line 181 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp17_ = _data_->notification;
#line 181 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp18_ = _data_->err;
#line 181 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp19_ = _data_->_tmp18_->message;
#line 181 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp20_ = g_strdup_printf (_ ("Failed to checkout conflicts: %s"), _data_->_tmp19_);
#line 181 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp21_ = _data_->_tmp20_;
#line 181 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		gitg_simple_notification_error (_data_->_tmp17_, _data_->_tmp21_);
#line 181 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_free0 (_data_->_tmp21_);
#line 182 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->result = FALSE;
#line 182 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_error_free0 (_data_->err);
#line 182 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		block29_data_unref (_data_->_data29_);
#line 182 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_data29_ = NULL;
#line 182 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 182 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		if (_data_->_state_ != 0) {
#line 182 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			while (_data_->_task_complete_ != TRUE) {
#line 182 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 2193 "gitg-action-support.c"
			}
		}
#line 182 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_object_unref (_data_->_async_result);
#line 182 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		return FALSE;
#line 2200 "gitg-action-support.c"
	}
	__finally43:
#line 171 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 171 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		block29_data_unref (_data_->_data29_);
#line 171 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_data29_ = NULL;
#line 171 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.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 171 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_clear_error (&_data_->_inner_error_);
#line 171 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		return FALSE;
#line 2215 "gitg-action-support.c"
	}
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->result = TRUE;
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	block29_data_unref (_data_->_data29_);
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_data29_ = NULL;
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (_data_->_state_ != 0) {
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 2231 "gitg-action-support.c"
		}
	}
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_object_unref (_data_->_async_result);
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	return FALSE;
#line 2238 "gitg-action-support.c"
}


static void gitg_action_support_commit_index_data_free (gpointer _data) {
	GitgActionSupportCommitIndexData* _data_;
	_data_ = _data;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->notification);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->reference);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->index);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->parents = (_vala_array_free (_data_->parents, _data_->parents_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->author);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_free0 (_data_->message);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	__vala_GgitOId_free0 (_data_->result);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->self);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_slice_free (GitgActionSupportCommitIndexData, _data_);
#line 2263 "gitg-action-support.c"
}


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_) {
	GitgActionSupportCommitIndexData* _data_;
	GitgActionSupport* _tmp0_;
	GitgSimpleNotification* _tmp1_;
	GitgSimpleNotification* _tmp2_;
	GitgRef* _tmp3_;
	GitgRef* _tmp4_;
	GgitIndex* _tmp5_;
	GgitIndex* _tmp6_;
	GgitSignature* _tmp7_;
	GgitSignature* _tmp8_;
	const gchar* _tmp9_;
	gchar* _tmp10_;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_ = g_slice_new0 (GitgActionSupportCommitIndexData);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (_callback_ == NULL) {
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_task_complete_ = TRUE;
#line 2288 "gitg-action-support.c"
	}
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_task_set_task_data (_data_->_async_result, _data_, gitg_action_support_commit_index_data_free);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->self = _tmp0_;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp1_ = notification;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->notification);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->notification = _tmp2_;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp3_ = reference;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->reference);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->reference = _tmp4_;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp5_ = index;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp6_ = _g_object_ref0 (_tmp5_);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->index);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->index = _tmp6_;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->parents = (_vala_array_free (_data_->parents, _data_->parents_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->parents = parents;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->parents_length1 = parents_length1;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp7_ = author;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp8_ = _g_object_ref0 (_tmp7_);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->author);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->author = _tmp8_;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp9_ = message;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp10_ = g_strdup (_tmp9_);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_free0 (_data_->message);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->message = _tmp10_;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	gitg_action_support_commit_index_co (_data_);
#line 2344 "gitg-action-support.c"
}


GgitOId* gitg_action_support_commit_index_finish (GitgActionSupport* self, GAsyncResult* _res_) {
	GgitOId* result;
	GitgActionSupportCommitIndexData* _data_;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_task_complete_ = TRUE;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	result = _data_->result;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->result = NULL;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	return result;
#line 2361 "gitg-action-support.c"
}


static Block30Data* block30_data_ref (Block30Data* _data30_) {
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_atomic_int_inc (&_data30_->_ref_count_);
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	return _data30_;
#line 2370 "gitg-action-support.c"
}


static void block30_data_unref (void * _userdata_) {
	Block30Data* _data30_;
	_data30_ = (Block30Data*) _userdata_;
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (g_atomic_int_dec_and_test (&_data30_->_ref_count_)) {
#line 2379 "gitg-action-support.c"
		GitgActionSupport* self;
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		self = _data30_->self;
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data30_->head_tree);
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		__vala_GgitOId_free0 (_data30_->oid);
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (self);
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_slice_free (Block30Data, _data30_);
#line 2391 "gitg-action-support.c"
	}
}


static void gitg_action_support_commit_index_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgActionSupportCommitIndexData* _data_;
#line 229 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_ = _user_data_;
#line 229 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_source_object_ = source_object;
#line 229 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_res_ = _res_;
#line 229 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_task_complete_ = TRUE;
#line 229 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	gitg_action_support_commit_index_co (_data_);
#line 2408 "gitg-action-support.c"
}


static void ____lambda13_ (Block30Data* _data30_, GError** error) {
	GitgActionSupport* self;
	GgitCheckoutOptions* opts;
	GgitCheckoutOptions* _tmp0_;
	GgitCheckoutOptions* _tmp1_;
	GgitCheckoutOptions* _tmp2_;
	GgitTree* _tmp3_;
	GgitCommit* newcommit;
	GitgExtApplication* _tmp4_;
	GitgExtApplication* _tmp5_;
	GitgExtApplication* _tmp6_;
	GitgRepository* _tmp7_;
	GitgRepository* _tmp8_;
	GitgRepository* _tmp9_;
	GgitOId* _tmp10_;
	gpointer _tmp11_;
	GgitCommit* _tmp12_;
	GgitTree* newtree;
	GgitCommit* _tmp13_;
	GgitTree* _tmp14_;
	GitgExtApplication* _tmp15_;
	GitgExtApplication* _tmp16_;
	GitgExtApplication* _tmp17_;
	GitgRepository* _tmp18_;
	GitgRepository* _tmp19_;
	GitgRepository* _tmp20_;
	GgitTree* _tmp21_;
	GgitCheckoutOptions* _tmp22_;
	GError * _inner_error_ = NULL;
#line 263 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	self = _data30_->self;
#line 264 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp0_ = ggit_checkout_options_new ();
#line 264 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	opts = _tmp0_;
#line 266 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp1_ = opts;
#line 266 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	ggit_checkout_options_set_strategy (_tmp1_, GGIT_CHECKOUT_SAFE);
#line 267 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp2_ = opts;
#line 267 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp3_ = _data30_->head_tree;
#line 267 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	ggit_checkout_options_set_baseline (_tmp2_, _tmp3_);
#line 269 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp4_ = gitg_action_support_get_application (self);
#line 269 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp5_ = _tmp4_;
#line 269 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp6_ = _tmp5_;
#line 269 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp7_ = gitg_ext_application_get_repository (_tmp6_);
#line 269 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp8_ = _tmp7_;
#line 269 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp9_ = _tmp8_;
#line 269 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp10_ = _data30_->oid;
#line 269 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp11_ = gitg_repository_lookup (_tmp9_, ggit_commit_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, _tmp10_, &_inner_error_);
#line 269 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp12_ = (GgitCommit*) _tmp11_;
#line 269 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_tmp9_);
#line 269 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_tmp6_);
#line 269 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	newcommit = _tmp12_;
#line 269 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 269 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_propagate_error (error, _inner_error_);
#line 269 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (opts);
#line 269 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		return;
#line 2489 "gitg-action-support.c"
	}
#line 270 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp13_ = newcommit;
#line 270 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp14_ = ggit_commit_get_tree (_tmp13_);
#line 270 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	newtree = _tmp14_;
#line 272 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp15_ = gitg_action_support_get_application (self);
#line 272 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp16_ = _tmp15_;
#line 272 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp17_ = _tmp16_;
#line 272 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp18_ = gitg_ext_application_get_repository (_tmp17_);
#line 272 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp19_ = _tmp18_;
#line 272 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp20_ = _tmp19_;
#line 272 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp21_ = newtree;
#line 272 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp22_ = opts;
#line 272 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	ggit_repository_checkout_tree ((GgitRepository*) _tmp20_, (GgitObject*) _tmp21_, _tmp22_, &_inner_error_);
#line 272 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_tmp20_);
#line 272 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_tmp17_);
#line 272 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 272 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_propagate_error (error, _inner_error_);
#line 272 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (newtree);
#line 272 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (newcommit);
#line 272 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (opts);
#line 272 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		return;
#line 2531 "gitg-action-support.c"
	}
#line 263 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (newtree);
#line 263 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (newcommit);
#line 263 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (opts);
#line 2539 "gitg-action-support.c"
}


static void _____lambda13__gitg_async_thread_func (gpointer self, GError** error) {
#line 263 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	____lambda13_ (self, error);
#line 2546 "gitg-action-support.c"
}


static GgitOId* _vala_GgitOId_copy (GgitOId* self) {
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	return g_boxed_copy (ggit_oid_get_type (), self);
#line 2553 "gitg-action-support.c"
}


static gpointer __vala_GgitOId_copy0 (gpointer self) {
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	return self ? _vala_GgitOId_copy (self) : NULL;
#line 2560 "gitg-action-support.c"
}


static gboolean gitg_action_support_commit_index_co (GitgActionSupportCommitIndexData* _data_) {
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	switch (_data_->_state_) {
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		case 0:
#line 2569 "gitg-action-support.c"
		goto _state_0;
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		case 1:
#line 2573 "gitg-action-support.c"
		goto _state_1;
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		case 2:
#line 2577 "gitg-action-support.c"
		goto _state_2;
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		case 3:
#line 2581 "gitg-action-support.c"
		goto _state_3;
		default:
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_assert_not_reached ();
#line 2586 "gitg-action-support.c"
	}
	_state_0:
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_data30_ = g_slice_new0 (Block30Data);
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_data30_->_ref_count_ = 1;
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_data30_->self = g_object_ref (_data_->self);
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_data30_->_async_data_ = _data_;
#line 195 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp0_ = gitg_action_support_get_application (_data_->self);
#line 195 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 195 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 195 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp3_ = gitg_ext_application_get_verified_committer (_data_->_tmp2_);
#line 195 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 195 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->_tmp2_);
#line 195 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->committer = _data_->_tmp4_;
#line 197 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp5_ = _data_->committer;
#line 197 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (_data_->_tmp5_ == NULL) {
#line 199 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp6_ = _data_->notification;
#line 199 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		gitg_simple_notification_error (_data_->_tmp6_, _ ("Failed to obtain author details"));
#line 200 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->result = NULL;
#line 200 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->committer);
#line 200 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		block30_data_unref (_data_->_data30_);
#line 200 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_data30_ = NULL;
#line 200 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->parents = (_vala_array_free (_data_->parents, _data_->parents_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 200 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 200 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		if (_data_->_state_ != 0) {
#line 200 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			while (_data_->_task_complete_ != TRUE) {
#line 200 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 2637 "gitg-action-support.c"
			}
		}
#line 200 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_object_unref (_data_->_async_result);
#line 200 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		return FALSE;
#line 2644 "gitg-action-support.c"
	}
#line 203 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp7_ = _data_->author;
#line 203 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (_data_->_tmp7_ == NULL) {
#line 2650 "gitg-action-support.c"
		GgitSignature* _tmp9_;
#line 205 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp8_ = _data_->committer;
#line 205 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_tmp9_ = _g_object_ref0 (_data_->_tmp8_);
#line 205 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->author);
#line 205 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->author = _tmp9_;
#line 2660 "gitg-action-support.c"
	}
#line 208 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp10_ = gitg_action_support_get_application (_data_->self);
#line 208 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp11_ = _data_->_tmp10_;
#line 208 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp12_ = _data_->_tmp11_;
#line 208 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp13_ = gitg_ext_application_get_repository (_data_->_tmp12_);
#line 208 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp14_ = _data_->_tmp13_;
#line 208 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp15_ = _data_->_tmp14_;
#line 208 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp16_ = gitg_repository_get_stage (_data_->_tmp15_);
#line 208 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp17_ = _data_->_tmp16_;
#line 208 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp18_ = _data_->_tmp17_;
#line 208 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->_tmp15_);
#line 208 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->_tmp12_);
#line 208 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->stage = _data_->_tmp18_;
#line 210 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->head = NULL;
#line 211 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp19_ = _data_->reference;
#line 211 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp20_ = gitg_action_support_reference_is_head (_data_->self, _data_->_tmp19_, &_data_->head);
#line 211 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->ishead = _data_->_tmp20_;
#line 213 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_data30_->oid = NULL;
#line 214 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_data30_->head_tree = NULL;
#line 215 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->commit = NULL;
#line 2700 "gitg-action-support.c"
	{
#line 219 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp22_ = _data_->reference;
#line 219 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp23_ = ggit_ref_lookup ((GgitRef*) _data_->_tmp22_, &_data_->_inner_error_);
#line 219 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp21_ = _data_->_tmp23_;
#line 219 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 2710 "gitg-action-support.c"
			goto __catch44_g_error;
		}
#line 219 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp24_ = _data_->_tmp21_;
#line 219 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp21_ = NULL;
#line 219 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp25_ = G_TYPE_CHECK_INSTANCE_TYPE (_data_->_tmp24_, GITG_TYPE_COMMIT) ? ((GitgCommit*) _data_->_tmp24_) : NULL;
#line 219 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		if (_data_->_tmp25_ == NULL) {
#line 219 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->_tmp24_);
#line 2723 "gitg-action-support.c"
		}
#line 219 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->commit);
#line 219 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->commit = _data_->_tmp25_;
#line 217 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->_tmp21_);
#line 2731 "gitg-action-support.c"
	}
	goto __finally44;
	__catch44_g_error:
	{
#line 217 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->e = _data_->_inner_error_;
#line 217 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_inner_error_ = NULL;
#line 223 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp26_ = _data_->notification;
#line 223 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp27_ = _data_->e;
#line 223 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp28_ = _data_->_tmp27_->message;
#line 223 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp29_ = g_strdup_printf (_ ("Failed to lookup commit: %s"), _data_->_tmp28_);
#line 223 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp30_ = _data_->_tmp29_;
#line 223 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		gitg_simple_notification_error (_data_->_tmp26_, _data_->_tmp30_);
#line 223 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_free0 (_data_->_tmp30_);
#line 224 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->result = NULL;
#line 224 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_error_free0 (_data_->e);
#line 224 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->commit);
#line 224 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->head);
#line 224 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->stage);
#line 224 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->committer);
#line 224 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		block30_data_unref (_data_->_data30_);
#line 224 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_data30_ = NULL;
#line 224 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->parents = (_vala_array_free (_data_->parents, _data_->parents_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 224 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 224 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		if (_data_->_state_ != 0) {
#line 224 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			while (_data_->_task_complete_ != TRUE) {
#line 224 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 2780 "gitg-action-support.c"
			}
		}
#line 224 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_object_unref (_data_->_async_result);
#line 224 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		return FALSE;
#line 2787 "gitg-action-support.c"
	}
	__finally44:
#line 217 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 217 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->commit);
#line 217 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->head);
#line 217 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->stage);
#line 217 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->committer);
#line 217 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		block30_data_unref (_data_->_data30_);
#line 217 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_data30_ = NULL;
#line 217 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->parents = (_vala_array_free (_data_->parents, _data_->parents_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 217 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.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 217 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_clear_error (&_data_->_inner_error_);
#line 217 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		return FALSE;
#line 2812 "gitg-action-support.c"
	}
#line 227 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp31_ = _data_->ishead;
#line 227 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (_data_->_tmp31_) {
#line 229 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp32_ = _data_->notification;
#line 229 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp33_ = _data_->head;
#line 229 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_state_ = 1;
#line 229 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		gitg_action_support_stash_if_needed (_data_->self, _data_->_tmp32_, _data_->_tmp33_, gitg_action_support_commit_index_ready, _data_);
#line 229 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		return FALSE;
#line 2828 "gitg-action-support.c"
		_state_1:
#line 229 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp34_ = gitg_action_support_stash_if_needed_finish (_data_->self, _data_->_res_);
#line 229 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		if (!_data_->_tmp34_) {
#line 231 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_data_->result = NULL;
#line 231 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->commit);
#line 231 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->head);
#line 231 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->stage);
#line 231 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->committer);
#line 231 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			block30_data_unref (_data_->_data30_);
#line 231 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_data_->_data30_ = NULL;
#line 231 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_data_->parents = (_vala_array_free (_data_->parents, _data_->parents_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 231 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 231 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			if (_data_->_state_ != 0) {
#line 231 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
				while (_data_->_task_complete_ != TRUE) {
#line 231 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
					g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 2858 "gitg-action-support.c"
				}
			}
#line 231 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			g_object_unref (_data_->_async_result);
#line 231 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			return FALSE;
#line 2865 "gitg-action-support.c"
		}
#line 234 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp35_ = _data_->commit;
#line 234 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp36_ = ggit_commit_get_tree ((GgitCommit*) _data_->_tmp35_);
#line 234 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->_data30_->head_tree);
#line 234 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_data30_->head_tree = _data_->_tmp36_;
#line 2875 "gitg-action-support.c"
	}
#line 237 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp37_ = _data_->parents;
#line 237 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp37__length1 = _data_->parents_length1;
#line 237 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (_data_->_tmp37_ == NULL) {
#line 239 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp38_ = _data_->commit;
#line 239 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp39_ = ggit_object_get_id ((GgitObject*) _data_->_tmp38_);
#line 239 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp40_ = g_new0 (GgitOId*, 1 + 1);
#line 239 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp40_[0] = _data_->_tmp39_;
#line 239 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->parents = (_vala_array_free (_data_->parents, _data_->parents_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 239 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->parents = _data_->_tmp40_;
#line 239 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->parents_length1 = 1;
#line 2897 "gitg-action-support.c"
	}
	{
#line 246 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp42_ = _data_->ishead;
#line 246 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		if (_data_->_tmp42_) {
#line 246 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_data_->_tmp43_ = _data_->head;
#line 246 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_data_->_tmp41_ = _data_->_tmp43_;
#line 2908 "gitg-action-support.c"
		} else {
#line 246 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_data_->_tmp44_ = _data_->reference;
#line 246 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_data_->_tmp41_ = _data_->_tmp44_;
#line 2914 "gitg-action-support.c"
		}
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp46_ = _data_->stage;
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp47_ = _data_->index;
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp48_ = _data_->message;
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp49_ = _data_->author;
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp50_ = _data_->committer;
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp51_ = _data_->parents;
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp51__length1 = _data_->parents_length1;
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_state_ = 2;
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		gitg_stage_commit_index (_data_->_tmp46_, _data_->_tmp47_, (GgitRef*) _data_->_tmp41_, _data_->_tmp48_, _data_->_tmp49_, _data_->_tmp50_, _data_->_tmp51_, _data_->_tmp51__length1, GITG_STAGE_COMMIT_OPTIONS_NONE, gitg_action_support_commit_index_ready, _data_);
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		return FALSE;
#line 2936 "gitg-action-support.c"
		_state_2:
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp52_ = gitg_stage_commit_index_finish (_data_->_tmp46_, _data_->_res_, &_data_->_inner_error_);
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp45_ = _data_->_tmp52_;
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 2944 "gitg-action-support.c"
			goto __catch45_g_error;
		}
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp53_ = _data_->_tmp45_;
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp45_ = NULL;
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		__vala_GgitOId_free0 (_data_->_data30_->oid);
#line 245 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_data30_->oid = _data_->_tmp53_;
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		__vala_GgitOId_free0 (_data_->_tmp45_);
#line 2957 "gitg-action-support.c"
	}
	goto __finally45;
	__catch45_g_error:
	{
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_vala1_e = _data_->_inner_error_;
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_inner_error_ = NULL;
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp54_ = _data_->notification;
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp55_ = _data_->_vala1_e;
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp56_ = _data_->_tmp55_->message;
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp57_ = g_strdup_printf (_ ("Failed to create commit: %s"), _data_->_tmp56_);
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_tmp58_ = _data_->_tmp57_;
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		gitg_simple_notification_error (_data_->_tmp54_, _data_->_tmp58_);
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_free0 (_data_->_tmp58_);
#line 256 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->result = NULL;
#line 256 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_error_free0 (_data_->_vala1_e);
#line 256 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->commit);
#line 256 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->head);
#line 256 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->stage);
#line 256 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->committer);
#line 256 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		block30_data_unref (_data_->_data30_);
#line 256 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_data30_ = NULL;
#line 256 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->parents = (_vala_array_free (_data_->parents, _data_->parents_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 256 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 256 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		if (_data_->_state_ != 0) {
#line 256 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			while (_data_->_task_complete_ != TRUE) {
#line 256 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 3006 "gitg-action-support.c"
			}
		}
#line 256 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_object_unref (_data_->_async_result);
#line 256 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		return FALSE;
#line 3013 "gitg-action-support.c"
	}
	__finally45:
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->commit);
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->head);
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->stage);
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->committer);
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		block30_data_unref (_data_->_data30_);
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->_data30_ = NULL;
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_data_->parents = (_vala_array_free (_data_->parents, _data_->parents_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.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 242 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_clear_error (&_data_->_inner_error_);
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		return FALSE;
#line 3038 "gitg-action-support.c"
	}
#line 259 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp59_ = _data_->ishead;
#line 259 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (_data_->_tmp59_) {
#line 3044 "gitg-action-support.c"
		{
#line 263 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_data_->_state_ = 3;
#line 263 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			gitg_async_thread (_____lambda13__gitg_async_thread_func, _data_->_data30_, gitg_action_support_commit_index_ready, _data_);
#line 263 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			return FALSE;
#line 3052 "gitg-action-support.c"
			_state_3:
#line 263 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			gitg_async_thread_finish (_data_->_res_, &_data_->_inner_error_);
#line 263 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 3058 "gitg-action-support.c"
				goto __catch46_g_error;
			}
		}
		goto __finally46;
		__catch46_g_error:
		{
#line 261 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_data_->_vala2_e = _data_->_inner_error_;
#line 261 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_data_->_inner_error_ = NULL;
#line 277 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_data_->_tmp60_ = _data_->notification;
#line 277 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_data_->_tmp61_ = _data_->_vala2_e;
#line 277 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_data_->_tmp62_ = _data_->_tmp61_->message;
#line 277 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_data_->_tmp63_ = g_strdup_printf (_ ("Failed to checkout index: %s"), _data_->_tmp62_);
#line 277 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_data_->_tmp64_ = _data_->_tmp63_;
#line 277 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			gitg_simple_notification_error (_data_->_tmp60_, _data_->_tmp64_);
#line 277 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_free0 (_data_->_tmp64_);
#line 278 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_data_->result = NULL;
#line 278 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_error_free0 (_data_->_vala2_e);
#line 278 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->commit);
#line 278 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->head);
#line 278 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->stage);
#line 278 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->committer);
#line 278 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			block30_data_unref (_data_->_data30_);
#line 278 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_data_->_data30_ = NULL;
#line 278 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_data_->parents = (_vala_array_free (_data_->parents, _data_->parents_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 278 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 278 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			if (_data_->_state_ != 0) {
#line 278 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
				while (_data_->_task_complete_ != TRUE) {
#line 278 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
					g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 3109 "gitg-action-support.c"
				}
			}
#line 278 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			g_object_unref (_data_->_async_result);
#line 278 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			return FALSE;
#line 3116 "gitg-action-support.c"
		}
		__finally46:
#line 261 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 261 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->commit);
#line 261 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->head);
#line 261 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->stage);
#line 261 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->committer);
#line 261 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			block30_data_unref (_data_->_data30_);
#line 261 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_data_->_data30_ = NULL;
#line 261 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			_data_->parents = (_vala_array_free (_data_->parents, _data_->parents_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 261 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.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 261 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			g_clear_error (&_data_->_inner_error_);
#line 261 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			return FALSE;
#line 3141 "gitg-action-support.c"
		}
	}
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp65_ = _data_->_data30_->oid;
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_tmp66_ = __vala_GgitOId_copy0 (_data_->_tmp65_);
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->result = _data_->_tmp66_;
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->commit);
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->head);
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->stage);
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->committer);
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	block30_data_unref (_data_->_data30_);
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->_data30_ = NULL;
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_data_->parents = (_vala_array_free (_data_->parents, _data_->parents_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (_data_->_state_ != 0) {
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 3172 "gitg-action-support.c"
		}
	}
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_object_unref (_data_->_async_result);
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	return FALSE;
#line 3179 "gitg-action-support.c"
}


GitgExtApplication* gitg_action_support_get_application (GitgActionSupport* self) {
	GitgExtApplication* result;
	GitgExtApplication* _tmp0_;
	GitgExtApplication* _tmp1_;
#line 28 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 28 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp0_ = self->priv->_application;
#line 28 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 28 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	result = _tmp1_;
#line 28 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	return result;
#line 3197 "gitg-action-support.c"
}


void gitg_action_support_set_application (GitgActionSupport* self, GitgExtApplication* value) {
#line 28 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_return_if_fail (self != NULL);
#line 28 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (gitg_action_support_get_application (self) != value) {
#line 3206 "gitg-action-support.c"
		GitgExtApplication* _tmp0_;
		GitgExtApplication* _tmp1_;
#line 28 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_tmp0_ = value;
#line 28 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 28 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (self->priv->_application);
#line 28 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		self->priv->_application = _tmp1_;
#line 28 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_object_notify ((GObject *) self, "application");
#line 3219 "gitg-action-support.c"
	}
}


GitgExtRefActionInterface* gitg_action_support_get_action_interface (GitgActionSupport* self) {
	GitgExtRefActionInterface* result;
	GitgExtRefActionInterface* _tmp0_;
	GitgExtRefActionInterface* _tmp1_;
#line 29 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 29 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp0_ = self->priv->_action_interface;
#line 29 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 29 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	result = _tmp1_;
#line 29 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	return result;
#line 3238 "gitg-action-support.c"
}


void gitg_action_support_set_action_interface (GitgActionSupport* self, GitgExtRefActionInterface* value) {
#line 29 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_return_if_fail (self != NULL);
#line 29 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	if (gitg_action_support_get_action_interface (self) != value) {
#line 3247 "gitg-action-support.c"
		GitgExtRefActionInterface* _tmp0_;
		GitgExtRefActionInterface* _tmp1_;
#line 29 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_tmp0_ = value;
#line 29 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 29 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		_g_object_unref0 (self->priv->_action_interface);
#line 29 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		self->priv->_action_interface = _tmp1_;
#line 29 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_object_notify ((GObject *) self, "action-interface");
#line 3260 "gitg-action-support.c"
	}
}


static void gitg_action_support_class_init (GitgActionSupportClass * klass) {
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	gitg_action_support_parent_class = g_type_class_peek_parent (klass);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_type_class_add_private (klass, sizeof (GitgActionSupportPrivate));
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_action_support_get_property;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_action_support_set_property;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_action_support_finalize;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_ACTION_SUPPORT_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/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_ACTION_SUPPORT_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 3280 "gitg-action-support.c"
}


static void gitg_action_support_instance_init (GitgActionSupport * self) {
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	self->priv = GITG_ACTION_SUPPORT_GET_PRIVATE (self);
#line 3287 "gitg-action-support.c"
}


static void gitg_action_support_finalize (GObject * obj) {
	GitgActionSupport * self;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_ACTION_SUPPORT, GitgActionSupport);
#line 28 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (self->priv->_application);
#line 29 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	_g_object_unref0 (self->priv->_action_interface);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	G_OBJECT_CLASS (gitg_action_support_parent_class)->finalize (obj);
#line 3301 "gitg-action-support.c"
}


GType gitg_action_support_get_type (void) {
	static volatile gsize gitg_action_support_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_action_support_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgActionSupportClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_action_support_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgActionSupport), 0, (GInstanceInitFunc) gitg_action_support_instance_init, NULL };
		GType gitg_action_support_type_id;
		gitg_action_support_type_id = g_type_register_static (G_TYPE_OBJECT, "GitgActionSupport", &g_define_type_info, 0);
		g_once_init_leave (&gitg_action_support_type_id__volatile, gitg_action_support_type_id);
	}
	return gitg_action_support_type_id__volatile;
}


static void _vala_gitg_action_support_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GitgActionSupport * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_ACTION_SUPPORT, GitgActionSupport);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	switch (property_id) {
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		case GITG_ACTION_SUPPORT_APPLICATION:
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_value_take_object (value, gitg_action_support_get_application (self));
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		break;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		case GITG_ACTION_SUPPORT_ACTION_INTERFACE:
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		g_value_take_object (value, gitg_action_support_get_action_interface (self));
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		break;
#line 3334 "gitg-action-support.c"
		default:
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		break;
#line 3340 "gitg-action-support.c"
	}
}


static void _vala_gitg_action_support_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	GitgActionSupport * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_ACTION_SUPPORT, GitgActionSupport);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
	switch (property_id) {
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		case GITG_ACTION_SUPPORT_APPLICATION:
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		gitg_action_support_set_application (self, g_value_get_object (value));
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		break;
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		case GITG_ACTION_SUPPORT_ACTION_INTERFACE:
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		gitg_action_support_set_action_interface (self, g_value_get_object (value));
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		break;
#line 3362 "gitg-action-support.c"
		default:
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/tests/gitg/gitg-action-support.vala"
		break;
#line 3368 "gitg-action-support.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);
}



