/* gitg-commit.c generated by valac 0.30.0.38-a55d, the Vala compiler
 * generated from gitg-commit.vala, do not modify */

/*
 * This file is part of gitg
 *
 * Copyright (C) 2012 - 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 <gtk/gtk.h>
#include "libgitg/libgitg.h"
#include <stdlib.h>
#include <string.h>
#include <config.h>
#include <gio/gio.h>
#include <libgit2-glib/ggit.h>
#include <glib/gi18n-lib.h>
#include <stdio.h>
#include <gee.h>
#include <gdk/gdk.h>


#define GITG_COMMIT_TYPE_ACTIVITY (gitg_commit_activity_get_type ())
#define GITG_COMMIT_ACTIVITY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_COMMIT_TYPE_ACTIVITY, GitgCommitActivity))
#define GITG_COMMIT_ACTIVITY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_COMMIT_TYPE_ACTIVITY, GitgCommitActivityClass))
#define GITG_COMMIT_IS_ACTIVITY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_COMMIT_TYPE_ACTIVITY))
#define GITG_COMMIT_IS_ACTIVITY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_COMMIT_TYPE_ACTIVITY))
#define GITG_COMMIT_ACTIVITY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_COMMIT_TYPE_ACTIVITY, GitgCommitActivityClass))

typedef struct _GitgCommitActivity GitgCommitActivity;
typedef struct _GitgCommitActivityClass GitgCommitActivityClass;
typedef struct _GitgCommitActivityPrivate GitgCommitActivityPrivate;

#define GITG_COMMIT_TYPE_PANED (gitg_commit_paned_get_type ())
#define GITG_COMMIT_PANED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_COMMIT_TYPE_PANED, GitgCommitPaned))
#define GITG_COMMIT_PANED_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_COMMIT_TYPE_PANED, GitgCommitPanedClass))
#define GITG_COMMIT_IS_PANED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_COMMIT_TYPE_PANED))
#define GITG_COMMIT_IS_PANED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_COMMIT_TYPE_PANED))
#define GITG_COMMIT_PANED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_COMMIT_TYPE_PANED, GitgCommitPanedClass))

typedef struct _GitgCommitPaned GitgCommitPaned;
typedef struct _GitgCommitPanedClass GitgCommitPanedClass;

#define GITG_COMMIT_ACTIVITY_TYPE_UI_TYPE (gitg_commit_activity_ui_type_get_type ())

#define GITG_COMMIT_ACTIVITY_TYPE_INDEX_TYPE (gitg_commit_activity_index_type_get_type ())
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _gitg_when_mapped_unref0(var) ((var == NULL) ? NULL : (var = (gitg_when_mapped_unref (var), NULL)))
typedef struct _Block4Data Block4Data;
typedef struct _Block5Data Block5Data;
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
#define __vala_GgitOId_free0(var) ((var == NULL) ? NULL : (var = (_vala_GgitOId_free (var), NULL)))
typedef struct _GitgCommitActivityStageSubmoduleData GitgCommitActivityStageSubmoduleData;
typedef struct _GitgCommitActivityStageFileData GitgCommitActivityStageFileData;
typedef struct _GitgCommitActivityStageItemsData GitgCommitActivityStageItemsData;

#define GITG_COMMIT_TYPE_SUBMODULE_HISTORY_VIEW (gitg_commit_submodule_history_view_get_type ())
#define GITG_COMMIT_SUBMODULE_HISTORY_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_COMMIT_TYPE_SUBMODULE_HISTORY_VIEW, GitgCommitSubmoduleHistoryView))
#define GITG_COMMIT_SUBMODULE_HISTORY_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_COMMIT_TYPE_SUBMODULE_HISTORY_VIEW, GitgCommitSubmoduleHistoryViewClass))
#define GITG_COMMIT_IS_SUBMODULE_HISTORY_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_COMMIT_TYPE_SUBMODULE_HISTORY_VIEW))
#define GITG_COMMIT_IS_SUBMODULE_HISTORY_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_COMMIT_TYPE_SUBMODULE_HISTORY_VIEW))
#define GITG_COMMIT_SUBMODULE_HISTORY_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_COMMIT_TYPE_SUBMODULE_HISTORY_VIEW, GitgCommitSubmoduleHistoryViewClass))

typedef struct _GitgCommitSubmoduleHistoryView GitgCommitSubmoduleHistoryView;
typedef struct _GitgCommitSubmoduleHistoryViewClass GitgCommitSubmoduleHistoryViewClass;

#define GITG_COMMIT_TYPE_SUBMODULE_DIFF_VIEW (gitg_commit_submodule_diff_view_get_type ())
#define GITG_COMMIT_SUBMODULE_DIFF_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_COMMIT_TYPE_SUBMODULE_DIFF_VIEW, GitgCommitSubmoduleDiffView))
#define GITG_COMMIT_SUBMODULE_DIFF_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_COMMIT_TYPE_SUBMODULE_DIFF_VIEW, GitgCommitSubmoduleDiffViewClass))
#define GITG_COMMIT_IS_SUBMODULE_DIFF_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_COMMIT_TYPE_SUBMODULE_DIFF_VIEW))
#define GITG_COMMIT_IS_SUBMODULE_DIFF_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_COMMIT_TYPE_SUBMODULE_DIFF_VIEW))
#define GITG_COMMIT_SUBMODULE_DIFF_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_COMMIT_TYPE_SUBMODULE_DIFF_VIEW, GitgCommitSubmoduleDiffViewClass))

typedef struct _GitgCommitSubmoduleDiffView GitgCommitSubmoduleDiffView;
typedef struct _GitgCommitSubmoduleDiffViewClass GitgCommitSubmoduleDiffViewClass;

#define GITG_COMMIT_TYPE_SUBMODULE_INFO (gitg_commit_submodule_info_get_type ())
#define GITG_COMMIT_SUBMODULE_INFO(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_COMMIT_TYPE_SUBMODULE_INFO, GitgCommitSubmoduleInfo))
#define GITG_COMMIT_SUBMODULE_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_COMMIT_TYPE_SUBMODULE_INFO, GitgCommitSubmoduleInfoClass))
#define GITG_COMMIT_IS_SUBMODULE_INFO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_COMMIT_TYPE_SUBMODULE_INFO))
#define GITG_COMMIT_IS_SUBMODULE_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_COMMIT_TYPE_SUBMODULE_INFO))
#define GITG_COMMIT_SUBMODULE_INFO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_COMMIT_TYPE_SUBMODULE_INFO, GitgCommitSubmoduleInfoClass))

typedef struct _GitgCommitSubmoduleInfo GitgCommitSubmoduleInfo;
typedef struct _GitgCommitSubmoduleInfoClass GitgCommitSubmoduleInfoClass;
#define _ggit_submodule_unref0(var) ((var == NULL) ? NULL : (var = (ggit_submodule_unref (var), NULL)))
typedef struct _Block6Data Block6Data;
typedef struct _Block7Data Block7Data;
typedef struct _GitgCommitActivityUnstageItemData GitgCommitActivityUnstageItemData;
typedef struct _GitgCommitActivityUnstageFileData GitgCommitActivityUnstageFileData;
typedef struct _GitgCommitActivityUnstageSubmoduleData GitgCommitActivityUnstageSubmoduleData;
typedef struct _GitgCommitActivityUnstageItemsData GitgCommitActivityUnstageItemsData;

#define GITG_COMMIT_SIDEBAR_ITEM_TYPE_TYPE (gitg_commit_sidebar_item_type_get_type ())

#define GITG_COMMIT_SIDEBAR_TYPE_ITEM (gitg_commit_sidebar_item_get_type ())
#define GITG_COMMIT_SIDEBAR_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_COMMIT_SIDEBAR_TYPE_ITEM, GitgCommitSidebarItem))
#define GITG_COMMIT_SIDEBAR_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_COMMIT_SIDEBAR_TYPE_ITEM, GitgCommitSidebarItemClass))
#define GITG_COMMIT_SIDEBAR_IS_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_COMMIT_SIDEBAR_TYPE_ITEM))
#define GITG_COMMIT_SIDEBAR_IS_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_COMMIT_SIDEBAR_TYPE_ITEM))
#define GITG_COMMIT_SIDEBAR_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_COMMIT_SIDEBAR_TYPE_ITEM, GitgCommitSidebarItemClass))

typedef struct _GitgCommitSidebarItem GitgCommitSidebarItem;
typedef struct _GitgCommitSidebarItemClass GitgCommitSidebarItemClass;
typedef struct _Block8Data Block8Data;
typedef struct _Block9Data Block9Data;
typedef struct _Block10Data Block10Data;

#define GITG_COMMIT_TYPE_SIDEBAR (gitg_commit_sidebar_get_type ())
#define GITG_COMMIT_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_COMMIT_TYPE_SIDEBAR, GitgCommitSidebar))
#define GITG_COMMIT_SIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_COMMIT_TYPE_SIDEBAR, GitgCommitSidebarClass))
#define GITG_COMMIT_IS_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_COMMIT_TYPE_SIDEBAR))
#define GITG_COMMIT_IS_SIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_COMMIT_TYPE_SIDEBAR))
#define GITG_COMMIT_SIDEBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_COMMIT_TYPE_SIDEBAR, GitgCommitSidebarClass))

typedef struct _GitgCommitSidebar GitgCommitSidebar;
typedef struct _GitgCommitSidebarClass GitgCommitSidebarClass;
typedef struct _Block11Data Block11Data;
#define __vala_GgitStatusOptions_free0(var) ((var == NULL) ? NULL : (var = (_vala_GgitStatusOptions_free (var), NULL)))

#define GITG_COMMIT_TYPE_DIALOG (gitg_commit_dialog_get_type ())
#define GITG_COMMIT_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_COMMIT_TYPE_DIALOG, GitgCommitDialog))
#define GITG_COMMIT_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_COMMIT_TYPE_DIALOG, GitgCommitDialogClass))
#define GITG_COMMIT_IS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_COMMIT_TYPE_DIALOG))
#define GITG_COMMIT_IS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_COMMIT_TYPE_DIALOG))
#define GITG_COMMIT_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_COMMIT_TYPE_DIALOG, GitgCommitDialogClass))

typedef struct _GitgCommitDialog GitgCommitDialog;
typedef struct _GitgCommitDialogClass GitgCommitDialogClass;
typedef struct _Block12Data Block12Data;
typedef struct _GitgCommitActivityPreCommitData GitgCommitActivityPreCommitData;
typedef struct _Block13Data Block13Data;
typedef struct _GitgCommitActivityGetHeadCommitData GitgCommitActivityGetHeadCommitData;
typedef struct _Block14Data Block14Data;
typedef struct _Block15Data Block15Data;
typedef struct _GitgCommitActivityIndexDiffData GitgCommitActivityIndexDiffData;
typedef struct _Block16Data Block16Data;
typedef struct _Block17Data Block17Data;
typedef struct _Block18Data Block18Data;
#define _gitg_patch_set_unref0(var) ((var == NULL) ? NULL : (var = (gitg_patch_set_unref (var), NULL)))
typedef struct _GitgCommitActivityStageUnstageSelectionData GitgCommitActivityStageUnstageSelectionData;
typedef struct _GitgCommitActivityDiscardSelectionData GitgCommitActivityDiscardSelectionData;
typedef struct _Block19Data Block19Data;
typedef struct _Block20Data Block20Data;
typedef struct _Block21Data Block21Data;
typedef struct _GitgCommitActivityRevertPathsData GitgCommitActivityRevertPathsData;
typedef struct _Block22Data Block22Data;
typedef struct _Block23Data Block23Data;
typedef struct _Block24Data Block24Data;
typedef struct _Block25Data Block25Data;
typedef struct _GitgCommitActivityDeleteFilesData GitgCommitActivityDeleteFilesData;
typedef struct _Block26Data Block26Data;
typedef struct _Block27Data Block27Data;
typedef struct _Block28Data Block28Data;
typedef struct _Block29Data Block29Data;

struct _GitgCommitActivity {
	GObject parent_instance;
	GitgCommitActivityPrivate * priv;
};

struct _GitgCommitActivityClass {
	GObjectClass parent_class;
};

typedef void (*GitgCommitActivityUpdateDiffCallback) (void* user_data);
typedef void (*GitgCommitActivityStageUnstageSubmoduleCommitCallback) (GitgCommit* commit, void* user_data);
struct _GitgCommitActivityPrivate {
	GitgCommitPaned* d_main;
	gboolean d_reloading;
	gboolean d_has_staged;
	gulong d_externally_changed_id;
	gboolean d_ignore_external_changes;
	GitgWhenMapped* d_reload_when_mapped;
	GitgExtApplication* _application;
	GitgCommitActivityUpdateDiffCallback d_update_diff_callback;
	gpointer d_update_diff_callback_target;
	GDestroyNotify d_update_diff_callback_target_destroy_notify;
	gboolean d_submodule_history_select_first;
	GitgStageStatusSubmodule* d_current_submodule;
	GitgRepository* d_current_submodule_repository;
	GitgCommitActivityStageUnstageSubmoduleCommitCallback d_stage_unstage_submodule_commit_callback;
	gpointer d_stage_unstage_submodule_commit_callback_target;
	GDestroyNotify d_stage_unstage_submodule_commit_callback_target_destroy_notify;
};

typedef enum  {
	GITG_COMMIT_ACTIVITY_UI_TYPE_DIFF,
	GITG_COMMIT_ACTIVITY_UI_TYPE_SUBMODULE_HISTORY,
	GITG_COMMIT_ACTIVITY_UI_TYPE_SUBMODULE_DIFF
} GitgCommitActivityUiType;

typedef enum  {
	GITG_COMMIT_ACTIVITY_INDEX_TYPE_STAGED,
	GITG_COMMIT_ACTIVITY_INDEX_TYPE_UNSTAGED
} GitgCommitActivityIndexType;

struct _Block4Data {
	int _ref_count_;
	GitgCommitActivity* self;
	GitgRepository* repository;
	GitgDiffView* view;
	GitgStageStatusItem** items;
	gint items_length1;
	gboolean patchable;
};

struct _Block5Data {
	int _ref_count_;
	GitgCommitActivity* self;
	GitgStage* stage;
	GitgDiffView* view;
	gboolean patchable;
};

struct _GitgCommitActivityStageSubmoduleData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgCommitActivity* self;
	GitgStageStatusSubmodule* sub;
	GitgCommit* commit;
	gboolean result;
	GitgStage* stage;
	GitgExtApplication* _tmp0_;
	GitgExtApplication* _tmp1_;
	GitgExtApplication* _tmp2_;
	GitgRepository* _tmp3_;
	GitgRepository* _tmp4_;
	GitgRepository* _tmp5_;
	GitgStage* _tmp6_;
	GitgStage* _tmp7_;
	GitgStage* _tmp8_;
	GitgStageStatusSubmodule* _tmp9_;
	GgitSubmoduleStatus _tmp10_;
	GgitSubmoduleStatus _tmp11_;
	GitgStage* _tmp12_;
	GitgStageStatusSubmodule* _tmp13_;
	gchar* _tmp14_;
	gchar* _tmp15_;
	gchar* _tmp16_;
	GError* e;
	gchar* msg;
	const gchar* _tmp17_;
	GitgStageStatusSubmodule* _tmp18_;
	gchar* _tmp19_;
	gchar* _tmp20_;
	gchar* _tmp21_;
	gchar* _tmp22_;
	gchar* _tmp23_;
	GitgExtApplication* _tmp24_;
	GitgExtApplication* _tmp25_;
	GitgExtApplication* _tmp26_;
	const gchar* _tmp27_;
	GError* _tmp28_;
	const gchar* _tmp29_;
	GitgRepository* repo;
	GgitRepository* _tmp30_;
	GitgStageStatusSubmodule* _tmp31_;
	GgitSubmodule* _tmp32_;
	GgitSubmodule* _tmp33_;
	GgitRepository* _tmp34_;
	GgitRepository* _tmp35_;
	GitgRepository* _tmp36_;
	GError* _vala1_e;
	gchar* _vala1_msg;
	const gchar* _tmp37_;
	GitgStageStatusSubmodule* _tmp38_;
	gchar* _tmp39_;
	gchar* _tmp40_;
	gchar* _tmp41_;
	gchar* _tmp42_;
	gchar* _tmp43_;
	GitgExtApplication* _tmp44_;
	GitgExtApplication* _tmp45_;
	GitgExtApplication* _tmp46_;
	const gchar* _tmp47_;
	GError* _tmp48_;
	const gchar* _tmp49_;
	GitgCommit* _tmp50_;
	GitgCommit* _tmp51_;
	GitgRepository* _tmp52_;
	GitgStageStatusSubmodule* _tmp53_;
	GgitSubmodule* _tmp54_;
	GgitSubmodule* _tmp55_;
	GgitOId* _tmp56_;
	GgitOId* _tmp57_;
	gpointer _tmp58_;
	GitgCommit* _tmp59_;
	GError* _vala2_e;
	gchar* _vala2_msg;
	const gchar* _tmp61_;
	GitgStageStatusSubmodule* _tmp62_;
	gchar* _tmp63_;
	gchar* _tmp64_;
	gchar* _tmp65_;
	gchar* _tmp66_;
	gchar* _tmp67_;
	GitgExtApplication* _tmp68_;
	GitgExtApplication* _tmp69_;
	GitgExtApplication* _tmp70_;
	const gchar* _tmp71_;
	GError* _tmp72_;
	const gchar* _tmp73_;
	GitgStage* _tmp74_;
	GitgStageStatusSubmodule* _tmp75_;
	gchar* _tmp76_;
	gchar* _tmp77_;
	gchar* _tmp78_;
	GitgCommit* _tmp79_;
	GError* _vala3_e;
	gchar* _vala3_msg;
	const gchar* _tmp80_;
	GitgStageStatusSubmodule* _tmp81_;
	gchar* _tmp82_;
	gchar* _tmp83_;
	gchar* _tmp84_;
	gchar* _tmp85_;
	gchar* _tmp86_;
	GitgExtApplication* _tmp87_;
	GitgExtApplication* _tmp88_;
	GitgExtApplication* _tmp89_;
	const gchar* _tmp90_;
	GError* _tmp91_;
	const gchar* _tmp92_;
	GError * _inner_error_;
};

struct _GitgCommitActivityStageFileData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgCommitActivity* self;
	GitgStageStatusFile* file;
	gboolean result;
	GitgStage* stage;
	GitgExtApplication* _tmp0_;
	GitgExtApplication* _tmp1_;
	GitgExtApplication* _tmp2_;
	GitgRepository* _tmp3_;
	GitgRepository* _tmp4_;
	GitgRepository* _tmp5_;
	GitgStage* _tmp6_;
	GitgStage* _tmp7_;
	GitgStage* _tmp8_;
	GitgStageStatusFile* _tmp9_;
	GgitStatusFlags _tmp10_;
	GgitStatusFlags _tmp11_;
	GitgStage* _tmp12_;
	GitgStageStatusFile* _tmp13_;
	gchar* _tmp14_;
	gchar* _tmp15_;
	gchar* _tmp16_;
	GError* e;
	gchar* msg;
	const gchar* _tmp17_;
	GitgStageStatusFile* _tmp18_;
	gchar* _tmp19_;
	gchar* _tmp20_;
	gchar* _tmp21_;
	gchar* _tmp22_;
	gchar* _tmp23_;
	GitgExtApplication* _tmp24_;
	GitgExtApplication* _tmp25_;
	GitgExtApplication* _tmp26_;
	const gchar* _tmp27_;
	GError* _tmp28_;
	const gchar* _tmp29_;
	GitgStage* _tmp30_;
	GitgStageStatusFile* _tmp31_;
	gchar* _tmp32_;
	gchar* _tmp33_;
	gchar* _tmp34_;
	GError* _vala1_e;
	gchar* _vala1_msg;
	const gchar* _tmp35_;
	GitgStageStatusFile* _tmp36_;
	gchar* _tmp37_;
	gchar* _tmp38_;
	gchar* _tmp39_;
	gchar* _tmp40_;
	gchar* _tmp41_;
	GitgExtApplication* _tmp42_;
	GitgExtApplication* _tmp43_;
	GitgExtApplication* _tmp44_;
	const gchar* _tmp45_;
	GError* _tmp46_;
	const gchar* _tmp47_;
	GError * _inner_error_;
};

struct _GitgCommitActivityStageItemsData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgCommitActivity* self;
	GitgStageStatusItem** items;
	gint items_length1;
	GitgStageStatusItem** _tmp0_;
	gint _tmp0__length1;
	GitgStageStatusItem** item_collection;
	gint item_collection_length1;
	gint _item_collection_size_;
	gint item_it;
	GitgStageStatusItem* _tmp1_;
	GitgStageStatusItem* item;
	gboolean ok;
	GitgStageStatusItem* _tmp2_;
	GitgStageStatusItem* _tmp3_;
	gboolean _tmp4_;
	GitgStageStatusItem* _tmp5_;
	GitgStageStatusItem* _tmp6_;
	gboolean _tmp7_;
	gboolean _tmp8_;
};

struct _Block6Data {
	int _ref_count_;
	GitgCommitActivity* self;
	GitgRepository* repository;
	GitgDiffView* view;
	GitgStageStatusItem** items;
	gint items_length1;
	gboolean patchable;
};

struct _Block7Data {
	int _ref_count_;
	GitgCommitActivity* self;
	GitgStage* stage;
	GitgDiffView* view;
	gboolean patchable;
};

struct _GitgCommitActivityUnstageItemData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgCommitActivity* self;
	GitgStageStatusItem* item;
	gboolean isnew;
	gchar* removal_msg;
	gchar* unstage_msg;
	gboolean result;
	GitgStage* stage;
	GitgExtApplication* _tmp0_;
	GitgExtApplication* _tmp1_;
	GitgExtApplication* _tmp2_;
	GitgRepository* _tmp3_;
	GitgRepository* _tmp4_;
	GitgRepository* _tmp5_;
	GitgStage* _tmp6_;
	GitgStage* _tmp7_;
	GitgStage* _tmp8_;
	gboolean _tmp9_;
	GitgStage* _tmp10_;
	GitgStageStatusItem* _tmp11_;
	gchar* _tmp12_;
	gchar* _tmp13_;
	gchar* _tmp14_;
	GError* e;
	GitgExtApplication* _tmp15_;
	GitgExtApplication* _tmp16_;
	GitgExtApplication* _tmp17_;
	const gchar* _tmp18_;
	GError* _tmp19_;
	const gchar* _tmp20_;
	GitgStage* _tmp21_;
	GitgStageStatusItem* _tmp22_;
	gchar* _tmp23_;
	gchar* _tmp24_;
	gchar* _tmp25_;
	GError* _vala1_e;
	GitgExtApplication* _tmp26_;
	GitgExtApplication* _tmp27_;
	GitgExtApplication* _tmp28_;
	const gchar* _tmp29_;
	GError* _tmp30_;
	const gchar* _tmp31_;
	GError * _inner_error_;
};

struct _GitgCommitActivityUnstageFileData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgCommitActivity* self;
	GitgStageStatusFile* file;
	gboolean result;
	GitgStageStatusFile* _tmp0_;
	GitgStageStatusFile* _tmp1_;
	GgitStatusFlags _tmp2_;
	GgitStatusFlags _tmp3_;
	const gchar* _tmp4_;
	GitgStageStatusFile* _tmp5_;
	gchar* _tmp6_;
	gchar* _tmp7_;
	gchar* _tmp8_;
	gchar* _tmp9_;
	gchar* _tmp10_;
	const gchar* _tmp11_;
	GitgStageStatusFile* _tmp12_;
	gchar* _tmp13_;
	gchar* _tmp14_;
	gchar* _tmp15_;
	gchar* _tmp16_;
	gchar* _tmp17_;
	gboolean _tmp18_;
	gboolean _tmp19_;
};

struct _GitgCommitActivityUnstageSubmoduleData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgCommitActivity* self;
	GitgStageStatusSubmodule* sub;
	gboolean result;
	GitgStageStatusSubmodule* _tmp0_;
	GitgStageStatusSubmodule* _tmp1_;
	GgitSubmoduleStatus _tmp2_;
	GgitSubmoduleStatus _tmp3_;
	const gchar* _tmp4_;
	GitgStageStatusSubmodule* _tmp5_;
	gchar* _tmp6_;
	gchar* _tmp7_;
	gchar* _tmp8_;
	gchar* _tmp9_;
	gchar* _tmp10_;
	const gchar* _tmp11_;
	GitgStageStatusSubmodule* _tmp12_;
	gchar* _tmp13_;
	gchar* _tmp14_;
	gchar* _tmp15_;
	gchar* _tmp16_;
	gchar* _tmp17_;
	gboolean _tmp18_;
	gboolean _tmp19_;
};

struct _GitgCommitActivityUnstageItemsData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgCommitActivity* self;
	GitgStageStatusItem** items;
	gint items_length1;
	GitgStageStatusItem** _tmp0_;
	gint _tmp0__length1;
	GitgStageStatusItem** item_collection;
	gint item_collection_length1;
	gint _item_collection_size_;
	gint item_it;
	GitgStageStatusItem* _tmp1_;
	GitgStageStatusItem* item;
	gboolean ok;
	GitgStageStatusItem* _tmp2_;
	GitgStageStatusItem* _tmp3_;
	gboolean _tmp4_;
	GitgStageStatusItem* _tmp5_;
	GitgStageStatusItem* _tmp6_;
	gboolean _tmp7_;
	gboolean _tmp8_;
};

typedef enum  {
	GITG_COMMIT_SIDEBAR_ITEM_TYPE_NONE,
	GITG_COMMIT_SIDEBAR_ITEM_TYPE_STAGED,
	GITG_COMMIT_SIDEBAR_ITEM_TYPE_UNSTAGED,
	GITG_COMMIT_SIDEBAR_ITEM_TYPE_UNTRACKED,
	GITG_COMMIT_SIDEBAR_ITEM_TYPE_SUBMODULE
} GitgCommitSidebarItemType;

typedef void (*GitgCommitActivityStageUnstageCallback) (GitgCommitSidebarItem* item, void* user_data);
struct _Block8Data {
	int _ref_count_;
	GitgCommitActivity* self;
	GitgCommitActivityStageUnstageCallback callback;
	gpointer callback_target;
};

struct _Block9Data {
	int _ref_count_;
	Block8Data * _data8_;
	GitgCommitSidebarItem* sitem;
};

struct _Block10Data {
	int _ref_count_;
	GitgCommitActivity* self;
	GitgSidebarStore* model;
	GitgCommitSidebarItemType selected_type;
	GeeHashSet* selected_paths;
	GitgStageStatusEnumerator* enumerator;
};

struct _Block11Data {
	int _ref_count_;
	Block10Data * _data10_;
	GitgAvatarCache* ac;
};

struct _Block12Data {
	int _ref_count_;
	GitgCommitActivity* self;
	GitgStage* stage;
	GitgCommitDialog* dlg;
};

struct _GitgCommitActivityPreCommitData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgCommitActivity* self;
	GgitSignature* author;
	gboolean result;
	GitgExtApplication* _tmp0_;
	GitgExtApplication* _tmp1_;
	GitgExtApplication* _tmp2_;
	GitgRepository* _tmp3_;
	GitgRepository* _tmp4_;
	GitgRepository* _tmp5_;
	GitgStage* _tmp6_;
	GitgStage* _tmp7_;
	GitgStage* _tmp8_;
	GgitSignature* _tmp9_;
	GError* e;
	GitgExtApplication* _tmp10_;
	GitgExtApplication* _tmp11_;
	GitgExtApplication* _tmp12_;
	const gchar* _tmp13_;
	GError* _tmp14_;
	const gchar* _tmp15_;
	GError * _inner_error_;
};

struct _Block13Data {
	int _ref_count_;
	GitgCommitActivity* self;
	GitgCommit* retval;
	gpointer _async_data_;
};

struct _GitgCommitActivityGetHeadCommitData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgCommitActivity* self;
	GitgCommit* result;
	Block13Data* _data13_;
	GitgCommit* _tmp0_;
	GError * _inner_error_;
};

struct _Block14Data {
	int _ref_count_;
	GitgCommitActivity* self;
	GgitDiffOptions* opts;
	GgitTree* tree;
	GgitDiff* diff;
	gpointer _async_data_;
};

struct _Block15Data {
	int _ref_count_;
	Block14Data * _data14_;
	GgitIndex* index;
};

struct _GitgCommitActivityIndexDiffData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgCommitActivity* self;
	GgitDiff* result;
	Block14Data* _data14_;
	GgitDiffOptions* _tmp0_;
	GgitDiffOptions* _tmp1_;
	GgitDiffOptions* _tmp2_;
	GgitDiffOptions* _tmp3_;
	GitgStage* stage;
	GitgExtApplication* _tmp4_;
	GitgExtApplication* _tmp5_;
	GitgExtApplication* _tmp6_;
	GitgRepository* _tmp7_;
	GitgRepository* _tmp8_;
	GitgRepository* _tmp9_;
	GitgStage* _tmp10_;
	GitgStage* _tmp11_;
	GitgStage* _tmp12_;
	GgitTree* _tmp13_;
	GitgStage* _tmp14_;
	GgitTree* _tmp15_;
	GgitTree* _tmp16_;
	Block15Data* _data15_;
	GitgExtApplication* _tmp17_;
	GitgExtApplication* _tmp18_;
	GitgExtApplication* _tmp19_;
	GitgRepository* _tmp20_;
	GitgRepository* _tmp21_;
	GitgRepository* _tmp22_;
	GgitIndex* _tmp23_;
	GgitIndex* _tmp24_;
	GgitDiff* _tmp25_;
	GgitDiff* _tmp26_;
	GError * _inner_error_;
};

struct _Block16Data {
	int _ref_count_;
	GitgCommitActivity* self;
	gboolean skip_hooks;
	GgitSignature* author;
	GgitSignature* committer;
};

struct _Block17Data {
	int _ref_count_;
	GitgCommitActivity* self;
	GitgCommitDialog* dlg;
	gboolean skip_hooks;
	GgitSignature* author;
	GgitSignature* committer;
};

struct _Block18Data {
	int _ref_count_;
	GitgCommitActivity* self;
	GgitSignature* committer;
	GgitSignature* author;
};

struct _GitgCommitActivityStageUnstageSelectionData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgCommitActivity* self;
	gboolean staging;
	GitgPatchSet** selection;
	GitgCommitPaned* _tmp0_;
	GitgDiffView* _tmp1_;
	GitgDiffView* _tmp2_;
	GitgPatchSet** _tmp3_;
	gint _tmp3__length1;
	GitgPatchSet** _tmp4_;
	gint _tmp4__length1;
	gint selection_length1;
	gint _selection_size_;
	GitgStage* stage;
	GitgExtApplication* _tmp5_;
	GitgExtApplication* _tmp6_;
	GitgExtApplication* _tmp7_;
	GitgRepository* _tmp8_;
	GitgRepository* _tmp9_;
	GitgRepository* _tmp10_;
	GitgStage* _tmp11_;
	GitgStage* _tmp12_;
	GitgStage* _tmp13_;
	GitgPatchSet** _tmp14_;
	gint _tmp14__length1;
	GitgPatchSet** pset_collection;
	gint pset_collection_length1;
	gint _pset_collection_size_;
	gint pset_it;
	GitgPatchSet* _tmp15_;
	GitgPatchSet* pset;
	gboolean _tmp16_;
	GitgStage* _tmp17_;
	GitgPatchSet* _tmp18_;
	GitgStage* _tmp19_;
	GitgPatchSet* _tmp20_;
	GError * _inner_error_;
};

struct _GitgCommitActivityDiscardSelectionData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgCommitActivity* self;
	GitgPatchSet** selection;
	GitgCommitPaned* _tmp0_;
	GitgDiffView* _tmp1_;
	GitgDiffView* _tmp2_;
	GitgPatchSet** _tmp3_;
	gint _tmp3__length1;
	GitgPatchSet** _tmp4_;
	gint _tmp4__length1;
	gint selection_length1;
	gint _selection_size_;
	GitgStage* stage;
	GitgExtApplication* _tmp5_;
	GitgExtApplication* _tmp6_;
	GitgExtApplication* _tmp7_;
	GitgRepository* _tmp8_;
	GitgRepository* _tmp9_;
	GitgRepository* _tmp10_;
	GitgStage* _tmp11_;
	GitgStage* _tmp12_;
	GitgStage* _tmp13_;
	GitgPatchSet** _tmp14_;
	gint _tmp14__length1;
	GitgPatchSet** pset_collection;
	gint pset_collection_length1;
	gint _pset_collection_size_;
	gint pset_it;
	GitgPatchSet* _tmp15_;
	GitgPatchSet* pset;
	GitgStage* _tmp16_;
	GitgPatchSet* _tmp17_;
	GError * _inner_error_;
};

struct _Block19Data {
	int _ref_count_;
	GitgCommitActivity* self;
	GitgExtUserQuery* q;
};

struct _Block20Data {
	int _ref_count_;
	GitgCommitActivity* self;
	GitgExtUserQuery* q;
};

struct _Block21Data {
	int _ref_count_;
	GitgCommitActivity* self;
	gboolean staging;
};

struct _GitgCommitActivityRevertPathsData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgCommitActivity* self;
	gchar** paths;
	gint paths_length1;
	GitgStage* stage;
	GitgExtApplication* _tmp0_;
	GitgExtApplication* _tmp1_;
	GitgExtApplication* _tmp2_;
	GitgRepository* _tmp3_;
	GitgRepository* _tmp4_;
	GitgRepository* _tmp5_;
	GitgStage* _tmp6_;
	GitgStage* _tmp7_;
	GitgStage* _tmp8_;
	gchar** _tmp9_;
	gint _tmp9__length1;
	gchar** path_collection;
	gint path_collection_length1;
	gint _path_collection_size_;
	gint path_it;
	gchar* _tmp10_;
	gchar* path;
	GitgStage* _tmp11_;
	const gchar* _tmp12_;
	GError * _inner_error_;
};

struct _Block22Data {
	int _ref_count_;
	GitgCommitActivity* self;
	GitgExtUserQuery* q;
};

struct _Block23Data {
	int _ref_count_;
	GitgCommitActivity* self;
	GitgExtUserQuery* q;
	GitgStageStatusItem** items;
	gint items_length1;
};

struct _Block24Data {
	int _ref_count_;
	GitgCommitActivity* self;
	GSourceFunc cb;
	gpointer cb_target;
	GDestroyNotify cb_target_destroy_notify;
	GError* _error_;
	gint n;
	gpointer _async_data_;
};

struct _Block25Data {
	int _ref_count_;
	Block24Data * _data24_;
	GFile* file;
};

struct _GitgCommitActivityDeleteFilesData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgCommitActivity* self;
	GFile** files;
	gint files_length1;
	Block24Data* _data24_;
	GFile** _tmp0_;
	gint _tmp0__length1;
	gint i;
	gboolean _tmp1_;
	Block25Data* _data25_;
	gint _tmp2_;
	gint _tmp3_;
	GFile** _tmp4_;
	gint _tmp4__length1;
	GFile** _tmp5_;
	gint _tmp5__length1;
	gint _tmp6_;
	GFile* _tmp7_;
	GFile* _tmp8_;
	GFile* _tmp9_;
	GError* _tmp10_;
	GError* _tmp11_;
	GError* _tmp12_;
	GError * _inner_error_;
};

struct _Block26Data {
	int _ref_count_;
	GitgCommitActivity* self;
	GitgExtUserQuery* q;
};

struct _Block27Data {
	int _ref_count_;
	GitgCommitActivity* self;
	GitgExtUserQuery* q;
	GitgStageStatusItem** items;
	gint items_length1;
};

struct _Block28Data {
	int _ref_count_;
	GitgCommitActivity* self;
	GitgStageStatusItem** sitems;
	gint sitems_length1;
	gint _sitems_size_;
};

struct _Block29Data {
	int _ref_count_;
	GitgCommitActivity* self;
	GitgCommitListView* view;
	GitgCommitModel* model;
};


static gpointer gitg_commit_activity_parent_class = NULL;
static GitgExtUIElementIface* gitg_commit_activity_gitg_ext_ui_element_parent_iface = NULL;
static GitgExtActivityIface* gitg_commit_activity_gitg_ext_activity_parent_iface = NULL;

GType gitg_commit_activity_get_type (void) G_GNUC_CONST;
GType gitg_commit_paned_get_type (void) G_GNUC_CONST;
#define GITG_COMMIT_ACTIVITY_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_COMMIT_TYPE_ACTIVITY, GitgCommitActivityPrivate))
enum  {
	GITG_COMMIT_ACTIVITY_DUMMY_PROPERTY,
	GITG_COMMIT_ACTIVITY_APPLICATION,
	GITG_COMMIT_ACTIVITY_ID,
	GITG_COMMIT_ACTIVITY_REPOSITORY,
	GITG_COMMIT_ACTIVITY_DISPLAY_NAME,
	GITG_COMMIT_ACTIVITY_DESCRIPTION,
	GITG_COMMIT_ACTIVITY_ICON,
	GITG_COMMIT_ACTIVITY_WIDGET
};
static GType gitg_commit_activity_ui_type_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
static GType gitg_commit_activity_index_type_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
#define GITG_COMMIT_ACTIVITY_version VERSION
GitgCommitActivity* gitg_commit_activity_new (GitgExtApplication* application);
GitgCommitActivity* gitg_commit_activity_construct (GType object_type, GitgExtApplication* application);
static void gitg_commit_activity_real_dispose (GObject* base);
static void gitg_commit_activity_repository_changed_externally (GitgCommitActivity* self, GitgExtExternalChangeHint hint);
static void ____lambda12_ (GitgCommitActivity* self);
static void gitg_commit_activity_reload (GitgCommitActivity* self);
static void _____lambda12__gitg_when_mapped_on_mapped (gpointer self);
static gboolean gitg_commit_activity_real_is_default_for (GitgExtActivity* base, const gchar* action);
static void gitg_commit_activity_show_unstaged_diff (GitgCommitActivity* self, GitgStageStatusItem** items, int items_length1);
static void gitg_commit_activity_show_submodule_history (GitgCommitActivity* self, GitgStageStatusSubmodule* sub, GitgCommitActivityIndexType type);
static void gitg_commit_activity_show_ui (GitgCommitActivity* self, GitgCommitActivityUiType type);
static void gitg_commit_activity_show_unstaged_diff_intern (GitgCommitActivity* self, GitgRepository* repository, GitgDiffView* view, GitgStageStatusItem** items, int items_length1, gboolean patchable);
GitgDiffView* gitg_commit_paned_get_diff_view (GitgCommitPaned* self);
static void gitg_commit_activity_set_unstaged_diff_update_callback (GitgCommitActivity* self, GitgRepository* repository, GitgDiffView* view, GitgStageStatusItem** items, int items_length1, gboolean patchable);
static Block4Data* block4_data_ref (Block4Data* _data4_);
static void block4_data_unref (void * _userdata_);
static void __lambda30_ (Block4Data* _data4_);
static void ___lambda30__gitg_commit_activity_update_diff_callback (gpointer self);
static Block5Data* block5_data_ref (Block5Data* _data5_);
static void block5_data_unref (void * _userdata_);
static void __lambda29_ (Block5Data* _data5_, GObject* obj, GAsyncResult* res);
GtkButton* gitg_commit_paned_get_button_stage (GitgCommitPaned* self);
GtkButton* gitg_commit_paned_get_button_discard (GitgCommitPaned* self);
static void ___lambda29__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static GitgStageStatusItem** _vala_array_dup2 (GitgStageStatusItem** self, int length);
static void gitg_commit_activity_stage_submodule_at (GitgCommitActivity* self, GitgCommit* commit);
static void gitg_commit_activity_stage_submodule (GitgCommitActivity* self, GitgStageStatusSubmodule* sub, GitgCommit* commit, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean gitg_commit_activity_stage_submodule_finish (GitgCommitActivity* self, GAsyncResult* _res_);
static void __lambda26_ (GitgCommitActivity* self, GObject* obj, GAsyncResult* res);
static void ___lambda26__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void gitg_commit_activity_stage_submodule_data_free (gpointer _data);
static gboolean gitg_commit_activity_stage_submodule_co (GitgCommitActivityStageSubmoduleData* _data_);
static void gitg_commit_activity_stage_submodule_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void _vala_GgitOId_free (GgitOId* self);
static void gitg_commit_activity_stage_file_data_free (gpointer _data);
static void gitg_commit_activity_stage_file (GitgCommitActivity* self, GitgStageStatusFile* file, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean gitg_commit_activity_stage_file_finish (GitgCommitActivity* self, GAsyncResult* _res_);
static gboolean gitg_commit_activity_stage_file_co (GitgCommitActivityStageFileData* _data_);
static void gitg_commit_activity_stage_file_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void gitg_commit_activity_stage_items_data_free (gpointer _data);
static void gitg_commit_activity_stage_items (GitgCommitActivity* self, GitgStageStatusItem** items, int items_length1, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void gitg_commit_activity_stage_items_finish (GitgCommitActivity* self, GAsyncResult* _res_);
static gboolean gitg_commit_activity_stage_items_co (GitgCommitActivityStageItemsData* _data_);
static void gitg_commit_activity_stage_items_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
GType gitg_commit_submodule_history_view_get_type (void) G_GNUC_CONST;
GitgCommitSubmoduleHistoryView* gitg_commit_paned_get_submodule_history_view (GitgCommitPaned* self);
GType gitg_commit_submodule_diff_view_get_type (void) G_GNUC_CONST;
GitgCommitSubmoduleDiffView* gitg_commit_paned_get_submodule_diff_view (GitgCommitPaned* self);
GType gitg_commit_submodule_info_get_type (void) G_GNUC_CONST;
GitgCommitSubmoduleInfo* gitg_commit_submodule_diff_view_get_info (GitgCommitSubmoduleDiffView* self);
void gitg_commit_submodule_info_set_submodule (GitgCommitSubmoduleInfo* self, GgitSubmodule* value);
GitgDiffView* gitg_commit_submodule_diff_view_get_diff_view_staged (GitgCommitSubmoduleDiffView* self);
GitgDiffView* gitg_commit_submodule_diff_view_get_diff_view_unstaged (GitgCommitSubmoduleDiffView* self);
GitgCommitListView* gitg_commit_submodule_history_view_get_commit_list_view (GitgCommitSubmoduleHistoryView* self);
GitgDiffView* gitg_commit_submodule_history_view_get_diff_view (GitgCommitSubmoduleHistoryView* self);
static void gitg_commit_activity_on_unstaged_activated (GitgCommitActivity* self, GitgStageStatusItem** items, int items_length1);
static GitgStageStatusItem** _vala_array_dup3 (GitgStageStatusItem** self, int length);
static void __lambda21_ (GitgCommitActivity* self, GObject* obj, GAsyncResult* res);
static void ___lambda21__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void gitg_commit_activity_show_submodule_diff (GitgCommitActivity* self, GitgStageStatusSubmodule* sub);
static void gitg_commit_activity_show_staged_diff_intern (GitgCommitActivity* self, GitgRepository* repository, GitgDiffView* view, GitgStageStatusItem** items, int items_length1, gboolean patchable);
static void gitg_commit_activity_submodule_history_selection_changed (GitgCommitActivity* self, GitgCommit* commit);
static GgitOId* _vala_GgitOId_copy (GgitOId* self);
static void ___lambda25_ (GitgCommitActivity* self, GitgCommit* commit);
static void gitg_commit_activity_unstage_submodule_at (GitgCommitActivity* self, GitgCommit* commit);
static void ____lambda25__gitg_commit_activity_stage_unstage_submodule_commit_callback (GitgCommit* commit, gpointer self);
static void ___lambda28_ (GitgCommitActivity* self, GitgCommit* commit);
static void ____lambda28__gitg_commit_activity_stage_unstage_submodule_commit_callback (GitgCommit* commit, gpointer self);
static void gitg_commit_activity_set_staged_diff_update_callback (GitgCommitActivity* self, GitgRepository* repository, GitgDiffView* view, GitgStageStatusItem** items, int items_length1, gboolean patchable);
static Block6Data* block6_data_ref (Block6Data* _data6_);
static void block6_data_unref (void * _userdata_);
static void __lambda32_ (Block6Data* _data6_);
static void ___lambda32__gitg_commit_activity_update_diff_callback (gpointer self);
static Block7Data* block7_data_ref (Block7Data* _data7_);
static void block7_data_unref (void * _userdata_);
static void __lambda31_ (Block7Data* _data7_, GObject* obj, GAsyncResult* res);
static void ___lambda31__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static GitgStageStatusItem** _vala_array_dup4 (GitgStageStatusItem** self, int length);
static void gitg_commit_activity_show_staged_diff (GitgCommitActivity* self, GitgStageStatusItem** items, int items_length1);
static void gitg_commit_activity_unstage_item_data_free (gpointer _data);
static void gitg_commit_activity_unstage_item (GitgCommitActivity* self, GitgStageStatusItem* item, gboolean isnew, const gchar* removal_msg, const gchar* unstage_msg, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean gitg_commit_activity_unstage_item_finish (GitgCommitActivity* self, GAsyncResult* _res_);
static gboolean gitg_commit_activity_unstage_item_co (GitgCommitActivityUnstageItemData* _data_);
static void gitg_commit_activity_unstage_item_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void gitg_commit_activity_unstage_file_data_free (gpointer _data);
static void gitg_commit_activity_unstage_file (GitgCommitActivity* self, GitgStageStatusFile* file, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean gitg_commit_activity_unstage_file_finish (GitgCommitActivity* self, GAsyncResult* _res_);
static gboolean gitg_commit_activity_unstage_file_co (GitgCommitActivityUnstageFileData* _data_);
static void gitg_commit_activity_unstage_file_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void gitg_commit_activity_unstage_submodule_data_free (gpointer _data);
static void gitg_commit_activity_unstage_submodule (GitgCommitActivity* self, GitgStageStatusSubmodule* sub, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean gitg_commit_activity_unstage_submodule_finish (GitgCommitActivity* self, GAsyncResult* _res_);
static gboolean gitg_commit_activity_unstage_submodule_co (GitgCommitActivityUnstageSubmoduleData* _data_);
static void gitg_commit_activity_unstage_submodule_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void ___lambda27_ (GitgCommitActivity* self, GObject* obj, GAsyncResult* res);
static void ____lambda27__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void gitg_commit_activity_unstage_items_data_free (gpointer _data);
static void gitg_commit_activity_unstage_items (GitgCommitActivity* self, GitgStageStatusItem** items, int items_length1, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void gitg_commit_activity_unstage_items_finish (GitgCommitActivity* self, GAsyncResult* _res_);
static gboolean gitg_commit_activity_unstage_items_co (GitgCommitActivityUnstageItemsData* _data_);
static void gitg_commit_activity_unstage_items_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void gitg_commit_activity_on_staged_activated (GitgCommitActivity* self, GitgStageStatusItem** items, int items_length1);
static GitgStageStatusItem** _vala_array_dup5 (GitgStageStatusItem** self, int length);
static void __lambda16_ (GitgCommitActivity* self, GObject* obj, GAsyncResult* res);
static void ___lambda16__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
GType gitg_commit_sidebar_item_type_get_type (void) G_GNUC_CONST;
GType gitg_commit_sidebar_item_get_type (void) G_GNUC_CONST;
static GitgCommitSidebarItem** gitg_commit_activity_append_items (GitgCommitActivity* self, GitgSidebarStore* model, GitgStageStatusItem** items, int items_length1, GitgCommitSidebarItemType type, GeeHashSet* selected_paths, GitgCommitActivityStageUnstageCallback callback, void* callback_target, int* result_length1);
static Block8Data* block8_data_ref (Block8Data* _data8_);
static void block8_data_unref (void * _userdata_);
static GitgStageStatusItem** _vala_array_dup6 (GitgStageStatusItem** self, int length);
static gint __lambda17_ (GitgCommitActivity* self, GitgStageStatusItem* a, GitgStageStatusItem* b);
static gint ___lambda17__gcompare_data_func (gconstpointer a, gconstpointer b, gpointer self);
static Block9Data* block9_data_ref (Block9Data* _data9_);
static void block9_data_unref (void * _userdata_);
GitgCommitSidebarItem* gitg_commit_sidebar_item_new (GitgStageStatusItem* item, GitgCommitSidebarItemType type);
GitgCommitSidebarItem* gitg_commit_sidebar_item_construct (GType object_type, GitgStageStatusItem* item, GitgCommitSidebarItemType type);
static void _vala_array_add2 (GitgCommitSidebarItem*** array, int* length, int* size, GitgCommitSidebarItem* value);
static void ____lambda18_ (Block9Data* _data9_, gint numclick);
static void _____lambda18__gitg_sidebar_item_activated (GitgSidebarItem* _sender, gint numclick, gpointer self);
static Block10Data* block10_data_ref (Block10Data* _data10_);
static void block10_data_unref (void * _userdata_);
GType gitg_commit_sidebar_get_type (void) G_GNUC_CONST;
GitgCommitSidebar* gitg_commit_paned_get_sidebar (GitgCommitPaned* self);
static GitgStageStatusItem** gitg_commit_activity_items_for_items (GitgCommitActivity* self, GitgSidebarItem** items, int items_length1, GitgCommitSidebarItemType* type, int* result_length1);
static Block11Data* block11_data_ref (Block11Data* _data11_);
static void block11_data_unref (void * _userdata_);
static GgitSignature* gitg_commit_activity_get_signature (GitgCommitActivity* self, const gchar* envname, GError** error);
static void ____lambda13_ (Block11Data* _data11_, GObject* obj, GAsyncResult* res);
static void _____lambda13__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void __lambda14_ (Block10Data* _data10_, GObject* obj, GAsyncResult* res);
static void _vala_array_add3 (GitgStageStatusItem*** array, int* length, int* size, GitgStageStatusItem* value);
static void _vala_array_add4 (GitgStageStatusItem*** array, int* length, int* size, GitgStageStatusItem* value);
static void _vala_array_add5 (GitgStageStatusItem*** array, int* length, int* size, GitgStageStatusItem* value);
static void _vala_array_add6 (GitgStageStatusItem*** array, int* length, int* size, GitgStageStatusItem* value);
static void __lambda15_ (GitgCommitActivity* self, gint numclick);
static void gitg_commit_activity_on_unstage_selected_items (GitgCommitActivity* self);
static void ___lambda15__gitg_sidebar_item_activated (GitgSidebarItem* _sender, gint numclick, gpointer self);
static void ___lambda19_ (GitgCommitActivity* self, GitgCommitSidebarItem* item);
GitgStageStatusItem* gitg_commit_sidebar_item_get_item (GitgCommitSidebarItem* self);
static void ____lambda19__gitg_commit_activity_stage_unstage_callback (GitgCommitSidebarItem* item, gpointer self);
static void __lambda20_ (GitgCommitActivity* self, gint numclick);
static void gitg_commit_activity_on_stage_selected_items (GitgCommitActivity* self);
static void ___lambda20__gitg_sidebar_item_activated (GitgSidebarItem* _sender, gint numclick, gpointer self);
static void ___lambda22_ (GitgCommitActivity* self, GitgCommitSidebarItem* item);
static void ____lambda22__gitg_commit_activity_stage_unstage_callback (GitgCommitSidebarItem* item, gpointer self);
static void ___lambda23_ (GitgCommitActivity* self, GitgCommitSidebarItem* item);
static void ____lambda23__gitg_commit_activity_stage_unstage_callback (GitgCommitSidebarItem* item, gpointer self);
static void ____lambda24_ (GitgCommitActivity* self, GitgCommitSidebarItem* item);
static void _____lambda24__gitg_commit_activity_stage_unstage_callback (GitgCommitSidebarItem* item, gpointer self);
static GitgCommitSidebarItem** _vala_array_dup7 (GitgCommitSidebarItem** self, int length);
static GitgCommitSidebarItem** _vala_array_dup8 (GitgCommitSidebarItem** self, int length);
static GitgCommitSidebarItem** _vala_array_dup9 (GitgCommitSidebarItem** self, int length);
static GitgCommitSidebarItem** _vala_array_dup10 (GitgCommitSidebarItem** self, int length);
static GitgCommitSidebarItem** _vala_array_dup11 (GitgCommitSidebarItem** self, int length);
static GitgCommitSidebarItem** _vala_array_dup12 (GitgCommitSidebarItem** self, int length);
static GitgCommitSidebarItem** _vala_array_dup13 (GitgCommitSidebarItem** self, int length);
static GitgCommitSidebarItem** _vala_array_dup14 (GitgCommitSidebarItem** self, int length);
static void ___lambda14__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void _vala_GgitStatusOptions_free (GgitStatusOptions* self);
static void gitg_commit_activity_real_activate (GitgExtUIElement* base);
GType gitg_commit_dialog_get_type (void) G_GNUC_CONST;
static void gitg_commit_activity_do_commit (GitgCommitActivity* self, GitgCommitDialog* dlg, gboolean skip_hooks, GgitSignature* author, GgitSignature* committer);
static Block12Data* block12_data_ref (Block12Data* _data12_);
static void block12_data_unref (void * _userdata_);
gboolean gitg_commit_dialog_get_amend (GitgCommitDialog* self);
void gitg_commit_dialog_show_infobar (GitgCommitDialog* self, const gchar* primary_msg, const gchar* secondary_msg, GtkMessageType type);
gboolean gitg_commit_dialog_get_sign_off (GitgCommitDialog* self);
gchar* gitg_commit_dialog_get_pretty_message (GitgCommitDialog* self);
static void __lambda33_ (Block12Data* _data12_, GObject* obj, GAsyncResult* res);
static void ___lambda33__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void gitg_commit_activity_pre_commit_data_free (gpointer _data);
static void gitg_commit_activity_pre_commit (GitgCommitActivity* self, GgitSignature* author, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean gitg_commit_activity_pre_commit_finish (GitgCommitActivity* self, GAsyncResult* _res_);
static gboolean gitg_commit_activity_pre_commit_co (GitgCommitActivityPreCommitData* _data_);
static void gitg_commit_activity_pre_commit_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void gitg_commit_activity_get_head_commit_data_free (gpointer _data);
static void gitg_commit_activity_get_head_commit (GitgCommitActivity* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
static GitgCommit* gitg_commit_activity_get_head_commit_finish (GitgCommitActivity* self, GAsyncResult* _res_);
static gboolean gitg_commit_activity_get_head_commit_co (GitgCommitActivityGetHeadCommitData* _data_);
static Block13Data* block13_data_ref (Block13Data* _data13_);
static void block13_data_unref (void * _userdata_);
static void ___lambda34_ (Block13Data* _data13_, GError** error);
static void ____lambda34__gitg_async_thread_func (gpointer self, GError** error);
static void gitg_commit_activity_get_head_commit_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void gitg_commit_activity_index_diff_data_free (gpointer _data);
static void gitg_commit_activity_index_diff (GitgCommitActivity* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
static GgitDiff* gitg_commit_activity_index_diff_finish (GitgCommitActivity* self, GAsyncResult* _res_);
static gboolean gitg_commit_activity_index_diff_co (GitgCommitActivityIndexDiffData* _data_);
static Block14Data* block14_data_ref (Block14Data* _data14_);
static void block14_data_unref (void * _userdata_);
static void gitg_commit_activity_index_diff_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static Block15Data* block15_data_ref (Block15Data* _data15_);
static void block15_data_unref (void * _userdata_);
static void ___lambda35_ (Block15Data* _data15_, GError** error);
static void ____lambda35__gitg_async_thread_func (gpointer self, GError** error);
static void gitg_commit_activity_run_commit_dialog (GitgCommitActivity* self, gboolean skip_hooks, GgitSignature* author, GgitSignature* committer);
static Block16Data* block16_data_ref (Block16Data* _data16_);
static void block16_data_unref (void * _userdata_);
static void __lambda36_ (Block16Data* _data16_, GObject* obj, GAsyncResult* res);
static void gitg_commit_activity_run_commit_dialog_with_diff (GitgCommitActivity* self, gboolean skip_hooks, GgitSignature* author, GgitSignature* committer, GgitDiff* diff);
static void ___lambda36__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static Block17Data* block17_data_ref (Block17Data* _data17_);
static void block17_data_unref (void * _userdata_);
GitgCommitDialog* gitg_commit_dialog_new (GitgRepository* repository, GgitSignature* author, GgitDiff* diff);
GitgCommitDialog* gitg_commit_dialog_construct (GType object_type, GitgRepository* repository, GgitSignature* author, GgitDiff* diff);
static void __lambda37_ (Block17Data* _data17_, GtkDialog* d, gint id);
GgitSignature* gitg_commit_dialog_get_author (GitgCommitDialog* self);
static void ___lambda37__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self);
static void __lambda38_ (Block17Data* _data17_, GObject* obj, GParamSpec* pspec);
void gitg_commit_dialog_set_author (GitgCommitDialog* self, GgitSignature* value);
static void ___lambda39_ (Block17Data* _data17_, GObject* obj, GAsyncResult* res);
gchar* gitg_commit_dialog_get_message (GitgCommitDialog* self);
const gchar* gitg_commit_dialog_get_default_message (GitgCommitDialog* self);
void gitg_commit_dialog_set_message (GitgCommitDialog* self, const gchar* value);
static void ____lambda39__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void ___lambda38__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void gitg_commit_activity_on_commit_clicked (GitgCommitActivity* self);
static Block18Data* block18_data_ref (Block18Data* _data18_);
static void block18_data_unref (void * _userdata_);
gboolean gitg_commit_paned_get_skip_hooks (GitgCommitPaned* self);
static void ___lambda40_ (Block18Data* _data18_, GObject* obj, GAsyncResult* res);
static void ____lambda40__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void gitg_commit_activity_stage_unstage_selection_data_free (gpointer _data);
static void gitg_commit_activity_stage_unstage_selection (GitgCommitActivity* self, gboolean staging, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void gitg_commit_activity_stage_unstage_selection_finish (GitgCommitActivity* self, GAsyncResult* _res_, GError** error);
static gboolean gitg_commit_activity_stage_unstage_selection_co (GitgCommitActivityStageUnstageSelectionData* _data_);
static void gitg_commit_activity_stage_unstage_selection_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void gitg_commit_activity_discard_selection_data_free (gpointer _data);
static void gitg_commit_activity_discard_selection (GitgCommitActivity* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void gitg_commit_activity_discard_selection_finish (GitgCommitActivity* self, GAsyncResult* _res_, GError** error);
static gboolean gitg_commit_activity_discard_selection_co (GitgCommitActivityDiscardSelectionData* _data_);
static void gitg_commit_activity_discard_selection_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void gitg_commit_activity_on_discard_clicked (GitgCommitActivity* self);
static Block19Data* block19_data_ref (Block19Data* _data19_);
static void block19_data_unref (void * _userdata_);
static gboolean __lambda41_ (Block19Data* _data19_, GitgExtUserQuery* w, GtkResponseType r);
static gboolean gitg_commit_activity_do_discard_selection (GitgCommitActivity* self, GitgExtUserQuery* q);
static gboolean ___lambda41__gitg_ext_user_query_response (GitgExtUserQuery* _sender, GtkResponseType response_type, gpointer self);
static Block20Data* block20_data_ref (Block20Data* _data20_);
static void block20_data_unref (void * _userdata_);
static void __lambda42_ (Block20Data* _data20_, GObject* obj, GAsyncResult* res);
static void ___lambda42__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void gitg_commit_activity_on_stage_clicked (GitgCommitActivity* self);
static Block21Data* block21_data_ref (Block21Data* _data21_);
static void block21_data_unref (void * _userdata_);
static void __lambda43_ (Block21Data* _data21_, GObject* obj, GAsyncResult* res);
static void ___lambda43__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void gitg_commit_activity_revert_paths_data_free (gpointer _data);
static void gitg_commit_activity_revert_paths (GitgCommitActivity* self, gchar** paths, int paths_length1, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void gitg_commit_activity_revert_paths_finish (GitgCommitActivity* self, GAsyncResult* _res_, GError** error);
static gboolean gitg_commit_activity_revert_paths_co (GitgCommitActivityRevertPathsData* _data_);
static void gitg_commit_activity_revert_paths_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void gitg_commit_activity_do_edit_items (GitgCommitActivity* self, GitgStageStatusItem** items, int items_length1);
static gboolean gitg_commit_activity_do_discard_items (GitgCommitActivity* self, GitgExtUserQuery* q, GitgStageStatusItem** items, int items_length1);
static Block22Data* block22_data_ref (Block22Data* _data22_);
static void block22_data_unref (void * _userdata_);
static gchar** _vala_array_dup15 (gchar** self, int length);
static void __lambda44_ (Block22Data* _data22_, GObject* o, GAsyncResult* ret);
static void ___lambda44__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void gitg_commit_activity_on_discard_menu_activated (GitgCommitActivity* self, GitgStageStatusItem** items, int items_length1);
static Block23Data* block23_data_ref (Block23Data* _data23_);
static void block23_data_unref (void * _userdata_);
static gboolean __lambda45_ (Block23Data* _data23_, GitgExtUserQuery* w, GtkResponseType r);
static gboolean ___lambda45__gitg_ext_user_query_response (GitgExtUserQuery* _sender, GtkResponseType response_type, gpointer self);
static void gitg_commit_activity_delete_files_data_free (gpointer _data);
static void gitg_commit_activity_delete_files (GitgCommitActivity* self, GFile** files, int files_length1, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void gitg_commit_activity_delete_files_finish (GitgCommitActivity* self, GAsyncResult* _res_, GError** error);
static gboolean gitg_commit_activity_delete_files_co (GitgCommitActivityDeleteFilesData* _data_);
static Block24Data* block24_data_ref (Block24Data* _data24_);
static void block24_data_unref (void * _userdata_);
static gboolean _gitg_commit_activity_delete_files_co_gsource_func (gpointer self);
static Block25Data* block25_data_ref (Block25Data* _data25_);
static void block25_data_unref (void * _userdata_);
static void _____lambda46_ (Block25Data* _data25_, GObject* o, GAsyncResult* res);
static void ______lambda46__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static gboolean gitg_commit_activity_do_delete_items (GitgCommitActivity* self, GitgExtUserQuery* q, GitgStageStatusItem** items, int items_length1);
static Block26Data* block26_data_ref (Block26Data* _data26_);
static void block26_data_unref (void * _userdata_);
static void __lambda47_ (Block26Data* _data26_, GObject* o, GAsyncResult* ret);
static void ___lambda47__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void gitg_commit_activity_on_delete_menu_activated (GitgCommitActivity* self, GitgStageStatusItem** items, int items_length1);
static Block27Data* block27_data_ref (Block27Data* _data27_);
static void block27_data_unref (void * _userdata_);
static gboolean __lambda48_ (Block27Data* _data27_, GitgExtUserQuery* w, GtkResponseType r);
static gboolean ___lambda48__gitg_ext_user_query_response (GitgExtUserQuery* _sender, GtkResponseType response_type, gpointer self);
static void gitg_commit_activity_do_populate_menu (GitgCommitActivity* self, GtkMenu* menu);
static Block28Data* block28_data_ref (Block28Data* _data28_);
static void block28_data_unref (void * _userdata_);
static void ___lambda49_ (Block28Data* _data28_);
static void ____lambda49__gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self);
static void ___lambda50_ (Block28Data* _data28_);
static void ____lambda50__gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self);
static void ___lambda51_ (Block28Data* _data28_);
static void ____lambda51__gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self);
static void ___lambda52_ (Block28Data* _data28_);
static void ____lambda52__gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self);
static void ___lambda53_ (Block28Data* _data28_);
static void ____lambda53__gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self);
static GitgStageStatusItem** gitg_commit_activity_items_to_stage_items (GitgCommitActivity* self, GitgCommitSidebarItem** items, int items_length1, int* result_length1);
static GitgStageStatusItem** gitg_commit_activity_stage_status_items_of_type (GitgCommitActivity* self, GitgCommitSidebarItemType type, int* result_length1);
GitgCommitSidebarItem** gitg_commit_sidebar_items_of_type (GitgCommitSidebar* self, GitgCommitSidebarItemType type, int* result_length1);
static void _vala_array_add7 (GitgStageStatusItem*** array, int* length, int* size, GitgStageStatusItem* value);
GitgCommitSidebarItemType gitg_commit_sidebar_item_get_stage_type (GitgCommitSidebarItem* self);
static void gitg_commit_activity_sidebar_selection_changed (GitgCommitActivity* self, GitgSidebarItem** items, int items_length1);
static void gitg_commit_activity_build_ui (GitgCommitActivity* self);
static Block29Data* block29_data_ref (Block29Data* _data29_);
static void block29_data_unref (void * _userdata_);
GitgCommitPaned* gitg_commit_paned_new (void);
GitgCommitPaned* gitg_commit_paned_construct (GType object_type);
static void __lambda54_ (GitgCommitActivity* self);
static void ___lambda54__gitg_diff_view_options_changed (GitgDiffView* _sender, gpointer self);
static void __lambda55_ (GitgCommitActivity* self);
static void ___lambda55__gitg_sidebar_deselected (GitgSidebar* _sender, gpointer self);
static void _gitg_commit_activity_on_stage_selected_items_gitg_commit_sidebar_stage_selection (GitgCommitSidebar* _sender, gpointer self);
static void _gitg_commit_activity_on_unstage_selected_items_gitg_commit_sidebar_unstage_selection (GitgCommitSidebar* _sender, gpointer self);
static void __lambda56_ (GitgCommitActivity* self);
static void ___lambda56__gitg_commit_sidebar_discard_selection (GitgCommitSidebar* _sender, gpointer self);
static void __lambda57_ (GitgCommitActivity* self);
static void ___lambda57__gitg_commit_sidebar_edit_selection (GitgCommitSidebar* _sender, gpointer self);
static void _gitg_commit_activity_sidebar_selection_changed_gitg_commit_sidebar_selected_items_changed (GitgCommitSidebar* _sender, GitgSidebarItem** items, int items_length1, gpointer self);
GtkButton* gitg_commit_paned_get_button_commit (GitgCommitPaned* self);
static void __lambda58_ (GitgCommitActivity* self);
static void ___lambda58__gtk_button_clicked (GtkButton* _sender, gpointer self);
static void __lambda59_ (GitgCommitActivity* self);
static void ___lambda59__gtk_button_clicked (GtkButton* _sender, gpointer self);
static void __lambda60_ (GitgCommitActivity* self);
static void ___lambda60__gtk_button_clicked (GtkButton* _sender, gpointer self);
static void __lambda61_ (GitgCommitActivity* self, GgitSubmodule* submodule);
static gboolean ___lambda62_ (GitgCommitActivity* self);
static gboolean ____lambda62__gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self);
static void ___lambda61__gitg_commit_submodule_info_request_open_repository (GitgCommitSubmoduleInfo* _sender, GgitSubmodule* submodule, gpointer self);
static void _gitg_commit_activity_do_populate_menu_gitg_sidebar_populate_popup (GitgSidebar* _sender, GtkMenu* menu, gpointer self);
static void __lambda63_ (Block29Data* _data29_, GtkTreeModel* model, GtkTreePath* path, GtkTreeIter* iter);
static void ___lambda63__gtk_tree_model_row_inserted (GtkTreeModel* _sender, GtkTreePath* path, GtkTreeIter* iter, gpointer self);
static void __lambda64_ (Block29Data* _data29_, GtkTreeSelection* selection);
static void ___lambda64__gtk_tree_selection_changed (GtkTreeSelection* _sender, gpointer self);
static void __lambda65_ (Block29Data* _data29_, GtkTreeView* view, GtkTreePath* path, GtkTreeViewColumn* column);
static void ___lambda65__gtk_tree_view_row_activated (GtkTreeView* _sender, GtkTreePath* path, GtkTreeViewColumn* column, gpointer self);
void gitg_commit_activity_set_repository (GitgCommitActivity* self, GitgRepository* value);
static GObject * gitg_commit_activity_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
static void _gitg_commit_activity_repository_changed_externally_gitg_ext_application_repository_changed_externally (GitgExtApplication* _sender, GitgExtExternalChangeHint hint, gpointer self);
static void gitg_commit_activity_finalize (GObject* obj);
static void _vala_gitg_commit_activity_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_gitg_commit_activity_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);


static GType gitg_commit_activity_ui_type_get_type (void) {
	static volatile gsize gitg_commit_activity_ui_type_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_commit_activity_ui_type_type_id__volatile)) {
		static const GEnumValue values[] = {{GITG_COMMIT_ACTIVITY_UI_TYPE_DIFF, "GITG_COMMIT_ACTIVITY_UI_TYPE_DIFF", "diff"}, {GITG_COMMIT_ACTIVITY_UI_TYPE_SUBMODULE_HISTORY, "GITG_COMMIT_ACTIVITY_UI_TYPE_SUBMODULE_HISTORY", "submodule-history"}, {GITG_COMMIT_ACTIVITY_UI_TYPE_SUBMODULE_DIFF, "GITG_COMMIT_ACTIVITY_UI_TYPE_SUBMODULE_DIFF", "submodule-diff"}, {0, NULL, NULL}};
		GType gitg_commit_activity_ui_type_type_id;
		gitg_commit_activity_ui_type_type_id = g_enum_register_static ("GitgCommitActivityUiType", values);
		g_once_init_leave (&gitg_commit_activity_ui_type_type_id__volatile, gitg_commit_activity_ui_type_type_id);
	}
	return gitg_commit_activity_ui_type_type_id__volatile;
}


static GType gitg_commit_activity_index_type_get_type (void) {
	static volatile gsize gitg_commit_activity_index_type_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_commit_activity_index_type_type_id__volatile)) {
		static const GEnumValue values[] = {{GITG_COMMIT_ACTIVITY_INDEX_TYPE_STAGED, "GITG_COMMIT_ACTIVITY_INDEX_TYPE_STAGED", "staged"}, {GITG_COMMIT_ACTIVITY_INDEX_TYPE_UNSTAGED, "GITG_COMMIT_ACTIVITY_INDEX_TYPE_UNSTAGED", "unstaged"}, {0, NULL, NULL}};
		GType gitg_commit_activity_index_type_type_id;
		gitg_commit_activity_index_type_type_id = g_enum_register_static ("GitgCommitActivityIndexType", values);
		g_once_init_leave (&gitg_commit_activity_index_type_type_id__volatile, gitg_commit_activity_index_type_type_id);
	}
	return gitg_commit_activity_index_type_type_id__volatile;
}


GitgCommitActivity* gitg_commit_activity_construct (GType object_type, GitgExtApplication* application) {
	GitgCommitActivity * self = NULL;
	GitgExtApplication* _tmp0_ = NULL;
#line 48 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (application != NULL, NULL);
#line 50 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = application;
#line 50 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = (GitgCommitActivity*) g_object_new (object_type, "application", _tmp0_, NULL);
#line 48 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return self;
#line 1387 "gitg-commit.c"
}


GitgCommitActivity* gitg_commit_activity_new (GitgExtApplication* application) {
#line 48 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return gitg_commit_activity_construct (GITG_COMMIT_TYPE_ACTIVITY, application);
#line 1394 "gitg-commit.c"
}


static void gitg_commit_activity_real_dispose (GObject* base) {
	GitgCommitActivity * self;
	gulong _tmp0_ = 0UL;
#line 74 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = (GitgCommitActivity*) base;
#line 76 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_externally_changed_id;
#line 76 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp0_ != ((gulong) 0)) {
#line 1407 "gitg-commit.c"
		GitgExtApplication* _tmp1_ = NULL;
		GitgExtApplication* _tmp2_ = NULL;
		GitgExtApplication* _tmp3_ = NULL;
		gulong _tmp4_ = 0UL;
#line 78 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 78 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = _tmp1_;
#line 78 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp3_ = _tmp2_;
#line 78 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = self->priv->d_externally_changed_id;
#line 78 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_signal_handler_disconnect ((GObject*) _tmp3_, _tmp4_);
#line 78 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp3_);
#line 79 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_externally_changed_id = (gulong) 0;
#line 1426 "gitg-commit.c"
	}
#line 82 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	G_OBJECT_CLASS (gitg_commit_activity_parent_class)->dispose (G_TYPE_CHECK_INSTANCE_CAST (self, G_TYPE_OBJECT, GObject));
#line 1430 "gitg-commit.c"
}


static void ____lambda12_ (GitgCommitActivity* self) {
#line 94 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_reload (self);
#line 1437 "gitg-commit.c"
}


static void _____lambda12__gitg_when_mapped_on_mapped (gpointer self) {
#line 93 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	____lambda12_ ((GitgCommitActivity*) self);
#line 1444 "gitg-commit.c"
}


static void gitg_commit_activity_repository_changed_externally (GitgCommitActivity* self, GitgExtExternalChangeHint hint) {
	gboolean _tmp0_ = FALSE;
#line 85 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 87 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_ignore_external_changes;
#line 87 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (!_tmp0_) {
#line 1456 "gitg-commit.c"
		gboolean _tmp1_ = FALSE;
		GitgCommitPaned* _tmp2_ = NULL;
#line 89 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = self->priv->d_main;
#line 89 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp2_ != NULL) {
#line 1463 "gitg-commit.c"
			GitgExtExternalChangeHint _tmp3_ = 0;
#line 89 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp3_ = hint;
#line 89 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp1_ = (_tmp3_ & GITG_EXT_EXTERNAL_CHANGE_HINT_INDEX) != 0;
#line 1469 "gitg-commit.c"
		} else {
#line 89 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp1_ = FALSE;
#line 1473 "gitg-commit.c"
		}
#line 89 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp1_) {
#line 1477 "gitg-commit.c"
			GitgCommitPaned* _tmp4_ = NULL;
			GitgWhenMapped* _tmp5_ = NULL;
			GitgWhenMapped* _tmp6_ = NULL;
#line 91 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp4_ = self->priv->d_main;
#line 91 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp5_ = gitg_when_mapped_new ((GtkWidget*) _tmp4_);
#line 91 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_gitg_when_mapped_unref0 (self->priv->d_reload_when_mapped);
#line 91 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			self->priv->d_reload_when_mapped = _tmp5_;
#line 93 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp6_ = self->priv->d_reload_when_mapped;
#line 93 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_when_mapped_update (_tmp6_, _____lambda12__gitg_when_mapped_on_mapped, g_object_ref (self), g_object_unref, (GObject*) self);
#line 1493 "gitg-commit.c"
		}
	}
#line 99 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_ignore_external_changes = FALSE;
#line 1498 "gitg-commit.c"
}


static gboolean gitg_commit_activity_real_is_default_for (GitgExtActivity* base, const gchar* action) {
	GitgCommitActivity * self;
	gboolean result = FALSE;
	const gchar* _tmp0_ = NULL;
#line 130 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = (GitgCommitActivity*) base;
#line 130 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (action != NULL, FALSE);
#line 132 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = action;
#line 132 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = g_strcmp0 (_tmp0_, "commit") == 0;
#line 132 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 1516 "gitg-commit.c"
}


static void gitg_commit_activity_show_unstaged_diff (GitgCommitActivity* self, GitgStageStatusItem** items, int items_length1) {
	gboolean _tmp0_ = FALSE;
	GitgStageStatusItem** _tmp1_ = NULL;
	gint _tmp1__length1 = 0;
#line 146 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 148 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = items;
#line 148 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1__length1 = items_length1;
#line 148 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp1__length1 == 1) {
#line 1532 "gitg-commit.c"
		GitgStageStatusItem** _tmp2_ = NULL;
		gint _tmp2__length1 = 0;
		GitgStageStatusItem* _tmp3_ = NULL;
#line 148 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = items;
#line 148 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp2__length1 = items_length1;
#line 148 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp3_ = _tmp2_[0];
#line 148 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp3_, GITG_TYPE_STAGE_STATUS_SUBMODULE);
#line 1544 "gitg-commit.c"
	} else {
#line 148 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = FALSE;
#line 1548 "gitg-commit.c"
	}
#line 148 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp0_) {
#line 1552 "gitg-commit.c"
		GitgStageStatusItem** _tmp4_ = NULL;
		gint _tmp4__length1 = 0;
		GitgStageStatusItem* _tmp5_ = NULL;
#line 150 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = items;
#line 150 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp4__length1 = items_length1;
#line 150 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = _tmp4_[0];
#line 150 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_show_submodule_history (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GITG_TYPE_STAGE_STATUS_SUBMODULE, GitgStageStatusSubmodule), GITG_COMMIT_ACTIVITY_INDEX_TYPE_UNSTAGED);
#line 1564 "gitg-commit.c"
	} else {
		GitgExtApplication* _tmp6_ = NULL;
		GitgExtApplication* _tmp7_ = NULL;
		GitgExtApplication* _tmp8_ = NULL;
		GitgRepository* _tmp9_ = NULL;
		GitgRepository* _tmp10_ = NULL;
		GitgRepository* _tmp11_ = NULL;
		GitgCommitPaned* _tmp12_ = NULL;
		GitgDiffView* _tmp13_ = NULL;
		GitgDiffView* _tmp14_ = NULL;
		GitgStageStatusItem** _tmp15_ = NULL;
		gint _tmp15__length1 = 0;
#line 154 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_show_ui (self, GITG_COMMIT_ACTIVITY_UI_TYPE_DIFF);
#line 155 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 155 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 155 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = _tmp7_;
#line 155 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = gitg_ext_application_get_repository (_tmp8_);
#line 155 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = _tmp9_;
#line 155 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = _tmp10_;
#line 155 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp12_ = self->priv->d_main;
#line 155 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp13_ = gitg_commit_paned_get_diff_view (_tmp12_);
#line 155 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp14_ = _tmp13_;
#line 155 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp15_ = items;
#line 155 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp15__length1 = items_length1;
#line 155 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_show_unstaged_diff_intern (self, _tmp11_, _tmp14_, _tmp15_, _tmp15__length1, TRUE);
#line 155 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp11_);
#line 155 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp8_);
#line 1607 "gitg-commit.c"
	}
}


static gpointer _g_object_ref0 (gpointer self) {
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return self ? g_object_ref (self) : NULL;
#line 1615 "gitg-commit.c"
}


static Block4Data* block4_data_ref (Block4Data* _data4_) {
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data4_->_ref_count_);
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return _data4_;
#line 1624 "gitg-commit.c"
}


static void block4_data_unref (void * _userdata_) {
	Block4Data* _data4_;
	_data4_ = (Block4Data*) _userdata_;
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data4_->_ref_count_)) {
#line 1633 "gitg-commit.c"
		GitgCommitActivity* self;
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self = _data4_->self;
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data4_->repository);
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data4_->view);
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data4_->items = (_vala_array_free (_data4_->items, _data4_->items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block4Data, _data4_);
#line 1647 "gitg-commit.c"
	}
}


static void __lambda30_ (Block4Data* _data4_) {
	GitgCommitActivity* self;
	GitgRepository* _tmp0_ = NULL;
	GitgDiffView* _tmp1_ = NULL;
	GitgStageStatusItem** _tmp2_ = NULL;
	gint _tmp2__length1 = 0;
	gboolean _tmp3_ = FALSE;
#line 164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data4_->self;
#line 165 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _data4_->repository;
#line 165 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _data4_->view;
#line 165 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _data4_->items;
#line 165 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2__length1 = _data4_->items_length1;
#line 165 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _data4_->patchable;
#line 165 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_show_unstaged_diff_intern (self, _tmp0_, _tmp1_, _tmp2_, _tmp2__length1, _tmp3_);
#line 1673 "gitg-commit.c"
}


static void ___lambda30__gitg_commit_activity_update_diff_callback (gpointer self) {
#line 164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__lambda30_ (self);
#line 1680 "gitg-commit.c"
}


static void gitg_commit_activity_set_unstaged_diff_update_callback (GitgCommitActivity* self, GitgRepository* repository, GitgDiffView* view, GitgStageStatusItem** items, int items_length1, gboolean patchable) {
	Block4Data* _data4_;
	GitgRepository* _tmp0_ = NULL;
	GitgRepository* _tmp1_ = NULL;
	GitgDiffView* _tmp2_ = NULL;
	GitgDiffView* _tmp3_ = NULL;
	GitgStageStatusItem** _tmp4_ = NULL;
	gint _tmp4__length1 = 0;
	gboolean _tmp5_ = FALSE;
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (repository != NULL);
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (view != NULL);
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data4_ = g_slice_new0 (Block4Data);
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data4_->_ref_count_ = 1;
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data4_->self = g_object_ref (self);
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = repository;
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data4_->repository);
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data4_->repository = _tmp1_;
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = view;
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data4_->view);
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data4_->view = _tmp3_;
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = items;
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4__length1 = items_length1;
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data4_->items = (_vala_array_free (_data4_->items, _data4_->items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data4_->items = _tmp4_;
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data4_->items_length1 = _tmp4__length1;
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = patchable;
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data4_->patchable = _tmp5_;
#line 164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	(self->priv->d_update_diff_callback_target_destroy_notify == NULL) ? NULL : (self->priv->d_update_diff_callback_target_destroy_notify (self->priv->d_update_diff_callback_target), NULL);
#line 164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback = NULL;
#line 164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback_target = NULL;
#line 164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback_target_destroy_notify = NULL;
#line 164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback = ___lambda30__gitg_commit_activity_update_diff_callback;
#line 164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback_target = block4_data_ref (_data4_);
#line 164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback_target_destroy_notify = block4_data_unref;
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block4_data_unref (_data4_);
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data4_ = NULL;
#line 1753 "gitg-commit.c"
}


static Block5Data* block5_data_ref (Block5Data* _data5_) {
#line 169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data5_->_ref_count_);
#line 169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return _data5_;
#line 1762 "gitg-commit.c"
}


static void block5_data_unref (void * _userdata_) {
	Block5Data* _data5_;
	_data5_ = (Block5Data*) _userdata_;
#line 169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data5_->_ref_count_)) {
#line 1771 "gitg-commit.c"
		GitgCommitActivity* self;
#line 169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self = _data5_->self;
#line 169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data5_->stage);
#line 169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data5_->view);
#line 169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block5Data, _data5_);
#line 1783 "gitg-commit.c"
	}
}


static void __lambda29_ (Block5Data* _data5_, GObject* obj, GAsyncResult* res) {
	GitgCommitActivity* self;
	GError * _inner_error_ = NULL;
#line 176 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data5_->self;
#line 176 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 1795 "gitg-commit.c"
	{
		GgitDiff* d = NULL;
		GAsyncResult* _tmp0_ = NULL;
		GgitDiff* _tmp1_ = NULL;
		GitgDiffView* _tmp2_ = NULL;
		gboolean _tmp3_ = FALSE;
		GitgDiffView* _tmp4_ = NULL;
		GitgCommitPaned* _tmp5_ = NULL;
		GtkButton* _tmp6_ = NULL;
		GtkButton* _tmp7_ = NULL;
		const gchar* _tmp8_ = NULL;
		GitgCommitPaned* _tmp9_ = NULL;
		GtkButton* _tmp10_ = NULL;
		GtkButton* _tmp11_ = NULL;
		gboolean _tmp12_ = FALSE;
		GitgCommitPaned* _tmp13_ = NULL;
		GtkButton* _tmp14_ = NULL;
		GtkButton* _tmp15_ = NULL;
		GitgDiffView* _tmp16_ = NULL;
		GitgDiffView* _tmp17_ = NULL;
#line 179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = res;
#line 179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = gitg_stage_diff_workdir_all_finish (_data5_->stage, _tmp0_, &_inner_error_);
#line 179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		d = _tmp1_;
#line 179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1824 "gitg-commit.c"
			goto __catch6_g_error;
		}
#line 181 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = _data5_->view;
#line 181 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp3_ = _data5_->patchable;
#line 181 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_unstaged (_tmp2_, _tmp3_);
#line 182 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = _data5_->view;
#line 182 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_staged (_tmp4_, FALSE);
#line 184 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = self->priv->d_main;
#line 184 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = gitg_commit_paned_get_button_stage (_tmp5_);
#line 184 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 184 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = _ ("_Stage selection");
#line 184 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gtk_button_set_label (_tmp7_, _tmp8_);
#line 185 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = self->priv->d_main;
#line 185 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = gitg_commit_paned_get_button_stage (_tmp9_);
#line 185 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = _tmp10_;
#line 185 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp12_ = _data5_->patchable;
#line 185 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp11_, _tmp12_);
#line 186 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp13_ = self->priv->d_main;
#line 186 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp14_ = gitg_commit_paned_get_button_discard (_tmp13_);
#line 186 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp15_ = _tmp14_;
#line 186 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp15_, TRUE);
#line 188 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp16_ = _data5_->view;
#line 188 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_new_is_workdir (_tmp16_, TRUE);
#line 189 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp17_ = _data5_->view;
#line 189 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_diff (_tmp17_, d);
#line 177 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (d);
#line 1875 "gitg-commit.c"
	}
	goto __finally6;
	__catch6_g_error:
	{
		GitgDiffView* _tmp18_ = NULL;
#line 177 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 177 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_inner_error_ = NULL;
#line 194 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp18_ = _data5_->view;
#line 194 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_diff (_tmp18_, NULL);
#line 1889 "gitg-commit.c"
	}
	__finally6:
#line 177 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 177 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.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 177 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 177 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 1900 "gitg-commit.c"
	}
}


static void ___lambda29__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 176 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__lambda29_ (self, source_object, res);
#line 176 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block5_data_unref (self);
#line 1910 "gitg-commit.c"
}


static GitgStageStatusItem** _vala_array_dup2 (GitgStageStatusItem** self, int length) {
	GitgStageStatusItem** result;
	int i;
#line 198 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = g_new0 (GitgStageStatusItem*, length + 1);
#line 198 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	for (i = 0; i < length; i++) {
#line 1921 "gitg-commit.c"
		GitgStageStatusItem* _tmp0_ = NULL;
#line 198 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _g_object_ref0 (self[i]);
#line 198 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		result[i] = _tmp0_;
#line 1927 "gitg-commit.c"
	}
#line 198 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 1931 "gitg-commit.c"
}


static void gitg_commit_activity_show_unstaged_diff_intern (GitgCommitActivity* self, GitgRepository* repository, GitgDiffView* view, GitgStageStatusItem** items, int items_length1, gboolean patchable) {
	Block5Data* _data5_;
	GitgDiffView* _tmp0_ = NULL;
	GitgDiffView* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
	GitgRepository* _tmp3_ = NULL;
	GitgStage* _tmp4_ = NULL;
	GitgStage* _tmp5_ = NULL;
	GitgStageStatusItem** _tmp6_ = NULL;
	gint _tmp6__length1 = 0;
	GitgDiffView* _tmp7_ = NULL;
	GgitDiffOptions* _tmp8_ = NULL;
	GgitDiffOptions* _tmp9_ = NULL;
	GitgRepository* _tmp10_ = NULL;
	GitgDiffView* _tmp11_ = NULL;
	GitgStageStatusItem** _tmp12_ = NULL;
	gint _tmp12__length1 = 0;
	GitgStageStatusItem** _tmp13_ = NULL;
	gint _tmp13__length1 = 0;
	gboolean _tmp14_ = FALSE;
#line 169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (repository != NULL);
#line 169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (view != NULL);
#line 169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data5_ = g_slice_new0 (Block5Data);
#line 169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data5_->_ref_count_ = 1;
#line 169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data5_->self = g_object_ref (self);
#line 169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = view;
#line 169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data5_->view);
#line 169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data5_->view = _tmp1_;
#line 169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = patchable;
#line 169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data5_->patchable = _tmp2_;
#line 174 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = repository;
#line 174 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = gitg_repository_get_stage (_tmp3_);
#line 174 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = _tmp4_;
#line 174 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data5_->stage = _tmp5_;
#line 176 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = items;
#line 176 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp6__length1 = items_length1;
#line 176 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = _data5_->view;
#line 176 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = gitg_diff_view_get_options (_tmp7_);
#line 176 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = _tmp8_;
#line 176 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_stage_diff_workdir_all (_data5_->stage, _tmp6_, _tmp6__length1, _tmp9_, ___lambda29__gasync_ready_callback, block5_data_ref (_data5_));
#line 198 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = repository;
#line 198 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp11_ = _data5_->view;
#line 198 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp12_ = items;
#line 198 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp12__length1 = items_length1;
#line 198 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp13_ = (_tmp12_ != NULL) ? _vala_array_dup2 (_tmp12_, _tmp12__length1) : ((gpointer) _tmp12_);
#line 198 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp13__length1 = _tmp12__length1;
#line 198 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp14_ = _data5_->patchable;
#line 198 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_set_unstaged_diff_update_callback (self, _tmp10_, _tmp11_, _tmp13_, _tmp13__length1, _tmp14_);
#line 169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block5_data_unref (_data5_);
#line 169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data5_ = NULL;
#line 2019 "gitg-commit.c"
}


static void __lambda26_ (GitgCommitActivity* self, GObject* obj, GAsyncResult* res) {
	GAsyncResult* _tmp0_ = NULL;
#line 203 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 204 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = res;
#line 204 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_stage_submodule_finish (self, _tmp0_);
#line 206 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_ignore_external_changes = TRUE;
#line 207 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_reload (self);
#line 2035 "gitg-commit.c"
}


static void ___lambda26__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 203 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__lambda26_ ((GitgCommitActivity*) self, source_object, res);
#line 203 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (self);
#line 2044 "gitg-commit.c"
}


static void gitg_commit_activity_stage_submodule_at (GitgCommitActivity* self, GitgCommit* commit) {
	GitgStageStatusSubmodule* _tmp0_ = NULL;
	GitgCommit* _tmp1_ = NULL;
#line 201 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 201 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (commit != NULL);
#line 203 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_current_submodule;
#line 203 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = commit;
#line 203 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_stage_submodule (self, _tmp0_, _tmp1_, ___lambda26__gasync_ready_callback, g_object_ref (self));
#line 2061 "gitg-commit.c"
}


static void gitg_commit_activity_stage_submodule_data_free (gpointer _data) {
	GitgCommitActivityStageSubmoduleData* _data_;
	_data_ = _data;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->sub);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->commit);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_slice_free (GitgCommitActivityStageSubmoduleData, _data_);
#line 2076 "gitg-commit.c"
}


static void gitg_commit_activity_stage_submodule (GitgCommitActivity* self, GitgStageStatusSubmodule* sub, GitgCommit* commit, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgCommitActivityStageSubmoduleData* _data_;
	GitgCommitActivity* _tmp0_ = NULL;
	GitgStageStatusSubmodule* _tmp1_ = NULL;
	GitgStageStatusSubmodule* _tmp2_ = NULL;
	GitgCommit* _tmp3_ = NULL;
	GitgCommit* _tmp4_ = NULL;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_slice_new0 (GitgCommitActivityStageSubmoduleData);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_commit_activity_stage_submodule);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_commit_activity_stage_submodule_data_free);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->self = _tmp0_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = sub;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->sub);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->sub = _tmp2_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = commit;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->commit);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->commit = _tmp4_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_stage_submodule_co (_data_);
#line 2115 "gitg-commit.c"
}


static gboolean gitg_commit_activity_stage_submodule_finish (GitgCommitActivity* self, GAsyncResult* _res_) {
	gboolean result;
	GitgCommitActivityStageSubmoduleData* _data_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = _data_->result;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 2128 "gitg-commit.c"
}


static void gitg_commit_activity_stage_submodule_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgCommitActivityStageSubmoduleData* _data_;
#line 219 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = _user_data_;
#line 219 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_source_object_ = source_object;
#line 219 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_res_ = _res_;
#line 219 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_stage_submodule_co (_data_);
#line 2142 "gitg-commit.c"
}


static void _vala_GgitOId_free (GgitOId* self) {
#line 249 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_boxed_free (ggit_oid_get_type (), self);
#line 2149 "gitg-commit.c"
}


static gboolean gitg_commit_activity_stage_submodule_co (GitgCommitActivityStageSubmoduleData* _data_) {
#line 211 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	switch (_data_->_state_) {
#line 211 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 0:
#line 2158 "gitg-commit.c"
		goto _state_0;
#line 211 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 1:
#line 2162 "gitg-commit.c"
		goto _state_1;
#line 211 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 2:
#line 2166 "gitg-commit.c"
		goto _state_2;
		default:
#line 211 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_assert_not_reached ();
#line 2171 "gitg-commit.c"
	}
	_state_0:
#line 213 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = NULL;
#line 213 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 213 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp1_ = NULL;
#line 213 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 213 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp2_ = NULL;
#line 213 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 213 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp3_ = NULL;
#line 213 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp3_ = gitg_ext_application_get_repository (_data_->_tmp2_);
#line 213 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4_ = NULL;
#line 213 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 213 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp5_ = NULL;
#line 213 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp5_ = _data_->_tmp4_;
#line 213 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp6_ = NULL;
#line 213 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp6_ = gitg_repository_get_stage (_data_->_tmp5_);
#line 213 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp7_ = NULL;
#line 213 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp7_ = _data_->_tmp6_;
#line 213 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp8_ = NULL;
#line 213 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp8_ = _data_->_tmp7_;
#line 213 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->_tmp5_);
#line 213 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->_tmp2_);
#line 213 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->stage = _data_->_tmp8_;
#line 215 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9_ = NULL;
#line 215 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9_ = _data_->sub;
#line 215 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp10_ = 0;
#line 215 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp10_ = gitg_stage_status_submodule_get_flags (_data_->_tmp9_);
#line 215 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp11_ = 0;
#line 215 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp11_ = _data_->_tmp10_;
#line 215 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if ((_data_->_tmp11_ & GGIT_SUBMODULE_STATUS_WD_DELETED) != 0) {
#line 2230 "gitg-commit.c"
		{
#line 219 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp12_ = NULL;
#line 219 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp12_ = _data_->stage;
#line 219 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp13_ = NULL;
#line 219 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp13_ = _data_->sub;
#line 219 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp14_ = NULL;
#line 219 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp14_ = gitg_stage_status_item_get_path ((GitgStageStatusItem*) _data_->_tmp13_);
#line 219 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp15_ = NULL;
#line 219 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp15_ = _data_->_tmp14_;
#line 219 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp16_ = NULL;
#line 219 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp16_ = _data_->_tmp15_;
#line 219 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_state_ = 1;
#line 219 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_stage_delete_path (_data_->_tmp12_, _data_->_tmp16_, gitg_commit_activity_stage_submodule_ready, _data_);
#line 219 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 2258 "gitg-commit.c"
			_state_1:
#line 219 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_stage_delete_path_finish (_data_->_tmp12_, _data_->_res_, &_data_->_inner_error_);
#line 219 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->_tmp16_);
#line 219 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 2266 "gitg-commit.c"
				goto __catch7_g_error;
			}
		}
		goto __finally7;
		__catch7_g_error:
		{
#line 217 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->e = _data_->_inner_error_;
#line 217 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_inner_error_ = NULL;
#line 223 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp17_ = NULL;
#line 223 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp17_ = _ ("Failed to stage the removal of submodule `%s'");
#line 223 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp18_ = NULL;
#line 223 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp18_ = _data_->sub;
#line 223 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp19_ = NULL;
#line 223 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp19_ = gitg_stage_status_item_get_path ((GitgStageStatusItem*) _data_->_tmp18_);
#line 223 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp20_ = NULL;
#line 223 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp20_ = _data_->_tmp19_;
#line 223 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp21_ = NULL;
#line 223 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp21_ = _data_->_tmp20_;
#line 223 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp22_ = NULL;
#line 223 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp22_ = g_strdup_printf (_data_->_tmp17_, _data_->_tmp21_);
#line 223 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp23_ = NULL;
#line 223 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp23_ = _data_->_tmp22_;
#line 223 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->_tmp21_);
#line 223 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->msg = _data_->_tmp23_;
#line 224 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp24_ = NULL;
#line 224 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp24_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 224 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp25_ = NULL;
#line 224 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp25_ = _data_->_tmp24_;
#line 224 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp26_ = NULL;
#line 224 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp26_ = _data_->_tmp25_;
#line 224 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp27_ = NULL;
#line 224 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp27_ = _data_->msg;
#line 224 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp28_ = NULL;
#line 224 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp28_ = _data_->e;
#line 224 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp29_ = NULL;
#line 224 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp29_ = _data_->_tmp28_->message;
#line 224 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_ext_application_show_infobar (_data_->_tmp26_, _data_->_tmp27_, _data_->_tmp29_, GTK_MESSAGE_ERROR);
#line 224 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->_tmp26_);
#line 226 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->result = FALSE;
#line 226 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->msg);
#line 226 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_error_free0 (_data_->e);
#line 226 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->stage);
#line 226 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			if (_data_->_state_ == 0) {
#line 226 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2349 "gitg-commit.c"
			} else {
#line 226 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 2353 "gitg-commit.c"
			}
#line 226 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			g_object_unref (_data_->_async_result);
#line 226 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 2359 "gitg-commit.c"
		}
		__finally7:
#line 217 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 217 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->stage);
#line 217 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.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/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			g_clear_error (&_data_->_inner_error_);
#line 217 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 2372 "gitg-commit.c"
		}
	} else {
		{
#line 235 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp31_ = NULL;
#line 235 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp31_ = _data_->sub;
#line 235 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp32_ = NULL;
#line 235 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp32_ = gitg_stage_status_submodule_get_submodule (_data_->_tmp31_);
#line 235 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp33_ = NULL;
#line 235 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp33_ = _data_->_tmp32_;
#line 235 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp34_ = NULL;
#line 235 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp34_ = ggit_submodule_open (_data_->_tmp33_, &_data_->_inner_error_);
#line 235 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp30_ = _data_->_tmp34_;
#line 235 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 2396 "gitg-commit.c"
				goto __catch8_g_error;
			}
#line 235 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp35_ = NULL;
#line 235 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp35_ = _data_->_tmp30_;
#line 235 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp30_ = NULL;
#line 235 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp36_ = NULL;
#line 235 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp36_ = G_TYPE_CHECK_INSTANCE_TYPE (_data_->_tmp35_, GITG_TYPE_REPOSITORY) ? ((GitgRepository*) _data_->_tmp35_) : NULL;
#line 235 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			if (_data_->_tmp36_ == NULL) {
#line 235 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_data_->_tmp35_);
#line 2413 "gitg-commit.c"
			}
#line 235 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->repo);
#line 235 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->repo = _data_->_tmp36_;
#line 233 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->_tmp30_);
#line 2421 "gitg-commit.c"
		}
		goto __finally8;
		__catch8_g_error:
		{
#line 233 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_vala1_e = _data_->_inner_error_;
#line 233 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_inner_error_ = NULL;
#line 239 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp37_ = NULL;
#line 239 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp37_ = _ ("Failed to open the repository of submodule `%s' while trying to stage");
#line 239 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp38_ = NULL;
#line 239 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp38_ = _data_->sub;
#line 239 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp39_ = NULL;
#line 239 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp39_ = gitg_stage_status_item_get_path ((GitgStageStatusItem*) _data_->_tmp38_);
#line 239 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp40_ = NULL;
#line 239 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp40_ = _data_->_tmp39_;
#line 239 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp41_ = NULL;
#line 239 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp41_ = _data_->_tmp40_;
#line 239 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp42_ = NULL;
#line 239 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp42_ = g_strdup_printf (_data_->_tmp37_, _data_->_tmp41_);
#line 239 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp43_ = NULL;
#line 239 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp43_ = _data_->_tmp42_;
#line 239 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->_tmp41_);
#line 239 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_vala1_msg = _data_->_tmp43_;
#line 240 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp44_ = NULL;
#line 240 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp44_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 240 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp45_ = NULL;
#line 240 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp45_ = _data_->_tmp44_;
#line 240 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp46_ = NULL;
#line 240 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp46_ = _data_->_tmp45_;
#line 240 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp47_ = NULL;
#line 240 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp47_ = _data_->_vala1_msg;
#line 240 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp48_ = NULL;
#line 240 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp48_ = _data_->_vala1_e;
#line 240 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp49_ = NULL;
#line 240 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp49_ = _data_->_tmp48_->message;
#line 240 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_ext_application_show_infobar (_data_->_tmp46_, _data_->_tmp47_, _data_->_tmp49_, GTK_MESSAGE_ERROR);
#line 240 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->_tmp46_);
#line 242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->result = FALSE;
#line 242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->_vala1_msg);
#line 242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_error_free0 (_data_->_vala1_e);
#line 242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->repo);
#line 242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->stage);
#line 242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			if (_data_->_state_ == 0) {
#line 242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2504 "gitg-commit.c"
			} else {
#line 242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 2508 "gitg-commit.c"
			}
#line 242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			g_object_unref (_data_->_async_result);
#line 242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 2514 "gitg-commit.c"
		}
		__finally8:
#line 233 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 233 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->repo);
#line 233 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->stage);
#line 233 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.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 233 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			g_clear_error (&_data_->_inner_error_);
#line 233 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 2529 "gitg-commit.c"
		}
#line 245 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp50_ = NULL;
#line 245 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp50_ = _data_->commit;
#line 245 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (_data_->_tmp50_ == NULL) {
#line 2537 "gitg-commit.c"
			{
				GitgCommit* _tmp60_ = NULL;
#line 249 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp52_ = NULL;
#line 249 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp52_ = _data_->repo;
#line 249 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp53_ = NULL;
#line 249 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp53_ = _data_->sub;
#line 249 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp54_ = NULL;
#line 249 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp54_ = gitg_stage_status_submodule_get_submodule (_data_->_tmp53_);
#line 249 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp55_ = NULL;
#line 249 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp55_ = _data_->_tmp54_;
#line 249 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp56_ = NULL;
#line 249 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp56_ = ggit_submodule_get_workdir_id (_data_->_tmp55_);
#line 249 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp57_ = NULL;
#line 249 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp57_ = _data_->_tmp56_;
#line 249 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp58_ = NULL;
#line 249 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp58_ = gitg_repository_lookup (_data_->_tmp52_, GITG_TYPE_COMMIT, (GBoxedCopyFunc) g_object_ref, g_object_unref, _data_->_tmp57_, &_data_->_inner_error_);
#line 249 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp59_ = NULL;
#line 249 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp59_ = (GitgCommit*) _data_->_tmp58_;
#line 249 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				__vala_GgitOId_free0 (_data_->_tmp57_);
#line 249 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp51_ = _data_->_tmp59_;
#line 249 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 2578 "gitg-commit.c"
					goto __catch9_g_error;
				}
#line 249 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp60_ = _g_object_ref0 (_data_->_tmp51_);
#line 249 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_data_->commit);
#line 249 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->commit = _tmp60_;
#line 247 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_data_->_tmp51_);
#line 2589 "gitg-commit.c"
			}
			goto __finally9;
			__catch9_g_error:
			{
#line 247 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_vala2_e = _data_->_inner_error_;
#line 247 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_inner_error_ = NULL;
#line 253 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp61_ = NULL;
#line 253 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp61_ = _ ("Failed to lookup the working directory commit of submodule `%s' while " \
"trying to stage");
#line 253 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp62_ = NULL;
#line 253 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp62_ = _data_->sub;
#line 253 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp63_ = NULL;
#line 253 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp63_ = gitg_stage_status_item_get_path ((GitgStageStatusItem*) _data_->_tmp62_);
#line 253 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp64_ = NULL;
#line 253 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp64_ = _data_->_tmp63_;
#line 253 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp65_ = NULL;
#line 253 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp65_ = _data_->_tmp64_;
#line 253 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp66_ = NULL;
#line 253 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp66_ = g_strdup_printf (_data_->_tmp61_, _data_->_tmp65_);
#line 253 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp67_ = NULL;
#line 253 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp67_ = _data_->_tmp66_;
#line 253 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_free0 (_data_->_tmp65_);
#line 253 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_vala2_msg = _data_->_tmp67_;
#line 254 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp68_ = NULL;
#line 254 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp68_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 254 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp69_ = NULL;
#line 254 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp69_ = _data_->_tmp68_;
#line 254 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp70_ = NULL;
#line 254 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp70_ = _data_->_tmp69_;
#line 254 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp71_ = NULL;
#line 254 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp71_ = _data_->_vala2_msg;
#line 254 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp72_ = NULL;
#line 254 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp72_ = _data_->_vala2_e;
#line 254 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp73_ = NULL;
#line 254 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp73_ = _data_->_tmp72_->message;
#line 254 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				gitg_ext_application_show_infobar (_data_->_tmp70_, _data_->_tmp71_, _data_->_tmp73_, GTK_MESSAGE_ERROR);
#line 254 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_data_->_tmp70_);
#line 256 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->result = FALSE;
#line 256 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_free0 (_data_->_vala2_msg);
#line 256 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_error_free0 (_data_->_vala2_e);
#line 256 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_data_->repo);
#line 256 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_data_->stage);
#line 256 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				if (_data_->_state_ == 0) {
#line 256 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2672 "gitg-commit.c"
				} else {
#line 256 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					g_simple_async_result_complete (_data_->_async_result);
#line 2676 "gitg-commit.c"
				}
#line 256 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				g_object_unref (_data_->_async_result);
#line 256 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				return FALSE;
#line 2682 "gitg-commit.c"
			}
			__finally9:
#line 247 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 247 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_data_->repo);
#line 247 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_data_->stage);
#line 247 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.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 247 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				g_clear_error (&_data_->_inner_error_);
#line 247 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				return FALSE;
#line 2697 "gitg-commit.c"
			}
		}
		{
#line 262 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp74_ = NULL;
#line 262 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp74_ = _data_->stage;
#line 262 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp75_ = NULL;
#line 262 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp75_ = _data_->sub;
#line 262 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp76_ = NULL;
#line 262 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp76_ = gitg_stage_status_item_get_path ((GitgStageStatusItem*) _data_->_tmp75_);
#line 262 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp77_ = NULL;
#line 262 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp77_ = _data_->_tmp76_;
#line 262 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp78_ = NULL;
#line 262 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp78_ = _data_->_tmp77_;
#line 262 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp79_ = NULL;
#line 262 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp79_ = _data_->commit;
#line 262 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_state_ = 2;
#line 262 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_stage_stage_commit (_data_->_tmp74_, _data_->_tmp78_, (GgitCommit*) _data_->_tmp79_, gitg_commit_activity_stage_submodule_ready, _data_);
#line 262 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 2731 "gitg-commit.c"
			_state_2:
#line 262 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_stage_stage_commit_finish (_data_->_tmp74_, _data_->_res_, &_data_->_inner_error_);
#line 262 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->_tmp78_);
#line 262 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 2739 "gitg-commit.c"
				goto __catch10_g_error;
			}
		}
		goto __finally10;
		__catch10_g_error:
		{
#line 260 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_vala3_e = _data_->_inner_error_;
#line 260 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_inner_error_ = NULL;
#line 266 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp80_ = NULL;
#line 266 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp80_ = _ ("Failed to stage the submodule `%s'");
#line 266 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp81_ = NULL;
#line 266 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp81_ = _data_->sub;
#line 266 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp82_ = NULL;
#line 266 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp82_ = gitg_stage_status_item_get_path ((GitgStageStatusItem*) _data_->_tmp81_);
#line 266 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp83_ = NULL;
#line 266 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp83_ = _data_->_tmp82_;
#line 266 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp84_ = NULL;
#line 266 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp84_ = _data_->_tmp83_;
#line 266 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp85_ = NULL;
#line 266 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp85_ = g_strdup_printf (_data_->_tmp80_, _data_->_tmp84_);
#line 266 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp86_ = NULL;
#line 266 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp86_ = _data_->_tmp85_;
#line 266 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->_tmp84_);
#line 266 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_vala3_msg = _data_->_tmp86_;
#line 267 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp87_ = NULL;
#line 267 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp87_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 267 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp88_ = NULL;
#line 267 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp88_ = _data_->_tmp87_;
#line 267 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp89_ = NULL;
#line 267 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp89_ = _data_->_tmp88_;
#line 267 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp90_ = NULL;
#line 267 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp90_ = _data_->_vala3_msg;
#line 267 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp91_ = NULL;
#line 267 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp91_ = _data_->_vala3_e;
#line 267 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp92_ = NULL;
#line 267 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp92_ = _data_->_tmp91_->message;
#line 267 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_ext_application_show_infobar (_data_->_tmp89_, _data_->_tmp90_, _data_->_tmp92_, GTK_MESSAGE_ERROR);
#line 267 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->_tmp89_);
#line 269 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->result = FALSE;
#line 269 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->_vala3_msg);
#line 269 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_error_free0 (_data_->_vala3_e);
#line 269 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->repo);
#line 269 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->stage);
#line 269 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			if (_data_->_state_ == 0) {
#line 269 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2824 "gitg-commit.c"
			} else {
#line 269 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 2828 "gitg-commit.c"
			}
#line 269 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			g_object_unref (_data_->_async_result);
#line 269 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 2834 "gitg-commit.c"
		}
		__finally10:
#line 260 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 260 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->repo);
#line 260 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->stage);
#line 260 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.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 260 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			g_clear_error (&_data_->_inner_error_);
#line 260 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 2849 "gitg-commit.c"
		}
#line 215 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data_->repo);
#line 2853 "gitg-commit.c"
	}
#line 273 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->result = TRUE;
#line 273 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->stage);
#line 273 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ == 0) {
#line 273 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2863 "gitg-commit.c"
	} else {
#line 273 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2867 "gitg-commit.c"
	}
#line 273 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 273 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 211 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->stage);
#line 211 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ == 0) {
#line 211 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2879 "gitg-commit.c"
	} else {
#line 211 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2883 "gitg-commit.c"
	}
#line 211 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 211 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 2889 "gitg-commit.c"
}


static void gitg_commit_activity_stage_file_data_free (gpointer _data) {
	GitgCommitActivityStageFileData* _data_;
	_data_ = _data;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->file);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_slice_free (GitgCommitActivityStageFileData, _data_);
#line 2902 "gitg-commit.c"
}


static void gitg_commit_activity_stage_file (GitgCommitActivity* self, GitgStageStatusFile* file, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgCommitActivityStageFileData* _data_;
	GitgCommitActivity* _tmp0_ = NULL;
	GitgStageStatusFile* _tmp1_ = NULL;
	GitgStageStatusFile* _tmp2_ = NULL;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_slice_new0 (GitgCommitActivityStageFileData);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_commit_activity_stage_file);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_commit_activity_stage_file_data_free);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->self = _tmp0_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = file;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->file);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->file = _tmp2_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_stage_file_co (_data_);
#line 2931 "gitg-commit.c"
}


static gboolean gitg_commit_activity_stage_file_finish (GitgCommitActivity* self, GAsyncResult* _res_) {
	gboolean result;
	GitgCommitActivityStageFileData* _data_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = _data_->result;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 2944 "gitg-commit.c"
}


static void gitg_commit_activity_stage_file_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgCommitActivityStageFileData* _data_;
#line 284 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = _user_data_;
#line 284 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_source_object_ = source_object;
#line 284 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_res_ = _res_;
#line 284 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_stage_file_co (_data_);
#line 2958 "gitg-commit.c"
}


static gboolean gitg_commit_activity_stage_file_co (GitgCommitActivityStageFileData* _data_) {
#line 276 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	switch (_data_->_state_) {
#line 276 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 0:
#line 2967 "gitg-commit.c"
		goto _state_0;
#line 276 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 1:
#line 2971 "gitg-commit.c"
		goto _state_1;
#line 276 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 2:
#line 2975 "gitg-commit.c"
		goto _state_2;
		default:
#line 276 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_assert_not_reached ();
#line 2980 "gitg-commit.c"
	}
	_state_0:
#line 278 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = NULL;
#line 278 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 278 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp1_ = NULL;
#line 278 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 278 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp2_ = NULL;
#line 278 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 278 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp3_ = NULL;
#line 278 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp3_ = gitg_ext_application_get_repository (_data_->_tmp2_);
#line 278 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4_ = NULL;
#line 278 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 278 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp5_ = NULL;
#line 278 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp5_ = _data_->_tmp4_;
#line 278 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp6_ = NULL;
#line 278 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp6_ = gitg_repository_get_stage (_data_->_tmp5_);
#line 278 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp7_ = NULL;
#line 278 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp7_ = _data_->_tmp6_;
#line 278 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp8_ = NULL;
#line 278 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp8_ = _data_->_tmp7_;
#line 278 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->_tmp5_);
#line 278 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->_tmp2_);
#line 278 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->stage = _data_->_tmp8_;
#line 280 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9_ = NULL;
#line 280 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9_ = _data_->file;
#line 280 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp10_ = 0;
#line 280 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp10_ = gitg_stage_status_file_get_flags (_data_->_tmp9_);
#line 280 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp11_ = 0;
#line 280 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp11_ = _data_->_tmp10_;
#line 280 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if ((_data_->_tmp11_ & GGIT_STATUS_WORKING_TREE_DELETED) != 0) {
#line 3039 "gitg-commit.c"
		{
#line 284 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp12_ = NULL;
#line 284 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp12_ = _data_->stage;
#line 284 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp13_ = NULL;
#line 284 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp13_ = _data_->file;
#line 284 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp14_ = NULL;
#line 284 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp14_ = gitg_stage_status_item_get_path ((GitgStageStatusItem*) _data_->_tmp13_);
#line 284 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp15_ = NULL;
#line 284 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp15_ = _data_->_tmp14_;
#line 284 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp16_ = NULL;
#line 284 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp16_ = _data_->_tmp15_;
#line 284 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_state_ = 1;
#line 284 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_stage_delete_path (_data_->_tmp12_, _data_->_tmp16_, gitg_commit_activity_stage_file_ready, _data_);
#line 284 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 3067 "gitg-commit.c"
			_state_1:
#line 284 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_stage_delete_path_finish (_data_->_tmp12_, _data_->_res_, &_data_->_inner_error_);
#line 284 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->_tmp16_);
#line 284 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 3075 "gitg-commit.c"
				goto __catch11_g_error;
			}
		}
		goto __finally11;
		__catch11_g_error:
		{
#line 282 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->e = _data_->_inner_error_;
#line 282 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_inner_error_ = NULL;
#line 288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp17_ = NULL;
#line 288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp17_ = _ ("Failed to stage the removal of file `%s'");
#line 288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp18_ = NULL;
#line 288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp18_ = _data_->file;
#line 288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp19_ = NULL;
#line 288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp19_ = gitg_stage_status_item_get_path ((GitgStageStatusItem*) _data_->_tmp18_);
#line 288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp20_ = NULL;
#line 288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp20_ = _data_->_tmp19_;
#line 288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp21_ = NULL;
#line 288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp21_ = _data_->_tmp20_;
#line 288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp22_ = NULL;
#line 288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp22_ = g_strdup_printf (_data_->_tmp17_, _data_->_tmp21_);
#line 288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp23_ = NULL;
#line 288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp23_ = _data_->_tmp22_;
#line 288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->_tmp21_);
#line 288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->msg = _data_->_tmp23_;
#line 289 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp24_ = NULL;
#line 289 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp24_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 289 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp25_ = NULL;
#line 289 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp25_ = _data_->_tmp24_;
#line 289 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp26_ = NULL;
#line 289 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp26_ = _data_->_tmp25_;
#line 289 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp27_ = NULL;
#line 289 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp27_ = _data_->msg;
#line 289 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp28_ = NULL;
#line 289 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp28_ = _data_->e;
#line 289 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp29_ = NULL;
#line 289 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp29_ = _data_->_tmp28_->message;
#line 289 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_ext_application_show_infobar (_data_->_tmp26_, _data_->_tmp27_, _data_->_tmp29_, GTK_MESSAGE_ERROR);
#line 289 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->_tmp26_);
#line 291 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->result = FALSE;
#line 291 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->msg);
#line 291 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_error_free0 (_data_->e);
#line 291 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->stage);
#line 291 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			if (_data_->_state_ == 0) {
#line 291 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3158 "gitg-commit.c"
			} else {
#line 291 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 3162 "gitg-commit.c"
			}
#line 291 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			g_object_unref (_data_->_async_result);
#line 291 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 3168 "gitg-commit.c"
		}
		__finally11:
#line 282 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 282 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->stage);
#line 282 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.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 282 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			g_clear_error (&_data_->_inner_error_);
#line 282 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 3181 "gitg-commit.c"
		}
	} else {
		{
#line 298 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp30_ = NULL;
#line 298 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp30_ = _data_->stage;
#line 298 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp31_ = NULL;
#line 298 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp31_ = _data_->file;
#line 298 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp32_ = NULL;
#line 298 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp32_ = gitg_stage_status_item_get_path ((GitgStageStatusItem*) _data_->_tmp31_);
#line 298 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp33_ = NULL;
#line 298 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp33_ = _data_->_tmp32_;
#line 298 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp34_ = NULL;
#line 298 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp34_ = _data_->_tmp33_;
#line 298 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_state_ = 2;
#line 298 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_stage_stage_path (_data_->_tmp30_, _data_->_tmp34_, gitg_commit_activity_stage_file_ready, _data_);
#line 298 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 3211 "gitg-commit.c"
			_state_2:
#line 298 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_stage_stage_path_finish (_data_->_tmp30_, _data_->_res_, &_data_->_inner_error_);
#line 298 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->_tmp34_);
#line 298 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 3219 "gitg-commit.c"
				goto __catch12_g_error;
			}
		}
		goto __finally12;
		__catch12_g_error:
		{
#line 296 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_vala1_e = _data_->_inner_error_;
#line 296 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_inner_error_ = NULL;
#line 302 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp35_ = NULL;
#line 302 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp35_ = _ ("Failed to stage the file `%s'");
#line 302 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp36_ = NULL;
#line 302 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp36_ = _data_->file;
#line 302 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp37_ = NULL;
#line 302 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp37_ = gitg_stage_status_item_get_path ((GitgStageStatusItem*) _data_->_tmp36_);
#line 302 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp38_ = NULL;
#line 302 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp38_ = _data_->_tmp37_;
#line 302 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp39_ = NULL;
#line 302 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp39_ = _data_->_tmp38_;
#line 302 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp40_ = NULL;
#line 302 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp40_ = g_strdup_printf (_data_->_tmp35_, _data_->_tmp39_);
#line 302 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp41_ = NULL;
#line 302 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp41_ = _data_->_tmp40_;
#line 302 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->_tmp39_);
#line 302 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_vala1_msg = _data_->_tmp41_;
#line 303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp42_ = NULL;
#line 303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp42_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp43_ = NULL;
#line 303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp43_ = _data_->_tmp42_;
#line 303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp44_ = NULL;
#line 303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp44_ = _data_->_tmp43_;
#line 303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp45_ = NULL;
#line 303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp45_ = _data_->_vala1_msg;
#line 303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp46_ = NULL;
#line 303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp46_ = _data_->_vala1_e;
#line 303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp47_ = NULL;
#line 303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp47_ = _data_->_tmp46_->message;
#line 303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_ext_application_show_infobar (_data_->_tmp44_, _data_->_tmp45_, _data_->_tmp47_, GTK_MESSAGE_ERROR);
#line 303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->_tmp44_);
#line 305 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->result = FALSE;
#line 305 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->_vala1_msg);
#line 305 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_error_free0 (_data_->_vala1_e);
#line 305 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->stage);
#line 305 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			if (_data_->_state_ == 0) {
#line 305 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3302 "gitg-commit.c"
			} else {
#line 305 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 3306 "gitg-commit.c"
			}
#line 305 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			g_object_unref (_data_->_async_result);
#line 305 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 3312 "gitg-commit.c"
		}
		__finally12:
#line 296 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 296 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->stage);
#line 296 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.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 296 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			g_clear_error (&_data_->_inner_error_);
#line 296 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 3325 "gitg-commit.c"
		}
	}
#line 309 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->result = TRUE;
#line 309 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->stage);
#line 309 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ == 0) {
#line 309 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3336 "gitg-commit.c"
	} else {
#line 309 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3340 "gitg-commit.c"
	}
#line 309 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 309 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 276 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->stage);
#line 276 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ == 0) {
#line 276 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3352 "gitg-commit.c"
	} else {
#line 276 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3356 "gitg-commit.c"
	}
#line 276 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 276 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 3362 "gitg-commit.c"
}


static void gitg_commit_activity_stage_items_data_free (gpointer _data) {
	GitgCommitActivityStageItemsData* _data_;
	_data_ = _data;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->items = (_vala_array_free (_data_->items, _data_->items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_slice_free (GitgCommitActivityStageItemsData, _data_);
#line 3375 "gitg-commit.c"
}


static void gitg_commit_activity_stage_items (GitgCommitActivity* self, GitgStageStatusItem** items, int items_length1, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgCommitActivityStageItemsData* _data_;
	GitgCommitActivity* _tmp0_ = NULL;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_slice_new0 (GitgCommitActivityStageItemsData);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_commit_activity_stage_items);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_commit_activity_stage_items_data_free);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->self = _tmp0_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->items = (_vala_array_free (_data_->items, _data_->items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->items = items;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->items_length1 = items_length1;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_stage_items_co (_data_);
#line 3400 "gitg-commit.c"
}


static void gitg_commit_activity_stage_items_finish (GitgCommitActivity* self, GAsyncResult* _res_) {
	GitgCommitActivityStageItemsData* _data_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 3408 "gitg-commit.c"
}


static void gitg_commit_activity_stage_items_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgCommitActivityStageItemsData* _data_;
#line 321 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = _user_data_;
#line 321 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_source_object_ = source_object;
#line 321 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_res_ = _res_;
#line 321 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_stage_items_co (_data_);
#line 3422 "gitg-commit.c"
}


static gboolean gitg_commit_activity_stage_items_co (GitgCommitActivityStageItemsData* _data_) {
#line 312 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	switch (_data_->_state_) {
#line 312 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 0:
#line 3431 "gitg-commit.c"
		goto _state_0;
#line 312 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 1:
#line 3435 "gitg-commit.c"
		goto _state_1;
#line 312 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 2:
#line 3439 "gitg-commit.c"
		goto _state_2;
		default:
#line 312 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_assert_not_reached ();
#line 3444 "gitg-commit.c"
	}
	_state_0:
#line 314 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = NULL;
#line 314 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0__length1 = 0;
#line 314 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = _data_->items;
#line 314 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0__length1 = _data_->items_length1;
#line 3455 "gitg-commit.c"
	{
#line 314 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->item_collection_length1 = 0;
#line 314 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_item_collection_size_ = 0;
#line 314 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->item_collection = _data_->_tmp0_;
#line 314 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->item_collection_length1 = _data_->_tmp0__length1;
#line 314 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		for (_data_->item_it = 0; _data_->item_it < _data_->_tmp0__length1; _data_->item_it = _data_->item_it + 1) {
#line 314 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp1_ = NULL;
#line 314 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp1_ = _g_object_ref0 (_data_->item_collection[_data_->item_it]);
#line 314 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->item = _data_->_tmp1_;
#line 3473 "gitg-commit.c"
			{
#line 316 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->ok = TRUE;
#line 318 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp2_ = NULL;
#line 318 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp2_ = _data_->item;
#line 318 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				if (G_TYPE_CHECK_INSTANCE_TYPE (_data_->_tmp2_, GITG_TYPE_STAGE_STATUS_FILE)) {
#line 320 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->self->priv->d_ignore_external_changes = TRUE;
#line 321 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp3_ = NULL;
#line 321 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp3_ = _data_->item;
#line 321 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->_state_ = 1;
#line 321 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					gitg_commit_activity_stage_file (_data_->self, G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp3_, GITG_TYPE_STAGE_STATUS_FILE, GitgStageStatusFile), gitg_commit_activity_stage_items_ready, _data_);
#line 321 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					return FALSE;
#line 3495 "gitg-commit.c"
					_state_1:
#line 321 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp4_ = FALSE;
#line 321 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp4_ = gitg_commit_activity_stage_file_finish (_data_->self, _data_->_res_);
#line 321 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->ok = _data_->_tmp4_;
#line 3503 "gitg-commit.c"
				} else {
#line 323 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp5_ = NULL;
#line 323 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp5_ = _data_->item;
#line 323 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					if (G_TYPE_CHECK_INSTANCE_TYPE (_data_->_tmp5_, GITG_TYPE_STAGE_STATUS_SUBMODULE)) {
#line 325 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_data_->self->priv->d_ignore_external_changes = TRUE;
#line 326 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_data_->_tmp6_ = NULL;
#line 326 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_data_->_tmp6_ = _data_->item;
#line 326 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_data_->_state_ = 2;
#line 326 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						gitg_commit_activity_stage_submodule (_data_->self, G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp6_, GITG_TYPE_STAGE_STATUS_SUBMODULE, GitgStageStatusSubmodule), NULL, gitg_commit_activity_stage_items_ready, _data_);
#line 326 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						return FALSE;
#line 3523 "gitg-commit.c"
						_state_2:
#line 326 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_data_->_tmp7_ = FALSE;
#line 326 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_data_->_tmp7_ = gitg_commit_activity_stage_submodule_finish (_data_->self, _data_->_res_);
#line 326 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_data_->ok = _data_->_tmp7_;
#line 3531 "gitg-commit.c"
					} else {
#line 330 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						g_assert_not_reached ();
#line 3535 "gitg-commit.c"
					}
				}
#line 333 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp8_ = FALSE;
#line 333 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp8_ = _data_->ok;
#line 333 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				if (!_data_->_tmp8_) {
#line 335 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_g_object_unref0 (_data_->item);
#line 335 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					break;
#line 3548 "gitg-commit.c"
				}
#line 314 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_data_->item);
#line 3552 "gitg-commit.c"
			}
		}
	}
#line 339 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_reload (_data_->self);
#line 312 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->items = (_vala_array_free (_data_->items, _data_->items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 312 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ == 0) {
#line 312 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3564 "gitg-commit.c"
	} else {
#line 312 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3568 "gitg-commit.c"
	}
#line 312 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 312 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 3574 "gitg-commit.c"
}


static void gitg_commit_activity_show_ui (GitgCommitActivity* self, GitgCommitActivityUiType type) {
	GitgCommitPaned* _tmp0_ = NULL;
	GitgCommitSubmoduleHistoryView* _tmp1_ = NULL;
	GitgCommitSubmoduleHistoryView* _tmp2_ = NULL;
	GitgCommitActivityUiType _tmp3_ = 0;
	GitgCommitPaned* _tmp4_ = NULL;
	GitgCommitSubmoduleDiffView* _tmp5_ = NULL;
	GitgCommitSubmoduleDiffView* _tmp6_ = NULL;
	GitgCommitActivityUiType _tmp7_ = 0;
	GitgCommitPaned* _tmp8_ = NULL;
	GitgDiffView* _tmp9_ = NULL;
	GitgDiffView* _tmp10_ = NULL;
	GitgCommitActivityUiType _tmp11_ = 0;
	GitgCommitActivityUiType _tmp12_ = 0;
	GitgCommitActivityUiType _tmp16_ = 0;
	GitgCommitActivityUiType _tmp30_ = 0;
#line 342 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 344 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 344 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_submodule_history_view (_tmp0_);
#line 344 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 344 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = type;
#line 344 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp2_, _tmp3_ == GITG_COMMIT_ACTIVITY_UI_TYPE_SUBMODULE_HISTORY);
#line 345 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = self->priv->d_main;
#line 345 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = gitg_commit_paned_get_submodule_diff_view (_tmp4_);
#line 345 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = _tmp5_;
#line 345 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = type;
#line 345 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp6_, _tmp7_ == GITG_COMMIT_ACTIVITY_UI_TYPE_SUBMODULE_DIFF);
#line 346 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = self->priv->d_main;
#line 346 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = gitg_commit_paned_get_diff_view (_tmp8_);
#line 346 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = _tmp9_;
#line 346 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp11_ = type;
#line 346 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp10_, _tmp11_ == GITG_COMMIT_ACTIVITY_UI_TYPE_DIFF);
#line 348 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp12_ = type;
#line 348 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp12_ != GITG_COMMIT_ACTIVITY_UI_TYPE_DIFF) {
#line 3630 "gitg-commit.c"
		GitgCommitPaned* _tmp13_ = NULL;
		GitgDiffView* _tmp14_ = NULL;
		GitgDiffView* _tmp15_ = NULL;
#line 350 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp13_ = self->priv->d_main;
#line 350 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp14_ = gitg_commit_paned_get_diff_view (_tmp13_);
#line 350 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp15_ = _tmp14_;
#line 350 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_diff (_tmp15_, NULL);
#line 3642 "gitg-commit.c"
	}
#line 353 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp16_ = type;
#line 353 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp16_ != GITG_COMMIT_ACTIVITY_UI_TYPE_SUBMODULE_DIFF) {
#line 3648 "gitg-commit.c"
		GitgCommitSubmoduleDiffView* view = NULL;
		GitgCommitPaned* _tmp17_ = NULL;
		GitgCommitSubmoduleDiffView* _tmp18_ = NULL;
		GitgCommitSubmoduleDiffView* _tmp19_ = NULL;
		GitgCommitSubmoduleDiffView* _tmp20_ = NULL;
		GitgCommitSubmoduleDiffView* _tmp21_ = NULL;
		GitgCommitSubmoduleInfo* _tmp22_ = NULL;
		GitgCommitSubmoduleInfo* _tmp23_ = NULL;
		GitgCommitSubmoduleDiffView* _tmp24_ = NULL;
		GitgDiffView* _tmp25_ = NULL;
		GitgDiffView* _tmp26_ = NULL;
		GitgCommitSubmoduleDiffView* _tmp27_ = NULL;
		GitgDiffView* _tmp28_ = NULL;
		GitgDiffView* _tmp29_ = NULL;
#line 355 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp17_ = self->priv->d_main;
#line 355 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp18_ = gitg_commit_paned_get_submodule_diff_view (_tmp17_);
#line 355 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp19_ = _tmp18_;
#line 355 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp20_ = _g_object_ref0 (_tmp19_);
#line 355 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		view = _tmp20_;
#line 357 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp21_ = view;
#line 357 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp22_ = gitg_commit_submodule_diff_view_get_info (_tmp21_);
#line 357 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp23_ = _tmp22_;
#line 357 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_submodule_info_set_submodule (_tmp23_, NULL);
#line 358 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp24_ = view;
#line 358 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp25_ = gitg_commit_submodule_diff_view_get_diff_view_staged (_tmp24_);
#line 358 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp26_ = _tmp25_;
#line 358 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_diff (_tmp26_, NULL);
#line 359 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp27_ = view;
#line 359 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp28_ = gitg_commit_submodule_diff_view_get_diff_view_unstaged (_tmp27_);
#line 359 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp29_ = _tmp28_;
#line 359 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_diff (_tmp29_, NULL);
#line 353 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (view);
#line 3699 "gitg-commit.c"
	}
#line 362 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp30_ = type;
#line 362 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp30_ != GITG_COMMIT_ACTIVITY_UI_TYPE_SUBMODULE_HISTORY) {
#line 3705 "gitg-commit.c"
		GitgCommitSubmoduleHistoryView* view = NULL;
		GitgCommitPaned* _tmp31_ = NULL;
		GitgCommitSubmoduleHistoryView* _tmp32_ = NULL;
		GitgCommitSubmoduleHistoryView* _tmp33_ = NULL;
		GitgCommitSubmoduleHistoryView* _tmp34_ = NULL;
		GitgCommitModel* model = NULL;
		GitgCommitSubmoduleHistoryView* _tmp35_ = NULL;
		GitgCommitListView* _tmp36_ = NULL;
		GitgCommitListView* _tmp37_ = NULL;
		GtkTreeModel* _tmp38_ = NULL;
		GtkTreeModel* _tmp39_ = NULL;
		GitgCommitModel* _tmp40_ = NULL;
		GitgCommitModel* _tmp41_ = NULL;
		GitgCommitSubmoduleHistoryView* _tmp43_ = NULL;
		GitgDiffView* _tmp44_ = NULL;
		GitgDiffView* _tmp45_ = NULL;
#line 364 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp31_ = self->priv->d_main;
#line 364 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp32_ = gitg_commit_paned_get_submodule_history_view (_tmp31_);
#line 364 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp33_ = _tmp32_;
#line 364 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp34_ = _g_object_ref0 (_tmp33_);
#line 364 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		view = _tmp34_;
#line 365 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp35_ = view;
#line 365 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp36_ = gitg_commit_submodule_history_view_get_commit_list_view (_tmp35_);
#line 365 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp37_ = _tmp36_;
#line 365 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp38_ = gtk_tree_view_get_model ((GtkTreeView*) _tmp37_);
#line 365 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp39_ = _tmp38_;
#line 365 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp40_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, GITG_TYPE_COMMIT_MODEL, GitgCommitModel));
#line 365 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		model = _tmp40_;
#line 367 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp41_ = model;
#line 367 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp41_ != NULL) {
#line 3750 "gitg-commit.c"
			GitgCommitModel* _tmp42_ = NULL;
#line 369 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp42_ = model;
#line 369 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_commit_model_set_repository (_tmp42_, NULL);
#line 3756 "gitg-commit.c"
		}
#line 372 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp43_ = view;
#line 372 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp44_ = gitg_commit_submodule_history_view_get_diff_view (_tmp43_);
#line 372 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp45_ = _tmp44_;
#line 372 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_diff (_tmp45_, NULL);
#line 373 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self->priv->d_current_submodule);
#line 373 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_current_submodule = NULL;
#line 374 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self->priv->d_current_submodule_repository);
#line 374 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_current_submodule_repository = NULL;
#line 362 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (model);
#line 362 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (view);
#line 3778 "gitg-commit.c"
	}
}


static GitgStageStatusItem** _vala_array_dup3 (GitgStageStatusItem** self, int length) {
	GitgStageStatusItem** result;
	int i;
#line 380 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = g_new0 (GitgStageStatusItem*, length + 1);
#line 380 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	for (i = 0; i < length; i++) {
#line 3790 "gitg-commit.c"
		GitgStageStatusItem* _tmp0_ = NULL;
#line 380 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _g_object_ref0 (self[i]);
#line 380 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		result[i] = _tmp0_;
#line 3796 "gitg-commit.c"
	}
#line 380 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 3800 "gitg-commit.c"
}


static void __lambda21_ (GitgCommitActivity* self, GObject* obj, GAsyncResult* res) {
	GAsyncResult* _tmp0_ = NULL;
#line 380 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 381 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = res;
#line 381 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_stage_items_finish (self, _tmp0_);
#line 3812 "gitg-commit.c"
}


static void ___lambda21__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 380 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__lambda21_ ((GitgCommitActivity*) self, source_object, res);
#line 380 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (self);
#line 3821 "gitg-commit.c"
}


static void gitg_commit_activity_on_unstaged_activated (GitgCommitActivity* self, GitgStageStatusItem** items, int items_length1) {
	GitgStageStatusItem** _tmp0_ = NULL;
	gint _tmp0__length1 = 0;
	GitgStageStatusItem** _tmp1_ = NULL;
	gint _tmp1__length1 = 0;
#line 378 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 380 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = items;
#line 380 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__length1 = items_length1;
#line 380 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup3 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_);
#line 380 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1__length1 = _tmp0__length1;
#line 380 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_stage_items (self, _tmp1_, _tmp1__length1, ___lambda21__gasync_ready_callback, g_object_ref (self));
#line 3842 "gitg-commit.c"
}


static void gitg_commit_activity_show_submodule_diff (GitgCommitActivity* self, GitgStageStatusSubmodule* sub) {
	GitgCommitSubmoduleDiffView* view = NULL;
	GitgCommitPaned* _tmp0_ = NULL;
	GitgCommitSubmoduleDiffView* _tmp1_ = NULL;
	GitgCommitSubmoduleDiffView* _tmp2_ = NULL;
	GitgCommitSubmoduleDiffView* _tmp3_ = NULL;
	GitgCommitSubmoduleDiffView* _tmp4_ = NULL;
	GitgCommitSubmoduleInfo* _tmp5_ = NULL;
	GitgCommitSubmoduleInfo* _tmp6_ = NULL;
	GitgStageStatusSubmodule* _tmp7_ = NULL;
	GgitSubmodule* _tmp8_ = NULL;
	GgitSubmodule* _tmp9_ = NULL;
	GitgRepository* repo = NULL;
	GitgRepository* _tmp23_ = NULL;
	GitgCommitSubmoduleDiffView* _tmp24_ = NULL;
	GitgDiffView* _tmp25_ = NULL;
	GitgDiffView* _tmp26_ = NULL;
	GitgRepository* _tmp27_ = NULL;
	GitgCommitSubmoduleDiffView* _tmp28_ = NULL;
	GitgDiffView* _tmp29_ = NULL;
	GitgDiffView* _tmp30_ = NULL;
	GError * _inner_error_ = NULL;
#line 385 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 385 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (sub != NULL);
#line 387 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_show_ui (self, GITG_COMMIT_ACTIVITY_UI_TYPE_SUBMODULE_DIFF);
#line 389 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 389 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_submodule_diff_view (_tmp0_);
#line 389 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 389 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 389 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	view = _tmp3_;
#line 391 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = view;
#line 391 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = gitg_commit_submodule_diff_view_get_info (_tmp4_);
#line 391 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = _tmp5_;
#line 391 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = sub;
#line 391 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = gitg_stage_status_submodule_get_submodule (_tmp7_);
#line 391 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = _tmp8_;
#line 391 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_submodule_info_set_submodule (_tmp6_, _tmp9_);
#line 3898 "gitg-commit.c"
	{
		GgitRepository* _tmp10_ = NULL;
		GitgStageStatusSubmodule* _tmp11_ = NULL;
		GgitSubmodule* _tmp12_ = NULL;
		GgitSubmodule* _tmp13_ = NULL;
		GgitRepository* _tmp14_ = NULL;
		GgitRepository* _tmp15_ = NULL;
		GitgRepository* _tmp16_ = NULL;
#line 397 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = sub;
#line 397 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp12_ = gitg_stage_status_submodule_get_submodule (_tmp11_);
#line 397 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp13_ = _tmp12_;
#line 397 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp14_ = ggit_submodule_open (_tmp13_, &_inner_error_);
#line 397 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = _tmp14_;
#line 397 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 3919 "gitg-commit.c"
			goto __catch13_g_error;
		}
#line 397 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp15_ = _tmp10_;
#line 397 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = NULL;
#line 397 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp16_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp15_, GITG_TYPE_REPOSITORY) ? ((GitgRepository*) _tmp15_) : NULL;
#line 397 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp16_ == NULL) {
#line 397 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_tmp15_);
#line 3932 "gitg-commit.c"
		}
#line 397 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (repo);
#line 397 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		repo = _tmp16_;
#line 395 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp10_);
#line 3940 "gitg-commit.c"
	}
	goto __finally13;
	__catch13_g_error:
	{
		GError* e = NULL;
		GitgCommitSubmoduleDiffView* _tmp17_ = NULL;
		GitgDiffView* _tmp18_ = NULL;
		GitgDiffView* _tmp19_ = NULL;
		GitgCommitSubmoduleDiffView* _tmp20_ = NULL;
		GitgDiffView* _tmp21_ = NULL;
		GitgDiffView* _tmp22_ = NULL;
#line 395 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		e = _inner_error_;
#line 395 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_inner_error_ = NULL;
#line 401 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp17_ = view;
#line 401 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp18_ = gitg_commit_submodule_diff_view_get_diff_view_staged (_tmp17_);
#line 401 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp19_ = _tmp18_;
#line 401 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_diff (_tmp19_, NULL);
#line 402 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp20_ = view;
#line 402 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp21_ = gitg_commit_submodule_diff_view_get_diff_view_unstaged (_tmp20_);
#line 402 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp22_ = _tmp21_;
#line 402 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_diff (_tmp22_, NULL);
#line 404 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_error_free0 (e);
#line 404 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (repo);
#line 404 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (view);
#line 404 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 3980 "gitg-commit.c"
	}
	__finally13:
#line 395 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 395 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (repo);
#line 395 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (view);
#line 395 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.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 395 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 395 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 3995 "gitg-commit.c"
	}
#line 407 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp23_ = repo;
#line 407 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp24_ = view;
#line 407 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp25_ = gitg_commit_submodule_diff_view_get_diff_view_staged (_tmp24_);
#line 407 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp26_ = _tmp25_;
#line 407 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_show_staged_diff_intern (self, _tmp23_, _tmp26_, NULL, 0, FALSE);
#line 408 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp27_ = repo;
#line 408 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp28_ = view;
#line 408 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp29_ = gitg_commit_submodule_diff_view_get_diff_view_unstaged (_tmp28_);
#line 408 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp30_ = _tmp29_;
#line 408 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_show_unstaged_diff_intern (self, _tmp27_, _tmp30_, NULL, 0, FALSE);
#line 385 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (repo);
#line 385 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (view);
#line 4021 "gitg-commit.c"
}


static void gitg_commit_activity_submodule_history_selection_changed (GitgCommitActivity* self, GitgCommit* commit) {
	GitgCommitSubmoduleHistoryView* view = NULL;
	GitgCommitPaned* _tmp0_ = NULL;
	GitgCommitSubmoduleHistoryView* _tmp1_ = NULL;
	GitgCommitSubmoduleHistoryView* _tmp2_ = NULL;
	GitgCommitSubmoduleHistoryView* _tmp3_ = NULL;
	GitgCommit* _tmp4_ = NULL;
	GitgRepository* _tmp8_ = NULL;
	GitgRepository* repo = NULL;
	GitgRepository* _tmp9_ = NULL;
	GitgRepository* _tmp10_ = NULL;
	GgitTree* commit_tree = NULL;
	GitgCommit* _tmp11_ = NULL;
	GgitTree* _tmp12_ = NULL;
	GgitOId* head = NULL;
	GitgStageStatusSubmodule* _tmp13_ = NULL;
	GgitSubmodule* _tmp14_ = NULL;
	GgitSubmodule* _tmp15_ = NULL;
	GgitOId* _tmp16_ = NULL;
	GgitTree* head_tree = NULL;
	GgitOId* _tmp17_ = NULL;
	GgitDiff* diff = NULL;
	GitgCommitSubmoduleHistoryView* _tmp42_ = NULL;
	GitgDiffView* _tmp43_ = NULL;
	GitgDiffView* _tmp44_ = NULL;
	GitgCommitSubmoduleHistoryView* _tmp45_ = NULL;
	GitgDiffView* _tmp46_ = NULL;
	GitgDiffView* _tmp47_ = NULL;
	GgitDiff* _tmp48_ = NULL;
	GError * _inner_error_ = NULL;
#line 411 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 413 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 413 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_submodule_history_view (_tmp0_);
#line 413 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 413 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 413 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	view = _tmp3_;
#line 415 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = commit;
#line 415 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp4_ == NULL) {
#line 4071 "gitg-commit.c"
		GitgCommitSubmoduleHistoryView* _tmp5_ = NULL;
		GitgDiffView* _tmp6_ = NULL;
		GitgDiffView* _tmp7_ = NULL;
#line 417 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = view;
#line 417 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = gitg_commit_submodule_history_view_get_diff_view (_tmp5_);
#line 417 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 417 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_diff (_tmp7_, NULL);
#line 418 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (view);
#line 418 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 4087 "gitg-commit.c"
	}
#line 421 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = self->priv->d_current_submodule_repository;
#line 421 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp8_ == NULL) {
#line 423 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (view);
#line 423 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 4097 "gitg-commit.c"
	}
#line 426 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = self->priv->d_current_submodule_repository;
#line 426 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = _g_object_ref0 (_tmp9_);
#line 426 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	repo = _tmp10_;
#line 428 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp11_ = commit;
#line 428 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp12_ = ggit_commit_get_tree ((GgitCommit*) _tmp11_);
#line 428 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	commit_tree = _tmp12_;
#line 430 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp13_ = self->priv->d_current_submodule;
#line 430 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp14_ = gitg_stage_status_submodule_get_submodule (_tmp13_);
#line 430 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp15_ = _tmp14_;
#line 430 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp16_ = ggit_submodule_get_head_id (_tmp15_);
#line 430 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	head = _tmp16_;
#line 431 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	head_tree = NULL;
#line 433 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp17_ = head;
#line 433 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp17_ != NULL) {
#line 4127 "gitg-commit.c"
		GgitCommit* head_commit = NULL;
		GgitCommit* _tmp26_ = NULL;
		GgitTree* _tmp27_ = NULL;
		{
			GitgCommit* _tmp18_ = NULL;
			GitgRepository* _tmp19_ = NULL;
			GgitOId* _tmp20_ = NULL;
			gpointer _tmp21_ = NULL;
			GitgCommit* _tmp22_ = NULL;
#line 439 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp19_ = repo;
#line 439 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp20_ = head;
#line 439 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp21_ = gitg_repository_lookup (_tmp19_, GITG_TYPE_COMMIT, (GBoxedCopyFunc) g_object_ref, g_object_unref, _tmp20_, &_inner_error_);
#line 439 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp18_ = (GitgCommit*) _tmp21_;
#line 439 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4147 "gitg-commit.c"
				goto __catch14_g_error;
			}
#line 439 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp22_ = _tmp18_;
#line 439 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp18_ = NULL;
#line 439 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (head_commit);
#line 439 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			head_commit = (GgitCommit*) _tmp22_;
#line 437 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_tmp18_);
#line 4160 "gitg-commit.c"
		}
		goto __finally14;
		__catch14_g_error:
		{
			GError* e = NULL;
			FILE* _tmp23_ = NULL;
			GError* _tmp24_ = NULL;
			const gchar* _tmp25_ = NULL;
#line 437 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			e = _inner_error_;
#line 437 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_inner_error_ = NULL;
#line 444 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp23_ = stderr;
#line 444 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp24_ = e;
#line 444 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp25_ = _tmp24_->message;
#line 444 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			fprintf (_tmp23_, "Failed to get head commit: %s\n", _tmp25_);
#line 445 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_error_free0 (e);
#line 445 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (head_commit);
#line 445 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (head_tree);
#line 445 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			__vala_GgitOId_free0 (head);
#line 445 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (commit_tree);
#line 445 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (repo);
#line 445 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (view);
#line 445 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			return;
#line 4197 "gitg-commit.c"
		}
		__finally14:
#line 437 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 437 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (head_commit);
#line 437 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (head_tree);
#line 437 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			__vala_GgitOId_free0 (head);
#line 437 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (commit_tree);
#line 437 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (repo);
#line 437 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (view);
#line 437 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.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 437 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			g_clear_error (&_inner_error_);
#line 437 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			return;
#line 4220 "gitg-commit.c"
		}
#line 448 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp26_ = head_commit;
#line 448 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp27_ = ggit_commit_get_tree (_tmp26_);
#line 448 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (head_tree);
#line 448 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		head_tree = _tmp27_;
#line 433 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (head_commit);
#line 4232 "gitg-commit.c"
	}
	{
		GgitDiff* _tmp28_ = NULL;
		GitgRepository* _tmp29_ = NULL;
		GgitTree* _tmp30_ = NULL;
		GgitTree* _tmp31_ = NULL;
		GitgCommitSubmoduleHistoryView* _tmp32_ = NULL;
		GitgDiffView* _tmp33_ = NULL;
		GitgDiffView* _tmp34_ = NULL;
		GgitDiffOptions* _tmp35_ = NULL;
		GgitDiffOptions* _tmp36_ = NULL;
		GgitDiff* _tmp37_ = NULL;
		GgitDiff* _tmp38_ = NULL;
#line 455 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp29_ = repo;
#line 455 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp30_ = head_tree;
#line 455 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp31_ = commit_tree;
#line 455 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp32_ = view;
#line 455 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp33_ = gitg_commit_submodule_history_view_get_diff_view (_tmp32_);
#line 455 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp34_ = _tmp33_;
#line 455 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp35_ = gitg_diff_view_get_options (_tmp34_);
#line 455 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp36_ = _tmp35_;
#line 455 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp37_ = ggit_diff_new_tree_to_tree ((GgitRepository*) _tmp29_, _tmp30_, _tmp31_, _tmp36_, &_inner_error_);
#line 455 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp28_ = _tmp37_;
#line 455 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4268 "gitg-commit.c"
			goto __catch15_g_error;
		}
#line 455 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp38_ = _tmp28_;
#line 455 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp28_ = NULL;
#line 455 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (diff);
#line 455 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		diff = _tmp38_;
#line 453 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp28_);
#line 4281 "gitg-commit.c"
	}
	goto __finally15;
	__catch15_g_error:
	{
		GError* e = NULL;
		FILE* _tmp39_ = NULL;
		GError* _tmp40_ = NULL;
		const gchar* _tmp41_ = NULL;
#line 453 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		e = _inner_error_;
#line 453 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_inner_error_ = NULL;
#line 460 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp39_ = stderr;
#line 460 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp40_ = e;
#line 460 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp41_ = _tmp40_->message;
#line 460 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		fprintf (_tmp39_, "Failed to get diff: %s\n", _tmp41_);
#line 461 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_error_free0 (e);
#line 461 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (diff);
#line 461 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (head_tree);
#line 461 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		__vala_GgitOId_free0 (head);
#line 461 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (commit_tree);
#line 461 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (repo);
#line 461 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (view);
#line 461 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 4318 "gitg-commit.c"
	}
	__finally15:
#line 453 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 453 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (diff);
#line 453 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (head_tree);
#line 453 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		__vala_GgitOId_free0 (head);
#line 453 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (commit_tree);
#line 453 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (repo);
#line 453 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (view);
#line 453 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.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 453 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 453 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 4341 "gitg-commit.c"
	}
#line 464 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp42_ = view;
#line 464 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp43_ = gitg_commit_submodule_history_view_get_diff_view (_tmp42_);
#line 464 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp44_ = _tmp43_;
#line 464 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_diff_view_set_new_is_workdir (_tmp44_, FALSE);
#line 465 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp45_ = view;
#line 465 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp46_ = gitg_commit_submodule_history_view_get_diff_view (_tmp45_);
#line 465 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp47_ = _tmp46_;
#line 465 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp48_ = diff;
#line 465 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_diff_view_set_diff (_tmp47_, _tmp48_);
#line 411 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (diff);
#line 411 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (head_tree);
#line 411 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__vala_GgitOId_free0 (head);
#line 411 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (commit_tree);
#line 411 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (repo);
#line 411 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (view);
#line 4373 "gitg-commit.c"
}


static gpointer _ggit_submodule_ref0 (gpointer self) {
#line 477 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return self ? ggit_submodule_ref (self) : NULL;
#line 4380 "gitg-commit.c"
}


static GgitOId* _vala_GgitOId_copy (GgitOId* self) {
#line 514 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return g_boxed_copy (ggit_oid_get_type (), self);
#line 4387 "gitg-commit.c"
}


static gpointer __vala_GgitOId_copy0 (gpointer self) {
#line 514 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return self ? _vala_GgitOId_copy (self) : NULL;
#line 4394 "gitg-commit.c"
}


static void ___lambda25_ (GitgCommitActivity* self, GitgCommit* commit) {
	GitgCommit* _tmp0_ = NULL;
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (commit != NULL);
#line 522 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = commit;
#line 522 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_unstage_submodule_at (self, _tmp0_);
#line 4406 "gitg-commit.c"
}


static void ____lambda25__gitg_commit_activity_stage_unstage_submodule_commit_callback (GitgCommit* commit, gpointer self) {
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	___lambda25_ ((GitgCommitActivity*) self, commit);
#line 4413 "gitg-commit.c"
}


static void ___lambda28_ (GitgCommitActivity* self, GitgCommit* commit) {
	GitgCommit* _tmp0_ = NULL;
#line 540 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (commit != NULL);
#line 541 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = commit;
#line 541 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_stage_submodule_at (self, _tmp0_);
#line 4425 "gitg-commit.c"
}


static void ____lambda28__gitg_commit_activity_stage_unstage_submodule_commit_callback (GitgCommit* commit, gpointer self) {
#line 540 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	___lambda28_ ((GitgCommitActivity*) self, commit);
#line 4432 "gitg-commit.c"
}


static void gitg_commit_activity_show_submodule_history (GitgCommitActivity* self, GitgStageStatusSubmodule* sub, GitgCommitActivityIndexType type) {
	GitgRepository* repo = NULL;
	GgitSubmodule* submodule = NULL;
	GitgStageStatusSubmodule* _tmp0_ = NULL;
	GgitSubmodule* _tmp1_ = NULL;
	GgitSubmodule* _tmp2_ = NULL;
	GgitSubmodule* _tmp3_ = NULL;
	GitgStageStatusSubmodule* _tmp12_ = NULL;
	GitgStageStatusSubmodule* _tmp13_ = NULL;
	GitgRepository* _tmp14_ = NULL;
	GitgRepository* _tmp15_ = NULL;
	GitgCommitSubmoduleHistoryView* view = NULL;
	GitgCommitPaned* _tmp16_ = NULL;
	GitgCommitSubmoduleHistoryView* _tmp17_ = NULL;
	GitgCommitSubmoduleHistoryView* _tmp18_ = NULL;
	GitgCommitSubmoduleHistoryView* _tmp19_ = NULL;
	GitgCommitModel* model = NULL;
	GitgCommitSubmoduleHistoryView* _tmp20_ = NULL;
	GitgCommitListView* _tmp21_ = NULL;
	GitgCommitListView* _tmp22_ = NULL;
	GtkTreeModel* _tmp23_ = NULL;
	GtkTreeModel* _tmp24_ = NULL;
	GitgCommitModel* _tmp25_ = NULL;
	GitgCommitModel* _tmp26_ = NULL;
	GitgCommitActivityIndexType _tmp35_ = 0;
	GitgCommitModel* _tmp68_ = NULL;
	GError * _inner_error_ = NULL;
#line 468 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 468 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (sub != NULL);
#line 471 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_show_ui (self, GITG_COMMIT_ACTIVITY_UI_TYPE_SUBMODULE_HISTORY);
#line 473 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (self->priv->d_current_submodule);
#line 473 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_current_submodule = NULL;
#line 474 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (self->priv->d_current_submodule_repository);
#line 474 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_current_submodule_repository = NULL;
#line 477 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = sub;
#line 477 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_stage_status_submodule_get_submodule (_tmp0_);
#line 477 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 477 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _ggit_submodule_ref0 (_tmp2_);
#line 477 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	submodule = _tmp3_;
#line 4487 "gitg-commit.c"
	{
		GgitRepository* _tmp4_ = NULL;
		GgitSubmodule* _tmp5_ = NULL;
		GgitRepository* _tmp6_ = NULL;
		GgitRepository* _tmp7_ = NULL;
		GitgRepository* _tmp8_ = NULL;
#line 481 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = submodule;
#line 481 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = ggit_submodule_open (_tmp5_, &_inner_error_);
#line 481 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = _tmp6_;
#line 481 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4502 "gitg-commit.c"
			goto __catch16_g_error;
		}
#line 481 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp4_;
#line 481 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = NULL;
#line 481 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp7_, GITG_TYPE_REPOSITORY) ? ((GitgRepository*) _tmp7_) : NULL;
#line 481 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp8_ == NULL) {
#line 481 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_tmp7_);
#line 4515 "gitg-commit.c"
		}
#line 481 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (repo);
#line 481 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		repo = _tmp8_;
#line 479 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp4_);
#line 4523 "gitg-commit.c"
	}
	goto __finally16;
	__catch16_g_error:
	{
		GError* e = NULL;
		FILE* _tmp9_ = NULL;
		GError* _tmp10_ = NULL;
		const gchar* _tmp11_ = NULL;
#line 479 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		e = _inner_error_;
#line 479 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_inner_error_ = NULL;
#line 486 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = stderr;
#line 486 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = e;
#line 486 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = _tmp10_->message;
#line 486 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		fprintf (_tmp9_, "Failed to open submodule repository: %s\n", _tmp11_);
#line 487 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_error_free0 (e);
#line 487 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_ggit_submodule_unref0 (submodule);
#line 487 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (repo);
#line 487 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 4552 "gitg-commit.c"
	}
	__finally16:
#line 479 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 479 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_ggit_submodule_unref0 (submodule);
#line 479 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (repo);
#line 479 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.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 479 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 479 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 4567 "gitg-commit.c"
	}
#line 490 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp12_ = sub;
#line 490 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp13_ = _g_object_ref0 (_tmp12_);
#line 490 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (self->priv->d_current_submodule);
#line 490 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_current_submodule = _tmp13_;
#line 491 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp14_ = repo;
#line 491 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp15_ = _g_object_ref0 (_tmp14_);
#line 491 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (self->priv->d_current_submodule_repository);
#line 491 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_current_submodule_repository = _tmp15_;
#line 493 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp16_ = self->priv->d_main;
#line 493 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp17_ = gitg_commit_paned_get_submodule_history_view (_tmp16_);
#line 493 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp18_ = _tmp17_;
#line 493 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp19_ = _g_object_ref0 (_tmp18_);
#line 493 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	view = _tmp19_;
#line 494 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp20_ = view;
#line 494 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp21_ = gitg_commit_submodule_history_view_get_commit_list_view (_tmp20_);
#line 494 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp22_ = _tmp21_;
#line 494 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp23_ = gtk_tree_view_get_model ((GtkTreeView*) _tmp22_);
#line 494 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp24_ = _tmp23_;
#line 494 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp25_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, GITG_TYPE_COMMIT_MODEL, GitgCommitModel));
#line 494 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	model = _tmp25_;
#line 496 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp26_ = model;
#line 496 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp26_ == NULL) {
#line 4613 "gitg-commit.c"
		GitgRepository* _tmp27_ = NULL;
		GitgCommitModel* _tmp28_ = NULL;
		GitgCommitSubmoduleHistoryView* _tmp29_ = NULL;
		GitgCommitListView* _tmp30_ = NULL;
		GitgCommitListView* _tmp31_ = NULL;
		GitgCommitModel* _tmp32_ = NULL;
#line 498 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp27_ = repo;
#line 498 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp28_ = gitg_commit_model_new (_tmp27_);
#line 498 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (model);
#line 498 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		model = _tmp28_;
#line 499 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp29_ = view;
#line 499 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp30_ = gitg_commit_submodule_history_view_get_commit_list_view (_tmp29_);
#line 499 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp31_ = _tmp30_;
#line 499 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp32_ = model;
#line 499 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gtk_tree_view_set_model ((GtkTreeView*) _tmp31_, (GtkTreeModel*) _tmp32_);
#line 4638 "gitg-commit.c"
	} else {
		GitgCommitModel* _tmp33_ = NULL;
		GitgRepository* _tmp34_ = NULL;
#line 503 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp33_ = model;
#line 503 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp34_ = repo;
#line 503 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_model_set_repository (_tmp33_, _tmp34_);
#line 4648 "gitg-commit.c"
	}
#line 506 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp35_ = type;
#line 506 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp35_ == GITG_COMMIT_ACTIVITY_INDEX_TYPE_STAGED) {
#line 4654 "gitg-commit.c"
		GitgCommitModel* _tmp36_ = NULL;
		GgitSubmodule* _tmp37_ = NULL;
		GgitOId* _tmp38_ = NULL;
		GgitOId** _tmp39_ = NULL;
		GgitOId** _tmp40_ = NULL;
		gint _tmp40__length1 = 0;
		GgitOId* head_id = NULL;
		GgitSubmodule* _tmp41_ = NULL;
		GgitOId* _tmp42_ = NULL;
		GgitOId* _tmp43_ = NULL;
#line 508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp36_ = model;
#line 508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp37_ = submodule;
#line 508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp38_ = ggit_submodule_get_index_id (_tmp37_);
#line 508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp39_ = g_new0 (GgitOId*, 1 + 1);
#line 508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp39_[0] = _tmp38_;
#line 508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp40_ = _tmp39_;
#line 508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp40__length1 = 1;
#line 508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_model_set_include (_tmp36_, _tmp40_, 1);
#line 508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp40_ = (_vala_array_free (_tmp40_, _tmp40__length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 510 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp41_ = submodule;
#line 510 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp42_ = ggit_submodule_get_head_id (_tmp41_);
#line 510 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		head_id = _tmp42_;
#line 512 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp43_ = head_id;
#line 512 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp43_ != NULL) {
#line 4693 "gitg-commit.c"
			GitgCommitModel* _tmp44_ = NULL;
			GgitOId* _tmp45_ = NULL;
			GgitOId* _tmp46_ = NULL;
			GgitOId** _tmp47_ = NULL;
			GgitOId** _tmp48_ = NULL;
			gint _tmp48__length1 = 0;
#line 514 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp44_ = model;
#line 514 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp45_ = head_id;
#line 514 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp46_ = __vala_GgitOId_copy0 (_tmp45_);
#line 514 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp47_ = g_new0 (GgitOId*, 1 + 1);
#line 514 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp47_[0] = _tmp46_;
#line 514 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp48_ = _tmp47_;
#line 514 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp48__length1 = 1;
#line 514 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_commit_model_set_exclude (_tmp44_, _tmp48_, 1);
#line 514 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp48_ = (_vala_array_free (_tmp48_, _tmp48__length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 4718 "gitg-commit.c"
		} else {
			GitgCommitModel* _tmp49_ = NULL;
			GgitOId** _tmp50_ = NULL;
			GgitOId** _tmp51_ = NULL;
			gint _tmp51__length1 = 0;
#line 518 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp49_ = model;
#line 518 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp50_ = g_new0 (GgitOId*, 0 + 1);
#line 518 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp51_ = _tmp50_;
#line 518 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp51__length1 = 0;
#line 518 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_commit_model_set_exclude (_tmp49_, _tmp51_, 0);
#line 518 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp51_ = (_vala_array_free (_tmp51_, _tmp51__length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 4736 "gitg-commit.c"
		}
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		(self->priv->d_stage_unstage_submodule_commit_callback_target_destroy_notify == NULL) ? NULL : (self->priv->d_stage_unstage_submodule_commit_callback_target_destroy_notify (self->priv->d_stage_unstage_submodule_commit_callback_target), NULL);
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_stage_unstage_submodule_commit_callback = NULL;
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_stage_unstage_submodule_commit_callback_target = NULL;
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_stage_unstage_submodule_commit_callback_target_destroy_notify = NULL;
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_stage_unstage_submodule_commit_callback = ____lambda25__gitg_commit_activity_stage_unstage_submodule_commit_callback;
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_stage_unstage_submodule_commit_callback_target = g_object_ref (self);
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_stage_unstage_submodule_commit_callback_target_destroy_notify = g_object_unref;
#line 506 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		__vala_GgitOId_free0 (head_id);
#line 4754 "gitg-commit.c"
	} else {
		GgitOId* index_id = NULL;
		GgitSubmodule* _tmp52_ = NULL;
		GgitOId* _tmp53_ = NULL;
		GitgCommitModel* _tmp54_ = NULL;
		GgitSubmodule* _tmp55_ = NULL;
		GgitOId* _tmp56_ = NULL;
		GgitOId** _tmp57_ = NULL;
		GgitOId** _tmp58_ = NULL;
		gint _tmp58__length1 = 0;
		GgitOId* _tmp59_ = NULL;
#line 527 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp52_ = submodule;
#line 527 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp53_ = ggit_submodule_get_index_id (_tmp52_);
#line 527 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		index_id = _tmp53_;
#line 529 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp54_ = model;
#line 529 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp55_ = submodule;
#line 529 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp56_ = ggit_submodule_get_workdir_id (_tmp55_);
#line 529 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp57_ = g_new0 (GgitOId*, 1 + 1);
#line 529 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp57_[0] = _tmp56_;
#line 529 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp58_ = _tmp57_;
#line 529 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp58__length1 = 1;
#line 529 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_model_set_include (_tmp54_, _tmp58_, 1);
#line 529 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp58_ = (_vala_array_free (_tmp58_, _tmp58__length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 531 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp59_ = index_id;
#line 531 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp59_ != NULL) {
#line 4794 "gitg-commit.c"
			GitgCommitModel* _tmp60_ = NULL;
			GgitOId* _tmp61_ = NULL;
			GgitOId* _tmp62_ = NULL;
			GgitOId** _tmp63_ = NULL;
			GgitOId** _tmp64_ = NULL;
			gint _tmp64__length1 = 0;
#line 533 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp60_ = model;
#line 533 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp61_ = index_id;
#line 533 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp62_ = __vala_GgitOId_copy0 (_tmp61_);
#line 533 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp63_ = g_new0 (GgitOId*, 1 + 1);
#line 533 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp63_[0] = _tmp62_;
#line 533 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp64_ = _tmp63_;
#line 533 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp64__length1 = 1;
#line 533 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_commit_model_set_exclude (_tmp60_, _tmp64_, 1);
#line 533 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp64_ = (_vala_array_free (_tmp64_, _tmp64__length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 4819 "gitg-commit.c"
		} else {
			GitgCommitModel* _tmp65_ = NULL;
			GgitOId** _tmp66_ = NULL;
			GgitOId** _tmp67_ = NULL;
			gint _tmp67__length1 = 0;
#line 537 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp65_ = model;
#line 537 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp66_ = g_new0 (GgitOId*, 0 + 1);
#line 537 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp67_ = _tmp66_;
#line 537 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp67__length1 = 0;
#line 537 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_commit_model_set_exclude (_tmp65_, _tmp67_, 0);
#line 537 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp67_ = (_vala_array_free (_tmp67_, _tmp67__length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 4837 "gitg-commit.c"
		}
#line 540 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		(self->priv->d_stage_unstage_submodule_commit_callback_target_destroy_notify == NULL) ? NULL : (self->priv->d_stage_unstage_submodule_commit_callback_target_destroy_notify (self->priv->d_stage_unstage_submodule_commit_callback_target), NULL);
#line 540 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_stage_unstage_submodule_commit_callback = NULL;
#line 540 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_stage_unstage_submodule_commit_callback_target = NULL;
#line 540 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_stage_unstage_submodule_commit_callback_target_destroy_notify = NULL;
#line 540 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_stage_unstage_submodule_commit_callback = ____lambda28__gitg_commit_activity_stage_unstage_submodule_commit_callback;
#line 540 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_stage_unstage_submodule_commit_callback_target = g_object_ref (self);
#line 540 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_stage_unstage_submodule_commit_callback_target_destroy_notify = g_object_unref;
#line 506 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		__vala_GgitOId_free0 (index_id);
#line 4855 "gitg-commit.c"
	}
#line 545 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_submodule_history_select_first = TRUE;
#line 546 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp68_ = model;
#line 546 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_model_reload (_tmp68_);
#line 468 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (model);
#line 468 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (view);
#line 468 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_ggit_submodule_unref0 (submodule);
#line 468 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (repo);
#line 4871 "gitg-commit.c"
}


static Block6Data* block6_data_ref (Block6Data* _data6_) {
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data6_->_ref_count_);
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return _data6_;
#line 4880 "gitg-commit.c"
}


static void block6_data_unref (void * _userdata_) {
	Block6Data* _data6_;
	_data6_ = (Block6Data*) _userdata_;
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data6_->_ref_count_)) {
#line 4889 "gitg-commit.c"
		GitgCommitActivity* self;
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self = _data6_->self;
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data6_->repository);
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data6_->view);
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data6_->items = (_vala_array_free (_data6_->items, _data6_->items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block6Data, _data6_);
#line 4903 "gitg-commit.c"
	}
}


static void __lambda32_ (Block6Data* _data6_) {
	GitgCommitActivity* self;
	GitgRepository* _tmp0_ = NULL;
	GitgDiffView* _tmp1_ = NULL;
	GitgStageStatusItem** _tmp2_ = NULL;
	gint _tmp2__length1 = 0;
	gboolean _tmp3_ = FALSE;
#line 554 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data6_->self;
#line 555 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _data6_->repository;
#line 555 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _data6_->view;
#line 555 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _data6_->items;
#line 555 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2__length1 = _data6_->items_length1;
#line 555 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _data6_->patchable;
#line 555 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_show_staged_diff_intern (self, _tmp0_, _tmp1_, _tmp2_, _tmp2__length1, _tmp3_);
#line 4929 "gitg-commit.c"
}


static void ___lambda32__gitg_commit_activity_update_diff_callback (gpointer self) {
#line 554 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__lambda32_ (self);
#line 4936 "gitg-commit.c"
}


static void gitg_commit_activity_set_staged_diff_update_callback (GitgCommitActivity* self, GitgRepository* repository, GitgDiffView* view, GitgStageStatusItem** items, int items_length1, gboolean patchable) {
	Block6Data* _data6_;
	GitgRepository* _tmp0_ = NULL;
	GitgRepository* _tmp1_ = NULL;
	GitgDiffView* _tmp2_ = NULL;
	GitgDiffView* _tmp3_ = NULL;
	GitgStageStatusItem** _tmp4_ = NULL;
	gint _tmp4__length1 = 0;
	gboolean _tmp5_ = FALSE;
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (repository != NULL);
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (view != NULL);
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data6_ = g_slice_new0 (Block6Data);
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data6_->_ref_count_ = 1;
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data6_->self = g_object_ref (self);
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = repository;
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data6_->repository);
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data6_->repository = _tmp1_;
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = view;
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data6_->view);
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data6_->view = _tmp3_;
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = items;
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4__length1 = items_length1;
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data6_->items = (_vala_array_free (_data6_->items, _data6_->items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data6_->items = _tmp4_;
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data6_->items_length1 = _tmp4__length1;
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = patchable;
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data6_->patchable = _tmp5_;
#line 554 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	(self->priv->d_update_diff_callback_target_destroy_notify == NULL) ? NULL : (self->priv->d_update_diff_callback_target_destroy_notify (self->priv->d_update_diff_callback_target), NULL);
#line 554 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback = NULL;
#line 554 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback_target = NULL;
#line 554 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback_target_destroy_notify = NULL;
#line 554 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback = ___lambda32__gitg_commit_activity_update_diff_callback;
#line 554 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback_target = block6_data_ref (_data6_);
#line 554 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback_target_destroy_notify = block6_data_unref;
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block6_data_unref (_data6_);
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data6_ = NULL;
#line 5009 "gitg-commit.c"
}


static Block7Data* block7_data_ref (Block7Data* _data7_) {
#line 559 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data7_->_ref_count_);
#line 559 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return _data7_;
#line 5018 "gitg-commit.c"
}


static void block7_data_unref (void * _userdata_) {
	Block7Data* _data7_;
	_data7_ = (Block7Data*) _userdata_;
#line 559 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data7_->_ref_count_)) {
#line 5027 "gitg-commit.c"
		GitgCommitActivity* self;
#line 559 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self = _data7_->self;
#line 559 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data7_->stage);
#line 559 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data7_->view);
#line 559 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 559 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block7Data, _data7_);
#line 5039 "gitg-commit.c"
	}
}


static void __lambda31_ (Block7Data* _data7_, GObject* obj, GAsyncResult* res) {
	GitgCommitActivity* self;
	GError * _inner_error_ = NULL;
#line 566 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data7_->self;
#line 566 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 5051 "gitg-commit.c"
	{
		GgitDiff* d = NULL;
		GAsyncResult* _tmp0_ = NULL;
		GgitDiff* _tmp1_ = NULL;
		GitgDiffView* _tmp2_ = NULL;
		GitgDiffView* _tmp3_ = NULL;
		gboolean _tmp4_ = FALSE;
		GitgCommitPaned* _tmp5_ = NULL;
		GtkButton* _tmp6_ = NULL;
		GtkButton* _tmp7_ = NULL;
		const gchar* _tmp8_ = NULL;
		GitgCommitPaned* _tmp9_ = NULL;
		GtkButton* _tmp10_ = NULL;
		GtkButton* _tmp11_ = NULL;
		gboolean _tmp12_ = FALSE;
		GitgCommitPaned* _tmp13_ = NULL;
		GtkButton* _tmp14_ = NULL;
		GtkButton* _tmp15_ = NULL;
		GitgDiffView* _tmp16_ = NULL;
		GitgDiffView* _tmp17_ = NULL;
#line 569 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = res;
#line 569 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = gitg_stage_diff_index_all_finish (_data7_->stage, _tmp0_, &_inner_error_);
#line 569 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		d = _tmp1_;
#line 569 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 5080 "gitg-commit.c"
			goto __catch17_g_error;
		}
#line 571 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = _data7_->view;
#line 571 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_unstaged (_tmp2_, FALSE);
#line 572 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp3_ = _data7_->view;
#line 572 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = _data7_->patchable;
#line 572 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_staged (_tmp3_, _tmp4_);
#line 574 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = self->priv->d_main;
#line 574 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = gitg_commit_paned_get_button_stage (_tmp5_);
#line 574 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 574 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = _ ("_Unstage selection");
#line 574 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gtk_button_set_label (_tmp7_, _tmp8_);
#line 575 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = self->priv->d_main;
#line 575 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = gitg_commit_paned_get_button_stage (_tmp9_);
#line 575 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = _tmp10_;
#line 575 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp12_ = _data7_->patchable;
#line 575 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp11_, _tmp12_);
#line 576 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp13_ = self->priv->d_main;
#line 576 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp14_ = gitg_commit_paned_get_button_discard (_tmp13_);
#line 576 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp15_ = _tmp14_;
#line 576 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp15_, FALSE);
#line 578 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp16_ = _data7_->view;
#line 578 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_new_is_workdir (_tmp16_, FALSE);
#line 579 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp17_ = _data7_->view;
#line 579 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_diff (_tmp17_, d);
#line 567 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (d);
#line 5131 "gitg-commit.c"
	}
	goto __finally17;
	__catch17_g_error:
	{
		GitgDiffView* _tmp18_ = NULL;
#line 567 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 567 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_inner_error_ = NULL;
#line 584 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp18_ = _data7_->view;
#line 584 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_diff (_tmp18_, NULL);
#line 5145 "gitg-commit.c"
	}
	__finally17:
#line 567 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 567 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.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 567 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 567 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 5156 "gitg-commit.c"
	}
}


static void ___lambda31__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 566 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__lambda31_ (self, source_object, res);
#line 566 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block7_data_unref (self);
#line 5166 "gitg-commit.c"
}


static GitgStageStatusItem** _vala_array_dup4 (GitgStageStatusItem** self, int length) {
	GitgStageStatusItem** result;
	int i;
#line 588 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = g_new0 (GitgStageStatusItem*, length + 1);
#line 588 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	for (i = 0; i < length; i++) {
#line 5177 "gitg-commit.c"
		GitgStageStatusItem* _tmp0_ = NULL;
#line 588 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _g_object_ref0 (self[i]);
#line 588 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		result[i] = _tmp0_;
#line 5183 "gitg-commit.c"
	}
#line 588 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 5187 "gitg-commit.c"
}


static void gitg_commit_activity_show_staged_diff_intern (GitgCommitActivity* self, GitgRepository* repository, GitgDiffView* view, GitgStageStatusItem** items, int items_length1, gboolean patchable) {
	Block7Data* _data7_;
	GitgDiffView* _tmp0_ = NULL;
	GitgDiffView* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
	GitgRepository* _tmp3_ = NULL;
	GitgStage* _tmp4_ = NULL;
	GitgStage* _tmp5_ = NULL;
	GitgStageStatusItem** _tmp6_ = NULL;
	gint _tmp6__length1 = 0;
	GitgDiffView* _tmp7_ = NULL;
	GgitDiffOptions* _tmp8_ = NULL;
	GgitDiffOptions* _tmp9_ = NULL;
	GitgRepository* _tmp10_ = NULL;
	GitgDiffView* _tmp11_ = NULL;
	GitgStageStatusItem** _tmp12_ = NULL;
	gint _tmp12__length1 = 0;
	GitgStageStatusItem** _tmp13_ = NULL;
	gint _tmp13__length1 = 0;
	gboolean _tmp14_ = FALSE;
#line 559 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 559 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (repository != NULL);
#line 559 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (view != NULL);
#line 559 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data7_ = g_slice_new0 (Block7Data);
#line 559 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data7_->_ref_count_ = 1;
#line 559 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data7_->self = g_object_ref (self);
#line 559 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = view;
#line 559 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 559 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data7_->view);
#line 559 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data7_->view = _tmp1_;
#line 559 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = patchable;
#line 559 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data7_->patchable = _tmp2_;
#line 564 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = repository;
#line 564 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = gitg_repository_get_stage (_tmp3_);
#line 564 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = _tmp4_;
#line 564 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data7_->stage = _tmp5_;
#line 566 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = items;
#line 566 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp6__length1 = items_length1;
#line 566 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = _data7_->view;
#line 566 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = gitg_diff_view_get_options (_tmp7_);
#line 566 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = _tmp8_;
#line 566 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_stage_diff_index_all (_data7_->stage, _tmp6_, _tmp6__length1, _tmp9_, ___lambda31__gasync_ready_callback, block7_data_ref (_data7_));
#line 588 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = repository;
#line 588 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp11_ = _data7_->view;
#line 588 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp12_ = items;
#line 588 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp12__length1 = items_length1;
#line 588 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp13_ = (_tmp12_ != NULL) ? _vala_array_dup4 (_tmp12_, _tmp12__length1) : ((gpointer) _tmp12_);
#line 588 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp13__length1 = _tmp12__length1;
#line 588 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp14_ = _data7_->patchable;
#line 588 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_set_staged_diff_update_callback (self, _tmp10_, _tmp11_, _tmp13_, _tmp13__length1, _tmp14_);
#line 559 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block7_data_unref (_data7_);
#line 559 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data7_ = NULL;
#line 5275 "gitg-commit.c"
}


static void gitg_commit_activity_show_staged_diff (GitgCommitActivity* self, GitgStageStatusItem** items, int items_length1) {
	gboolean _tmp0_ = FALSE;
	GitgStageStatusItem** _tmp1_ = NULL;
	gint _tmp1__length1 = 0;
#line 591 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 593 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = items;
#line 593 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1__length1 = items_length1;
#line 593 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp1__length1 == 1) {
#line 5291 "gitg-commit.c"
		GitgStageStatusItem** _tmp2_ = NULL;
		gint _tmp2__length1 = 0;
		GitgStageStatusItem* _tmp3_ = NULL;
#line 593 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = items;
#line 593 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp2__length1 = items_length1;
#line 593 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp3_ = _tmp2_[0];
#line 593 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp3_, GITG_TYPE_STAGE_STATUS_SUBMODULE);
#line 5303 "gitg-commit.c"
	} else {
#line 593 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = FALSE;
#line 5307 "gitg-commit.c"
	}
#line 593 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp0_) {
#line 5311 "gitg-commit.c"
		GitgStageStatusItem** _tmp4_ = NULL;
		gint _tmp4__length1 = 0;
		GitgStageStatusItem* _tmp5_ = NULL;
#line 595 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = items;
#line 595 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp4__length1 = items_length1;
#line 595 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = _tmp4_[0];
#line 595 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_show_submodule_history (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GITG_TYPE_STAGE_STATUS_SUBMODULE, GitgStageStatusSubmodule), GITG_COMMIT_ACTIVITY_INDEX_TYPE_STAGED);
#line 5323 "gitg-commit.c"
	} else {
		GitgExtApplication* _tmp6_ = NULL;
		GitgExtApplication* _tmp7_ = NULL;
		GitgExtApplication* _tmp8_ = NULL;
		GitgRepository* _tmp9_ = NULL;
		GitgRepository* _tmp10_ = NULL;
		GitgRepository* _tmp11_ = NULL;
		GitgCommitPaned* _tmp12_ = NULL;
		GitgDiffView* _tmp13_ = NULL;
		GitgDiffView* _tmp14_ = NULL;
		GitgStageStatusItem** _tmp15_ = NULL;
		gint _tmp15__length1 = 0;
#line 599 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_show_ui (self, GITG_COMMIT_ACTIVITY_UI_TYPE_DIFF);
#line 600 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 600 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 600 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = _tmp7_;
#line 600 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = gitg_ext_application_get_repository (_tmp8_);
#line 600 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = _tmp9_;
#line 600 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = _tmp10_;
#line 600 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp12_ = self->priv->d_main;
#line 600 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp13_ = gitg_commit_paned_get_diff_view (_tmp12_);
#line 600 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp14_ = _tmp13_;
#line 600 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp15_ = items;
#line 600 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp15__length1 = items_length1;
#line 600 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_show_staged_diff_intern (self, _tmp11_, _tmp14_, _tmp15_, _tmp15__length1, TRUE);
#line 600 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp11_);
#line 600 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp8_);
#line 5366 "gitg-commit.c"
	}
}


static void gitg_commit_activity_unstage_item_data_free (gpointer _data) {
	GitgCommitActivityUnstageItemData* _data_;
	_data_ = _data;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->item);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_data_->removal_msg);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_data_->unstage_msg);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_slice_free (GitgCommitActivityUnstageItemData, _data_);
#line 5384 "gitg-commit.c"
}


static void gitg_commit_activity_unstage_item (GitgCommitActivity* self, GitgStageStatusItem* item, gboolean isnew, const gchar* removal_msg, const gchar* unstage_msg, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgCommitActivityUnstageItemData* _data_;
	GitgCommitActivity* _tmp0_ = NULL;
	GitgStageStatusItem* _tmp1_ = NULL;
	GitgStageStatusItem* _tmp2_ = NULL;
	gboolean _tmp3_ = FALSE;
	const gchar* _tmp4_ = NULL;
	gchar* _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
	gchar* _tmp7_ = NULL;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_slice_new0 (GitgCommitActivityUnstageItemData);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_commit_activity_unstage_item);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_commit_activity_unstage_item_data_free);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->self = _tmp0_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = item;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->item);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->item = _tmp2_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = isnew;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->isnew = _tmp3_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = removal_msg;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = g_strdup (_tmp4_);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_data_->removal_msg);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->removal_msg = _tmp5_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = unstage_msg;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = g_strdup (_tmp6_);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_data_->unstage_msg);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->unstage_msg = _tmp7_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_unstage_item_co (_data_);
#line 5438 "gitg-commit.c"
}


static gboolean gitg_commit_activity_unstage_item_finish (GitgCommitActivity* self, GAsyncResult* _res_) {
	gboolean result;
	GitgCommitActivityUnstageItemData* _data_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = _data_->result;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 5451 "gitg-commit.c"
}


static void gitg_commit_activity_unstage_item_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgCommitActivityUnstageItemData* _data_;
#line 612 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = _user_data_;
#line 612 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_source_object_ = source_object;
#line 612 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_res_ = _res_;
#line 612 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_unstage_item_co (_data_);
#line 5465 "gitg-commit.c"
}


static gboolean gitg_commit_activity_unstage_item_co (GitgCommitActivityUnstageItemData* _data_) {
#line 604 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	switch (_data_->_state_) {
#line 604 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 0:
#line 5474 "gitg-commit.c"
		goto _state_0;
#line 604 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 1:
#line 5478 "gitg-commit.c"
		goto _state_1;
#line 604 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 2:
#line 5482 "gitg-commit.c"
		goto _state_2;
		default:
#line 604 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_assert_not_reached ();
#line 5487 "gitg-commit.c"
	}
	_state_0:
#line 606 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = NULL;
#line 606 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 606 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp1_ = NULL;
#line 606 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 606 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp2_ = NULL;
#line 606 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 606 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp3_ = NULL;
#line 606 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp3_ = gitg_ext_application_get_repository (_data_->_tmp2_);
#line 606 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4_ = NULL;
#line 606 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 606 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp5_ = NULL;
#line 606 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp5_ = _data_->_tmp4_;
#line 606 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp6_ = NULL;
#line 606 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp6_ = gitg_repository_get_stage (_data_->_tmp5_);
#line 606 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp7_ = NULL;
#line 606 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp7_ = _data_->_tmp6_;
#line 606 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp8_ = NULL;
#line 606 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp8_ = _data_->_tmp7_;
#line 606 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->_tmp5_);
#line 606 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->_tmp2_);
#line 606 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->stage = _data_->_tmp8_;
#line 608 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9_ = FALSE;
#line 608 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9_ = _data_->isnew;
#line 608 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_tmp9_) {
#line 5538 "gitg-commit.c"
		{
#line 612 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp10_ = NULL;
#line 612 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp10_ = _data_->stage;
#line 612 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp11_ = NULL;
#line 612 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp11_ = _data_->item;
#line 612 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp12_ = NULL;
#line 612 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp12_ = gitg_stage_status_item_get_path (_data_->_tmp11_);
#line 612 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp13_ = NULL;
#line 612 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp13_ = _data_->_tmp12_;
#line 612 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp14_ = NULL;
#line 612 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp14_ = _data_->_tmp13_;
#line 612 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_state_ = 1;
#line 612 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_stage_delete_path (_data_->_tmp10_, _data_->_tmp14_, gitg_commit_activity_unstage_item_ready, _data_);
#line 612 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 5566 "gitg-commit.c"
			_state_1:
#line 612 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_stage_delete_path_finish (_data_->_tmp10_, _data_->_res_, &_data_->_inner_error_);
#line 612 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->_tmp14_);
#line 612 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 5574 "gitg-commit.c"
				goto __catch18_g_error;
			}
		}
		goto __finally18;
		__catch18_g_error:
		{
#line 610 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->e = _data_->_inner_error_;
#line 610 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_inner_error_ = NULL;
#line 616 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp15_ = NULL;
#line 616 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp15_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 616 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp16_ = NULL;
#line 616 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp16_ = _data_->_tmp15_;
#line 616 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp17_ = NULL;
#line 616 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp17_ = _data_->_tmp16_;
#line 616 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp18_ = NULL;
#line 616 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp18_ = _data_->removal_msg;
#line 616 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp19_ = NULL;
#line 616 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp19_ = _data_->e;
#line 616 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp20_ = NULL;
#line 616 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp20_ = _data_->_tmp19_->message;
#line 616 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_ext_application_show_infobar (_data_->_tmp17_, _data_->_tmp18_, _data_->_tmp20_, GTK_MESSAGE_ERROR);
#line 616 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->_tmp17_);
#line 617 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->result = FALSE;
#line 617 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_error_free0 (_data_->e);
#line 617 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->stage);
#line 617 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			if (_data_->_state_ == 0) {
#line 617 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5623 "gitg-commit.c"
			} else {
#line 617 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 5627 "gitg-commit.c"
			}
#line 617 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			g_object_unref (_data_->_async_result);
#line 617 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 5633 "gitg-commit.c"
		}
		__finally18:
#line 610 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 610 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->stage);
#line 610 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.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 610 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			g_clear_error (&_data_->_inner_error_);
#line 610 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 5646 "gitg-commit.c"
		}
	} else {
		{
#line 624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp21_ = NULL;
#line 624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp21_ = _data_->stage;
#line 624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp22_ = NULL;
#line 624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp22_ = _data_->item;
#line 624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp23_ = NULL;
#line 624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp23_ = gitg_stage_status_item_get_path (_data_->_tmp22_);
#line 624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp24_ = NULL;
#line 624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp24_ = _data_->_tmp23_;
#line 624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp25_ = NULL;
#line 624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp25_ = _data_->_tmp24_;
#line 624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_state_ = 2;
#line 624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_stage_unstage_path (_data_->_tmp21_, _data_->_tmp25_, gitg_commit_activity_unstage_item_ready, _data_);
#line 624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 5676 "gitg-commit.c"
			_state_2:
#line 624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_stage_unstage_path_finish (_data_->_tmp21_, _data_->_res_, &_data_->_inner_error_);
#line 624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->_tmp25_);
#line 624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 5684 "gitg-commit.c"
				goto __catch19_g_error;
			}
		}
		goto __finally19;
		__catch19_g_error:
		{
#line 622 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_vala1_e = _data_->_inner_error_;
#line 622 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_inner_error_ = NULL;
#line 628 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp26_ = NULL;
#line 628 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp26_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 628 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp27_ = NULL;
#line 628 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp27_ = _data_->_tmp26_;
#line 628 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp28_ = NULL;
#line 628 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp28_ = _data_->_tmp27_;
#line 628 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp29_ = NULL;
#line 628 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp29_ = _data_->unstage_msg;
#line 628 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp30_ = NULL;
#line 628 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp30_ = _data_->_vala1_e;
#line 628 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp31_ = NULL;
#line 628 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp31_ = _data_->_tmp30_->message;
#line 628 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_ext_application_show_infobar (_data_->_tmp28_, _data_->_tmp29_, _data_->_tmp31_, GTK_MESSAGE_ERROR);
#line 628 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->_tmp28_);
#line 629 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->result = FALSE;
#line 629 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_error_free0 (_data_->_vala1_e);
#line 629 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->stage);
#line 629 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			if (_data_->_state_ == 0) {
#line 629 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5733 "gitg-commit.c"
			} else {
#line 629 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 5737 "gitg-commit.c"
			}
#line 629 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			g_object_unref (_data_->_async_result);
#line 629 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 5743 "gitg-commit.c"
		}
		__finally19:
#line 622 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 622 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->stage);
#line 622 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.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 622 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			g_clear_error (&_data_->_inner_error_);
#line 622 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 5756 "gitg-commit.c"
		}
	}
#line 633 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->result = TRUE;
#line 633 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->stage);
#line 633 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ == 0) {
#line 633 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5767 "gitg-commit.c"
	} else {
#line 633 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 5771 "gitg-commit.c"
	}
#line 633 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 633 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 604 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->stage);
#line 604 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ == 0) {
#line 604 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5783 "gitg-commit.c"
	} else {
#line 604 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 5787 "gitg-commit.c"
	}
#line 604 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 604 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 5793 "gitg-commit.c"
}


static void gitg_commit_activity_unstage_file_data_free (gpointer _data) {
	GitgCommitActivityUnstageFileData* _data_;
	_data_ = _data;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->file);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_slice_free (GitgCommitActivityUnstageFileData, _data_);
#line 5806 "gitg-commit.c"
}


static void gitg_commit_activity_unstage_file (GitgCommitActivity* self, GitgStageStatusFile* file, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgCommitActivityUnstageFileData* _data_;
	GitgCommitActivity* _tmp0_ = NULL;
	GitgStageStatusFile* _tmp1_ = NULL;
	GitgStageStatusFile* _tmp2_ = NULL;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_slice_new0 (GitgCommitActivityUnstageFileData);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_commit_activity_unstage_file);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_commit_activity_unstage_file_data_free);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->self = _tmp0_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = file;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->file);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->file = _tmp2_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_unstage_file_co (_data_);
#line 5835 "gitg-commit.c"
}


static gboolean gitg_commit_activity_unstage_file_finish (GitgCommitActivity* self, GAsyncResult* _res_) {
	gboolean result;
	GitgCommitActivityUnstageFileData* _data_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = _data_->result;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 5848 "gitg-commit.c"
}


static void gitg_commit_activity_unstage_file_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgCommitActivityUnstageFileData* _data_;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = _user_data_;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_source_object_ = source_object;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_res_ = _res_;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_unstage_file_co (_data_);
#line 5862 "gitg-commit.c"
}


static gboolean gitg_commit_activity_unstage_file_co (GitgCommitActivityUnstageFileData* _data_) {
#line 636 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	switch (_data_->_state_) {
#line 636 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 0:
#line 5871 "gitg-commit.c"
		goto _state_0;
#line 636 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 1:
#line 5875 "gitg-commit.c"
		goto _state_1;
		default:
#line 636 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_assert_not_reached ();
#line 5880 "gitg-commit.c"
	}
	_state_0:
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = NULL;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = _data_->file;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp1_ = NULL;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp1_ = _data_->file;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp2_ = 0;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp2_ = gitg_stage_status_file_get_flags (_data_->_tmp1_);
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp3_ = 0;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp3_ = _data_->_tmp2_;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4_ = NULL;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4_ = _ ("Failed to unstage the removal of file `%s'");
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp5_ = NULL;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp5_ = _data_->file;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp6_ = NULL;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp6_ = gitg_stage_status_item_get_path ((GitgStageStatusItem*) _data_->_tmp5_);
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp7_ = NULL;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp7_ = _data_->_tmp6_;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp8_ = NULL;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp8_ = _data_->_tmp7_;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9_ = NULL;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9_ = g_strdup_printf (_data_->_tmp4_, _data_->_tmp8_);
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp10_ = NULL;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp10_ = _data_->_tmp9_;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp11_ = NULL;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp11_ = _ ("Failed to unstage the file `%s'");
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp12_ = NULL;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp12_ = _data_->file;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp13_ = NULL;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp13_ = gitg_stage_status_item_get_path ((GitgStageStatusItem*) _data_->_tmp12_);
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp14_ = NULL;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp14_ = _data_->_tmp13_;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp15_ = NULL;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp15_ = _data_->_tmp14_;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp16_ = NULL;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp16_ = g_strdup_printf (_data_->_tmp11_, _data_->_tmp15_);
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp17_ = NULL;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp17_ = _data_->_tmp16_;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_state_ = 1;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_unstage_item (_data_->self, (GitgStageStatusItem*) _data_->_tmp0_, (_data_->_tmp3_ & GGIT_STATUS_INDEX_NEW) != 0, _data_->_tmp10_, _data_->_tmp17_, gitg_commit_activity_unstage_file_ready, _data_);
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 5961 "gitg-commit.c"
	_state_1:
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp18_ = FALSE;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp18_ = gitg_commit_activity_unstage_item_finish (_data_->self, _data_->_res_);
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp19_ = FALSE;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp19_ = _data_->_tmp18_;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_data_->_tmp17_);
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_data_->_tmp15_);
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_data_->_tmp10_);
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_data_->_tmp8_);
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->result = _data_->_tmp19_;
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ == 0) {
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5985 "gitg-commit.c"
	} else {
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 5989 "gitg-commit.c"
	}
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 636 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ == 0) {
#line 636 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5999 "gitg-commit.c"
	} else {
#line 636 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 6003 "gitg-commit.c"
	}
#line 636 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 636 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 6009 "gitg-commit.c"
}


static void gitg_commit_activity_unstage_submodule_data_free (gpointer _data) {
	GitgCommitActivityUnstageSubmoduleData* _data_;
	_data_ = _data;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->sub);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_slice_free (GitgCommitActivityUnstageSubmoduleData, _data_);
#line 6022 "gitg-commit.c"
}


static void gitg_commit_activity_unstage_submodule (GitgCommitActivity* self, GitgStageStatusSubmodule* sub, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgCommitActivityUnstageSubmoduleData* _data_;
	GitgCommitActivity* _tmp0_ = NULL;
	GitgStageStatusSubmodule* _tmp1_ = NULL;
	GitgStageStatusSubmodule* _tmp2_ = NULL;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_slice_new0 (GitgCommitActivityUnstageSubmoduleData);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_commit_activity_unstage_submodule);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_commit_activity_unstage_submodule_data_free);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->self = _tmp0_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = sub;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->sub);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->sub = _tmp2_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_unstage_submodule_co (_data_);
#line 6051 "gitg-commit.c"
}


static gboolean gitg_commit_activity_unstage_submodule_finish (GitgCommitActivity* self, GAsyncResult* _res_) {
	gboolean result;
	GitgCommitActivityUnstageSubmoduleData* _data_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = _data_->result;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 6064 "gitg-commit.c"
}


static void gitg_commit_activity_unstage_submodule_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgCommitActivityUnstageSubmoduleData* _data_;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = _user_data_;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_source_object_ = source_object;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_res_ = _res_;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_unstage_submodule_co (_data_);
#line 6078 "gitg-commit.c"
}


static gboolean gitg_commit_activity_unstage_submodule_co (GitgCommitActivityUnstageSubmoduleData* _data_) {
#line 644 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	switch (_data_->_state_) {
#line 644 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 0:
#line 6087 "gitg-commit.c"
		goto _state_0;
#line 644 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 1:
#line 6091 "gitg-commit.c"
		goto _state_1;
		default:
#line 644 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_assert_not_reached ();
#line 6096 "gitg-commit.c"
	}
	_state_0:
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = NULL;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = _data_->sub;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp1_ = NULL;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp1_ = _data_->sub;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp2_ = 0;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp2_ = gitg_stage_status_submodule_get_flags (_data_->_tmp1_);
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp3_ = 0;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp3_ = _data_->_tmp2_;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4_ = NULL;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4_ = _ ("Failed to unstage the removal of submodule `%s'");
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp5_ = NULL;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp5_ = _data_->sub;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp6_ = NULL;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp6_ = gitg_stage_status_item_get_path ((GitgStageStatusItem*) _data_->_tmp5_);
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp7_ = NULL;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp7_ = _data_->_tmp6_;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp8_ = NULL;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp8_ = _data_->_tmp7_;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9_ = NULL;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9_ = g_strdup_printf (_data_->_tmp4_, _data_->_tmp8_);
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp10_ = NULL;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp10_ = _data_->_tmp9_;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp11_ = NULL;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp11_ = _ ("Failed to unstage the submodule `%s'");
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp12_ = NULL;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp12_ = _data_->sub;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp13_ = NULL;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp13_ = gitg_stage_status_item_get_path ((GitgStageStatusItem*) _data_->_tmp12_);
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp14_ = NULL;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp14_ = _data_->_tmp13_;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp15_ = NULL;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp15_ = _data_->_tmp14_;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp16_ = NULL;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp16_ = g_strdup_printf (_data_->_tmp11_, _data_->_tmp15_);
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp17_ = NULL;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp17_ = _data_->_tmp16_;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_state_ = 1;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_unstage_item (_data_->self, (GitgStageStatusItem*) _data_->_tmp0_, (_data_->_tmp3_ & GGIT_SUBMODULE_STATUS_INDEX_ADDED) != 0, _data_->_tmp10_, _data_->_tmp17_, gitg_commit_activity_unstage_submodule_ready, _data_);
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 6177 "gitg-commit.c"
	_state_1:
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp18_ = FALSE;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp18_ = gitg_commit_activity_unstage_item_finish (_data_->self, _data_->_res_);
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp19_ = FALSE;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp19_ = _data_->_tmp18_;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_data_->_tmp17_);
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_data_->_tmp15_);
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_data_->_tmp10_);
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_data_->_tmp8_);
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->result = _data_->_tmp19_;
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ == 0) {
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 6201 "gitg-commit.c"
	} else {
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 6205 "gitg-commit.c"
	}
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 644 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ == 0) {
#line 644 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 6215 "gitg-commit.c"
	} else {
#line 644 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 6219 "gitg-commit.c"
	}
#line 644 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 644 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 6225 "gitg-commit.c"
}


static void ___lambda27_ (GitgCommitActivity* self, GObject* obj, GAsyncResult* res) {
	GAsyncResult* _tmp0_ = NULL;
#line 664 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 665 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = res;
#line 665 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_unstage_submodule_finish (self, _tmp0_);
#line 666 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_reload (self);
#line 6239 "gitg-commit.c"
}


static void ____lambda27__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 664 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	___lambda27_ ((GitgCommitActivity*) self, source_object, res);
#line 664 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (self);
#line 6248 "gitg-commit.c"
}


static void gitg_commit_activity_unstage_submodule_at (GitgCommitActivity* self, GitgCommit* commit) {
	GgitCommitParents* parents = NULL;
	GitgCommit* _tmp0_ = NULL;
	GgitCommitParents* _tmp1_ = NULL;
	GgitCommitParents* _tmp2_ = NULL;
	guint _tmp3_ = 0U;
	guint _tmp4_ = 0U;
#line 652 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 652 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (commit != NULL);
#line 654 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = commit;
#line 654 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = ggit_commit_get_parents ((GgitCommit*) _tmp0_);
#line 654 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	parents = _tmp1_;
#line 656 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = parents;
#line 656 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = ggit_commit_parents_get_size (_tmp2_);
#line 656 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _tmp3_;
#line 656 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp4_ != ((guint) 0)) {
#line 6277 "gitg-commit.c"
		GgitCommitParents* _tmp5_ = NULL;
		GgitCommit* _tmp6_ = NULL;
		GitgCommit* _tmp7_ = NULL;
		GitgCommit* _tmp8_ = NULL;
#line 658 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_ignore_external_changes = TRUE;
#line 659 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = parents;
#line 659 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = ggit_commit_parents_get (_tmp5_, (guint) 0);
#line 659 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp6_, GITG_TYPE_COMMIT) ? ((GitgCommit*) _tmp6_) : NULL;
#line 659 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp7_ == NULL) {
#line 659 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_tmp6_);
#line 6294 "gitg-commit.c"
		}
#line 659 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = _tmp7_;
#line 659 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_stage_submodule_at (self, _tmp8_);
#line 659 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp8_);
#line 6302 "gitg-commit.c"
	} else {
		GitgStageStatusSubmodule* _tmp9_ = NULL;
#line 663 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_ignore_external_changes = TRUE;
#line 664 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = self->priv->d_current_submodule;
#line 664 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_unstage_submodule (self, _tmp9_, ____lambda27__gasync_ready_callback, g_object_ref (self));
#line 6311 "gitg-commit.c"
	}
#line 652 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (parents);
#line 6315 "gitg-commit.c"
}


static void gitg_commit_activity_unstage_items_data_free (gpointer _data) {
	GitgCommitActivityUnstageItemsData* _data_;
	_data_ = _data;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->items = (_vala_array_free (_data_->items, _data_->items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_slice_free (GitgCommitActivityUnstageItemsData, _data_);
#line 6328 "gitg-commit.c"
}


static void gitg_commit_activity_unstage_items (GitgCommitActivity* self, GitgStageStatusItem** items, int items_length1, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgCommitActivityUnstageItemsData* _data_;
	GitgCommitActivity* _tmp0_ = NULL;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_slice_new0 (GitgCommitActivityUnstageItemsData);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_commit_activity_unstage_items);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_commit_activity_unstage_items_data_free);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->self = _tmp0_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->items = (_vala_array_free (_data_->items, _data_->items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->items = items;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->items_length1 = items_length1;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_unstage_items_co (_data_);
#line 6353 "gitg-commit.c"
}


static void gitg_commit_activity_unstage_items_finish (GitgCommitActivity* self, GAsyncResult* _res_) {
	GitgCommitActivityUnstageItemsData* _data_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 6361 "gitg-commit.c"
}


static void gitg_commit_activity_unstage_items_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgCommitActivityUnstageItemsData* _data_;
#line 680 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = _user_data_;
#line 680 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_source_object_ = source_object;
#line 680 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_res_ = _res_;
#line 680 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_unstage_items_co (_data_);
#line 6375 "gitg-commit.c"
}


static gboolean gitg_commit_activity_unstage_items_co (GitgCommitActivityUnstageItemsData* _data_) {
#line 671 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	switch (_data_->_state_) {
#line 671 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 0:
#line 6384 "gitg-commit.c"
		goto _state_0;
#line 671 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 1:
#line 6388 "gitg-commit.c"
		goto _state_1;
#line 671 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 2:
#line 6392 "gitg-commit.c"
		goto _state_2;
		default:
#line 671 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_assert_not_reached ();
#line 6397 "gitg-commit.c"
	}
	_state_0:
#line 673 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = NULL;
#line 673 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0__length1 = 0;
#line 673 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = _data_->items;
#line 673 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0__length1 = _data_->items_length1;
#line 6408 "gitg-commit.c"
	{
#line 673 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->item_collection_length1 = 0;
#line 673 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_item_collection_size_ = 0;
#line 673 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->item_collection = _data_->_tmp0_;
#line 673 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->item_collection_length1 = _data_->_tmp0__length1;
#line 673 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		for (_data_->item_it = 0; _data_->item_it < _data_->_tmp0__length1; _data_->item_it = _data_->item_it + 1) {
#line 673 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp1_ = NULL;
#line 673 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp1_ = _g_object_ref0 (_data_->item_collection[_data_->item_it]);
#line 673 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->item = _data_->_tmp1_;
#line 6426 "gitg-commit.c"
			{
#line 675 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->ok = TRUE;
#line 677 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp2_ = NULL;
#line 677 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp2_ = _data_->item;
#line 677 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				if (G_TYPE_CHECK_INSTANCE_TYPE (_data_->_tmp2_, GITG_TYPE_STAGE_STATUS_FILE)) {
#line 679 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->self->priv->d_ignore_external_changes = TRUE;
#line 680 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp3_ = NULL;
#line 680 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp3_ = _data_->item;
#line 680 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->_state_ = 1;
#line 680 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					gitg_commit_activity_unstage_file (_data_->self, G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp3_, GITG_TYPE_STAGE_STATUS_FILE, GitgStageStatusFile), gitg_commit_activity_unstage_items_ready, _data_);
#line 680 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					return FALSE;
#line 6448 "gitg-commit.c"
					_state_1:
#line 680 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp4_ = FALSE;
#line 680 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp4_ = gitg_commit_activity_unstage_file_finish (_data_->self, _data_->_res_);
#line 680 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->ok = _data_->_tmp4_;
#line 6456 "gitg-commit.c"
				} else {
#line 682 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp5_ = NULL;
#line 682 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp5_ = _data_->item;
#line 682 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					if (G_TYPE_CHECK_INSTANCE_TYPE (_data_->_tmp5_, GITG_TYPE_STAGE_STATUS_SUBMODULE)) {
#line 684 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_data_->self->priv->d_ignore_external_changes = TRUE;
#line 685 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_data_->_tmp6_ = NULL;
#line 685 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_data_->_tmp6_ = _data_->item;
#line 685 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_data_->_state_ = 2;
#line 685 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						gitg_commit_activity_unstage_submodule (_data_->self, G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp6_, GITG_TYPE_STAGE_STATUS_SUBMODULE, GitgStageStatusSubmodule), gitg_commit_activity_unstage_items_ready, _data_);
#line 685 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						return FALSE;
#line 6476 "gitg-commit.c"
						_state_2:
#line 685 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_data_->_tmp7_ = FALSE;
#line 685 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_data_->_tmp7_ = gitg_commit_activity_unstage_submodule_finish (_data_->self, _data_->_res_);
#line 685 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_data_->ok = _data_->_tmp7_;
#line 6484 "gitg-commit.c"
					} else {
#line 689 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						g_assert_not_reached ();
#line 6488 "gitg-commit.c"
					}
				}
#line 692 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp8_ = FALSE;
#line 692 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp8_ = _data_->ok;
#line 692 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				if (!_data_->_tmp8_) {
#line 694 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_g_object_unref0 (_data_->item);
#line 694 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					break;
#line 6501 "gitg-commit.c"
				}
#line 673 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_data_->item);
#line 6505 "gitg-commit.c"
			}
		}
	}
#line 698 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_reload (_data_->self);
#line 671 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->items = (_vala_array_free (_data_->items, _data_->items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 671 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ == 0) {
#line 671 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 6517 "gitg-commit.c"
	} else {
#line 671 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 6521 "gitg-commit.c"
	}
#line 671 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 671 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 6527 "gitg-commit.c"
}


static GitgStageStatusItem** _vala_array_dup5 (GitgStageStatusItem** self, int length) {
	GitgStageStatusItem** result;
	int i;
#line 703 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = g_new0 (GitgStageStatusItem*, length + 1);
#line 703 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	for (i = 0; i < length; i++) {
#line 6538 "gitg-commit.c"
		GitgStageStatusItem* _tmp0_ = NULL;
#line 703 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _g_object_ref0 (self[i]);
#line 703 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		result[i] = _tmp0_;
#line 6544 "gitg-commit.c"
	}
#line 703 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 6548 "gitg-commit.c"
}


static void __lambda16_ (GitgCommitActivity* self, GObject* obj, GAsyncResult* res) {
	GAsyncResult* _tmp0_ = NULL;
#line 703 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 704 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = res;
#line 704 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_unstage_items_finish (self, _tmp0_);
#line 6560 "gitg-commit.c"
}


static void ___lambda16__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 703 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__lambda16_ ((GitgCommitActivity*) self, source_object, res);
#line 703 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (self);
#line 6569 "gitg-commit.c"
}


static void gitg_commit_activity_on_staged_activated (GitgCommitActivity* self, GitgStageStatusItem** items, int items_length1) {
	GitgStageStatusItem** _tmp0_ = NULL;
	gint _tmp0__length1 = 0;
	GitgStageStatusItem** _tmp1_ = NULL;
	gint _tmp1__length1 = 0;
#line 701 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 703 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = items;
#line 703 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__length1 = items_length1;
#line 703 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup5 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_);
#line 703 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1__length1 = _tmp0__length1;
#line 703 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_unstage_items (self, _tmp1_, _tmp1__length1, ___lambda16__gasync_ready_callback, g_object_ref (self));
#line 6590 "gitg-commit.c"
}


static Block8Data* block8_data_ref (Block8Data* _data8_) {
#line 708 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data8_->_ref_count_);
#line 708 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return _data8_;
#line 6599 "gitg-commit.c"
}


static void block8_data_unref (void * _userdata_) {
	Block8Data* _data8_;
	_data8_ = (Block8Data*) _userdata_;
#line 708 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data8_->_ref_count_)) {
#line 6608 "gitg-commit.c"
		GitgCommitActivity* self;
#line 708 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self = _data8_->self;
#line 708 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 708 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block8Data, _data8_);
#line 6616 "gitg-commit.c"
	}
}


static GitgStageStatusItem** _vala_array_dup6 (GitgStageStatusItem** self, int length) {
	GitgStageStatusItem** result;
	int i;
#line 716 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = g_new0 (GitgStageStatusItem*, length + 1);
#line 716 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	for (i = 0; i < length; i++) {
#line 6628 "gitg-commit.c"
		GitgStageStatusItem* _tmp0_ = NULL;
#line 716 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _g_object_ref0 (self[i]);
#line 716 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		result[i] = _tmp0_;
#line 6634 "gitg-commit.c"
	}
#line 716 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 6638 "gitg-commit.c"
}


static gint __lambda17_ (GitgCommitActivity* self, GitgStageStatusItem* a, GitgStageStatusItem* b) {
	gint result = 0;
	GitgStageStatusItem* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	gchar* _tmp5_ = NULL;
	GitgStageStatusItem* _tmp6_ = NULL;
	gchar* _tmp7_ = NULL;
	gchar* _tmp8_ = NULL;
	gchar* _tmp9_ = NULL;
	gchar* _tmp10_ = NULL;
	gchar* _tmp11_ = NULL;
	gint _tmp12_ = 0;
	gint _tmp13_ = 0;
#line 718 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (a != NULL, 0);
#line 718 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (b != NULL, 0);
#line 719 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = a;
#line 719 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_stage_status_item_get_path (_tmp0_);
#line 719 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 719 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _tmp2_;
#line 719 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = g_utf8_casefold (_tmp3_, (gssize) -1);
#line 719 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = _tmp4_;
#line 719 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = b;
#line 719 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = gitg_stage_status_item_get_path (_tmp6_);
#line 719 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = _tmp7_;
#line 719 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = _tmp8_;
#line 719 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = g_utf8_casefold (_tmp9_, (gssize) -1);
#line 719 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp11_ = _tmp10_;
#line 719 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp12_ = g_utf8_collate (_tmp5_, _tmp11_);
#line 719 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp13_ = _tmp12_;
#line 719 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_tmp11_);
#line 719 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_tmp9_);
#line 719 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_tmp5_);
#line 719 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_tmp3_);
#line 719 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = _tmp13_;
#line 719 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 6702 "gitg-commit.c"
}


static gint ___lambda17__gcompare_data_func (gconstpointer a, gconstpointer b, gpointer self) {
	gint result;
	result = __lambda17_ ((GitgCommitActivity*) self, (GitgStageStatusItem*) a, (GitgStageStatusItem*) b);
#line 718 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 6711 "gitg-commit.c"
}


static Block9Data* block9_data_ref (Block9Data* _data9_) {
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data9_->_ref_count_);
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return _data9_;
#line 6720 "gitg-commit.c"
}


static void block9_data_unref (void * _userdata_) {
	Block9Data* _data9_;
	_data9_ = (Block9Data*) _userdata_;
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data9_->_ref_count_)) {
#line 6729 "gitg-commit.c"
		GitgCommitActivity* self;
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self = _data9_->_data8_->self;
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data9_->sitem);
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		block8_data_unref (_data9_->_data8_);
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data9_->_data8_ = NULL;
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block9Data, _data9_);
#line 6741 "gitg-commit.c"
	}
}


static void _vala_array_add2 (GitgCommitSidebarItem*** array, int* length, int* size, GitgCommitSidebarItem* value) {
#line 728 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if ((*length) == (*size)) {
#line 728 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 728 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		*array = g_renew (GitgCommitSidebarItem*, *array, (*size) + 1);
#line 6753 "gitg-commit.c"
	}
#line 728 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	(*array)[(*length)++] = value;
#line 728 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	(*array)[*length] = NULL;
#line 6759 "gitg-commit.c"
}


static void ____lambda18_ (Block9Data* _data9_, gint numclick) {
	Block8Data* _data8_;
	GitgCommitActivity* self;
	GitgCommitActivityStageUnstageCallback _tmp0_ = NULL;
	void* _tmp0__target = NULL;
	GitgCommitSidebarItem* _tmp1_ = NULL;
#line 731 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data8_ = _data9_->_data8_;
#line 731 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data8_->self;
#line 732 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _data8_->callback;
#line 732 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__target = _data8_->callback_target;
#line 732 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _data9_->sitem;
#line 732 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ (_tmp1_, _tmp0__target);
#line 6781 "gitg-commit.c"
}


static void _____lambda18__gitg_sidebar_item_activated (GitgSidebarItem* _sender, gint numclick, gpointer self) {
#line 731 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	____lambda18_ (self, numclick);
#line 6788 "gitg-commit.c"
}


static GitgCommitSidebarItem** gitg_commit_activity_append_items (GitgCommitActivity* self, GitgSidebarStore* model, GitgStageStatusItem** items, int items_length1, GitgCommitSidebarItemType type, GeeHashSet* selected_paths, GitgCommitActivityStageUnstageCallback callback, void* callback_target, int* result_length1) {
	GitgCommitSidebarItem** result = NULL;
	Block8Data* _data8_;
	GitgCommitActivityStageUnstageCallback _tmp0_ = NULL;
	void* _tmp0__target = NULL;
	GitgCommitSidebarItem** ret = NULL;
	GitgCommitSidebarItem** _tmp1_ = NULL;
	gint ret_length1 = 0;
	gint _ret_size_ = 0;
	GeeArrayList* sorted = NULL;
	GitgStageStatusItem** _tmp2_ = NULL;
	gint _tmp2__length1 = 0;
	GitgStageStatusItem** _tmp3_ = NULL;
	gint _tmp3__length1 = 0;
	GeeArrayList* _tmp4_ = NULL;
	GeeArrayList* _tmp5_ = NULL;
	GitgCommitSidebarItem** _tmp36_ = NULL;
	gint _tmp36__length1 = 0;
#line 708 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 708 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (model != NULL, NULL);
#line 708 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data8_ = g_slice_new0 (Block8Data);
#line 708 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data8_->_ref_count_ = 1;
#line 708 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data8_->self = g_object_ref (self);
#line 708 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = callback;
#line 708 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__target = callback_target;
#line 708 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data8_->callback = _tmp0_;
#line 708 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data8_->callback_target = _tmp0__target;
#line 714 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = g_new0 (GitgCommitSidebarItem*, 0 + 1);
#line 714 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	ret = _tmp1_;
#line 714 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	ret_length1 = 0;
#line 714 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_ret_size_ = ret_length1;
#line 716 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = items;
#line 716 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2__length1 = items_length1;
#line 716 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = (_tmp2_ != NULL) ? _vala_array_dup6 (_tmp2_, _tmp2__length1) : ((gpointer) _tmp2_);
#line 716 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3__length1 = _tmp2__length1;
#line 716 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = gee_array_list_new_wrap (GITG_TYPE_STAGE_STATUS_ITEM, (GBoxedCopyFunc) g_object_ref, g_object_unref, _tmp3_, _tmp3__length1, NULL, NULL, NULL);
#line 716 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	sorted = _tmp4_;
#line 718 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = sorted;
#line 718 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gee_list_sort ((GeeList*) _tmp5_, ___lambda17__gcompare_data_func, g_object_ref (self), g_object_unref);
#line 6852 "gitg-commit.c"
	{
		GeeArrayList* _item_list = NULL;
		GeeArrayList* _tmp6_ = NULL;
		GeeArrayList* _tmp7_ = NULL;
		gint _item_size = 0;
		GeeArrayList* _tmp8_ = NULL;
		gint _tmp9_ = 0;
		gint _tmp10_ = 0;
		gint _item_index = 0;
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = sorted;
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _g_object_ref0 (_tmp6_);
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_item_list = _tmp7_;
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = _item_list;
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp8_);
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = _tmp9_;
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_item_size = _tmp10_;
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_item_index = -1;
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		while (TRUE) {
#line 6880 "gitg-commit.c"
			Block9Data* _data9_;
			gint _tmp11_ = 0;
			gint _tmp12_ = 0;
			gint _tmp13_ = 0;
			GitgStageStatusItem* item = NULL;
			GeeArrayList* _tmp14_ = NULL;
			gint _tmp15_ = 0;
			gpointer _tmp16_ = NULL;
			GitgStageStatusItem* _tmp17_ = NULL;
			GitgCommitSidebarItemType _tmp18_ = 0;
			GitgCommitSidebarItem* _tmp19_ = NULL;
			gboolean _tmp20_ = FALSE;
			GeeHashSet* _tmp21_ = NULL;
			GitgCommitSidebarItem* _tmp31_ = NULL;
			GitgSidebarStore* _tmp32_ = NULL;
			GitgCommitSidebarItem* _tmp33_ = NULL;
			GitgSidebarStore* _tmp34_ = NULL;
			GitgSidebarStore* _tmp35_ = NULL;
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data9_ = g_slice_new0 (Block9Data);
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data9_->_ref_count_ = 1;
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data9_->_data8_ = block8_data_ref (_data8_);
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp11_ = _item_index;
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_item_index = _tmp11_ + 1;
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp12_ = _item_index;
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp13_ = _item_size;
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			if (!(_tmp12_ < _tmp13_)) {
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				block9_data_unref (_data9_);
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data9_ = NULL;
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				break;
#line 6921 "gitg-commit.c"
			}
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp14_ = _item_list;
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp15_ = _item_index;
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp16_ = gee_abstract_list_get ((GeeAbstractList*) _tmp14_, _tmp15_);
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			item = (GitgStageStatusItem*) _tmp16_;
#line 724 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp17_ = item;
#line 724 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp18_ = type;
#line 724 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp19_ = gitg_commit_sidebar_item_new (_tmp17_, _tmp18_);
#line 724 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data9_->sitem = _tmp19_;
#line 726 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp21_ = selected_paths;
#line 726 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			if (_tmp21_ != NULL) {
#line 6943 "gitg-commit.c"
				GeeHashSet* _tmp22_ = NULL;
				GitgStageStatusItem* _tmp23_ = NULL;
				gchar* _tmp24_ = NULL;
				gchar* _tmp25_ = NULL;
				gchar* _tmp26_ = NULL;
				gboolean _tmp27_ = FALSE;
#line 726 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp22_ = selected_paths;
#line 726 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp23_ = item;
#line 726 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp24_ = gitg_stage_status_item_get_path (_tmp23_);
#line 726 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp25_ = _tmp24_;
#line 726 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp26_ = _tmp25_;
#line 726 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp27_ = gee_abstract_collection_contains ((GeeAbstractCollection*) _tmp22_, _tmp26_);
#line 726 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp20_ = _tmp27_;
#line 726 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_free0 (_tmp26_);
#line 6966 "gitg-commit.c"
			} else {
#line 726 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp20_ = FALSE;
#line 6970 "gitg-commit.c"
			}
#line 726 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			if (_tmp20_) {
#line 6974 "gitg-commit.c"
				GitgCommitSidebarItem** _tmp28_ = NULL;
				gint _tmp28__length1 = 0;
				GitgCommitSidebarItem* _tmp29_ = NULL;
				GitgCommitSidebarItem* _tmp30_ = NULL;
#line 728 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp28_ = ret;
#line 728 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp28__length1 = ret_length1;
#line 728 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp29_ = _data9_->sitem;
#line 728 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp30_ = _g_object_ref0 (_tmp29_);
#line 728 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_vala_array_add2 (&ret, &ret_length1, &_ret_size_, _tmp30_);
#line 6989 "gitg-commit.c"
			}
#line 731 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp31_ = _data9_->sitem;
#line 731 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			g_signal_connect_data ((GitgSidebarItem*) _tmp31_, "activated", (GCallback) _____lambda18__gitg_sidebar_item_activated, block9_data_ref (_data9_), (GClosureNotify) block9_data_unref, 0);
#line 735 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp32_ = model;
#line 735 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp33_ = _data9_->sitem;
#line 735 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp34_ = gitg_sidebar_store_append (_tmp32_, (GitgSidebarItem*) _tmp33_);
#line 735 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp35_ = _tmp34_;
#line 735 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_tmp35_);
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (item);
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			block9_data_unref (_data9_);
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data9_ = NULL;
#line 7011 "gitg-commit.c"
		}
#line 722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_item_list);
#line 7015 "gitg-commit.c"
	}
#line 738 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp36_ = ret;
#line 738 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp36__length1 = ret_length1;
#line 738 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (result_length1) {
#line 738 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		*result_length1 = _tmp36__length1;
#line 7025 "gitg-commit.c"
	}
#line 738 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = _tmp36_;
#line 738 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (sorted);
#line 738 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block8_data_unref (_data8_);
#line 738 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data8_ = NULL;
#line 738 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 7037 "gitg-commit.c"
}


static Block10Data* block10_data_ref (Block10Data* _data10_) {
#line 741 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data10_->_ref_count_);
#line 741 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return _data10_;
#line 7046 "gitg-commit.c"
}


static void block10_data_unref (void * _userdata_) {
	Block10Data* _data10_;
	_data10_ = (Block10Data*) _userdata_;
#line 741 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data10_->_ref_count_)) {
#line 7055 "gitg-commit.c"
		GitgCommitActivity* self;
#line 741 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self = _data10_->self;
#line 741 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data10_->enumerator);
#line 741 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data10_->selected_paths);
#line 741 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data10_->model);
#line 741 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 741 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block10Data, _data10_);
#line 7069 "gitg-commit.c"
	}
}


static Block11Data* block11_data_ref (Block11Data* _data11_) {
#line 773 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data11_->_ref_count_);
#line 773 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return _data11_;
#line 7079 "gitg-commit.c"
}


static void block11_data_unref (void * _userdata_) {
	Block11Data* _data11_;
	_data11_ = (Block11Data*) _userdata_;
#line 773 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data11_->_ref_count_)) {
#line 7088 "gitg-commit.c"
		GitgCommitActivity* self;
#line 773 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self = _data11_->_data10_->self;
#line 773 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data11_->ac);
#line 773 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		block10_data_unref (_data11_->_data10_);
#line 773 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data11_->_data10_ = NULL;
#line 773 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block11Data, _data11_);
#line 7100 "gitg-commit.c"
	}
}


static void ____lambda13_ (Block11Data* _data11_, GObject* obj, GAsyncResult* res) {
	Block10Data* _data10_;
	GitgCommitActivity* self;
	GitgAvatarCache* _tmp0_ = NULL;
	GAsyncResult* _tmp1_ = NULL;
	GdkPixbuf* _tmp2_ = NULL;
	GdkPixbuf* _tmp3_ = NULL;
#line 778 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data10_ = _data11_->_data10_;
#line 778 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data10_->self;
#line 778 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 779 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _data11_->ac;
#line 779 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = res;
#line 779 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = gitg_avatar_cache_load_finish (_tmp0_, _tmp1_);
#line 779 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _tmp2_;
#line 779 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp3_);
#line 7128 "gitg-commit.c"
}


static void _____lambda13__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 778 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	____lambda13_ (self, source_object, res);
#line 778 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block11_data_unref (self);
#line 7137 "gitg-commit.c"
}


static void _vala_array_add3 (GitgStageStatusItem*** array, int* length, int* size, GitgStageStatusItem* value) {
#line 818 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if ((*length) == (*size)) {
#line 818 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 818 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		*array = g_renew (GitgStageStatusItem*, *array, (*size) + 1);
#line 7148 "gitg-commit.c"
	}
#line 818 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	(*array)[(*length)++] = value;
#line 818 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	(*array)[*length] = NULL;
#line 7154 "gitg-commit.c"
}


static void _vala_array_add4 (GitgStageStatusItem*** array, int* length, int* size, GitgStageStatusItem* value) {
#line 823 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if ((*length) == (*size)) {
#line 823 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 823 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		*array = g_renew (GitgStageStatusItem*, *array, (*size) + 1);
#line 7165 "gitg-commit.c"
	}
#line 823 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	(*array)[(*length)++] = value;
#line 823 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	(*array)[*length] = NULL;
#line 7171 "gitg-commit.c"
}


static void _vala_array_add5 (GitgStageStatusItem*** array, int* length, int* size, GitgStageStatusItem* value) {
#line 828 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if ((*length) == (*size)) {
#line 828 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 828 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		*array = g_renew (GitgStageStatusItem*, *array, (*size) + 1);
#line 7182 "gitg-commit.c"
	}
#line 828 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	(*array)[(*length)++] = value;
#line 828 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	(*array)[*length] = NULL;
#line 7188 "gitg-commit.c"
}


static void _vala_array_add6 (GitgStageStatusItem*** array, int* length, int* size, GitgStageStatusItem* value) {
#line 839 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if ((*length) == (*size)) {
#line 839 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 839 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		*array = g_renew (GitgStageStatusItem*, *array, (*size) + 1);
#line 7199 "gitg-commit.c"
	}
#line 839 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	(*array)[(*length)++] = value;
#line 839 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	(*array)[*length] = NULL;
#line 7205 "gitg-commit.c"
}


static void __lambda15_ (GitgCommitActivity* self, gint numclick) {
#line 856 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_on_unstage_selected_items (self);
#line 7212 "gitg-commit.c"
}


static void ___lambda15__gitg_sidebar_item_activated (GitgSidebarItem* _sender, gint numclick, gpointer self) {
#line 855 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__lambda15_ ((GitgCommitActivity*) self, numclick);
#line 7219 "gitg-commit.c"
}


static void ___lambda19_ (GitgCommitActivity* self, GitgCommitSidebarItem* item) {
	GitgCommitPaned* _tmp0_ = NULL;
	GitgCommitSidebar* _tmp1_ = NULL;
	GitgCommitSidebar* _tmp2_ = NULL;
	GitgCommitSidebarItem* _tmp3_ = NULL;
	gboolean _tmp4_ = FALSE;
#line 869 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (item != NULL);
#line 870 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 870 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_sidebar (_tmp0_);
#line 870 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 870 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = item;
#line 870 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = gitg_sidebar_is_selected ((GitgSidebar*) _tmp2_, (GitgSidebarItem*) _tmp3_);
#line 870 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp4_) {
#line 872 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_on_unstage_selected_items (self);
#line 7245 "gitg-commit.c"
	} else {
		GitgCommitSidebarItem* _tmp5_ = NULL;
		GitgStageStatusItem* _tmp6_ = NULL;
		GitgStageStatusItem* _tmp7_ = NULL;
		GitgStageStatusItem* _tmp8_ = NULL;
		GitgStageStatusItem** _tmp9_ = NULL;
		GitgStageStatusItem** _tmp10_ = NULL;
		gint _tmp10__length1 = 0;
#line 876 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = item;
#line 876 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = gitg_commit_sidebar_item_get_item (_tmp5_);
#line 876 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 876 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = _g_object_ref0 (_tmp7_);
#line 876 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = g_new0 (GitgStageStatusItem*, 1 + 1);
#line 876 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_[0] = _tmp8_;
#line 876 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = _tmp9_;
#line 876 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10__length1 = 1;
#line 876 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_on_staged_activated (self, _tmp10_, 1);
#line 876 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = (_vala_array_free (_tmp10_, _tmp10__length1, (GDestroyNotify) g_object_unref), NULL);
#line 7274 "gitg-commit.c"
	}
}


static void ____lambda19__gitg_commit_activity_stage_unstage_callback (GitgCommitSidebarItem* item, gpointer self) {
#line 865 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	___lambda19_ ((GitgCommitActivity*) self, item);
#line 7282 "gitg-commit.c"
}


static void __lambda20_ (GitgCommitActivity* self, gint numclick) {
#line 887 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_on_stage_selected_items (self);
#line 7289 "gitg-commit.c"
}


static void ___lambda20__gitg_sidebar_item_activated (GitgSidebarItem* _sender, gint numclick, gpointer self) {
#line 886 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__lambda20_ ((GitgCommitActivity*) self, numclick);
#line 7296 "gitg-commit.c"
}


static void ___lambda22_ (GitgCommitActivity* self, GitgCommitSidebarItem* item) {
	GitgCommitPaned* _tmp0_ = NULL;
	GitgCommitSidebar* _tmp1_ = NULL;
	GitgCommitSidebar* _tmp2_ = NULL;
	GitgCommitSidebarItem* _tmp3_ = NULL;
	gboolean _tmp4_ = FALSE;
#line 900 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (item != NULL);
#line 901 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 901 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_sidebar (_tmp0_);
#line 901 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 901 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = item;
#line 901 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = gitg_sidebar_is_selected ((GitgSidebar*) _tmp2_, (GitgSidebarItem*) _tmp3_);
#line 901 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp4_) {
#line 903 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_on_stage_selected_items (self);
#line 7322 "gitg-commit.c"
	} else {
		GitgCommitSidebarItem* _tmp5_ = NULL;
		GitgStageStatusItem* _tmp6_ = NULL;
		GitgStageStatusItem* _tmp7_ = NULL;
		GitgStageStatusItem* _tmp8_ = NULL;
		GitgStageStatusItem** _tmp9_ = NULL;
		GitgStageStatusItem** _tmp10_ = NULL;
		gint _tmp10__length1 = 0;
#line 907 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = item;
#line 907 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = gitg_commit_sidebar_item_get_item (_tmp5_);
#line 907 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 907 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = _g_object_ref0 (_tmp7_);
#line 907 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = g_new0 (GitgStageStatusItem*, 1 + 1);
#line 907 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_[0] = _tmp8_;
#line 907 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = _tmp9_;
#line 907 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10__length1 = 1;
#line 907 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_on_unstaged_activated (self, _tmp10_, 1);
#line 907 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = (_vala_array_free (_tmp10_, _tmp10__length1, (GDestroyNotify) g_object_unref), NULL);
#line 7351 "gitg-commit.c"
	}
}


static void ____lambda22__gitg_commit_activity_stage_unstage_callback (GitgCommitSidebarItem* item, gpointer self) {
#line 896 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	___lambda22_ ((GitgCommitActivity*) self, item);
#line 7359 "gitg-commit.c"
}


static void ___lambda23_ (GitgCommitActivity* self, GitgCommitSidebarItem* item) {
	GitgCommitPaned* _tmp0_ = NULL;
	GitgCommitSidebar* _tmp1_ = NULL;
	GitgCommitSidebar* _tmp2_ = NULL;
	GitgCommitSidebarItem* _tmp3_ = NULL;
	gboolean _tmp4_ = FALSE;
#line 927 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (item != NULL);
#line 928 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 928 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_sidebar (_tmp0_);
#line 928 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 928 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = item;
#line 928 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = gitg_sidebar_is_selected ((GitgSidebar*) _tmp2_, (GitgSidebarItem*) _tmp3_);
#line 928 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp4_) {
#line 930 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_on_stage_selected_items (self);
#line 7385 "gitg-commit.c"
	} else {
		GitgCommitSidebarItem* _tmp5_ = NULL;
		GitgStageStatusItem* _tmp6_ = NULL;
		GitgStageStatusItem* _tmp7_ = NULL;
		GitgStageStatusItem* _tmp8_ = NULL;
		GitgStageStatusItem** _tmp9_ = NULL;
		GitgStageStatusItem** _tmp10_ = NULL;
		gint _tmp10__length1 = 0;
#line 934 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = item;
#line 934 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = gitg_commit_sidebar_item_get_item (_tmp5_);
#line 934 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 934 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = _g_object_ref0 (_tmp7_);
#line 934 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = g_new0 (GitgStageStatusItem*, 1 + 1);
#line 934 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_[0] = _tmp8_;
#line 934 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = _tmp9_;
#line 934 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10__length1 = 1;
#line 934 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_on_unstaged_activated (self, _tmp10_, 1);
#line 934 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = (_vala_array_free (_tmp10_, _tmp10__length1, (GDestroyNotify) g_object_unref), NULL);
#line 7414 "gitg-commit.c"
	}
}


static void ____lambda23__gitg_commit_activity_stage_unstage_callback (GitgCommitSidebarItem* item, gpointer self) {
#line 923 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	___lambda23_ ((GitgCommitActivity*) self, item);
#line 7422 "gitg-commit.c"
}


static void ____lambda24_ (GitgCommitActivity* self, GitgCommitSidebarItem* item) {
	GitgCommitPaned* _tmp0_ = NULL;
	GitgCommitSidebar* _tmp1_ = NULL;
	GitgCommitSidebar* _tmp2_ = NULL;
	GitgCommitSidebarItem* _tmp3_ = NULL;
	gboolean _tmp4_ = FALSE;
#line 956 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (item != NULL);
#line 957 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 957 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_sidebar (_tmp0_);
#line 957 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 957 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = item;
#line 957 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = gitg_sidebar_is_selected ((GitgSidebar*) _tmp2_, (GitgSidebarItem*) _tmp3_);
#line 957 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp4_) {
#line 959 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_on_stage_selected_items (self);
#line 7448 "gitg-commit.c"
	} else {
		GitgCommitSidebarItem* _tmp5_ = NULL;
		GitgStageStatusItem* _tmp6_ = NULL;
		GitgStageStatusItem* _tmp7_ = NULL;
		GitgStageStatusItem* _tmp8_ = NULL;
		GitgStageStatusItem** _tmp9_ = NULL;
		GitgStageStatusItem** _tmp10_ = NULL;
		gint _tmp10__length1 = 0;
#line 963 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = item;
#line 963 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = gitg_commit_sidebar_item_get_item (_tmp5_);
#line 963 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 963 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = _g_object_ref0 (_tmp7_);
#line 963 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = g_new0 (GitgStageStatusItem*, 1 + 1);
#line 963 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_[0] = _tmp8_;
#line 963 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = _tmp9_;
#line 963 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10__length1 = 1;
#line 963 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_on_unstaged_activated (self, _tmp10_, 1);
#line 963 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = (_vala_array_free (_tmp10_, _tmp10__length1, (GDestroyNotify) g_object_unref), NULL);
#line 7477 "gitg-commit.c"
	}
}


static void _____lambda24__gitg_commit_activity_stage_unstage_callback (GitgCommitSidebarItem* item, gpointer self) {
#line 952 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	____lambda24_ ((GitgCommitActivity*) self, item);
#line 7485 "gitg-commit.c"
}


static GitgCommitSidebarItem** _vala_array_dup7 (GitgCommitSidebarItem** self, int length) {
	GitgCommitSidebarItem** result;
	int i;
#line 983 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = g_new0 (GitgCommitSidebarItem*, length + 1);
#line 983 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	for (i = 0; i < length; i++) {
#line 7496 "gitg-commit.c"
		GitgCommitSidebarItem* _tmp0_ = NULL;
#line 983 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _g_object_ref0 (self[i]);
#line 983 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		result[i] = _tmp0_;
#line 7502 "gitg-commit.c"
	}
#line 983 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 7506 "gitg-commit.c"
}


static GitgCommitSidebarItem** _vala_array_dup8 (GitgCommitSidebarItem** self, int length) {
	GitgCommitSidebarItem** result;
	int i;
#line 986 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = g_new0 (GitgCommitSidebarItem*, length + 1);
#line 986 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	for (i = 0; i < length; i++) {
#line 7517 "gitg-commit.c"
		GitgCommitSidebarItem* _tmp0_ = NULL;
#line 986 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _g_object_ref0 (self[i]);
#line 986 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		result[i] = _tmp0_;
#line 7523 "gitg-commit.c"
	}
#line 986 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 7527 "gitg-commit.c"
}


static GitgCommitSidebarItem** _vala_array_dup9 (GitgCommitSidebarItem** self, int length) {
	GitgCommitSidebarItem** result;
	int i;
#line 989 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = g_new0 (GitgCommitSidebarItem*, length + 1);
#line 989 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	for (i = 0; i < length; i++) {
#line 7538 "gitg-commit.c"
		GitgCommitSidebarItem* _tmp0_ = NULL;
#line 989 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _g_object_ref0 (self[i]);
#line 989 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		result[i] = _tmp0_;
#line 7544 "gitg-commit.c"
	}
#line 989 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 7548 "gitg-commit.c"
}


static GitgCommitSidebarItem** _vala_array_dup10 (GitgCommitSidebarItem** self, int length) {
	GitgCommitSidebarItem** result;
	int i;
#line 992 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = g_new0 (GitgCommitSidebarItem*, length + 1);
#line 992 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	for (i = 0; i < length; i++) {
#line 7559 "gitg-commit.c"
		GitgCommitSidebarItem* _tmp0_ = NULL;
#line 992 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _g_object_ref0 (self[i]);
#line 992 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		result[i] = _tmp0_;
#line 7565 "gitg-commit.c"
	}
#line 992 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 7569 "gitg-commit.c"
}


static GitgCommitSidebarItem** _vala_array_dup11 (GitgCommitSidebarItem** self, int length) {
	GitgCommitSidebarItem** result;
	int i;
#line 998 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = g_new0 (GitgCommitSidebarItem*, length + 1);
#line 998 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	for (i = 0; i < length; i++) {
#line 7580 "gitg-commit.c"
		GitgCommitSidebarItem* _tmp0_ = NULL;
#line 998 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _g_object_ref0 (self[i]);
#line 998 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		result[i] = _tmp0_;
#line 7586 "gitg-commit.c"
	}
#line 998 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 7590 "gitg-commit.c"
}


static GitgCommitSidebarItem** _vala_array_dup12 (GitgCommitSidebarItem** self, int length) {
	GitgCommitSidebarItem** result;
	int i;
#line 1003 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = g_new0 (GitgCommitSidebarItem*, length + 1);
#line 1003 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	for (i = 0; i < length; i++) {
#line 7601 "gitg-commit.c"
		GitgCommitSidebarItem* _tmp0_ = NULL;
#line 1003 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _g_object_ref0 (self[i]);
#line 1003 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		result[i] = _tmp0_;
#line 7607 "gitg-commit.c"
	}
#line 1003 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 7611 "gitg-commit.c"
}


static GitgCommitSidebarItem** _vala_array_dup13 (GitgCommitSidebarItem** self, int length) {
	GitgCommitSidebarItem** result;
	int i;
#line 1008 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = g_new0 (GitgCommitSidebarItem*, length + 1);
#line 1008 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	for (i = 0; i < length; i++) {
#line 7622 "gitg-commit.c"
		GitgCommitSidebarItem* _tmp0_ = NULL;
#line 1008 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _g_object_ref0 (self[i]);
#line 1008 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		result[i] = _tmp0_;
#line 7628 "gitg-commit.c"
	}
#line 1008 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 7632 "gitg-commit.c"
}


static GitgCommitSidebarItem** _vala_array_dup14 (GitgCommitSidebarItem** self, int length) {
	GitgCommitSidebarItem** result;
	int i;
#line 1013 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = g_new0 (GitgCommitSidebarItem*, length + 1);
#line 1013 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	for (i = 0; i < length; i++) {
#line 7643 "gitg-commit.c"
		GitgCommitSidebarItem* _tmp0_ = NULL;
#line 1013 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _g_object_ref0 (self[i]);
#line 1013 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		result[i] = _tmp0_;
#line 7649 "gitg-commit.c"
	}
#line 1013 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 7653 "gitg-commit.c"
}


static void __lambda14_ (Block10Data* _data10_, GObject* obj, GAsyncResult* res) {
	GitgCommitActivity* self;
	GitgStageStatusItem** items = NULL;
	GitgStageStatusEnumerator* _tmp0_ = NULL;
	GAsyncResult* _tmp1_ = NULL;
	gint _tmp2_ = 0;
	GitgStageStatusItem** _tmp3_ = NULL;
	gint items_length1 = 0;
	gint _items_size_ = 0;
	GitgStageStatusItem** staged = NULL;
	GitgStageStatusItem** _tmp4_ = NULL;
	gint _tmp4__length1 = 0;
	GitgStageStatusItem** _tmp5_ = NULL;
	gint staged_length1 = 0;
	gint _staged_size_ = 0;
	gint _tmp6_ = 0;
	GitgStageStatusItem** unstaged = NULL;
	GitgStageStatusItem** _tmp7_ = NULL;
	gint _tmp7__length1 = 0;
	GitgStageStatusItem** _tmp8_ = NULL;
	gint unstaged_length1 = 0;
	gint _unstaged_size_ = 0;
	gint _tmp9_ = 0;
	GitgStageStatusItem** untracked = NULL;
	GitgStageStatusItem** _tmp10_ = NULL;
	gint _tmp10__length1 = 0;
	GitgStageStatusItem** _tmp11_ = NULL;
	gint untracked_length1 = 0;
	gint _untracked_size_ = 0;
	gint _tmp12_ = 0;
	GitgStageStatusItem** dirty = NULL;
	GitgStageStatusItem** _tmp13_ = NULL;
	gint _tmp13__length1 = 0;
	GitgStageStatusItem** _tmp14_ = NULL;
	gint dirty_length1 = 0;
	gint _dirty_size_ = 0;
	gint _tmp15_ = 0;
	gboolean hassub = FALSE;
	GitgStageStatusItem** _tmp16_ = NULL;
	gint _tmp16__length1 = 0;
	GitgSidebarStore* _tmp45_ = NULL;
	GitgCommitPaned* _tmp46_ = NULL;
	GitgDiffView* _tmp47_ = NULL;
	GitgDiffView* _tmp48_ = NULL;
	GitgCommitSidebarItem** current_staged = NULL;
	GitgCommitSidebarItem** _tmp49_ = NULL;
	gint current_staged_length1 = 0;
	gint _current_staged_size_ = 0;
	GitgCommitSidebarItem** current_unstaged = NULL;
	GitgCommitSidebarItem** _tmp50_ = NULL;
	gint current_unstaged_length1 = 0;
	gint _current_unstaged_size_ = 0;
	GitgCommitSidebarItem** current_untracked = NULL;
	GitgCommitSidebarItem** _tmp51_ = NULL;
	gint current_untracked_length1 = 0;
	gint _current_untracked_size_ = 0;
	GitgCommitSidebarItem** current_submodules = NULL;
	GitgCommitSidebarItem** _tmp52_ = NULL;
	gint current_submodules_length1 = 0;
	gint _current_submodules_size_ = 0;
	GitgSidebarStoreSidebarHeader* staged_header = NULL;
	GitgSidebarStore* _tmp53_ = NULL;
	const gchar* _tmp54_ = NULL;
	GitgSidebarStoreSidebarHeader* _tmp55_ = NULL;
	GitgSidebarStoreSidebarHeader* _tmp56_ = NULL;
	GitgStageStatusItem** _tmp57_ = NULL;
	gint _tmp57__length1 = 0;
	GitgSidebarStore* _tmp67_ = NULL;
	GitgSidebarStore* _tmp68_ = NULL;
	GitgSidebarStore* _tmp69_ = NULL;
	GitgSidebarStoreSidebarHeader* unstaged_header = NULL;
	GitgSidebarStore* _tmp70_ = NULL;
	const gchar* _tmp71_ = NULL;
	GitgSidebarStoreSidebarHeader* _tmp72_ = NULL;
	GitgSidebarStoreSidebarHeader* _tmp73_ = NULL;
	GitgStageStatusItem** _tmp74_ = NULL;
	gint _tmp74__length1 = 0;
	GitgSidebarStore* _tmp84_ = NULL;
	GitgSidebarStore* _tmp85_ = NULL;
	GitgSidebarStore* _tmp86_ = NULL;
	GitgSidebarStore* _tmp87_ = NULL;
	const gchar* _tmp88_ = NULL;
	GitgSidebarStoreSidebarHeader* _tmp89_ = NULL;
	GitgSidebarStoreSidebarHeader* _tmp90_ = NULL;
	GitgStageStatusItem** _tmp91_ = NULL;
	gint _tmp91__length1 = 0;
	GitgSidebarStore* _tmp101_ = NULL;
	GitgSidebarStore* _tmp102_ = NULL;
	GitgSidebarStore* _tmp103_ = NULL;
	gboolean _tmp104_ = FALSE;
	GitgCommitPaned* _tmp122_ = NULL;
	GitgCommitSidebar* _tmp123_ = NULL;
	GitgCommitSidebar* _tmp124_ = NULL;
	GitgStageStatusItem** _tmp125_ = NULL;
	gint _tmp125__length1 = 0;
	GeeHashSet* _tmp126_ = NULL;
	gint _tmp127_ = 0;
	gint _tmp128_ = 0;
#line 797 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data10_->self;
#line 797 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 798 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _data10_->enumerator;
#line 798 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = res;
#line 798 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = gitg_stage_status_enumerator_next_items_finish (_tmp0_, _tmp1_, &_tmp2_);
#line 798 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	items = _tmp3_;
#line 798 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	items_length1 = _tmp2_;
#line 798 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_items_size_ = items_length1;
#line 800 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = items;
#line 800 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4__length1 = items_length1;
#line 800 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = g_new0 (GitgStageStatusItem*, _tmp4__length1 + 1);
#line 800 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	staged = _tmp5_;
#line 800 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	staged_length1 = _tmp4__length1;
#line 800 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_staged_size_ = staged_length1;
#line 801 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	staged_length1 = 0;
#line 801 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = staged_length1;
#line 803 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = items;
#line 803 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp7__length1 = items_length1;
#line 803 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = g_new0 (GitgStageStatusItem*, _tmp7__length1 + 1);
#line 803 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	unstaged = _tmp8_;
#line 803 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	unstaged_length1 = _tmp7__length1;
#line 803 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_unstaged_size_ = unstaged_length1;
#line 804 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	unstaged_length1 = 0;
#line 804 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = unstaged_length1;
#line 806 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = items;
#line 806 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp10__length1 = items_length1;
#line 806 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp11_ = g_new0 (GitgStageStatusItem*, _tmp10__length1 + 1);
#line 806 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	untracked = _tmp11_;
#line 806 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	untracked_length1 = _tmp10__length1;
#line 806 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_untracked_size_ = untracked_length1;
#line 807 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	untracked_length1 = 0;
#line 807 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp12_ = untracked_length1;
#line 809 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp13_ = items;
#line 809 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp13__length1 = items_length1;
#line 809 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp14_ = g_new0 (GitgStageStatusItem*, _tmp13__length1 + 1);
#line 809 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	dirty = _tmp14_;
#line 809 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	dirty_length1 = _tmp13__length1;
#line 809 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_dirty_size_ = dirty_length1;
#line 810 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	dirty_length1 = 0;
#line 810 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp15_ = dirty_length1;
#line 812 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	hassub = FALSE;
#line 814 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp16_ = items;
#line 814 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp16__length1 = items_length1;
#line 7841 "gitg-commit.c"
	{
		GitgStageStatusItem** item_collection = NULL;
		gint item_collection_length1 = 0;
		gint _item_collection_size_ = 0;
		gint item_it = 0;
#line 814 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		item_collection = _tmp16_;
#line 814 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		item_collection_length1 = _tmp16__length1;
#line 814 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		for (item_it = 0; item_it < _tmp16__length1; item_it = item_it + 1) {
#line 7853 "gitg-commit.c"
			GitgStageStatusItem* _tmp17_ = NULL;
			GitgStageStatusItem* item = NULL;
#line 814 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp17_ = _g_object_ref0 (item_collection[item_it]);
#line 814 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			item = _tmp17_;
#line 7860 "gitg-commit.c"
			{
				GitgStageStatusItem* _tmp18_ = NULL;
				gboolean _tmp19_ = FALSE;
				gboolean _tmp20_ = FALSE;
				GitgStageStatusItem* _tmp24_ = NULL;
				gboolean _tmp25_ = FALSE;
				gboolean _tmp26_ = FALSE;
				GitgStageStatusItem* _tmp30_ = NULL;
				gboolean _tmp31_ = FALSE;
				gboolean _tmp32_ = FALSE;
				GitgStageStatusSubmodule* sub = NULL;
				GitgStageStatusItem* _tmp36_ = NULL;
				GitgStageStatusSubmodule* _tmp37_ = NULL;
				GitgStageStatusSubmodule* _tmp38_ = NULL;
#line 816 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp18_ = item;
#line 816 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp19_ = gitg_stage_status_item_get_is_staged (_tmp18_);
#line 816 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp20_ = _tmp19_;
#line 816 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				if (_tmp20_) {
#line 7883 "gitg-commit.c"
					GitgStageStatusItem** _tmp21_ = NULL;
					gint _tmp21__length1 = 0;
					GitgStageStatusItem* _tmp22_ = NULL;
					GitgStageStatusItem* _tmp23_ = NULL;
#line 818 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp21_ = staged;
#line 818 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp21__length1 = staged_length1;
#line 818 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp22_ = item;
#line 818 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp23_ = _g_object_ref0 (_tmp22_);
#line 818 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_vala_array_add3 (&staged, &staged_length1, &_staged_size_, _tmp23_);
#line 7898 "gitg-commit.c"
				}
#line 821 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp24_ = item;
#line 821 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp25_ = gitg_stage_status_item_get_is_unstaged (_tmp24_);
#line 821 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp26_ = _tmp25_;
#line 821 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				if (_tmp26_) {
#line 7908 "gitg-commit.c"
					GitgStageStatusItem** _tmp27_ = NULL;
					gint _tmp27__length1 = 0;
					GitgStageStatusItem* _tmp28_ = NULL;
					GitgStageStatusItem* _tmp29_ = NULL;
#line 823 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp27_ = unstaged;
#line 823 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp27__length1 = unstaged_length1;
#line 823 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp28_ = item;
#line 823 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp29_ = _g_object_ref0 (_tmp28_);
#line 823 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_vala_array_add4 (&unstaged, &unstaged_length1, &_unstaged_size_, _tmp29_);
#line 7923 "gitg-commit.c"
				}
#line 826 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp30_ = item;
#line 826 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp31_ = gitg_stage_status_item_get_is_untracked (_tmp30_);
#line 826 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp32_ = _tmp31_;
#line 826 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				if (_tmp32_) {
#line 7933 "gitg-commit.c"
					GitgStageStatusItem** _tmp33_ = NULL;
					gint _tmp33__length1 = 0;
					GitgStageStatusItem* _tmp34_ = NULL;
					GitgStageStatusItem* _tmp35_ = NULL;
#line 828 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp33_ = untracked;
#line 828 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp33__length1 = untracked_length1;
#line 828 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp34_ = item;
#line 828 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp35_ = _g_object_ref0 (_tmp34_);
#line 828 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_vala_array_add5 (&untracked, &untracked_length1, &_untracked_size_, _tmp35_);
#line 7948 "gitg-commit.c"
				}
#line 831 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp36_ = item;
#line 831 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp37_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp36_, GITG_TYPE_STAGE_STATUS_SUBMODULE) ? ((GitgStageStatusSubmodule*) _tmp36_) : NULL);
#line 831 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				sub = _tmp37_;
#line 833 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp38_ = sub;
#line 833 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				if (_tmp38_ != NULL) {
#line 7960 "gitg-commit.c"
					GitgStageStatusSubmodule* _tmp39_ = NULL;
					gboolean _tmp40_ = FALSE;
					gboolean _tmp41_ = FALSE;
#line 835 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					hassub = TRUE;
#line 837 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp39_ = sub;
#line 837 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp40_ = gitg_stage_status_submodule_get_is_dirty (_tmp39_);
#line 837 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp41_ = _tmp40_;
#line 837 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					if (_tmp41_) {
#line 7974 "gitg-commit.c"
						GitgStageStatusItem** _tmp42_ = NULL;
						gint _tmp42__length1 = 0;
						GitgStageStatusItem* _tmp43_ = NULL;
						GitgStageStatusItem* _tmp44_ = NULL;
#line 839 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_tmp42_ = dirty;
#line 839 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_tmp42__length1 = dirty_length1;
#line 839 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_tmp43_ = item;
#line 839 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_tmp44_ = _g_object_ref0 (_tmp43_);
#line 839 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_vala_array_add6 (&dirty, &dirty_length1, &_dirty_size_, _tmp44_);
#line 7989 "gitg-commit.c"
					}
				}
#line 814 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (sub);
#line 814 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (item);
#line 7996 "gitg-commit.c"
			}
		}
	}
#line 844 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp45_ = _data10_->model;
#line 844 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_sidebar_store_clear (_tmp45_);
#line 845 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp46_ = self->priv->d_main;
#line 845 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp47_ = gitg_commit_paned_get_diff_view (_tmp46_);
#line 845 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp48_ = _tmp47_;
#line 845 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_diff_view_set_diff (_tmp48_, NULL);
#line 847 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp49_ = g_new0 (GitgCommitSidebarItem*, 0 + 1);
#line 847 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	current_staged = _tmp49_;
#line 847 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	current_staged_length1 = 0;
#line 847 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_current_staged_size_ = current_staged_length1;
#line 848 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp50_ = g_new0 (GitgCommitSidebarItem*, 0 + 1);
#line 848 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	current_unstaged = _tmp50_;
#line 848 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	current_unstaged_length1 = 0;
#line 848 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_current_unstaged_size_ = current_unstaged_length1;
#line 849 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp51_ = g_new0 (GitgCommitSidebarItem*, 0 + 1);
#line 849 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	current_untracked = _tmp51_;
#line 849 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	current_untracked_length1 = 0;
#line 849 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_current_untracked_size_ = current_untracked_length1;
#line 850 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp52_ = g_new0 (GitgCommitSidebarItem*, 0 + 1);
#line 850 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	current_submodules = _tmp52_;
#line 850 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	current_submodules_length1 = 0;
#line 850 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_current_submodules_size_ = current_submodules_length1;
#line 853 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp53_ = _data10_->model;
#line 853 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp54_ = _ ("Staged");
#line 853 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp55_ = gitg_sidebar_store_begin_header (_tmp53_, _tmp54_, (guint) GITG_COMMIT_SIDEBAR_ITEM_TYPE_STAGED);
#line 853 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	staged_header = _tmp55_;
#line 855 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp56_ = staged_header;
#line 855 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_object ((GitgSidebarItem*) _tmp56_, "activated", (GCallback) ___lambda15__gitg_sidebar_item_activated, self, 0);
#line 859 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp57_ = staged;
#line 859 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp57__length1 = staged_length1;
#line 859 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp57__length1 == 0) {
#line 8062 "gitg-commit.c"
		GitgSidebarStore* _tmp58_ = NULL;
		const gchar* _tmp59_ = NULL;
		GitgSidebarStore* _tmp60_ = NULL;
		GitgSidebarStore* _tmp61_ = NULL;
#line 861 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp58_ = _data10_->model;
#line 861 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp59_ = _ ("No staged files");
#line 861 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp60_ = gitg_sidebar_store_append_dummy (_tmp58_, _tmp59_);
#line 861 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp61_ = _tmp60_;
#line 861 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp61_);
#line 8077 "gitg-commit.c"
	} else {
		GitgSidebarStore* _tmp62_ = NULL;
		GitgStageStatusItem** _tmp63_ = NULL;
		gint _tmp63__length1 = 0;
		GeeHashSet* _tmp64_ = NULL;
		gint _tmp65_ = 0;
		GitgCommitSidebarItem** _tmp66_ = NULL;
#line 865 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp62_ = _data10_->model;
#line 865 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp63_ = staged;
#line 865 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp63__length1 = staged_length1;
#line 865 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp64_ = _data10_->selected_paths;
#line 865 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp66_ = gitg_commit_activity_append_items (self, _tmp62_, _tmp63_, _tmp63__length1, GITG_COMMIT_SIDEBAR_ITEM_TYPE_STAGED, _tmp64_, ____lambda19__gitg_commit_activity_stage_unstage_callback, self, &_tmp65_);
#line 865 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		current_staged = (_vala_array_free (current_staged, current_staged_length1, (GDestroyNotify) g_object_unref), NULL);
#line 865 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		current_staged = _tmp66_;
#line 865 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		current_staged_length1 = _tmp65_;
#line 865 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_current_staged_size_ = current_staged_length1;
#line 8103 "gitg-commit.c"
	}
#line 881 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp67_ = _data10_->model;
#line 881 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp68_ = gitg_sidebar_store_end_header (_tmp67_);
#line 881 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp69_ = _tmp68_;
#line 881 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp69_);
#line 884 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp70_ = _data10_->model;
#line 884 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp71_ = _ ("Unstaged");
#line 884 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp72_ = gitg_sidebar_store_begin_header (_tmp70_, _tmp71_, (guint) GITG_COMMIT_SIDEBAR_ITEM_TYPE_UNSTAGED);
#line 884 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	unstaged_header = _tmp72_;
#line 886 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp73_ = unstaged_header;
#line 886 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_object ((GitgSidebarItem*) _tmp73_, "activated", (GCallback) ___lambda20__gitg_sidebar_item_activated, self, 0);
#line 890 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp74_ = unstaged;
#line 890 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp74__length1 = unstaged_length1;
#line 890 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp74__length1 == 0) {
#line 8131 "gitg-commit.c"
		GitgSidebarStore* _tmp75_ = NULL;
		const gchar* _tmp76_ = NULL;
		GitgSidebarStore* _tmp77_ = NULL;
		GitgSidebarStore* _tmp78_ = NULL;
#line 892 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp75_ = _data10_->model;
#line 892 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp76_ = _ ("No unstaged files");
#line 892 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp77_ = gitg_sidebar_store_append_dummy (_tmp75_, _tmp76_);
#line 892 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp78_ = _tmp77_;
#line 892 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp78_);
#line 8146 "gitg-commit.c"
	} else {
		GitgSidebarStore* _tmp79_ = NULL;
		GitgStageStatusItem** _tmp80_ = NULL;
		gint _tmp80__length1 = 0;
		GeeHashSet* _tmp81_ = NULL;
		gint _tmp82_ = 0;
		GitgCommitSidebarItem** _tmp83_ = NULL;
#line 896 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp79_ = _data10_->model;
#line 896 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp80_ = unstaged;
#line 896 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp80__length1 = unstaged_length1;
#line 896 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp81_ = _data10_->selected_paths;
#line 896 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp83_ = gitg_commit_activity_append_items (self, _tmp79_, _tmp80_, _tmp80__length1, GITG_COMMIT_SIDEBAR_ITEM_TYPE_UNSTAGED, _tmp81_, ____lambda22__gitg_commit_activity_stage_unstage_callback, self, &_tmp82_);
#line 896 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		current_unstaged = (_vala_array_free (current_unstaged, current_unstaged_length1, (GDestroyNotify) g_object_unref), NULL);
#line 896 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		current_unstaged = _tmp83_;
#line 896 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		current_unstaged_length1 = _tmp82_;
#line 896 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_current_unstaged_size_ = current_unstaged_length1;
#line 8172 "gitg-commit.c"
	}
#line 912 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp84_ = _data10_->model;
#line 912 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp85_ = gitg_sidebar_store_end_header (_tmp84_);
#line 912 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp86_ = _tmp85_;
#line 912 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp86_);
#line 915 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp87_ = _data10_->model;
#line 915 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp88_ = _ ("Untracked");
#line 915 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp89_ = gitg_sidebar_store_begin_header (_tmp87_, _tmp88_, (guint) GITG_COMMIT_SIDEBAR_ITEM_TYPE_UNTRACKED);
#line 915 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp90_ = _tmp89_;
#line 915 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp90_);
#line 917 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp91_ = untracked;
#line 917 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp91__length1 = untracked_length1;
#line 917 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp91__length1 == 0) {
#line 8198 "gitg-commit.c"
		GitgSidebarStore* _tmp92_ = NULL;
		const gchar* _tmp93_ = NULL;
		GitgSidebarStore* _tmp94_ = NULL;
		GitgSidebarStore* _tmp95_ = NULL;
#line 919 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp92_ = _data10_->model;
#line 919 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp93_ = _ ("No untracked files");
#line 919 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp94_ = gitg_sidebar_store_append_dummy (_tmp92_, _tmp93_);
#line 919 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp95_ = _tmp94_;
#line 919 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp95_);
#line 8213 "gitg-commit.c"
	} else {
		GitgSidebarStore* _tmp96_ = NULL;
		GitgStageStatusItem** _tmp97_ = NULL;
		gint _tmp97__length1 = 0;
		GeeHashSet* _tmp98_ = NULL;
		gint _tmp99_ = 0;
		GitgCommitSidebarItem** _tmp100_ = NULL;
#line 923 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp96_ = _data10_->model;
#line 923 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp97_ = untracked;
#line 923 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp97__length1 = untracked_length1;
#line 923 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp98_ = _data10_->selected_paths;
#line 923 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp100_ = gitg_commit_activity_append_items (self, _tmp96_, _tmp97_, _tmp97__length1, GITG_COMMIT_SIDEBAR_ITEM_TYPE_UNTRACKED, _tmp98_, ____lambda23__gitg_commit_activity_stage_unstage_callback, self, &_tmp99_);
#line 923 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		current_untracked = (_vala_array_free (current_untracked, current_untracked_length1, (GDestroyNotify) g_object_unref), NULL);
#line 923 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		current_untracked = _tmp100_;
#line 923 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		current_untracked_length1 = _tmp99_;
#line 923 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_current_untracked_size_ = current_untracked_length1;
#line 8239 "gitg-commit.c"
	}
#line 939 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp101_ = _data10_->model;
#line 939 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp102_ = gitg_sidebar_store_end_header (_tmp101_);
#line 939 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp103_ = _tmp102_;
#line 939 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp103_);
#line 942 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp104_ = hassub;
#line 942 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp104_) {
#line 8253 "gitg-commit.c"
		GitgSidebarStore* _tmp105_ = NULL;
		const gchar* _tmp106_ = NULL;
		GitgSidebarStoreSidebarHeader* _tmp107_ = NULL;
		GitgSidebarStoreSidebarHeader* _tmp108_ = NULL;
		GitgStageStatusItem** _tmp109_ = NULL;
		gint _tmp109__length1 = 0;
		GitgSidebarStore* _tmp119_ = NULL;
		GitgSidebarStore* _tmp120_ = NULL;
		GitgSidebarStore* _tmp121_ = NULL;
#line 944 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp105_ = _data10_->model;
#line 944 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp106_ = _ ("Submodule");
#line 944 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp107_ = gitg_sidebar_store_begin_header (_tmp105_, _tmp106_, (guint) GITG_COMMIT_SIDEBAR_ITEM_TYPE_SUBMODULE);
#line 944 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp108_ = _tmp107_;
#line 944 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp108_);
#line 946 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp109_ = dirty;
#line 946 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp109__length1 = dirty_length1;
#line 946 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp109__length1 == 0) {
#line 8279 "gitg-commit.c"
			GitgSidebarStore* _tmp110_ = NULL;
			const gchar* _tmp111_ = NULL;
			GitgSidebarStore* _tmp112_ = NULL;
			GitgSidebarStore* _tmp113_ = NULL;
#line 948 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp110_ = _data10_->model;
#line 948 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp111_ = _ ("No dirty submodules");
#line 948 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp112_ = gitg_sidebar_store_append_dummy (_tmp110_, _tmp111_);
#line 948 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp113_ = _tmp112_;
#line 948 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_tmp113_);
#line 8294 "gitg-commit.c"
		} else {
			GitgSidebarStore* _tmp114_ = NULL;
			GitgStageStatusItem** _tmp115_ = NULL;
			gint _tmp115__length1 = 0;
			GeeHashSet* _tmp116_ = NULL;
			gint _tmp117_ = 0;
			GitgCommitSidebarItem** _tmp118_ = NULL;
#line 952 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp114_ = _data10_->model;
#line 952 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp115_ = dirty;
#line 952 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp115__length1 = dirty_length1;
#line 952 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp116_ = _data10_->selected_paths;
#line 952 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp118_ = gitg_commit_activity_append_items (self, _tmp114_, _tmp115_, _tmp115__length1, GITG_COMMIT_SIDEBAR_ITEM_TYPE_SUBMODULE, _tmp116_, _____lambda24__gitg_commit_activity_stage_unstage_callback, self, &_tmp117_);
#line 952 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			current_submodules = (_vala_array_free (current_submodules, current_submodules_length1, (GDestroyNotify) g_object_unref), NULL);
#line 952 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			current_submodules = _tmp118_;
#line 952 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			current_submodules_length1 = _tmp117_;
#line 952 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_current_submodules_size_ = current_submodules_length1;
#line 8320 "gitg-commit.c"
		}
#line 968 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp119_ = _data10_->model;
#line 968 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp120_ = gitg_sidebar_store_end_header (_tmp119_);
#line 968 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp121_ = _tmp120_;
#line 968 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp121_);
#line 8330 "gitg-commit.c"
	}
#line 971 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp122_ = self->priv->d_main;
#line 971 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp123_ = gitg_commit_paned_get_sidebar (_tmp122_);
#line 971 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp124_ = _tmp123_;
#line 971 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gtk_tree_view_expand_all ((GtkTreeView*) _tmp124_);
#line 972 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp125_ = staged;
#line 972 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp125__length1 = staged_length1;
#line 972 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_has_staged = _tmp125__length1 != 0;
#line 974 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_reloading = FALSE;
#line 976 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp126_ = _data10_->selected_paths;
#line 976 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp127_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp126_);
#line 976 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp128_ = _tmp127_;
#line 976 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp128_ != 0) {
#line 8356 "gitg-commit.c"
		GitgCommitSidebarItem** sel = NULL;
		gint sel_length1 = 0;
		gint _sel_size_ = 0;
		GitgCommitSidebarItemType _tmp129_ = 0;
		gboolean _tmp138_ = FALSE;
		GitgCommitSidebarItem** _tmp139_ = NULL;
		gint _tmp139__length1 = 0;
		gboolean _tmp143_ = FALSE;
		GitgCommitSidebarItem** _tmp144_ = NULL;
		gint _tmp144__length1 = 0;
		gboolean _tmp148_ = FALSE;
		GitgCommitSidebarItem** _tmp149_ = NULL;
		gint _tmp149__length1 = 0;
		gboolean _tmp153_ = FALSE;
		GitgCommitSidebarItem** _tmp154_ = NULL;
		gint _tmp154__length1 = 0;
		gboolean _tmp158_ = FALSE;
		GitgCommitSidebarItem** _tmp159_ = NULL;
		gint _tmp159__length1 = 0;
#line 978 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		sel = NULL;
#line 978 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		sel_length1 = 0;
#line 978 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_sel_size_ = sel_length1;
#line 980 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp129_ = _data10_->selected_type;
#line 980 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		switch (_tmp129_) {
#line 980 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			case GITG_COMMIT_SIDEBAR_ITEM_TYPE_STAGED:
#line 8388 "gitg-commit.c"
			{
				GitgCommitSidebarItem** _tmp130_ = NULL;
				gint _tmp130__length1 = 0;
				GitgCommitSidebarItem** _tmp131_ = NULL;
				gint _tmp131__length1 = 0;
#line 983 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp130_ = current_staged;
#line 983 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp130__length1 = current_staged_length1;
#line 983 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp131_ = (_tmp130_ != NULL) ? _vala_array_dup7 (_tmp130_, _tmp130__length1) : ((gpointer) _tmp130_);
#line 983 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp131__length1 = _tmp130__length1;
#line 983 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				sel = (_vala_array_free (sel, sel_length1, (GDestroyNotify) g_object_unref), NULL);
#line 983 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				sel = _tmp131_;
#line 983 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				sel_length1 = _tmp131__length1;
#line 983 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_sel_size_ = sel_length1;
#line 984 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				break;
#line 8412 "gitg-commit.c"
			}
#line 980 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			case GITG_COMMIT_SIDEBAR_ITEM_TYPE_UNSTAGED:
#line 8416 "gitg-commit.c"
			{
				GitgCommitSidebarItem** _tmp132_ = NULL;
				gint _tmp132__length1 = 0;
				GitgCommitSidebarItem** _tmp133_ = NULL;
				gint _tmp133__length1 = 0;
#line 986 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp132_ = current_unstaged;
#line 986 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp132__length1 = current_unstaged_length1;
#line 986 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp133_ = (_tmp132_ != NULL) ? _vala_array_dup8 (_tmp132_, _tmp132__length1) : ((gpointer) _tmp132_);
#line 986 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp133__length1 = _tmp132__length1;
#line 986 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				sel = (_vala_array_free (sel, sel_length1, (GDestroyNotify) g_object_unref), NULL);
#line 986 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				sel = _tmp133_;
#line 986 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				sel_length1 = _tmp133__length1;
#line 986 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_sel_size_ = sel_length1;
#line 987 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				break;
#line 8440 "gitg-commit.c"
			}
#line 980 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			case GITG_COMMIT_SIDEBAR_ITEM_TYPE_UNTRACKED:
#line 8444 "gitg-commit.c"
			{
				GitgCommitSidebarItem** _tmp134_ = NULL;
				gint _tmp134__length1 = 0;
				GitgCommitSidebarItem** _tmp135_ = NULL;
				gint _tmp135__length1 = 0;
#line 989 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp134_ = current_untracked;
#line 989 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp134__length1 = current_untracked_length1;
#line 989 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp135_ = (_tmp134_ != NULL) ? _vala_array_dup9 (_tmp134_, _tmp134__length1) : ((gpointer) _tmp134_);
#line 989 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp135__length1 = _tmp134__length1;
#line 989 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				sel = (_vala_array_free (sel, sel_length1, (GDestroyNotify) g_object_unref), NULL);
#line 989 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				sel = _tmp135_;
#line 989 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				sel_length1 = _tmp135__length1;
#line 989 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_sel_size_ = sel_length1;
#line 990 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				break;
#line 8468 "gitg-commit.c"
			}
#line 980 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			case GITG_COMMIT_SIDEBAR_ITEM_TYPE_SUBMODULE:
#line 8472 "gitg-commit.c"
			{
				GitgCommitSidebarItem** _tmp136_ = NULL;
				gint _tmp136__length1 = 0;
				GitgCommitSidebarItem** _tmp137_ = NULL;
				gint _tmp137__length1 = 0;
#line 992 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp136_ = current_submodules;
#line 992 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp136__length1 = current_submodules_length1;
#line 992 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp137_ = (_tmp136_ != NULL) ? _vala_array_dup10 (_tmp136_, _tmp136__length1) : ((gpointer) _tmp136_);
#line 992 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp137__length1 = _tmp136__length1;
#line 992 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				sel = (_vala_array_free (sel, sel_length1, (GDestroyNotify) g_object_unref), NULL);
#line 992 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				sel = _tmp137_;
#line 992 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				sel_length1 = _tmp137__length1;
#line 992 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_sel_size_ = sel_length1;
#line 993 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				break;
#line 8496 "gitg-commit.c"
			}
			default:
#line 980 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			break;
#line 8501 "gitg-commit.c"
		}
#line 996 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp139_ = sel;
#line 996 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp139__length1 = sel_length1;
#line 996 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp139_ == NULL) {
#line 996 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp138_ = TRUE;
#line 8511 "gitg-commit.c"
		} else {
			GitgCommitSidebarItem** _tmp140_ = NULL;
			gint _tmp140__length1 = 0;
#line 996 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp140_ = sel;
#line 996 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp140__length1 = sel_length1;
#line 996 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp138_ = _tmp140__length1 == 0;
#line 8521 "gitg-commit.c"
		}
#line 996 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp138_) {
#line 8525 "gitg-commit.c"
			GitgCommitSidebarItem** _tmp141_ = NULL;
			gint _tmp141__length1 = 0;
			GitgCommitSidebarItem** _tmp142_ = NULL;
			gint _tmp142__length1 = 0;
#line 998 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp141_ = current_staged;
#line 998 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp141__length1 = current_staged_length1;
#line 998 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp142_ = (_tmp141_ != NULL) ? _vala_array_dup11 (_tmp141_, _tmp141__length1) : ((gpointer) _tmp141_);
#line 998 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp142__length1 = _tmp141__length1;
#line 998 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			sel = (_vala_array_free (sel, sel_length1, (GDestroyNotify) g_object_unref), NULL);
#line 998 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			sel = _tmp142_;
#line 998 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			sel_length1 = _tmp142__length1;
#line 998 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_sel_size_ = sel_length1;
#line 8546 "gitg-commit.c"
		}
#line 1001 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp144_ = sel;
#line 1001 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp144__length1 = sel_length1;
#line 1001 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp144_ == NULL) {
#line 1001 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp143_ = TRUE;
#line 8556 "gitg-commit.c"
		} else {
			GitgCommitSidebarItem** _tmp145_ = NULL;
			gint _tmp145__length1 = 0;
#line 1001 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp145_ = sel;
#line 1001 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp145__length1 = sel_length1;
#line 1001 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp143_ = _tmp145__length1 == 0;
#line 8566 "gitg-commit.c"
		}
#line 1001 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp143_) {
#line 8570 "gitg-commit.c"
			GitgCommitSidebarItem** _tmp146_ = NULL;
			gint _tmp146__length1 = 0;
			GitgCommitSidebarItem** _tmp147_ = NULL;
			gint _tmp147__length1 = 0;
#line 1003 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp146_ = current_unstaged;
#line 1003 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp146__length1 = current_unstaged_length1;
#line 1003 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp147_ = (_tmp146_ != NULL) ? _vala_array_dup12 (_tmp146_, _tmp146__length1) : ((gpointer) _tmp146_);
#line 1003 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp147__length1 = _tmp146__length1;
#line 1003 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			sel = (_vala_array_free (sel, sel_length1, (GDestroyNotify) g_object_unref), NULL);
#line 1003 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			sel = _tmp147_;
#line 1003 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			sel_length1 = _tmp147__length1;
#line 1003 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_sel_size_ = sel_length1;
#line 8591 "gitg-commit.c"
		}
#line 1006 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp149_ = sel;
#line 1006 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp149__length1 = sel_length1;
#line 1006 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp149_ == NULL) {
#line 1006 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp148_ = TRUE;
#line 8601 "gitg-commit.c"
		} else {
			GitgCommitSidebarItem** _tmp150_ = NULL;
			gint _tmp150__length1 = 0;
#line 1006 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp150_ = sel;
#line 1006 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp150__length1 = sel_length1;
#line 1006 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp148_ = _tmp150__length1 == 0;
#line 8611 "gitg-commit.c"
		}
#line 1006 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp148_) {
#line 8615 "gitg-commit.c"
			GitgCommitSidebarItem** _tmp151_ = NULL;
			gint _tmp151__length1 = 0;
			GitgCommitSidebarItem** _tmp152_ = NULL;
			gint _tmp152__length1 = 0;
#line 1008 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp151_ = current_untracked;
#line 1008 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp151__length1 = current_untracked_length1;
#line 1008 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp152_ = (_tmp151_ != NULL) ? _vala_array_dup13 (_tmp151_, _tmp151__length1) : ((gpointer) _tmp151_);
#line 1008 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp152__length1 = _tmp151__length1;
#line 1008 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			sel = (_vala_array_free (sel, sel_length1, (GDestroyNotify) g_object_unref), NULL);
#line 1008 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			sel = _tmp152_;
#line 1008 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			sel_length1 = _tmp152__length1;
#line 1008 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_sel_size_ = sel_length1;
#line 8636 "gitg-commit.c"
		}
#line 1011 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp154_ = sel;
#line 1011 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp154__length1 = sel_length1;
#line 1011 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp154_ == NULL) {
#line 1011 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp153_ = TRUE;
#line 8646 "gitg-commit.c"
		} else {
			GitgCommitSidebarItem** _tmp155_ = NULL;
			gint _tmp155__length1 = 0;
#line 1011 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp155_ = sel;
#line 1011 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp155__length1 = sel_length1;
#line 1011 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp153_ = _tmp155__length1 == 0;
#line 8656 "gitg-commit.c"
		}
#line 1011 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp153_) {
#line 8660 "gitg-commit.c"
			GitgCommitSidebarItem** _tmp156_ = NULL;
			gint _tmp156__length1 = 0;
			GitgCommitSidebarItem** _tmp157_ = NULL;
			gint _tmp157__length1 = 0;
#line 1013 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp156_ = current_submodules;
#line 1013 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp156__length1 = current_submodules_length1;
#line 1013 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp157_ = (_tmp156_ != NULL) ? _vala_array_dup14 (_tmp156_, _tmp156__length1) : ((gpointer) _tmp156_);
#line 1013 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp157__length1 = _tmp156__length1;
#line 1013 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			sel = (_vala_array_free (sel, sel_length1, (GDestroyNotify) g_object_unref), NULL);
#line 1013 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			sel = _tmp157_;
#line 1013 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			sel_length1 = _tmp157__length1;
#line 1013 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_sel_size_ = sel_length1;
#line 8681 "gitg-commit.c"
		}
#line 1016 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp159_ = sel;
#line 1016 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp159__length1 = sel_length1;
#line 1016 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp159_ != NULL) {
#line 8689 "gitg-commit.c"
			GitgCommitSidebarItem** _tmp160_ = NULL;
			gint _tmp160__length1 = 0;
#line 1016 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp160_ = sel;
#line 1016 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp160__length1 = sel_length1;
#line 1016 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp158_ = _tmp160__length1 != 0;
#line 8698 "gitg-commit.c"
		} else {
#line 1016 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp158_ = FALSE;
#line 8702 "gitg-commit.c"
		}
#line 1016 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp158_) {
#line 8706 "gitg-commit.c"
			GitgCommitSidebarItem** _tmp161_ = NULL;
			gint _tmp161__length1 = 0;
#line 1018 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp161_ = sel;
#line 1018 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp161__length1 = sel_length1;
#line 8713 "gitg-commit.c"
			{
				GitgCommitSidebarItem** item_collection = NULL;
				gint item_collection_length1 = 0;
				gint _item_collection_size_ = 0;
				gint item_it = 0;
#line 1018 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				item_collection = _tmp161_;
#line 1018 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				item_collection_length1 = _tmp161__length1;
#line 1018 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				for (item_it = 0; item_it < _tmp161__length1; item_it = item_it + 1) {
#line 8725 "gitg-commit.c"
					GitgCommitSidebarItem* _tmp162_ = NULL;
					GitgCommitSidebarItem* item = NULL;
#line 1018 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp162_ = _g_object_ref0 (item_collection[item_it]);
#line 1018 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					item = _tmp162_;
#line 8732 "gitg-commit.c"
					{
						GitgCommitPaned* _tmp163_ = NULL;
						GitgCommitSidebar* _tmp164_ = NULL;
						GitgCommitSidebar* _tmp165_ = NULL;
						GitgCommitSidebarItem* _tmp166_ = NULL;
#line 1020 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_tmp163_ = self->priv->d_main;
#line 1020 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_tmp164_ = gitg_commit_paned_get_sidebar (_tmp163_);
#line 1020 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_tmp165_ = _tmp164_;
#line 1020 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_tmp166_ = item;
#line 1020 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						gitg_sidebar_select ((GitgSidebar*) _tmp165_, (GitgSidebarItem*) _tmp166_);
#line 1018 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_g_object_unref0 (item);
#line 8750 "gitg-commit.c"
					}
				}
			}
		} else {
			GitgCommitSidebarItemType _tmp167_ = 0;
#line 1023 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp167_ = _data10_->selected_type;
#line 1023 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			if (_tmp167_ == GITG_COMMIT_SIDEBAR_ITEM_TYPE_STAGED) {
#line 8760 "gitg-commit.c"
				GitgCommitPaned* _tmp168_ = NULL;
				GitgCommitSidebar* _tmp169_ = NULL;
				GitgCommitSidebar* _tmp170_ = NULL;
				GitgSidebarStoreSidebarHeader* _tmp171_ = NULL;
#line 1025 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp168_ = self->priv->d_main;
#line 1025 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp169_ = gitg_commit_paned_get_sidebar (_tmp168_);
#line 1025 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp170_ = _tmp169_;
#line 1025 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp171_ = staged_header;
#line 1025 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				gitg_sidebar_select ((GitgSidebar*) _tmp170_, (GitgSidebarItem*) _tmp171_);
#line 8775 "gitg-commit.c"
			} else {
				GitgCommitPaned* _tmp172_ = NULL;
				GitgCommitSidebar* _tmp173_ = NULL;
				GitgCommitSidebar* _tmp174_ = NULL;
				GitgSidebarStoreSidebarHeader* _tmp175_ = NULL;
#line 1029 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp172_ = self->priv->d_main;
#line 1029 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp173_ = gitg_commit_paned_get_sidebar (_tmp172_);
#line 1029 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp174_ = _tmp173_;
#line 1029 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp175_ = unstaged_header;
#line 1029 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				gitg_sidebar_select ((GitgSidebar*) _tmp174_, (GitgSidebarItem*) _tmp175_);
#line 8791 "gitg-commit.c"
			}
		}
#line 976 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		sel = (_vala_array_free (sel, sel_length1, (GDestroyNotify) g_object_unref), NULL);
#line 8796 "gitg-commit.c"
	} else {
		GitgStageStatusItem** _tmp176_ = NULL;
		gint _tmp176__length1 = 0;
#line 1035 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp176_ = unstaged;
#line 1035 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp176__length1 = unstaged_length1;
#line 1035 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp176__length1 == 0) {
#line 8806 "gitg-commit.c"
			GitgCommitPaned* _tmp177_ = NULL;
			GitgCommitSidebar* _tmp178_ = NULL;
			GitgCommitSidebar* _tmp179_ = NULL;
			GitgSidebarStoreSidebarHeader* _tmp180_ = NULL;
#line 1037 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp177_ = self->priv->d_main;
#line 1037 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp178_ = gitg_commit_paned_get_sidebar (_tmp177_);
#line 1037 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp179_ = _tmp178_;
#line 1037 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp180_ = staged_header;
#line 1037 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_sidebar_select ((GitgSidebar*) _tmp179_, (GitgSidebarItem*) _tmp180_);
#line 8821 "gitg-commit.c"
		} else {
			GitgCommitPaned* _tmp181_ = NULL;
			GitgCommitSidebar* _tmp182_ = NULL;
			GitgCommitSidebar* _tmp183_ = NULL;
			GitgSidebarStoreSidebarHeader* _tmp184_ = NULL;
#line 1041 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp181_ = self->priv->d_main;
#line 1041 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp182_ = gitg_commit_paned_get_sidebar (_tmp181_);
#line 1041 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp183_ = _tmp182_;
#line 1041 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp184_ = unstaged_header;
#line 1041 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_sidebar_select ((GitgSidebar*) _tmp183_, (GitgSidebarItem*) _tmp184_);
#line 8837 "gitg-commit.c"
		}
	}
#line 797 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (unstaged_header);
#line 797 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (staged_header);
#line 797 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	current_submodules = (_vala_array_free (current_submodules, current_submodules_length1, (GDestroyNotify) g_object_unref), NULL);
#line 797 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	current_untracked = (_vala_array_free (current_untracked, current_untracked_length1, (GDestroyNotify) g_object_unref), NULL);
#line 797 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	current_unstaged = (_vala_array_free (current_unstaged, current_unstaged_length1, (GDestroyNotify) g_object_unref), NULL);
#line 797 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	current_staged = (_vala_array_free (current_staged, current_staged_length1, (GDestroyNotify) g_object_unref), NULL);
#line 797 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	dirty = (_vala_array_free (dirty, dirty_length1, (GDestroyNotify) g_object_unref), NULL);
#line 797 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	untracked = (_vala_array_free (untracked, untracked_length1, (GDestroyNotify) g_object_unref), NULL);
#line 797 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	unstaged = (_vala_array_free (unstaged, unstaged_length1, (GDestroyNotify) g_object_unref), NULL);
#line 797 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	staged = (_vala_array_free (staged, staged_length1, (GDestroyNotify) g_object_unref), NULL);
#line 797 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	items = (_vala_array_free (items, items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 8862 "gitg-commit.c"
}


static void ___lambda14__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 797 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__lambda14_ (self, source_object, res);
#line 797 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block10_data_unref (self);
#line 8871 "gitg-commit.c"
}


static void _vala_GgitStatusOptions_free (GgitStatusOptions* self) {
#line 741 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_boxed_free (ggit_status_options_get_type (), self);
#line 8878 "gitg-commit.c"
}


static void gitg_commit_activity_reload (GitgCommitActivity* self) {
	Block10Data* _data10_;
	GitgRepository* repository = NULL;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
	GitgExtApplication* _tmp2_ = NULL;
	GitgRepository* _tmp3_ = NULL;
	GitgRepository* _tmp4_ = NULL;
	GitgRepository* _tmp5_ = NULL;
	gboolean _tmp6_ = FALSE;
	GitgRepository* _tmp7_ = NULL;
	GitgCommitSidebar* sb = NULL;
	GitgCommitPaned* _tmp9_ = NULL;
	GitgCommitSidebar* _tmp10_ = NULL;
	GitgCommitSidebar* _tmp11_ = NULL;
	GitgCommitSidebar* _tmp12_ = NULL;
	GitgCommitSidebar* _tmp13_ = NULL;
	GitgSidebarStore* _tmp14_ = NULL;
	GitgSidebarStore* _tmp15_ = NULL;
	GitgSidebarStore* _tmp16_ = NULL;
	GitgStageStatusItem** selected_items = NULL;
	gint selected_items_length1 = 0;
	gint _selected_items_size_ = 0;
	GitgCommitSidebar* _tmp17_ = NULL;
	gint _tmp18_ = 0;
	gpointer* _tmp19_ = NULL;
	GitgSidebarItem** _tmp20_ = NULL;
	gint _tmp20__length1 = 0;
	GitgCommitSidebarItemType _tmp21_ = 0;
	gint _tmp22_ = 0;
	GitgStageStatusItem** _tmp23_ = NULL;
	GeeHashSet* _tmp24_ = NULL;
	GitgStageStatusItem** _tmp25_ = NULL;
	gint _tmp25__length1 = 0;
	GitgCommitPaned* _tmp32_ = NULL;
	GitgDiffView* _tmp33_ = NULL;
	GitgDiffView* _tmp34_ = NULL;
	gboolean _tmp35_ = FALSE;
	gboolean _tmp36_ = FALSE;
	GitgStage* stage = NULL;
	GitgRepository* _tmp42_ = NULL;
	GitgStage* _tmp43_ = NULL;
	GitgStage* _tmp44_ = NULL;
	GgitStatusOption opts = 0;
	GgitStatusShow show = 0;
	GgitStatusOptions* options = NULL;
	GgitStatusOption _tmp45_ = 0;
	GgitStatusShow _tmp46_ = 0;
	GgitStatusOptions* _tmp47_ = NULL;
	GitgStage* _tmp48_ = NULL;
	GgitStatusOptions* _tmp49_ = NULL;
	GitgStageStatusEnumerator* _tmp50_ = NULL;
	GitgStageStatusEnumerator* _tmp51_ = NULL;
	GError * _inner_error_ = NULL;
#line 741 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 741 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data10_ = g_slice_new0 (Block10Data);
#line 741 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data10_->_ref_count_ = 1;
#line 741 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data10_->self = g_object_ref (self);
#line 743 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_gitg_when_mapped_unref0 (self->priv->d_reload_when_mapped);
#line 743 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_reload_when_mapped = NULL;
#line 745 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 745 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _tmp0_;
#line 745 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 745 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = gitg_ext_application_get_repository (_tmp2_);
#line 745 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _tmp3_;
#line 745 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = _tmp4_;
#line 745 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp2_);
#line 745 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	repository = _tmp5_;
#line 747 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = repository;
#line 747 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp7_ == NULL) {
#line 747 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = TRUE;
#line 8970 "gitg-commit.c"
	} else {
		gboolean _tmp8_ = FALSE;
#line 747 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = self->priv->d_reloading;
#line 747 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = _tmp8_;
#line 8977 "gitg-commit.c"
	}
#line 747 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp6_) {
#line 749 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (repository);
#line 749 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		block10_data_unref (_data10_);
#line 749 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data10_ = NULL;
#line 749 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 8989 "gitg-commit.c"
	}
#line 752 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_reloading = TRUE;
#line 754 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = self->priv->d_main;
#line 754 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = gitg_commit_paned_get_sidebar (_tmp9_);
#line 754 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp11_ = _tmp10_;
#line 754 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp12_ = _g_object_ref0 (_tmp11_);
#line 754 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	sb = _tmp12_;
#line 755 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp13_ = sb;
#line 755 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp14_ = gitg_sidebar_get_model ((GitgSidebar*) _tmp13_);
#line 755 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp15_ = _tmp14_;
#line 755 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp16_ = _g_object_ref0 (_tmp15_);
#line 755 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data10_->model = _tmp16_;
#line 760 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp17_ = sb;
#line 760 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp19_ = gitg_sidebar_get_selected_items ((GitgSidebar*) _tmp17_, GITG_TYPE_SIDEBAR_ITEM, (GBoxedCopyFunc) g_object_ref, g_object_unref, &_tmp18_);
#line 760 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp20_ = _tmp19_;
#line 760 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp20__length1 = _tmp18_;
#line 760 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp23_ = gitg_commit_activity_items_for_items (self, _tmp20_, _tmp18_, &_tmp21_, &_tmp22_);
#line 760 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data10_->selected_type = _tmp21_;
#line 760 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	selected_items = (_vala_array_free (selected_items, selected_items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 760 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	selected_items = _tmp23_;
#line 760 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	selected_items_length1 = _tmp22_;
#line 760 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_selected_items_size_ = selected_items_length1;
#line 760 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp20_ = (_vala_array_free (_tmp20_, _tmp20__length1, (GDestroyNotify) g_object_unref), NULL);
#line 763 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp24_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL, NULL, NULL, NULL);
#line 763 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data10_->selected_paths = _tmp24_;
#line 765 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp25_ = selected_items;
#line 765 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp25__length1 = selected_items_length1;
#line 9043 "gitg-commit.c"
	{
		GitgStageStatusItem** item_collection = NULL;
		gint item_collection_length1 = 0;
		gint _item_collection_size_ = 0;
		gint item_it = 0;
#line 765 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		item_collection = _tmp25_;
#line 765 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		item_collection_length1 = _tmp25__length1;
#line 765 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		for (item_it = 0; item_it < _tmp25__length1; item_it = item_it + 1) {
#line 9055 "gitg-commit.c"
			GitgStageStatusItem* _tmp26_ = NULL;
			GitgStageStatusItem* item = NULL;
#line 765 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp26_ = _g_object_ref0 (item_collection[item_it]);
#line 765 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			item = _tmp26_;
#line 9062 "gitg-commit.c"
			{
				GeeHashSet* _tmp27_ = NULL;
				GitgStageStatusItem* _tmp28_ = NULL;
				gchar* _tmp29_ = NULL;
				gchar* _tmp30_ = NULL;
				gchar* _tmp31_ = NULL;
#line 767 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp27_ = _data10_->selected_paths;
#line 767 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp28_ = item;
#line 767 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp29_ = gitg_stage_status_item_get_path (_tmp28_);
#line 767 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp30_ = _tmp29_;
#line 767 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp31_ = _tmp30_;
#line 767 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				gee_abstract_collection_add ((GeeAbstractCollection*) _tmp27_, _tmp31_);
#line 767 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_free0 (_tmp31_);
#line 765 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (item);
#line 9085 "gitg-commit.c"
			}
		}
	}
#line 770 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp32_ = self->priv->d_main;
#line 770 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp33_ = gitg_commit_paned_get_diff_view (_tmp32_);
#line 770 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp34_ = _tmp33_;
#line 770 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp35_ = gitg_diff_view_get_use_gravatar (_tmp34_);
#line 770 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp36_ = _tmp35_;
#line 770 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp36_) {
#line 9101 "gitg-commit.c"
		{
			Block11Data* _data11_;
			GgitSignature* author = NULL;
			GgitSignature* _tmp37_ = NULL;
			GitgAvatarCache* _tmp38_ = NULL;
			GitgAvatarCache* _tmp39_ = NULL;
			GgitSignature* _tmp40_ = NULL;
			const gchar* _tmp41_ = NULL;
#line 773 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data11_ = g_slice_new0 (Block11Data);
#line 773 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data11_->_ref_count_ = 1;
#line 773 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data11_->_data10_ = block10_data_ref (_data10_);
#line 775 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp37_ = gitg_commit_activity_get_signature (self, "AUTHOR", &_inner_error_);
#line 775 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			author = _tmp37_;
#line 775 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 775 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				block11_data_unref (_data11_);
#line 775 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data11_ = NULL;
#line 9126 "gitg-commit.c"
				goto __catch20_g_error;
			}
#line 776 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp38_ = gitg_avatar_cache_default ();
#line 776 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data11_->ac = _tmp38_;
#line 778 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp39_ = _data11_->ac;
#line 778 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp40_ = author;
#line 778 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp41_ = ggit_signature_get_email (_tmp40_);
#line 778 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_avatar_cache_load (_tmp39_, _tmp41_, 50, NULL, _____lambda13__gasync_ready_callback, block11_data_ref (_data11_));
#line 773 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (author);
#line 773 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			block11_data_unref (_data11_);
#line 773 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data11_ = NULL;
#line 9147 "gitg-commit.c"
		}
		goto __finally20;
		__catch20_g_error:
		{
#line 773 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			g_clear_error (&_inner_error_);
#line 773 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_inner_error_ = NULL;
#line 9156 "gitg-commit.c"
		}
		__finally20:
#line 773 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 773 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			selected_items = (_vala_array_free (selected_items, selected_items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 773 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (sb);
#line 773 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (repository);
#line 773 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			block10_data_unref (_data10_);
#line 773 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data10_ = NULL;
#line 773 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.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 773 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			g_clear_error (&_inner_error_);
#line 773 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			return;
#line 9177 "gitg-commit.c"
		}
	}
#line 784 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp42_ = repository;
#line 784 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp43_ = gitg_repository_get_stage (_tmp42_);
#line 784 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp44_ = _tmp43_;
#line 784 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	stage = _tmp44_;
#line 786 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	opts = (((GGIT_STATUS_OPTION_INCLUDE_UNTRACKED | GGIT_STATUS_OPTION_RECURSE_UNTRACKED_DIRS) | GGIT_STATUS_OPTION_SORT_CASE_INSENSITIVELY) | GGIT_STATUS_OPTION_EXCLUDE_SUBMODULES) | GGIT_STATUS_OPTION_DISABLE_PATHSPEC_MATCH;
#line 792 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	show = GGIT_STATUS_SHOW_INDEX_AND_WORKDIR;
#line 794 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp45_ = opts;
#line 794 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp46_ = show;
#line 794 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp47_ = ggit_status_options_new (_tmp45_, _tmp46_, NULL);
#line 794 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	options = _tmp47_;
#line 795 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp48_ = stage;
#line 795 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp49_ = options;
#line 795 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp50_ = gitg_stage_file_status (_tmp48_, _tmp49_);
#line 795 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data10_->enumerator = _tmp50_;
#line 797 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp51_ = _data10_->enumerator;
#line 797 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_stage_status_enumerator_next_items (_tmp51_, -1, ___lambda14__gasync_ready_callback, block10_data_ref (_data10_));
#line 741 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__vala_GgitStatusOptions_free0 (options);
#line 741 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (stage);
#line 741 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	selected_items = (_vala_array_free (selected_items, selected_items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 741 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (sb);
#line 741 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (repository);
#line 741 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block10_data_unref (_data10_);
#line 741 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data10_ = NULL;
#line 9226 "gitg-commit.c"
}


static void gitg_commit_activity_real_activate (GitgExtUIElement* base) {
	GitgCommitActivity * self;
#line 1047 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = (GitgCommitActivity*) base;
#line 1049 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_reload (self);
#line 9236 "gitg-commit.c"
}


static Block12Data* block12_data_ref (Block12Data* _data12_) {
#line 1052 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data12_->_ref_count_);
#line 1052 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return _data12_;
#line 9245 "gitg-commit.c"
}


static void block12_data_unref (void * _userdata_) {
	Block12Data* _data12_;
	_data12_ = (Block12Data*) _userdata_;
#line 1052 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data12_->_ref_count_)) {
#line 9254 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1052 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self = _data12_->self;
#line 1052 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data12_->stage);
#line 1052 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data12_->dlg);
#line 1052 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1052 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block12Data, _data12_);
#line 9266 "gitg-commit.c"
	}
}


static void __lambda33_ (Block12Data* _data12_, GObject* obj, GAsyncResult* res) {
	GitgCommitActivity* self;
	GitgCommitDialog* _tmp12_ = NULL;
	GError * _inner_error_ = NULL;
#line 1087 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data12_->self;
#line 1087 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 9279 "gitg-commit.c"
	{
		GitgStage* _tmp0_ = NULL;
		GAsyncResult* _tmp1_ = NULL;
		GgitOId* _tmp2_ = NULL;
		GgitOId* _tmp3_ = NULL;
#line 1090 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _data12_->stage;
#line 1090 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = res;
#line 1090 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = gitg_stage_commit_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 1090 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp3_ = _tmp2_;
#line 1090 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		__vala_GgitOId_free0 (_tmp3_);
#line 1090 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 9297 "gitg-commit.c"
			goto __catch21_g_error;
		}
#line 1091 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_reload (self);
#line 9302 "gitg-commit.c"
	}
	goto __finally21;
	__catch21_g_error:
	{
		GError* e = NULL;
		gchar* msg = NULL;
		const gchar* _tmp4_ = NULL;
		gchar* _tmp5_ = NULL;
		GitgExtApplication* _tmp6_ = NULL;
		GitgExtApplication* _tmp7_ = NULL;
		GitgExtApplication* _tmp8_ = NULL;
		const gchar* _tmp9_ = NULL;
		GError* _tmp10_ = NULL;
		const gchar* _tmp11_ = NULL;
#line 1088 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		e = _inner_error_;
#line 1088 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_inner_error_ = NULL;
#line 1095 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = _ ("Failed to commit");
#line 1095 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = g_strdup (_tmp4_);
#line 1095 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		msg = _tmp5_;
#line 1096 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1096 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 1096 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = _tmp7_;
#line 1096 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = msg;
#line 1096 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = e;
#line 1096 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = _tmp10_->message;
#line 1096 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_ext_application_show_infobar (_tmp8_, _tmp9_, _tmp11_, GTK_MESSAGE_ERROR);
#line 1096 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp8_);
#line 1088 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_free0 (msg);
#line 1088 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_error_free0 (e);
#line 9347 "gitg-commit.c"
	}
	__finally21:
#line 1088 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1088 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.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 1088 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 1088 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 9358 "gitg-commit.c"
	}
#line 1099 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp12_ = _data12_->dlg;
#line 1099 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gtk_widget_destroy ((GtkWidget*) _tmp12_);
#line 9364 "gitg-commit.c"
}


static void ___lambda33__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1084 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__lambda33_ (self, source_object, res);
#line 1084 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block12_data_unref (self);
#line 9373 "gitg-commit.c"
}


static void gitg_commit_activity_do_commit (GitgCommitActivity* self, GitgCommitDialog* dlg, gboolean skip_hooks, GgitSignature* author, GgitSignature* committer) {
	Block12Data* _data12_;
	GitgCommitDialog* _tmp0_ = NULL;
	GitgCommitDialog* _tmp1_ = NULL;
	GitgExtApplication* _tmp2_ = NULL;
	GitgExtApplication* _tmp3_ = NULL;
	GitgExtApplication* _tmp4_ = NULL;
	GitgRepository* _tmp5_ = NULL;
	GitgRepository* _tmp6_ = NULL;
	GitgRepository* _tmp7_ = NULL;
	GitgStage* _tmp8_ = NULL;
	GitgStage* _tmp9_ = NULL;
	GitgStage* _tmp10_ = NULL;
	GitgStageCommitOptions opts = 0;
	GitgCommitDialog* _tmp11_ = NULL;
	gboolean _tmp12_ = FALSE;
	gboolean _tmp13_ = FALSE;
	GitgCommitDialog* _tmp19_ = NULL;
	gboolean _tmp20_ = FALSE;
	gboolean _tmp21_ = FALSE;
	gboolean _tmp23_ = FALSE;
	GitgStage* _tmp25_ = NULL;
	GitgCommitDialog* _tmp26_ = NULL;
	gchar* _tmp27_ = NULL;
	gchar* _tmp28_ = NULL;
	gchar* _tmp29_ = NULL;
	GgitSignature* _tmp30_ = NULL;
	GgitSignature* _tmp31_ = NULL;
	GitgStageCommitOptions _tmp32_ = 0;
#line 1052 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 1052 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (dlg != NULL);
#line 1052 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (author != NULL);
#line 1052 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (committer != NULL);
#line 1052 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data12_ = g_slice_new0 (Block12Data);
#line 1052 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data12_->_ref_count_ = 1;
#line 1052 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data12_->self = g_object_ref (self);
#line 1052 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = dlg;
#line 1052 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 1052 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data12_->dlg);
#line 1052 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data12_->dlg = _tmp1_;
#line 1057 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1057 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _tmp2_;
#line 1057 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _tmp3_;
#line 1057 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = gitg_ext_application_get_repository (_tmp4_);
#line 1057 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = _tmp5_;
#line 1057 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = _tmp6_;
#line 1057 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = gitg_repository_get_stage (_tmp7_);
#line 1057 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = _tmp8_;
#line 1057 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = _tmp9_;
#line 1057 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp7_);
#line 1057 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp4_);
#line 1057 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data12_->stage = _tmp10_;
#line 1059 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	opts = 0;
#line 1061 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp11_ = _data12_->dlg;
#line 1061 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp12_ = gitg_commit_dialog_get_amend (_tmp11_);
#line 1061 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp13_ = _tmp12_;
#line 1061 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp13_) {
#line 9462 "gitg-commit.c"
		GitgStageCommitOptions _tmp14_ = 0;
#line 1063 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp14_ = opts;
#line 1063 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		opts = _tmp14_ | GITG_STAGE_COMMIT_OPTIONS_AMEND;
#line 9468 "gitg-commit.c"
	} else {
		gboolean _tmp15_ = FALSE;
#line 1065 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp15_ = self->priv->d_has_staged;
#line 1065 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (!_tmp15_) {
#line 9475 "gitg-commit.c"
			GitgCommitDialog* _tmp16_ = NULL;
			const gchar* _tmp17_ = NULL;
			const gchar* _tmp18_ = NULL;
#line 1067 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp16_ = _data12_->dlg;
#line 1067 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp17_ = _ ("There are no changes to be committed");
#line 1067 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp18_ = _ ("Use amend to change the commit message of the previous commit");
#line 1067 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_commit_dialog_show_infobar (_tmp16_, _tmp17_, _tmp18_, GTK_MESSAGE_WARNING);
#line 1070 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			block12_data_unref (_data12_);
#line 1070 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data12_ = NULL;
#line 1070 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			return;
#line 9493 "gitg-commit.c"
		}
	}
#line 1073 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp19_ = _data12_->dlg;
#line 1073 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp20_ = gitg_commit_dialog_get_sign_off (_tmp19_);
#line 1073 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp21_ = _tmp20_;
#line 1073 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp21_) {
#line 9504 "gitg-commit.c"
		GitgStageCommitOptions _tmp22_ = 0;
#line 1075 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp22_ = opts;
#line 1075 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		opts = _tmp22_ | GITG_STAGE_COMMIT_OPTIONS_SIGN_OFF;
#line 9510 "gitg-commit.c"
	}
#line 1078 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp23_ = skip_hooks;
#line 1078 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp23_) {
#line 9516 "gitg-commit.c"
		GitgStageCommitOptions _tmp24_ = 0;
#line 1080 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp24_ = opts;
#line 1080 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		opts = _tmp24_ | GITG_STAGE_COMMIT_OPTIONS_SKIP_HOOKS;
#line 9522 "gitg-commit.c"
	}
#line 1083 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_ignore_external_changes = TRUE;
#line 1084 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp25_ = _data12_->stage;
#line 1084 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp26_ = _data12_->dlg;
#line 1084 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp27_ = gitg_commit_dialog_get_pretty_message (_tmp26_);
#line 1084 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp28_ = _tmp27_;
#line 1084 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp29_ = _tmp28_;
#line 1084 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp30_ = author;
#line 1084 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp31_ = committer;
#line 1084 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp32_ = opts;
#line 1084 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_stage_commit (_tmp25_, _tmp29_, _tmp30_, _tmp31_, _tmp32_, ___lambda33__gasync_ready_callback, block12_data_ref (_data12_));
#line 1084 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_tmp29_);
#line 1052 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block12_data_unref (_data12_);
#line 1052 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data12_ = NULL;
#line 9550 "gitg-commit.c"
}


static void gitg_commit_activity_pre_commit_data_free (gpointer _data) {
	GitgCommitActivityPreCommitData* _data_;
	_data_ = _data;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->author);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_slice_free (GitgCommitActivityPreCommitData, _data_);
#line 9563 "gitg-commit.c"
}


static void gitg_commit_activity_pre_commit (GitgCommitActivity* self, GgitSignature* author, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgCommitActivityPreCommitData* _data_;
	GitgCommitActivity* _tmp0_ = NULL;
	GgitSignature* _tmp1_ = NULL;
	GgitSignature* _tmp2_ = NULL;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_slice_new0 (GitgCommitActivityPreCommitData);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_commit_activity_pre_commit);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_commit_activity_pre_commit_data_free);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->self = _tmp0_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = author;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->author);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->author = _tmp2_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_pre_commit_co (_data_);
#line 9592 "gitg-commit.c"
}


static gboolean gitg_commit_activity_pre_commit_finish (GitgCommitActivity* self, GAsyncResult* _res_) {
	gboolean result;
	GitgCommitActivityPreCommitData* _data_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = _data_->result;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 9605 "gitg-commit.c"
}


static void gitg_commit_activity_pre_commit_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgCommitActivityPreCommitData* _data_;
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = _user_data_;
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_source_object_ = source_object;
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_res_ = _res_;
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_pre_commit_co (_data_);
#line 9619 "gitg-commit.c"
}


static gboolean gitg_commit_activity_pre_commit_co (GitgCommitActivityPreCommitData* _data_) {
#line 1103 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	switch (_data_->_state_) {
#line 1103 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 0:
#line 9628 "gitg-commit.c"
		goto _state_0;
#line 1103 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 1:
#line 9632 "gitg-commit.c"
		goto _state_1;
		default:
#line 1103 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_assert_not_reached ();
#line 9637 "gitg-commit.c"
	}
	_state_0:
	{
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp0_ = NULL;
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp1_ = NULL;
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp1_ = _data_->_tmp0_;
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp2_ = NULL;
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp2_ = _data_->_tmp1_;
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp3_ = NULL;
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp3_ = gitg_ext_application_get_repository (_data_->_tmp2_);
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp4_ = NULL;
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp4_ = _data_->_tmp3_;
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp5_ = NULL;
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp5_ = _data_->_tmp4_;
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp6_ = NULL;
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp6_ = gitg_repository_get_stage (_data_->_tmp5_);
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp7_ = NULL;
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp7_ = _data_->_tmp6_;
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp8_ = NULL;
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp8_ = _data_->_tmp7_;
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp9_ = NULL;
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp9_ = _data_->author;
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_state_ = 1;
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_stage_pre_commit_hook (_data_->_tmp8_, _data_->_tmp9_, gitg_commit_activity_pre_commit_ready, _data_);
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return FALSE;
#line 9687 "gitg-commit.c"
		_state_1:
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_stage_pre_commit_hook_finish (_data_->_tmp8_, _data_->_res_, &_data_->_inner_error_);
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data_->_tmp8_);
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data_->_tmp5_);
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data_->_tmp2_);
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			if (_data_->_inner_error_->domain == GITG_STAGE_ERROR) {
#line 9701 "gitg-commit.c"
				goto __catch22_gitg_stage_error;
			}
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			g_clear_error (&_data_->_inner_error_);
#line 1107 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 9710 "gitg-commit.c"
		}
	}
	goto __finally22;
	__catch22_gitg_stage_error:
	{
#line 1105 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->e = _data_->_inner_error_;
#line 1105 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_inner_error_ = NULL;
#line 1111 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp10_ = NULL;
#line 1111 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp10_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 1111 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp11_ = NULL;
#line 1111 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp11_ = _data_->_tmp10_;
#line 1111 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp12_ = NULL;
#line 1111 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp12_ = _data_->_tmp11_;
#line 1111 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp13_ = NULL;
#line 1111 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp13_ = _ ("Failed to pass pre-commit");
#line 1111 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp14_ = NULL;
#line 1111 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp14_ = _data_->e;
#line 1111 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp15_ = NULL;
#line 1111 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp15_ = _data_->_tmp14_->message;
#line 1111 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_ext_application_show_infobar (_data_->_tmp12_, _data_->_tmp13_, _data_->_tmp15_, GTK_MESSAGE_ERROR);
#line 1111 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data_->_tmp12_);
#line 1115 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->result = FALSE;
#line 1115 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_error_free0 (_data_->e);
#line 1115 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (_data_->_state_ == 0) {
#line 1115 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 9756 "gitg-commit.c"
		} else {
#line 1115 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 9760 "gitg-commit.c"
		}
#line 1115 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_object_unref (_data_->_async_result);
#line 1115 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return FALSE;
#line 9766 "gitg-commit.c"
	}
	__finally22:
#line 1105 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1105 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.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 1105 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_data_->_inner_error_);
#line 1105 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return FALSE;
#line 9777 "gitg-commit.c"
	}
#line 1118 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->result = TRUE;
#line 1118 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ == 0) {
#line 1118 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 9785 "gitg-commit.c"
	} else {
#line 1118 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 9789 "gitg-commit.c"
	}
#line 1118 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 1118 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 1103 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ == 0) {
#line 1103 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 9799 "gitg-commit.c"
	} else {
#line 1103 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 9803 "gitg-commit.c"
	}
#line 1103 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 1103 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 9809 "gitg-commit.c"
}


static void gitg_commit_activity_get_head_commit_data_free (gpointer _data) {
	GitgCommitActivityGetHeadCommitData* _data_;
	_data_ = _data;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->result);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_slice_free (GitgCommitActivityGetHeadCommitData, _data_);
#line 9822 "gitg-commit.c"
}


static void gitg_commit_activity_get_head_commit (GitgCommitActivity* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgCommitActivityGetHeadCommitData* _data_;
	GitgCommitActivity* _tmp0_ = NULL;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_slice_new0 (GitgCommitActivityGetHeadCommitData);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_commit_activity_get_head_commit);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_commit_activity_get_head_commit_data_free);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->self = _tmp0_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_get_head_commit_co (_data_);
#line 9841 "gitg-commit.c"
}


static GitgCommit* gitg_commit_activity_get_head_commit_finish (GitgCommitActivity* self, GAsyncResult* _res_) {
	GitgCommit* result;
	GitgCommitActivityGetHeadCommitData* _data_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = _data_->result;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->result = NULL;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 9856 "gitg-commit.c"
}


static Block13Data* block13_data_ref (Block13Data* _data13_) {
#line 1121 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data13_->_ref_count_);
#line 1121 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return _data13_;
#line 9865 "gitg-commit.c"
}


static void block13_data_unref (void * _userdata_) {
	Block13Data* _data13_;
	_data13_ = (Block13Data*) _userdata_;
#line 1121 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data13_->_ref_count_)) {
#line 9874 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1121 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self = _data13_->self;
#line 1121 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data13_->retval);
#line 1121 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1121 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block13Data, _data13_);
#line 9884 "gitg-commit.c"
	}
}


static void ___lambda34_ (Block13Data* _data13_, GError** error) {
	GitgCommitActivity* self;
	GitgRepository* repo = NULL;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
	GitgExtApplication* _tmp2_ = NULL;
	GitgRepository* _tmp3_ = NULL;
	GitgRepository* _tmp4_ = NULL;
	GitgRepository* _tmp5_ = NULL;
	GError * _inner_error_ = NULL;
#line 1127 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data13_->self;
#line 1128 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1128 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _tmp0_;
#line 1128 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 1128 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = gitg_ext_application_get_repository (_tmp2_);
#line 1128 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _tmp3_;
#line 1128 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = _tmp4_;
#line 1128 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp2_);
#line 1128 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	repo = _tmp5_;
#line 9917 "gitg-commit.c"
	{
		GitgRef* head = NULL;
		GitgRepository* _tmp6_ = NULL;
		GitgRef* _tmp7_ = NULL;
		GitgCommit* _tmp8_ = NULL;
		GitgRepository* _tmp9_ = NULL;
		GitgRef* _tmp10_ = NULL;
		GgitOId* _tmp11_ = NULL;
		GgitOId* _tmp12_ = NULL;
		gpointer _tmp13_ = NULL;
		GitgCommit* _tmp14_ = NULL;
		GitgCommit* _tmp15_ = NULL;
#line 1132 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = repo;
#line 1132 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = gitg_repository_get_head (_tmp6_, &_inner_error_);
#line 1132 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		head = _tmp7_;
#line 1132 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 9938 "gitg-commit.c"
			goto __catch24_g_error;
		}
#line 1133 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = repo;
#line 1133 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = head;
#line 1133 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = ggit_ref_get_target ((GgitRef*) _tmp10_);
#line 1133 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp12_ = _tmp11_;
#line 1133 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp13_ = gitg_repository_lookup (_tmp9_, GITG_TYPE_COMMIT, (GBoxedCopyFunc) g_object_ref, g_object_unref, _tmp12_, &_inner_error_);
#line 1133 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp14_ = (GitgCommit*) _tmp13_;
#line 1133 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		__vala_GgitOId_free0 (_tmp12_);
#line 1133 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = _tmp14_;
#line 1133 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1133 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (head);
#line 9961 "gitg-commit.c"
			goto __catch24_g_error;
		}
#line 1133 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp15_ = _tmp8_;
#line 1133 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = NULL;
#line 1133 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data13_->retval);
#line 1133 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data13_->retval = _tmp15_;
#line 1130 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp8_);
#line 1130 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (head);
#line 9976 "gitg-commit.c"
	}
	goto __finally24;
	__catch24_g_error:
	{
#line 1130 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 1130 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_inner_error_ = NULL;
#line 9985 "gitg-commit.c"
	}
	__finally24:
#line 1130 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1130 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_propagate_error (error, _inner_error_);
#line 1130 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (repo);
#line 1130 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 9996 "gitg-commit.c"
	}
#line 1127 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (repo);
#line 10000 "gitg-commit.c"
}


static void ____lambda34__gitg_async_thread_func (gpointer self, GError** error) {
#line 1127 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	___lambda34_ (self, error);
#line 10007 "gitg-commit.c"
}


static void gitg_commit_activity_get_head_commit_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgCommitActivityGetHeadCommitData* _data_;
#line 1127 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = _user_data_;
#line 1127 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_source_object_ = source_object;
#line 1127 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_res_ = _res_;
#line 1127 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_get_head_commit_co (_data_);
#line 10021 "gitg-commit.c"
}


static gboolean gitg_commit_activity_get_head_commit_co (GitgCommitActivityGetHeadCommitData* _data_) {
#line 1121 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	switch (_data_->_state_) {
#line 1121 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 0:
#line 10030 "gitg-commit.c"
		goto _state_0;
#line 1121 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 1:
#line 10034 "gitg-commit.c"
		goto _state_1;
		default:
#line 1121 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_assert_not_reached ();
#line 10039 "gitg-commit.c"
	}
	_state_0:
#line 1121 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data13_ = g_slice_new0 (Block13Data);
#line 1121 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data13_->_ref_count_ = 1;
#line 1121 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data13_->self = g_object_ref (_data_->self);
#line 1121 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data13_->_async_data_ = _data_;
#line 1123 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data13_->retval = NULL;
#line 10052 "gitg-commit.c"
	{
#line 1127 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_state_ = 1;
#line 1127 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_async_thread (____lambda34__gitg_async_thread_func, _data_->_data13_, gitg_commit_activity_get_head_commit_ready, _data_);
#line 1127 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return FALSE;
#line 10060 "gitg-commit.c"
		_state_1:
#line 1127 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_async_thread_finish (_data_->_res_, &_data_->_inner_error_);
#line 1127 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 10066 "gitg-commit.c"
			goto __catch23_g_error;
		}
	}
	goto __finally23;
	__catch23_g_error:
	{
#line 1125 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_data_->_inner_error_);
#line 1125 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_inner_error_ = NULL;
#line 10077 "gitg-commit.c"
	}
	__finally23:
#line 1125 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1125 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		block13_data_unref (_data_->_data13_);
#line 1125 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_data13_ = NULL;
#line 1125 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.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 1125 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_data_->_inner_error_);
#line 1125 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return FALSE;
#line 10092 "gitg-commit.c"
	}
#line 1138 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = NULL;
#line 1138 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = _g_object_ref0 (_data_->_data13_->retval);
#line 1138 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->result = _data_->_tmp0_;
#line 1138 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block13_data_unref (_data_->_data13_);
#line 1138 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data13_ = NULL;
#line 1138 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ == 0) {
#line 1138 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 10108 "gitg-commit.c"
	} else {
#line 1138 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 10112 "gitg-commit.c"
	}
#line 1138 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 1138 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 1121 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block13_data_unref (_data_->_data13_);
#line 1121 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data13_ = NULL;
#line 1121 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ == 0) {
#line 1121 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 10126 "gitg-commit.c"
	} else {
#line 1121 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 10130 "gitg-commit.c"
	}
#line 1121 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 1121 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 10136 "gitg-commit.c"
}


static void gitg_commit_activity_index_diff_data_free (gpointer _data) {
	GitgCommitActivityIndexDiffData* _data_;
	_data_ = _data;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->result);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_slice_free (GitgCommitActivityIndexDiffData, _data_);
#line 10149 "gitg-commit.c"
}


static void gitg_commit_activity_index_diff (GitgCommitActivity* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgCommitActivityIndexDiffData* _data_;
	GitgCommitActivity* _tmp0_ = NULL;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_slice_new0 (GitgCommitActivityIndexDiffData);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_commit_activity_index_diff);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_commit_activity_index_diff_data_free);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->self = _tmp0_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_index_diff_co (_data_);
#line 10168 "gitg-commit.c"
}


static GgitDiff* gitg_commit_activity_index_diff_finish (GitgCommitActivity* self, GAsyncResult* _res_) {
	GgitDiff* result;
	GitgCommitActivityIndexDiffData* _data_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = _data_->result;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->result = NULL;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 10183 "gitg-commit.c"
}


static Block14Data* block14_data_ref (Block14Data* _data14_) {
#line 1141 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data14_->_ref_count_);
#line 1141 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return _data14_;
#line 10192 "gitg-commit.c"
}


static void block14_data_unref (void * _userdata_) {
	Block14Data* _data14_;
	_data14_ = (Block14Data*) _userdata_;
#line 1141 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data14_->_ref_count_)) {
#line 10201 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1141 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self = _data14_->self;
#line 1141 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data14_->diff);
#line 1141 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data14_->tree);
#line 1141 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data14_->opts);
#line 1141 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1141 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block14Data, _data14_);
#line 10215 "gitg-commit.c"
	}
}


static void gitg_commit_activity_index_diff_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgCommitActivityIndexDiffData* _data_;
#line 1158 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = _user_data_;
#line 1158 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_source_object_ = source_object;
#line 1158 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_res_ = _res_;
#line 1158 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_index_diff_co (_data_);
#line 10230 "gitg-commit.c"
}


static Block15Data* block15_data_ref (Block15Data* _data15_) {
#line 1164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data15_->_ref_count_);
#line 1164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return _data15_;
#line 10239 "gitg-commit.c"
}


static void block15_data_unref (void * _userdata_) {
	Block15Data* _data15_;
	_data15_ = (Block15Data*) _userdata_;
#line 1164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data15_->_ref_count_)) {
#line 10248 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self = _data15_->_data14_->self;
#line 1164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data15_->index);
#line 1164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		block14_data_unref (_data15_->_data14_);
#line 1164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data15_->_data14_ = NULL;
#line 1164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block15Data, _data15_);
#line 10260 "gitg-commit.c"
	}
}


static void ___lambda35_ (Block15Data* _data15_, GError** error) {
	Block14Data* _data14_;
	GitgCommitActivity* self;
	GgitDiff* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
	GitgExtApplication* _tmp2_ = NULL;
	GitgExtApplication* _tmp3_ = NULL;
	GitgRepository* _tmp4_ = NULL;
	GitgRepository* _tmp5_ = NULL;
	GitgRepository* _tmp6_ = NULL;
	GgitTree* _tmp7_ = NULL;
	GgitIndex* _tmp8_ = NULL;
	GgitDiffOptions* _tmp9_ = NULL;
	GgitDiff* _tmp10_ = NULL;
	GgitDiff* _tmp11_ = NULL;
	GgitDiff* _tmp12_ = NULL;
	GError * _inner_error_ = NULL;
#line 1168 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data14_ = _data15_->_data14_;
#line 1168 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data14_->self;
#line 1169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 1169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _tmp2_;
#line 1169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = gitg_ext_application_get_repository (_tmp3_);
#line 1169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = _tmp4_;
#line 1169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = _tmp5_;
#line 1169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = _data14_->tree;
#line 1169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = _data15_->index;
#line 1169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = _data14_->opts;
#line 1169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = ggit_diff_new_tree_to_index ((GgitRepository*) _tmp6_, _tmp7_, _tmp8_, _tmp9_, &_inner_error_);
#line 1169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp11_ = _tmp10_;
#line 1169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp6_);
#line 1169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp3_);
#line 1169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _tmp11_;
#line 1169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_propagate_error (error, _inner_error_);
#line 1169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 10320 "gitg-commit.c"
	}
#line 1169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp12_ = _tmp0_;
#line 1169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = NULL;
#line 1169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data14_->diff);
#line 1169 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data14_->diff = _tmp12_;
#line 1168 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp0_);
#line 10332 "gitg-commit.c"
}


static void ____lambda35__gitg_async_thread_func (gpointer self, GError** error) {
#line 1168 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	___lambda35_ (self, error);
#line 10339 "gitg-commit.c"
}


static gboolean gitg_commit_activity_index_diff_co (GitgCommitActivityIndexDiffData* _data_) {
#line 1141 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	switch (_data_->_state_) {
#line 1141 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 0:
#line 10348 "gitg-commit.c"
		goto _state_0;
#line 1141 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 1:
#line 10352 "gitg-commit.c"
		goto _state_1;
#line 1141 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 2:
#line 10356 "gitg-commit.c"
		goto _state_2;
		default:
#line 1141 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_assert_not_reached ();
#line 10361 "gitg-commit.c"
	}
	_state_0:
#line 1141 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data14_ = g_slice_new0 (Block14Data);
#line 1141 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data14_->_ref_count_ = 1;
#line 1141 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data14_->self = g_object_ref (_data_->self);
#line 1141 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data14_->_async_data_ = _data_;
#line 1143 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = NULL;
#line 1143 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = ggit_diff_options_new ();
#line 1143 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data14_->opts = _data_->_tmp0_;
#line 1145 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp1_ = NULL;
#line 1145 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp1_ = _data_->_data14_->opts;
#line 1145 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	ggit_diff_options_set_flags (_data_->_tmp1_, (GGIT_DIFF_INCLUDE_UNTRACKED | GGIT_DIFF_DISABLE_PATHSPEC_MATCH) | GGIT_DIFF_RECURSE_UNTRACKED_DIRS);
#line 1149 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp2_ = NULL;
#line 1149 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp2_ = _data_->_data14_->opts;
#line 1149 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	ggit_diff_options_set_n_context_lines (_data_->_tmp2_, 3);
#line 1150 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp3_ = NULL;
#line 1150 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp3_ = _data_->_data14_->opts;
#line 1150 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	ggit_diff_options_set_n_interhunk_lines (_data_->_tmp3_, 3);
#line 1152 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4_ = NULL;
#line 1152 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 1152 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp5_ = NULL;
#line 1152 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp5_ = _data_->_tmp4_;
#line 1152 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp6_ = NULL;
#line 1152 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 1152 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp7_ = NULL;
#line 1152 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp7_ = gitg_ext_application_get_repository (_data_->_tmp6_);
#line 1152 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp8_ = NULL;
#line 1152 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp8_ = _data_->_tmp7_;
#line 1152 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9_ = NULL;
#line 1152 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9_ = _data_->_tmp8_;
#line 1152 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp10_ = NULL;
#line 1152 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp10_ = gitg_repository_get_stage (_data_->_tmp9_);
#line 1152 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp11_ = NULL;
#line 1152 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp11_ = _data_->_tmp10_;
#line 1152 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp12_ = NULL;
#line 1152 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp12_ = _data_->_tmp11_;
#line 1152 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->_tmp9_);
#line 1152 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->_tmp6_);
#line 1152 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->stage = _data_->_tmp12_;
#line 10438 "gitg-commit.c"
	{
#line 1158 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp14_ = NULL;
#line 1158 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp14_ = _data_->stage;
#line 1158 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_state_ = 1;
#line 1158 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_stage_get_head_tree (_data_->_tmp14_, gitg_commit_activity_index_diff_ready, _data_);
#line 1158 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return FALSE;
#line 10450 "gitg-commit.c"
		_state_1:
#line 1158 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp15_ = NULL;
#line 1158 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp15_ = gitg_stage_get_head_tree_finish (_data_->_tmp14_, _data_->_res_, &_data_->_inner_error_);
#line 1158 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp13_ = _data_->_tmp15_;
#line 1158 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 10460 "gitg-commit.c"
			goto __catch25_g_error;
		}
#line 1158 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp16_ = NULL;
#line 1158 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp16_ = _data_->_tmp13_;
#line 1158 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp13_ = NULL;
#line 1158 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data_->_data14_->tree);
#line 1158 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_data14_->tree = _data_->_tmp16_;
#line 1156 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data_->_tmp13_);
#line 10475 "gitg-commit.c"
	}
	goto __finally25;
	__catch25_g_error:
	{
#line 1156 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_data_->_inner_error_);
#line 1156 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_inner_error_ = NULL;
#line 1160 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->result = NULL;
#line 1160 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data_->stage);
#line 1160 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		block14_data_unref (_data_->_data14_);
#line 1160 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_data14_ = NULL;
#line 1160 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (_data_->_state_ == 0) {
#line 1160 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 10496 "gitg-commit.c"
		} else {
#line 1160 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 10500 "gitg-commit.c"
		}
#line 1160 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_object_unref (_data_->_async_result);
#line 1160 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return FALSE;
#line 10506 "gitg-commit.c"
	}
	__finally25:
#line 1156 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1156 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data_->stage);
#line 1156 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		block14_data_unref (_data_->_data14_);
#line 1156 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_data14_ = NULL;
#line 1156 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.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 1156 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_data_->_inner_error_);
#line 1156 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return FALSE;
#line 10523 "gitg-commit.c"
	}
#line 1162 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data14_->diff = NULL;
#line 10527 "gitg-commit.c"
	{
#line 1164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_data15_ = g_slice_new0 (Block15Data);
#line 1164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_data15_->_ref_count_ = 1;
#line 1164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_data15_->_data14_ = block14_data_ref (_data_->_data14_);
#line 1166 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp17_ = NULL;
#line 1166 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp17_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 1166 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp18_ = NULL;
#line 1166 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp18_ = _data_->_tmp17_;
#line 1166 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp19_ = NULL;
#line 1166 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp19_ = _data_->_tmp18_;
#line 1166 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp20_ = NULL;
#line 1166 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp20_ = gitg_ext_application_get_repository (_data_->_tmp19_);
#line 1166 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp21_ = NULL;
#line 1166 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp21_ = _data_->_tmp20_;
#line 1166 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp22_ = NULL;
#line 1166 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp22_ = _data_->_tmp21_;
#line 1166 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp23_ = NULL;
#line 1166 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp23_ = ggit_repository_get_index ((GgitRepository*) _data_->_tmp22_, &_data_->_inner_error_);
#line 1166 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp24_ = NULL;
#line 1166 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp24_ = _data_->_tmp23_;
#line 1166 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data_->_tmp22_);
#line 1166 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data_->_tmp19_);
#line 1166 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_data15_->index = _data_->_tmp24_;
#line 1166 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1166 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			block15_data_unref (_data_->_data15_);
#line 1166 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_data15_ = NULL;
#line 10579 "gitg-commit.c"
			goto __catch26_g_error;
		}
#line 1168 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_state_ = 2;
#line 1168 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_async_thread (____lambda35__gitg_async_thread_func, _data_->_data15_, gitg_commit_activity_index_diff_ready, _data_);
#line 1168 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return FALSE;
#line 10588 "gitg-commit.c"
		_state_2:
#line 1168 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_async_thread_finish (_data_->_res_, &_data_->_inner_error_);
#line 1168 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1168 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			block15_data_unref (_data_->_data15_);
#line 1168 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_data15_ = NULL;
#line 10598 "gitg-commit.c"
			goto __catch26_g_error;
		}
#line 1164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		block15_data_unref (_data_->_data15_);
#line 1164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_data15_ = NULL;
#line 10605 "gitg-commit.c"
	}
	goto __finally26;
	__catch26_g_error:
	{
#line 1164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_data_->_inner_error_);
#line 1164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_inner_error_ = NULL;
#line 1174 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->result = NULL;
#line 1174 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data_->stage);
#line 1174 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		block14_data_unref (_data_->_data14_);
#line 1174 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_data14_ = NULL;
#line 1174 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (_data_->_state_ == 0) {
#line 1174 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 10626 "gitg-commit.c"
		} else {
#line 1174 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 10630 "gitg-commit.c"
		}
#line 1174 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_object_unref (_data_->_async_result);
#line 1174 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return FALSE;
#line 10636 "gitg-commit.c"
	}
	__finally26:
#line 1164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data_->stage);
#line 1164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		block14_data_unref (_data_->_data14_);
#line 1164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_data14_ = NULL;
#line 1164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.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 1164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_data_->_inner_error_);
#line 1164 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return FALSE;
#line 10653 "gitg-commit.c"
	}
#line 1176 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp25_ = NULL;
#line 1176 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp25_ = _data_->_data14_->diff;
#line 1176 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp26_ = NULL;
#line 1176 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp26_ = _g_object_ref0 (_data_->_tmp25_);
#line 1176 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->result = _data_->_tmp26_;
#line 1176 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->stage);
#line 1176 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block14_data_unref (_data_->_data14_);
#line 1176 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data14_ = NULL;
#line 1176 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ == 0) {
#line 1176 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 10675 "gitg-commit.c"
	} else {
#line 1176 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 10679 "gitg-commit.c"
	}
#line 1176 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 1176 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 1141 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->stage);
#line 1141 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block14_data_unref (_data_->_data14_);
#line 1141 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data14_ = NULL;
#line 1141 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ == 0) {
#line 1141 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 10695 "gitg-commit.c"
	} else {
#line 1141 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 10699 "gitg-commit.c"
	}
#line 1141 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 1141 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 10705 "gitg-commit.c"
}


static Block16Data* block16_data_ref (Block16Data* _data16_) {
#line 1179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data16_->_ref_count_);
#line 1179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return _data16_;
#line 10714 "gitg-commit.c"
}


static void block16_data_unref (void * _userdata_) {
	Block16Data* _data16_;
	_data16_ = (Block16Data*) _userdata_;
#line 1179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data16_->_ref_count_)) {
#line 10723 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self = _data16_->self;
#line 1179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data16_->author);
#line 1179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data16_->committer);
#line 1179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block16Data, _data16_);
#line 10735 "gitg-commit.c"
	}
}


static void __lambda36_ (Block16Data* _data16_, GObject* obj, GAsyncResult* res) {
	GitgCommitActivity* self;
	GgitDiff* diff = NULL;
	GAsyncResult* _tmp0_ = NULL;
	GgitDiff* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
	GgitSignature* _tmp3_ = NULL;
	GgitSignature* _tmp4_ = NULL;
#line 1183 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data16_->self;
#line 1183 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 1184 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = res;
#line 1184 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_activity_index_diff_finish (self, _tmp0_);
#line 1184 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	diff = _tmp1_;
#line 1186 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _data16_->skip_hooks;
#line 1186 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _data16_->author;
#line 1186 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _data16_->committer;
#line 1186 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_run_commit_dialog_with_diff (self, _tmp2_, _tmp3_, _tmp4_, diff);
#line 1183 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (diff);
#line 10768 "gitg-commit.c"
}


static void ___lambda36__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1183 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__lambda36_ (self, source_object, res);
#line 1183 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block16_data_unref (self);
#line 10777 "gitg-commit.c"
}


static void gitg_commit_activity_run_commit_dialog (GitgCommitActivity* self, gboolean skip_hooks, GgitSignature* author, GgitSignature* committer) {
	Block16Data* _data16_;
	gboolean _tmp0_ = FALSE;
	GgitSignature* _tmp1_ = NULL;
	GgitSignature* _tmp2_ = NULL;
	GgitSignature* _tmp3_ = NULL;
	GgitSignature* _tmp4_ = NULL;
#line 1179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 1179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (author != NULL);
#line 1179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (committer != NULL);
#line 1179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data16_ = g_slice_new0 (Block16Data);
#line 1179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data16_->_ref_count_ = 1;
#line 1179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data16_->self = g_object_ref (self);
#line 1179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = skip_hooks;
#line 1179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data16_->skip_hooks = _tmp0_;
#line 1179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = author;
#line 1179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 1179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data16_->author);
#line 1179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data16_->author = _tmp2_;
#line 1179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = committer;
#line 1179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 1179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data16_->committer);
#line 1179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data16_->committer = _tmp4_;
#line 1183 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_index_diff (self, ___lambda36__gasync_ready_callback, block16_data_ref (_data16_));
#line 1179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block16_data_unref (_data16_);
#line 1179 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data16_ = NULL;
#line 10826 "gitg-commit.c"
}


static Block17Data* block17_data_ref (Block17Data* _data17_) {
#line 1193 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data17_->_ref_count_);
#line 1193 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return _data17_;
#line 10835 "gitg-commit.c"
}


static void block17_data_unref (void * _userdata_) {
	Block17Data* _data17_;
	_data17_ = (Block17Data*) _userdata_;
#line 1193 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data17_->_ref_count_)) {
#line 10844 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1193 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self = _data17_->self;
#line 1193 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data17_->dlg);
#line 1193 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data17_->author);
#line 1193 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data17_->committer);
#line 1193 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1193 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block17Data, _data17_);
#line 10858 "gitg-commit.c"
	}
}


static void __lambda37_ (Block17Data* _data17_, GtkDialog* d, gint id) {
	GitgCommitActivity* self;
	gint _tmp0_ = 0;
#line 1203 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data17_->self;
#line 1203 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (d != NULL);
#line 1204 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = id;
#line 1204 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp0_ == ((gint) GTK_RESPONSE_OK)) {
#line 10874 "gitg-commit.c"
		gboolean _tmp1_ = FALSE;
		GgitSignature* _tmp2_ = NULL;
		GgitSignature* _tmp3_ = NULL;
		GgitSignature* _tmp4_ = NULL;
		GgitSignature* _tmp5_ = NULL;
#line 1206 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = _data17_->skip_hooks;
#line 1206 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = gitg_commit_dialog_get_author (_data17_->dlg);
#line 1206 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp3_ = _tmp2_;
#line 1206 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = _tmp3_;
#line 1206 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = _data17_->committer;
#line 1206 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_do_commit (self, _data17_->dlg, _tmp1_, _tmp4_, _tmp5_);
#line 1206 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp4_);
#line 10894 "gitg-commit.c"
	} else {
		GtkDialog* _tmp6_ = NULL;
#line 1210 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = d;
#line 1210 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gtk_widget_destroy ((GtkWidget*) _tmp6_);
#line 10901 "gitg-commit.c"
	}
}


static void ___lambda37__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) {
#line 1203 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__lambda37_ (self, _sender, response_id);
#line 10909 "gitg-commit.c"
}


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


static void ___lambda39_ (Block17Data* _data17_, GObject* obj, GAsyncResult* res) {
	GitgCommitActivity* self;
	GitgCommit* commit = NULL;
	GAsyncResult* _tmp0_ = NULL;
	GitgCommit* _tmp1_ = NULL;
	GitgCommit* _tmp2_ = NULL;
#line 1221 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data17_->self;
#line 1221 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 1222 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = res;
#line 1222 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_activity_get_head_commit_finish (self, _tmp0_);
#line 1222 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	commit = _tmp1_;
#line 1224 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = commit;
#line 1224 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp2_ != NULL) {
#line 10956 "gitg-commit.c"
		gchar* _tmp3_ = NULL;
		gchar* _tmp4_ = NULL;
		gchar* _tmp5_ = NULL;
		gchar* _tmp6_ = NULL;
		gchar* _tmp7_ = NULL;
		const gchar* _tmp8_ = NULL;
		const gchar* _tmp9_ = NULL;
		gboolean _tmp10_ = FALSE;
		GitgCommit* _tmp13_ = NULL;
		GgitSignature* _tmp14_ = NULL;
		GgitSignature* _tmp15_ = NULL;
#line 1226 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp3_ = gitg_commit_dialog_get_message (_data17_->dlg);
#line 1226 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = _tmp3_;
#line 1226 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = _tmp4_;
#line 1226 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = string_strip (_tmp5_);
#line 1226 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 1226 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = gitg_commit_dialog_get_default_message (_data17_->dlg);
#line 1226 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = _tmp8_;
#line 1226 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = g_strcmp0 (_tmp7_, _tmp9_) == 0;
#line 1226 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_free0 (_tmp7_);
#line 1226 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_free0 (_tmp5_);
#line 1226 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp10_) {
#line 10990 "gitg-commit.c"
			GitgCommit* _tmp11_ = NULL;
			const gchar* _tmp12_ = NULL;
#line 1228 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp11_ = commit;
#line 1228 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp12_ = ggit_commit_get_message ((GgitCommit*) _tmp11_);
#line 1228 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_commit_dialog_set_message (_data17_->dlg, _tmp12_);
#line 10999 "gitg-commit.c"
		}
#line 1231 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp13_ = commit;
#line 1231 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp14_ = ggit_commit_get_author ((GgitCommit*) _tmp13_);
#line 1231 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp15_ = _tmp14_;
#line 1231 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_dialog_set_author (_data17_->dlg, _tmp15_);
#line 1231 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp15_);
#line 11011 "gitg-commit.c"
	}
#line 1221 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (commit);
#line 11015 "gitg-commit.c"
}


static void ____lambda39__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1221 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	___lambda39_ (self, source_object, res);
#line 1221 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block17_data_unref (self);
#line 11024 "gitg-commit.c"
}


static void __lambda38_ (Block17Data* _data17_, GObject* obj, GParamSpec* pspec) {
	GitgCommitActivity* self;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
#line 1214 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data17_->self;
#line 1214 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (obj != NULL);
#line 1214 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (pspec != NULL);
#line 1215 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = gitg_commit_dialog_get_amend (_data17_->dlg);
#line 1215 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _tmp0_;
#line 1215 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (!_tmp1_) {
#line 11044 "gitg-commit.c"
		GgitSignature* _tmp2_ = NULL;
#line 1217 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = _data17_->author;
#line 1217 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_dialog_set_author (_data17_->dlg, _tmp2_);
#line 11050 "gitg-commit.c"
	} else {
#line 1221 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_get_head_commit (self, ____lambda39__gasync_ready_callback, block17_data_ref (_data17_));
#line 11054 "gitg-commit.c"
	}
}


static void ___lambda38__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 1214 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__lambda38_ (self, _sender, pspec);
#line 11062 "gitg-commit.c"
}


static void gitg_commit_activity_run_commit_dialog_with_diff (GitgCommitActivity* self, gboolean skip_hooks, GgitSignature* author, GgitSignature* committer, GgitDiff* diff) {
	Block17Data* _data17_;
	gboolean _tmp0_ = FALSE;
	GgitSignature* _tmp1_ = NULL;
	GgitSignature* _tmp2_ = NULL;
	GgitSignature* _tmp3_ = NULL;
	GgitSignature* _tmp4_ = NULL;
	GitgExtApplication* _tmp5_ = NULL;
	GitgExtApplication* _tmp6_ = NULL;
	GitgExtApplication* _tmp7_ = NULL;
	GitgRepository* _tmp8_ = NULL;
	GitgRepository* _tmp9_ = NULL;
	GitgRepository* _tmp10_ = NULL;
	GgitSignature* _tmp11_ = NULL;
	GgitDiff* _tmp12_ = NULL;
	GitgCommitDialog* _tmp13_ = NULL;
	GitgCommitDialog* _tmp14_ = NULL;
	GitgCommitPaned* _tmp15_ = NULL;
	GtkWidget* _tmp16_ = NULL;
#line 1193 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 1193 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (author != NULL);
#line 1193 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (committer != NULL);
#line 1193 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data17_ = g_slice_new0 (Block17Data);
#line 1193 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data17_->_ref_count_ = 1;
#line 1193 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data17_->self = g_object_ref (self);
#line 1193 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = skip_hooks;
#line 1193 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data17_->skip_hooks = _tmp0_;
#line 1193 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = author;
#line 1193 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 1193 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data17_->author);
#line 1193 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data17_->author = _tmp2_;
#line 1193 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = committer;
#line 1193 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 1193 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data17_->committer);
#line 1193 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data17_->committer = _tmp4_;
#line 1198 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1198 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = _tmp5_;
#line 1198 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = _tmp6_;
#line 1198 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = gitg_ext_application_get_repository (_tmp7_);
#line 1198 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = _tmp8_;
#line 1198 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = _tmp9_;
#line 1198 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp11_ = _data17_->author;
#line 1198 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp12_ = diff;
#line 1198 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp13_ = gitg_commit_dialog_new (_tmp10_, _tmp11_, _tmp12_);
#line 1198 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_ref_sink (_tmp13_);
#line 1198 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp14_ = _tmp13_;
#line 1198 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp10_);
#line 1198 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp7_);
#line 1198 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data17_->dlg = _tmp14_;
#line 1200 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp15_ = self->priv->d_main;
#line 1200 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp16_ = gtk_widget_get_toplevel ((GtkWidget*) _tmp15_);
#line 1200 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gtk_window_set_transient_for ((GtkWindow*) _data17_->dlg, G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_window_get_type (), GtkWindow));
#line 1201 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gtk_dialog_set_default_response ((GtkDialog*) _data17_->dlg, (gint) GTK_RESPONSE_OK);
#line 1203 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_data ((GtkDialog*) _data17_->dlg, "response", (GCallback) ___lambda37__gtk_dialog_response, block17_data_ref (_data17_), (GClosureNotify) block17_data_unref, 0);
#line 1214 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_data ((GObject*) _data17_->dlg, "notify::amend", (GCallback) ___lambda38__g_object_notify, block17_data_ref (_data17_), (GClosureNotify) block17_data_unref, 0);
#line 1237 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gtk_widget_show ((GtkWidget*) _data17_->dlg);
#line 1193 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block17_data_unref (_data17_);
#line 1193 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data17_ = NULL;
#line 11163 "gitg-commit.c"
}


static GgitSignature* gitg_commit_activity_get_signature (GitgCommitActivity* self, const gchar* envname, GError** error) {
	GgitSignature* result = NULL;
	GgitSignature* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
	GitgExtApplication* _tmp2_ = NULL;
	GitgExtApplication* _tmp3_ = NULL;
	GitgRepository* _tmp4_ = NULL;
	GitgRepository* _tmp5_ = NULL;
	GitgRepository* _tmp6_ = NULL;
	GitgExtApplication* _tmp7_ = NULL;
	GitgExtApplication* _tmp8_ = NULL;
	GitgExtApplication* _tmp9_ = NULL;
	GeeMap* _tmp10_ = NULL;
	GeeMap* _tmp11_ = NULL;
	GeeMap* _tmp12_ = NULL;
	const gchar* _tmp13_ = NULL;
	GgitSignature* _tmp14_ = NULL;
	GgitSignature* _tmp15_ = NULL;
	GgitSignature* _tmp16_ = NULL;
	GError * _inner_error_ = NULL;
#line 1240 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 1240 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (envname != NULL, NULL);
#line 1242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 1242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _tmp2_;
#line 1242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = gitg_ext_application_get_repository (_tmp3_);
#line 1242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = _tmp4_;
#line 1242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = _tmp5_;
#line 1242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = _tmp7_;
#line 1242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = _tmp8_;
#line 1242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = gitg_ext_application_get_environment (_tmp9_);
#line 1242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp11_ = _tmp10_;
#line 1242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp12_ = _tmp11_;
#line 1242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp13_ = envname;
#line 1242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp14_ = gitg_repository_get_signature_with_environment (_tmp6_, _tmp12_, _tmp13_, &_inner_error_);
#line 1242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp15_ = _tmp14_;
#line 1242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp12_);
#line 1242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp9_);
#line 1242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp6_);
#line 1242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp3_);
#line 1242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _tmp15_;
#line 1242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_propagate_error (error, _inner_error_);
#line 1242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return NULL;
#line 11237 "gitg-commit.c"
	}
#line 1242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp16_ = _tmp0_;
#line 1242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = NULL;
#line 1242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = _tmp16_;
#line 1242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp0_);
#line 1242 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 11249 "gitg-commit.c"
}


static Block18Data* block18_data_ref (Block18Data* _data18_) {
#line 1245 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data18_->_ref_count_);
#line 1245 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return _data18_;
#line 11258 "gitg-commit.c"
}


static void block18_data_unref (void * _userdata_) {
	Block18Data* _data18_;
	_data18_ = (Block18Data*) _userdata_;
#line 1245 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data18_->_ref_count_)) {
#line 11267 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1245 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self = _data18_->self;
#line 1245 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data18_->author);
#line 1245 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data18_->committer);
#line 1245 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1245 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block18Data, _data18_);
#line 11279 "gitg-commit.c"
	}
}


static void ___lambda40_ (Block18Data* _data18_, GObject* obj, GAsyncResult* res) {
	GitgCommitActivity* self;
	GAsyncResult* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	GgitSignature* _tmp2_ = NULL;
	GgitSignature* _tmp3_ = NULL;
#line 1272 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data18_->self;
#line 1272 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 1273 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = res;
#line 1273 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_activity_pre_commit_finish (self, _tmp0_);
#line 1273 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (!_tmp1_) {
#line 1275 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 11302 "gitg-commit.c"
	}
#line 1278 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _data18_->author;
#line 1278 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _data18_->committer;
#line 1278 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_run_commit_dialog (self, FALSE, _tmp2_, _tmp3_);
#line 11310 "gitg-commit.c"
}


static void ____lambda40__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1272 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	___lambda40_ (self, source_object, res);
#line 1272 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block18_data_unref (self);
#line 11319 "gitg-commit.c"
}


static void gitg_commit_activity_on_commit_clicked (GitgCommitActivity* self) {
	Block18Data* _data18_;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
	GitgExtApplication* _tmp2_ = NULL;
	GgitSignature* _tmp3_ = NULL;
	GgitSignature* _tmp4_ = NULL;
	GitgCommitPaned* _tmp23_ = NULL;
	gboolean _tmp24_ = FALSE;
	gboolean _tmp25_ = FALSE;
	GError * _inner_error_ = NULL;
#line 1245 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 1245 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data18_ = g_slice_new0 (Block18Data);
#line 1245 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data18_->_ref_count_ = 1;
#line 1245 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data18_->self = g_object_ref (self);
#line 1250 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1250 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _tmp0_;
#line 1250 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 1250 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = gitg_ext_application_get_verified_committer (_tmp2_);
#line 1250 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data18_->committer);
#line 1250 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data18_->committer = _tmp3_;
#line 1250 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp2_);
#line 1252 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _data18_->committer;
#line 1252 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp4_ == NULL) {
#line 1254 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		block18_data_unref (_data18_);
#line 1254 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data18_ = NULL;
#line 1254 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 11366 "gitg-commit.c"
	}
	{
		GgitSignature* _tmp5_ = NULL;
		GitgExtApplication* _tmp6_ = NULL;
		GitgExtApplication* _tmp7_ = NULL;
		GitgExtApplication* _tmp8_ = NULL;
		GitgRepository* _tmp9_ = NULL;
		GitgRepository* _tmp10_ = NULL;
		GitgRepository* _tmp11_ = NULL;
		GitgExtApplication* _tmp12_ = NULL;
		GitgExtApplication* _tmp13_ = NULL;
		GitgExtApplication* _tmp14_ = NULL;
		GeeMap* _tmp15_ = NULL;
		GeeMap* _tmp16_ = NULL;
		GeeMap* _tmp17_ = NULL;
		GgitSignature* _tmp18_ = NULL;
		GgitSignature* _tmp19_ = NULL;
		GgitSignature* _tmp20_ = NULL;
#line 1259 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1259 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 1259 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = _tmp7_;
#line 1259 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = gitg_ext_application_get_repository (_tmp8_);
#line 1259 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = _tmp9_;
#line 1259 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = _tmp10_;
#line 1259 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp12_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1259 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp13_ = _tmp12_;
#line 1259 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp14_ = _tmp13_;
#line 1259 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp15_ = gitg_ext_application_get_environment (_tmp14_);
#line 1259 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp16_ = _tmp15_;
#line 1259 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp17_ = _tmp16_;
#line 1259 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp18_ = gitg_repository_get_signature_with_environment (_tmp11_, _tmp17_, "AUTHOR", &_inner_error_);
#line 1259 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp19_ = _tmp18_;
#line 1259 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp17_);
#line 1259 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp14_);
#line 1259 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp11_);
#line 1259 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp8_);
#line 1259 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = _tmp19_;
#line 1259 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 11425 "gitg-commit.c"
			goto __catch27_g_error;
		}
#line 1259 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp20_ = _tmp5_;
#line 1259 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = NULL;
#line 1259 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data18_->author);
#line 1259 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data18_->author = _tmp20_;
#line 1257 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp5_);
#line 11438 "gitg-commit.c"
	}
	goto __finally27;
	__catch27_g_error:
	{
		GgitSignature* _tmp21_ = NULL;
		GgitSignature* _tmp22_ = NULL;
#line 1257 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 1257 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_inner_error_ = NULL;
#line 1263 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp21_ = _data18_->committer;
#line 1263 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp22_ = _g_object_ref0 (_tmp21_);
#line 1263 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data18_->author);
#line 1263 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data18_->author = _tmp22_;
#line 11457 "gitg-commit.c"
	}
	__finally27:
#line 1257 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1257 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		block18_data_unref (_data18_);
#line 1257 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data18_ = NULL;
#line 1257 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.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 1257 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 1257 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 11472 "gitg-commit.c"
	}
#line 1266 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp23_ = self->priv->d_main;
#line 1266 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp24_ = gitg_commit_paned_get_skip_hooks (_tmp23_);
#line 1266 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp25_ = _tmp24_;
#line 1266 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp25_) {
#line 11482 "gitg-commit.c"
		GgitSignature* _tmp26_ = NULL;
		GgitSignature* _tmp27_ = NULL;
#line 1268 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp26_ = _data18_->author;
#line 1268 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp27_ = _data18_->committer;
#line 1268 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_run_commit_dialog (self, TRUE, _tmp26_, _tmp27_);
#line 11491 "gitg-commit.c"
	} else {
		GgitSignature* _tmp28_ = NULL;
#line 1272 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp28_ = _data18_->author;
#line 1272 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_pre_commit (self, _tmp28_, ____lambda40__gasync_ready_callback, block18_data_ref (_data18_));
#line 11498 "gitg-commit.c"
	}
#line 1245 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block18_data_unref (_data18_);
#line 1245 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data18_ = NULL;
#line 11504 "gitg-commit.c"
}


static void gitg_commit_activity_stage_unstage_selection_data_free (gpointer _data) {
	GitgCommitActivityStageUnstageSelectionData* _data_;
	_data_ = _data;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_slice_free (GitgCommitActivityStageUnstageSelectionData, _data_);
#line 11515 "gitg-commit.c"
}


static void gitg_commit_activity_stage_unstage_selection (GitgCommitActivity* self, gboolean staging, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgCommitActivityStageUnstageSelectionData* _data_;
	GitgCommitActivity* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_slice_new0 (GitgCommitActivityStageUnstageSelectionData);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_commit_activity_stage_unstage_selection);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_commit_activity_stage_unstage_selection_data_free);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->self = _tmp0_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = staging;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->staging = _tmp1_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_stage_unstage_selection_co (_data_);
#line 11539 "gitg-commit.c"
}


static void gitg_commit_activity_stage_unstage_selection_finish (GitgCommitActivity* self, GAsyncResult* _res_, GError** error) {
	GitgCommitActivityStageUnstageSelectionData* _data_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 11549 "gitg-commit.c"
	}
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 11553 "gitg-commit.c"
}


static gpointer _gitg_patch_set_ref0 (gpointer self) {
#line 1288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return self ? gitg_patch_set_ref (self) : NULL;
#line 11560 "gitg-commit.c"
}


static void gitg_commit_activity_stage_unstage_selection_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgCommitActivityStageUnstageSelectionData* _data_;
#line 1292 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = _user_data_;
#line 1292 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_source_object_ = source_object;
#line 1292 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_res_ = _res_;
#line 1292 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_stage_unstage_selection_co (_data_);
#line 11574 "gitg-commit.c"
}


static gboolean gitg_commit_activity_stage_unstage_selection_co (GitgCommitActivityStageUnstageSelectionData* _data_) {
#line 1283 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	switch (_data_->_state_) {
#line 1283 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 0:
#line 11583 "gitg-commit.c"
		goto _state_0;
#line 1283 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 1:
#line 11587 "gitg-commit.c"
		goto _state_1;
#line 1283 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 2:
#line 11591 "gitg-commit.c"
		goto _state_2;
		default:
#line 1283 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_assert_not_reached ();
#line 11596 "gitg-commit.c"
	}
	_state_0:
#line 1285 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = NULL;
#line 1285 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = _data_->self->priv->d_main;
#line 1285 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp1_ = NULL;
#line 1285 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp1_ = gitg_commit_paned_get_diff_view (_data_->_tmp0_);
#line 1285 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp2_ = NULL;
#line 1285 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 1285 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp3_ = NULL;
#line 1285 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp3__length1 = 0;
#line 1285 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp3_ = gitg_diff_view_get_selection (_data_->_tmp2_, &_data_->_tmp3__length1);
#line 1285 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4_ = NULL;
#line 1285 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4__length1 = 0;
#line 1285 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 1285 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4__length1 = _data_->_tmp3__length1;
#line 1285 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->selection_length1 = 0;
#line 1285 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_selection_size_ = 0;
#line 1285 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->selection = _data_->_tmp4_;
#line 1285 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->selection_length1 = _data_->_tmp4__length1;
#line 1285 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_selection_size_ = _data_->selection_length1;
#line 1286 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp5_ = NULL;
#line 1286 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp5_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 1286 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp6_ = NULL;
#line 1286 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 1286 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp7_ = NULL;
#line 1286 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp7_ = _data_->_tmp6_;
#line 1286 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp8_ = NULL;
#line 1286 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp8_ = gitg_ext_application_get_repository (_data_->_tmp7_);
#line 1286 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9_ = NULL;
#line 1286 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9_ = _data_->_tmp8_;
#line 1286 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp10_ = NULL;
#line 1286 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp10_ = _data_->_tmp9_;
#line 1286 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp11_ = NULL;
#line 1286 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp11_ = gitg_repository_get_stage (_data_->_tmp10_);
#line 1286 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp12_ = NULL;
#line 1286 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp12_ = _data_->_tmp11_;
#line 1286 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp13_ = NULL;
#line 1286 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp13_ = _data_->_tmp12_;
#line 1286 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->_tmp10_);
#line 1286 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->_tmp7_);
#line 1286 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->stage = _data_->_tmp13_;
#line 1288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp14_ = NULL;
#line 1288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp14__length1 = 0;
#line 1288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp14_ = _data_->selection;
#line 1288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp14__length1 = _data_->selection_length1;
#line 11685 "gitg-commit.c"
	{
#line 1288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->pset_collection_length1 = 0;
#line 1288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_pset_collection_size_ = 0;
#line 1288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->pset_collection = _data_->_tmp14_;
#line 1288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->pset_collection_length1 = _data_->_tmp14__length1;
#line 1288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		for (_data_->pset_it = 0; _data_->pset_it < _data_->_tmp14__length1; _data_->pset_it = _data_->pset_it + 1) {
#line 1288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp15_ = NULL;
#line 1288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp15_ = _gitg_patch_set_ref0 (_data_->pset_collection[_data_->pset_it]);
#line 1288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->pset = _data_->_tmp15_;
#line 11703 "gitg-commit.c"
			{
#line 1290 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp16_ = FALSE;
#line 1290 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp16_ = _data_->staging;
#line 1290 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				if (_data_->_tmp16_) {
#line 1292 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp17_ = NULL;
#line 1292 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp17_ = _data_->stage;
#line 1292 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp18_ = NULL;
#line 1292 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp18_ = _data_->pset;
#line 1292 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->_state_ = 1;
#line 1292 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					gitg_stage_stage_patch (_data_->_tmp17_, _data_->_tmp18_, gitg_commit_activity_stage_unstage_selection_ready, _data_);
#line 1292 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					return FALSE;
#line 11725 "gitg-commit.c"
					_state_1:
#line 1292 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					gitg_stage_stage_patch_finish (_data_->_tmp17_, _data_->_res_, &_data_->_inner_error_);
#line 1292 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1292 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 1292 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						g_error_free (_data_->_inner_error_);
#line 1292 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_gitg_patch_set_unref0 (_data_->pset);
#line 1292 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_g_object_unref0 (_data_->stage);
#line 1292 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_data_->selection = (_vala_array_free (_data_->selection, _data_->selection_length1, (GDestroyNotify) gitg_patch_set_unref), NULL);
#line 1292 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						if (_data_->_state_ == 0) {
#line 1292 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
							g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 11745 "gitg-commit.c"
						} else {
#line 1292 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
							g_simple_async_result_complete (_data_->_async_result);
#line 11749 "gitg-commit.c"
						}
#line 1292 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						g_object_unref (_data_->_async_result);
#line 1292 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						return FALSE;
#line 11755 "gitg-commit.c"
					}
				} else {
#line 1296 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp19_ = NULL;
#line 1296 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp19_ = _data_->stage;
#line 1296 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp20_ = NULL;
#line 1296 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp20_ = _data_->pset;
#line 1296 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->_state_ = 2;
#line 1296 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					gitg_stage_unstage_patch (_data_->_tmp19_, _data_->_tmp20_, gitg_commit_activity_stage_unstage_selection_ready, _data_);
#line 1296 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					return FALSE;
#line 11772 "gitg-commit.c"
					_state_2:
#line 1296 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					gitg_stage_unstage_patch_finish (_data_->_tmp19_, _data_->_res_, &_data_->_inner_error_);
#line 1296 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1296 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 1296 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						g_error_free (_data_->_inner_error_);
#line 1296 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_gitg_patch_set_unref0 (_data_->pset);
#line 1296 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_g_object_unref0 (_data_->stage);
#line 1296 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_data_->selection = (_vala_array_free (_data_->selection, _data_->selection_length1, (GDestroyNotify) gitg_patch_set_unref), NULL);
#line 1296 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						if (_data_->_state_ == 0) {
#line 1296 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
							g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 11792 "gitg-commit.c"
						} else {
#line 1296 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
							g_simple_async_result_complete (_data_->_async_result);
#line 11796 "gitg-commit.c"
						}
#line 1296 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						g_object_unref (_data_->_async_result);
#line 1296 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						return FALSE;
#line 11802 "gitg-commit.c"
					}
				}
#line 1288 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_gitg_patch_set_unref0 (_data_->pset);
#line 11807 "gitg-commit.c"
			}
		}
	}
#line 1283 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->stage);
#line 1283 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->selection = (_vala_array_free (_data_->selection, _data_->selection_length1, (GDestroyNotify) gitg_patch_set_unref), NULL);
#line 1283 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ == 0) {
#line 1283 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 11819 "gitg-commit.c"
	} else {
#line 1283 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 11823 "gitg-commit.c"
	}
#line 1283 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 1283 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 11829 "gitg-commit.c"
}


static void gitg_commit_activity_discard_selection_data_free (gpointer _data) {
	GitgCommitActivityDiscardSelectionData* _data_;
	_data_ = _data;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_slice_free (GitgCommitActivityDiscardSelectionData, _data_);
#line 11840 "gitg-commit.c"
}


static void gitg_commit_activity_discard_selection (GitgCommitActivity* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgCommitActivityDiscardSelectionData* _data_;
	GitgCommitActivity* _tmp0_ = NULL;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_slice_new0 (GitgCommitActivityDiscardSelectionData);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_commit_activity_discard_selection);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_commit_activity_discard_selection_data_free);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->self = _tmp0_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_discard_selection_co (_data_);
#line 11859 "gitg-commit.c"
}


static void gitg_commit_activity_discard_selection_finish (GitgCommitActivity* self, GAsyncResult* _res_, GError** error) {
	GitgCommitActivityDiscardSelectionData* _data_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 11869 "gitg-commit.c"
	}
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 11873 "gitg-commit.c"
}


static void gitg_commit_activity_discard_selection_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgCommitActivityDiscardSelectionData* _data_;
#line 1308 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = _user_data_;
#line 1308 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_source_object_ = source_object;
#line 1308 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_res_ = _res_;
#line 1308 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_discard_selection_co (_data_);
#line 11887 "gitg-commit.c"
}


static gboolean gitg_commit_activity_discard_selection_co (GitgCommitActivityDiscardSelectionData* _data_) {
#line 1301 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	switch (_data_->_state_) {
#line 1301 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 0:
#line 11896 "gitg-commit.c"
		goto _state_0;
#line 1301 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 1:
#line 11900 "gitg-commit.c"
		goto _state_1;
		default:
#line 1301 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_assert_not_reached ();
#line 11905 "gitg-commit.c"
	}
	_state_0:
#line 1303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = NULL;
#line 1303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = _data_->self->priv->d_main;
#line 1303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp1_ = NULL;
#line 1303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp1_ = gitg_commit_paned_get_diff_view (_data_->_tmp0_);
#line 1303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp2_ = NULL;
#line 1303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 1303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp3_ = NULL;
#line 1303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp3__length1 = 0;
#line 1303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp3_ = gitg_diff_view_get_selection (_data_->_tmp2_, &_data_->_tmp3__length1);
#line 1303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4_ = NULL;
#line 1303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4__length1 = 0;
#line 1303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 1303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4__length1 = _data_->_tmp3__length1;
#line 1303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->selection_length1 = 0;
#line 1303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_selection_size_ = 0;
#line 1303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->selection = _data_->_tmp4_;
#line 1303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->selection_length1 = _data_->_tmp4__length1;
#line 1303 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_selection_size_ = _data_->selection_length1;
#line 1304 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp5_ = NULL;
#line 1304 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp5_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 1304 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp6_ = NULL;
#line 1304 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 1304 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp7_ = NULL;
#line 1304 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp7_ = _data_->_tmp6_;
#line 1304 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp8_ = NULL;
#line 1304 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp8_ = gitg_ext_application_get_repository (_data_->_tmp7_);
#line 1304 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9_ = NULL;
#line 1304 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9_ = _data_->_tmp8_;
#line 1304 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp10_ = NULL;
#line 1304 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp10_ = _data_->_tmp9_;
#line 1304 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp11_ = NULL;
#line 1304 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp11_ = gitg_repository_get_stage (_data_->_tmp10_);
#line 1304 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp12_ = NULL;
#line 1304 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp12_ = _data_->_tmp11_;
#line 1304 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp13_ = NULL;
#line 1304 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp13_ = _data_->_tmp12_;
#line 1304 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->_tmp10_);
#line 1304 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->_tmp7_);
#line 1304 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->stage = _data_->_tmp13_;
#line 1306 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp14_ = NULL;
#line 1306 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp14__length1 = 0;
#line 1306 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp14_ = _data_->selection;
#line 1306 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp14__length1 = _data_->selection_length1;
#line 11994 "gitg-commit.c"
	{
#line 1306 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->pset_collection_length1 = 0;
#line 1306 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_pset_collection_size_ = 0;
#line 1306 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->pset_collection = _data_->_tmp14_;
#line 1306 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->pset_collection_length1 = _data_->_tmp14__length1;
#line 1306 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		for (_data_->pset_it = 0; _data_->pset_it < _data_->_tmp14__length1; _data_->pset_it = _data_->pset_it + 1) {
#line 1306 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp15_ = NULL;
#line 1306 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp15_ = _gitg_patch_set_ref0 (_data_->pset_collection[_data_->pset_it]);
#line 1306 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->pset = _data_->_tmp15_;
#line 12012 "gitg-commit.c"
			{
#line 1308 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp16_ = NULL;
#line 1308 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp16_ = _data_->stage;
#line 1308 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp17_ = NULL;
#line 1308 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp17_ = _data_->pset;
#line 1308 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_state_ = 1;
#line 1308 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				gitg_stage_revert_patch (_data_->_tmp16_, _data_->_tmp17_, gitg_commit_activity_discard_selection_ready, _data_);
#line 1308 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				return FALSE;
#line 12028 "gitg-commit.c"
				_state_1:
#line 1308 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				gitg_stage_revert_patch_finish (_data_->_tmp16_, _data_->_res_, &_data_->_inner_error_);
#line 1308 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1308 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 1308 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					g_error_free (_data_->_inner_error_);
#line 1308 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_gitg_patch_set_unref0 (_data_->pset);
#line 1308 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_g_object_unref0 (_data_->stage);
#line 1308 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->selection = (_vala_array_free (_data_->selection, _data_->selection_length1, (GDestroyNotify) gitg_patch_set_unref), NULL);
#line 1308 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					if (_data_->_state_ == 0) {
#line 1308 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 12048 "gitg-commit.c"
					} else {
#line 1308 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						g_simple_async_result_complete (_data_->_async_result);
#line 12052 "gitg-commit.c"
					}
#line 1308 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					g_object_unref (_data_->_async_result);
#line 1308 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					return FALSE;
#line 12058 "gitg-commit.c"
				}
#line 1306 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_gitg_patch_set_unref0 (_data_->pset);
#line 12062 "gitg-commit.c"
			}
		}
	}
#line 1301 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->stage);
#line 1301 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->selection = (_vala_array_free (_data_->selection, _data_->selection_length1, (GDestroyNotify) gitg_patch_set_unref), NULL);
#line 1301 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ == 0) {
#line 1301 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 12074 "gitg-commit.c"
	} else {
#line 1301 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 12078 "gitg-commit.c"
	}
#line 1301 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 1301 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 12084 "gitg-commit.c"
}


static Block19Data* block19_data_ref (Block19Data* _data19_) {
#line 1312 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data19_->_ref_count_);
#line 1312 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return _data19_;
#line 12093 "gitg-commit.c"
}


static void block19_data_unref (void * _userdata_) {
	Block19Data* _data19_;
	_data19_ = (Block19Data*) _userdata_;
#line 1312 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data19_->_ref_count_)) {
#line 12102 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1312 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self = _data19_->self;
#line 1312 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data19_->q);
#line 1312 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1312 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block19Data, _data19_);
#line 12112 "gitg-commit.c"
	}
}


static gboolean __lambda41_ (Block19Data* _data19_, GitgExtUserQuery* w, GtkResponseType r) {
	GitgCommitActivity* self;
	gboolean result = FALSE;
	GtkResponseType _tmp0_ = 0;
#line 1330 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data19_->self;
#line 1330 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (w != NULL, FALSE);
#line 1331 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = r;
#line 1331 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp0_ == GTK_RESPONSE_OK) {
#line 12129 "gitg-commit.c"
		gboolean _tmp1_ = FALSE;
#line 1333 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = gitg_commit_activity_do_discard_selection (self, _data19_->q);
#line 1333 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		result = _tmp1_;
#line 1333 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return result;
#line 12137 "gitg-commit.c"
	}
#line 1336 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = TRUE;
#line 1336 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 12143 "gitg-commit.c"
}


static gboolean ___lambda41__gitg_ext_user_query_response (GitgExtUserQuery* _sender, GtkResponseType response_type, gpointer self) {
	gboolean result;
	result = __lambda41_ (self, _sender, response_type);
#line 1330 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 12152 "gitg-commit.c"
}


static void gitg_commit_activity_on_discard_clicked (GitgCommitActivity* self) {
	Block19Data* _data19_;
	gchar* primary = NULL;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	gchar* secondary = NULL;
	const gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	GitgExtUserQuery* _tmp4_ = NULL;
	const gchar* _tmp5_ = NULL;
	GitgExtUserQueryResponse* _tmp6_ = NULL;
	const gchar* _tmp7_ = NULL;
	GitgExtUserQueryResponse* _tmp8_ = NULL;
	GitgExtUserQueryResponse** _tmp9_ = NULL;
	GitgExtUserQueryResponse** _tmp10_ = NULL;
	gint _tmp10__length1 = 0;
	GitgExtApplication* _tmp11_ = NULL;
	GitgExtApplication* _tmp12_ = NULL;
	GitgExtApplication* _tmp13_ = NULL;
#line 1312 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 1312 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data19_ = g_slice_new0 (Block19Data);
#line 1312 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data19_->_ref_count_ = 1;
#line 1312 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data19_->self = g_object_ref (self);
#line 1314 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _ ("Discard changes");
#line 1314 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 1314 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	primary = _tmp1_;
#line 1315 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _ ("Are you sure you want to permanently discard the selected changes?");
#line 1315 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = g_strdup_printf (_tmp2_);
#line 1315 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	secondary = _tmp3_;
#line 1317 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = gitg_ext_user_query_new ();
#line 1317 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data19_->q = _tmp4_;
#line 1319 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_title (_data19_->q, primary);
#line 1320 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_message (_data19_->q, secondary);
#line 1321 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_message_type (_data19_->q, GTK_MESSAGE_QUESTION);
#line 1323 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = _ ("_Cancel");
#line 1323 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = gitg_ext_user_query_response_new (_tmp5_, GTK_RESPONSE_CANCEL);
#line 1323 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = _ ("Discard");
#line 1323 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = gitg_ext_user_query_response_new (_tmp7_, GTK_RESPONSE_OK);
#line 1323 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = g_new0 (GitgExtUserQueryResponse*, 2 + 1);
#line 1323 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_[0] = _tmp6_;
#line 1323 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_[1] = _tmp8_;
#line 1323 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = _tmp9_;
#line 1323 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp10__length1 = 2;
#line 1323 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_responses (_data19_->q, _tmp10_, 2);
#line 1323 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = (_vala_array_free (_tmp10_, _tmp10__length1, (GDestroyNotify) g_object_unref), NULL);
#line 1328 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_default_response (_data19_->q, GTK_RESPONSE_OK);
#line 1330 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_data (_data19_->q, "response", (GCallback) ___lambda41__gitg_ext_user_query_response, block19_data_ref (_data19_), (GClosureNotify) block19_data_unref, 0);
#line 1339 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp11_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1339 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp12_ = _tmp11_;
#line 1339 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp13_ = _tmp12_;
#line 1339 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_application_user_query (_tmp13_, _data19_->q);
#line 1339 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp13_);
#line 1312 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (secondary);
#line 1312 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (primary);
#line 1312 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block19_data_unref (_data19_);
#line 1312 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data19_ = NULL;
#line 12249 "gitg-commit.c"
}


static Block20Data* block20_data_ref (Block20Data* _data20_) {
#line 1342 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data20_->_ref_count_);
#line 1342 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return _data20_;
#line 12258 "gitg-commit.c"
}


static void block20_data_unref (void * _userdata_) {
	Block20Data* _data20_;
	_data20_ = (Block20Data*) _userdata_;
#line 1342 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data20_->_ref_count_)) {
#line 12267 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1342 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self = _data20_->self;
#line 1342 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data20_->q);
#line 1342 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1342 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block20Data, _data20_);
#line 12277 "gitg-commit.c"
	}
}


static void __lambda42_ (Block20Data* _data20_, GObject* obj, GAsyncResult* res) {
	GitgCommitActivity* self;
	GitgExtUserQuery* _tmp7_ = NULL;
	GitgExtApplication* _tmp8_ = NULL;
	GitgExtApplication* _tmp9_ = NULL;
	GitgExtApplication* _tmp10_ = NULL;
	GError * _inner_error_ = NULL;
#line 1347 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data20_->self;
#line 1347 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 12293 "gitg-commit.c"
	{
		GAsyncResult* _tmp0_ = NULL;
#line 1350 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = res;
#line 1350 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_discard_selection_finish (self, _tmp0_, &_inner_error_);
#line 1350 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 12302 "gitg-commit.c"
			goto __catch28_g_error;
		}
	}
	goto __finally28;
	__catch28_g_error:
	{
		GError* e = NULL;
		GitgExtApplication* _tmp1_ = NULL;
		GitgExtApplication* _tmp2_ = NULL;
		GitgExtApplication* _tmp3_ = NULL;
		const gchar* _tmp4_ = NULL;
		GError* _tmp5_ = NULL;
		const gchar* _tmp6_ = NULL;
#line 1348 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		e = _inner_error_;
#line 1348 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_inner_error_ = NULL;
#line 1354 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1354 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = _tmp1_;
#line 1354 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp3_ = _tmp2_;
#line 1354 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = _ ("Failed to discard selection");
#line 1354 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = e;
#line 1354 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = _tmp5_->message;
#line 1354 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_ext_application_show_infobar (_tmp3_, _tmp4_, _tmp6_, GTK_MESSAGE_ERROR);
#line 1354 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp3_);
#line 1348 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_error_free0 (e);
#line 12338 "gitg-commit.c"
	}
	__finally28:
#line 1348 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1348 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.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 1348 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 1348 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 12349 "gitg-commit.c"
	}
#line 1359 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = _data20_->q;
#line 1359 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_signal_emit_by_name (_tmp7_, "quit");
#line 1360 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1360 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = _tmp8_;
#line 1360 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = _tmp9_;
#line 1360 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_application_set_busy (_tmp10_, FALSE);
#line 1360 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp10_);
#line 1362 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_reload (self);
#line 12367 "gitg-commit.c"
}


static void ___lambda42__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1347 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__lambda42_ (self, source_object, res);
#line 1347 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block20_data_unref (self);
#line 12376 "gitg-commit.c"
}


static gboolean gitg_commit_activity_do_discard_selection (GitgCommitActivity* self, GitgExtUserQuery* q) {
	gboolean result = FALSE;
	Block20Data* _data20_;
	GitgExtUserQuery* _tmp0_ = NULL;
	GitgExtUserQuery* _tmp1_ = NULL;
	GitgExtApplication* _tmp2_ = NULL;
	GitgExtApplication* _tmp3_ = NULL;
	GitgExtApplication* _tmp4_ = NULL;
#line 1342 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 1342 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (q != NULL, FALSE);
#line 1342 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data20_ = g_slice_new0 (Block20Data);
#line 1342 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data20_->_ref_count_ = 1;
#line 1342 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data20_->self = g_object_ref (self);
#line 1342 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = q;
#line 1342 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 1342 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data20_->q);
#line 1342 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data20_->q = _tmp1_;
#line 1344 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1344 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _tmp2_;
#line 1344 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _tmp3_;
#line 1344 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_application_set_busy (_tmp4_, TRUE);
#line 1344 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp4_);
#line 1346 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_ignore_external_changes = TRUE;
#line 1347 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_discard_selection (self, ___lambda42__gasync_ready_callback, block20_data_ref (_data20_));
#line 1365 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = FALSE;
#line 1365 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block20_data_unref (_data20_);
#line 1365 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data20_ = NULL;
#line 1365 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 12428 "gitg-commit.c"
}


static Block21Data* block21_data_ref (Block21Data* _data21_) {
#line 1368 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data21_->_ref_count_);
#line 1368 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return _data21_;
#line 12437 "gitg-commit.c"
}


static void block21_data_unref (void * _userdata_) {
	Block21Data* _data21_;
	_data21_ = (Block21Data*) _userdata_;
#line 1368 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data21_->_ref_count_)) {
#line 12446 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1368 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self = _data21_->self;
#line 1368 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1368 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block21Data, _data21_);
#line 12454 "gitg-commit.c"
	}
}


static void __lambda43_ (Block21Data* _data21_, GObject* obj, GAsyncResult* res) {
	GitgCommitActivity* self;
	GError * _inner_error_ = NULL;
#line 1373 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data21_->self;
#line 1373 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 12466 "gitg-commit.c"
	{
		GAsyncResult* _tmp0_ = NULL;
#line 1376 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = res;
#line 1376 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_stage_unstage_selection_finish (self, _tmp0_, &_inner_error_);
#line 1376 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 12475 "gitg-commit.c"
			goto __catch29_g_error;
		}
	}
	goto __finally29;
	__catch29_g_error:
	{
		GError* e = NULL;
		gchar* msg = NULL;
		GitgExtApplication* _tmp5_ = NULL;
		GitgExtApplication* _tmp6_ = NULL;
		GitgExtApplication* _tmp7_ = NULL;
		const gchar* _tmp8_ = NULL;
		GError* _tmp9_ = NULL;
		const gchar* _tmp10_ = NULL;
#line 1374 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		e = _inner_error_;
#line 1374 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_inner_error_ = NULL;
#line 1382 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (_data21_->staging) {
#line 12496 "gitg-commit.c"
			const gchar* _tmp1_ = NULL;
			gchar* _tmp2_ = NULL;
#line 1384 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp1_ = _ ("Failed to stage selection");
#line 1384 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp2_ = g_strdup (_tmp1_);
#line 1384 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (msg);
#line 1384 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			msg = _tmp2_;
#line 12507 "gitg-commit.c"
		} else {
			const gchar* _tmp3_ = NULL;
			gchar* _tmp4_ = NULL;
#line 1388 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp3_ = _ ("Failed to unstage selection");
#line 1388 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp4_ = g_strdup (_tmp3_);
#line 1388 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (msg);
#line 1388 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			msg = _tmp4_;
#line 12519 "gitg-commit.c"
		}
#line 1391 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1391 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = _tmp5_;
#line 1391 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 1391 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = msg;
#line 1391 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = e;
#line 1391 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = _tmp9_->message;
#line 1391 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_ext_application_show_infobar (_tmp7_, _tmp8_, _tmp10_, GTK_MESSAGE_ERROR);
#line 1391 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp7_);
#line 1392 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_free0 (msg);
#line 1392 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_error_free0 (e);
#line 1392 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 12543 "gitg-commit.c"
	}
	__finally29:
#line 1374 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1374 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.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 1374 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 1374 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 12554 "gitg-commit.c"
	}
#line 1395 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_reload (self);
#line 12558 "gitg-commit.c"
}


static void ___lambda43__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1373 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__lambda43_ (self, source_object, res);
#line 1373 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block21_data_unref (self);
#line 12567 "gitg-commit.c"
}


static void gitg_commit_activity_on_stage_clicked (GitgCommitActivity* self) {
	Block21Data* _data21_;
	GitgCommitPaned* _tmp0_ = NULL;
	GitgDiffView* _tmp1_ = NULL;
	GitgDiffView* _tmp2_ = NULL;
	gboolean _tmp3_ = FALSE;
	gboolean _tmp4_ = FALSE;
#line 1368 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 1368 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data21_ = g_slice_new0 (Block21Data);
#line 1368 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data21_->_ref_count_ = 1;
#line 1368 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data21_->self = g_object_ref (self);
#line 1370 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 1370 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_diff_view (_tmp0_);
#line 1370 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 1370 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = gitg_diff_view_get_unstaged (_tmp2_);
#line 1370 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _tmp3_;
#line 1370 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data21_->staging = _tmp4_;
#line 1372 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_ignore_external_changes = TRUE;
#line 1373 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_stage_unstage_selection (self, _data21_->staging, ___lambda43__gasync_ready_callback, block21_data_ref (_data21_));
#line 1368 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block21_data_unref (_data21_);
#line 1368 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data21_ = NULL;
#line 12606 "gitg-commit.c"
}


static void gitg_commit_activity_revert_paths_data_free (gpointer _data) {
	GitgCommitActivityRevertPathsData* _data_;
	_data_ = _data;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->paths = (_vala_array_free (_data_->paths, _data_->paths_length1, (GDestroyNotify) g_free), NULL);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_slice_free (GitgCommitActivityRevertPathsData, _data_);
#line 12619 "gitg-commit.c"
}


static void gitg_commit_activity_revert_paths (GitgCommitActivity* self, gchar** paths, int paths_length1, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgCommitActivityRevertPathsData* _data_;
	GitgCommitActivity* _tmp0_ = NULL;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_slice_new0 (GitgCommitActivityRevertPathsData);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_commit_activity_revert_paths);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_commit_activity_revert_paths_data_free);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->self = _tmp0_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->paths = (_vala_array_free (_data_->paths, _data_->paths_length1, (GDestroyNotify) g_free), NULL);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->paths = paths;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->paths_length1 = paths_length1;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_revert_paths_co (_data_);
#line 12644 "gitg-commit.c"
}


static void gitg_commit_activity_revert_paths_finish (GitgCommitActivity* self, GAsyncResult* _res_, GError** error) {
	GitgCommitActivityRevertPathsData* _data_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 12654 "gitg-commit.c"
	}
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 12658 "gitg-commit.c"
}


static void gitg_commit_activity_revert_paths_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgCommitActivityRevertPathsData* _data_;
#line 1405 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = _user_data_;
#line 1405 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_source_object_ = source_object;
#line 1405 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_res_ = _res_;
#line 1405 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_revert_paths_co (_data_);
#line 12672 "gitg-commit.c"
}


static gboolean gitg_commit_activity_revert_paths_co (GitgCommitActivityRevertPathsData* _data_) {
#line 1399 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	switch (_data_->_state_) {
#line 1399 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 0:
#line 12681 "gitg-commit.c"
		goto _state_0;
#line 1399 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 1:
#line 12685 "gitg-commit.c"
		goto _state_1;
		default:
#line 1399 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_assert_not_reached ();
#line 12690 "gitg-commit.c"
	}
	_state_0:
#line 1401 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = NULL;
#line 1401 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 1401 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp1_ = NULL;
#line 1401 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 1401 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp2_ = NULL;
#line 1401 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 1401 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp3_ = NULL;
#line 1401 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp3_ = gitg_ext_application_get_repository (_data_->_tmp2_);
#line 1401 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4_ = NULL;
#line 1401 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 1401 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp5_ = NULL;
#line 1401 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp5_ = _data_->_tmp4_;
#line 1401 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp6_ = NULL;
#line 1401 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp6_ = gitg_repository_get_stage (_data_->_tmp5_);
#line 1401 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp7_ = NULL;
#line 1401 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp7_ = _data_->_tmp6_;
#line 1401 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp8_ = NULL;
#line 1401 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp8_ = _data_->_tmp7_;
#line 1401 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->_tmp5_);
#line 1401 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->_tmp2_);
#line 1401 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->stage = _data_->_tmp8_;
#line 1403 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9_ = NULL;
#line 1403 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9__length1 = 0;
#line 1403 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9_ = _data_->paths;
#line 1403 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9__length1 = _data_->paths_length1;
#line 12743 "gitg-commit.c"
	{
#line 1403 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->path_collection_length1 = 0;
#line 1403 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_path_collection_size_ = 0;
#line 1403 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->path_collection = _data_->_tmp9_;
#line 1403 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->path_collection_length1 = _data_->_tmp9__length1;
#line 1403 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		for (_data_->path_it = 0; _data_->path_it < _data_->_tmp9__length1; _data_->path_it = _data_->path_it + 1) {
#line 1403 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp10_ = NULL;
#line 1403 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp10_ = g_strdup (_data_->path_collection[_data_->path_it]);
#line 1403 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->path = _data_->_tmp10_;
#line 12761 "gitg-commit.c"
			{
#line 1405 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp11_ = NULL;
#line 1405 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp11_ = _data_->stage;
#line 1405 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp12_ = NULL;
#line 1405 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp12_ = _data_->path;
#line 1405 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_state_ = 1;
#line 1405 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				gitg_stage_revert_path (_data_->_tmp11_, _data_->_tmp12_, gitg_commit_activity_revert_paths_ready, _data_);
#line 1405 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				return FALSE;
#line 12777 "gitg-commit.c"
				_state_1:
#line 1405 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				gitg_stage_revert_path_finish (_data_->_tmp11_, _data_->_res_, &_data_->_inner_error_);
#line 1405 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1405 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 1405 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					g_error_free (_data_->_inner_error_);
#line 1405 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_g_free0 (_data_->path);
#line 1405 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_g_object_unref0 (_data_->stage);
#line 1405 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->paths = (_vala_array_free (_data_->paths, _data_->paths_length1, (GDestroyNotify) g_free), NULL);
#line 1405 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					if (_data_->_state_ == 0) {
#line 1405 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 12797 "gitg-commit.c"
					} else {
#line 1405 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						g_simple_async_result_complete (_data_->_async_result);
#line 12801 "gitg-commit.c"
					}
#line 1405 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					g_object_unref (_data_->_async_result);
#line 1405 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					return FALSE;
#line 12807 "gitg-commit.c"
				}
#line 1403 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_free0 (_data_->path);
#line 12811 "gitg-commit.c"
			}
		}
	}
#line 1399 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->stage);
#line 1399 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->paths = (_vala_array_free (_data_->paths, _data_->paths_length1, (GDestroyNotify) g_free), NULL);
#line 1399 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ == 0) {
#line 1399 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 12823 "gitg-commit.c"
	} else {
#line 1399 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 12827 "gitg-commit.c"
	}
#line 1399 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 1399 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 12833 "gitg-commit.c"
}


static void gitg_commit_activity_do_edit_items (GitgCommitActivity* self, GitgStageStatusItem** items, int items_length1) {
	GdkScreen* screen = NULL;
	GitgCommitPaned* _tmp0_ = NULL;
	GdkScreen* _tmp1_ = NULL;
	GdkScreen* _tmp2_ = NULL;
	GFile* root = NULL;
	GitgExtApplication* _tmp3_ = NULL;
	GitgExtApplication* _tmp4_ = NULL;
	GitgExtApplication* _tmp5_ = NULL;
	GitgRepository* _tmp6_ = NULL;
	GitgRepository* _tmp7_ = NULL;
	GitgRepository* _tmp8_ = NULL;
	GFile* _tmp9_ = NULL;
	GFile* _tmp10_ = NULL;
	GitgStageStatusItem** _tmp11_ = NULL;
	gint _tmp11__length1 = 0;
	GError * _inner_error_ = NULL;
#line 1409 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 1411 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 1411 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gtk_widget_get_screen ((GtkWidget*) _tmp0_);
#line 1411 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 1411 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	screen = _tmp2_;
#line 1412 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1412 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _tmp3_;
#line 1412 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = _tmp4_;
#line 1412 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = gitg_ext_application_get_repository (_tmp5_);
#line 1412 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = _tmp6_;
#line 1412 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = _tmp7_;
#line 1412 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = ggit_repository_get_workdir ((GgitRepository*) _tmp8_);
#line 1412 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = _tmp9_;
#line 1412 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp8_);
#line 1412 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp5_);
#line 1412 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	root = _tmp10_;
#line 1414 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp11_ = items;
#line 1414 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp11__length1 = items_length1;
#line 12890 "gitg-commit.c"
	{
		GitgStageStatusItem** item_collection = NULL;
		gint item_collection_length1 = 0;
		gint _item_collection_size_ = 0;
		gint item_it = 0;
#line 1414 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		item_collection = _tmp11_;
#line 1414 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		item_collection_length1 = _tmp11__length1;
#line 1414 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		for (item_it = 0; item_it < _tmp11__length1; item_it = item_it + 1) {
#line 12902 "gitg-commit.c"
			GitgStageStatusItem* _tmp12_ = NULL;
			GitgStageStatusItem* item = NULL;
#line 1414 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp12_ = _g_object_ref0 (item_collection[item_it]);
#line 1414 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			item = _tmp12_;
#line 12909 "gitg-commit.c"
			{
				GFile* file = NULL;
				GFile* _tmp13_ = NULL;
				GitgStageStatusItem* _tmp14_ = NULL;
				gchar* _tmp15_ = NULL;
				gchar* _tmp16_ = NULL;
				gchar* _tmp17_ = NULL;
				GFile* _tmp18_ = NULL;
				GFile* _tmp19_ = NULL;
#line 1416 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp13_ = root;
#line 1416 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp14_ = item;
#line 1416 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp15_ = gitg_stage_status_item_get_path (_tmp14_);
#line 1416 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp16_ = _tmp15_;
#line 1416 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp17_ = _tmp16_;
#line 1416 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp18_ = g_file_get_child (_tmp13_, _tmp17_);
#line 1416 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp19_ = _tmp18_;
#line 1416 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_free0 (_tmp17_);
#line 1416 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				file = _tmp19_;
#line 12937 "gitg-commit.c"
				{
					GdkScreen* _tmp20_ = NULL;
					GFile* _tmp21_ = NULL;
					gchar* _tmp22_ = NULL;
					gchar* _tmp23_ = NULL;
#line 1420 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp20_ = screen;
#line 1420 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp21_ = file;
#line 1420 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp22_ = g_file_get_uri (_tmp21_);
#line 1420 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp23_ = _tmp22_;
#line 1420 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					gtk_show_uri (_tmp20_, _tmp23_, (guint32) GDK_CURRENT_TIME, &_inner_error_);
#line 1420 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_g_free0 (_tmp23_);
#line 1420 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 12957 "gitg-commit.c"
						goto __catch30_g_error;
					}
				}
				goto __finally30;
				__catch30_g_error:
				{
					GError* e = NULL;
					FILE* _tmp24_ = NULL;
					GitgStageStatusItem* _tmp25_ = NULL;
					gchar* _tmp26_ = NULL;
					gchar* _tmp27_ = NULL;
					gchar* _tmp28_ = NULL;
					GError* _tmp29_ = NULL;
					const gchar* _tmp30_ = NULL;
#line 1418 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					e = _inner_error_;
#line 1418 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_inner_error_ = NULL;
#line 1424 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp24_ = stderr;
#line 1424 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp25_ = item;
#line 1424 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp26_ = gitg_stage_status_item_get_path (_tmp25_);
#line 1424 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp27_ = _tmp26_;
#line 1424 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp28_ = _tmp27_;
#line 1424 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp29_ = e;
#line 1424 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp30_ = _tmp29_->message;
#line 1424 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					fprintf (_tmp24_, "Failed to launch application for %s: %s\n", _tmp28_, _tmp30_);
#line 1424 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_g_free0 (_tmp28_);
#line 1418 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_g_error_free0 (e);
#line 12996 "gitg-commit.c"
				}
				__finally30:
#line 1418 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1418 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_g_object_unref0 (file);
#line 1418 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_g_object_unref0 (item);
#line 1418 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_g_object_unref0 (root);
#line 1418 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_g_object_unref0 (screen);
#line 1418 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.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 1418 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					g_clear_error (&_inner_error_);
#line 1418 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					return;
#line 13015 "gitg-commit.c"
				}
#line 1414 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (file);
#line 1414 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (item);
#line 13021 "gitg-commit.c"
			}
		}
	}
#line 1409 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (root);
#line 1409 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (screen);
#line 13029 "gitg-commit.c"
}


static Block22Data* block22_data_ref (Block22Data* _data22_) {
#line 1429 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data22_->_ref_count_);
#line 1429 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return _data22_;
#line 13038 "gitg-commit.c"
}


static void block22_data_unref (void * _userdata_) {
	Block22Data* _data22_;
	_data22_ = (Block22Data*) _userdata_;
#line 1429 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data22_->_ref_count_)) {
#line 13047 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1429 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self = _data22_->self;
#line 1429 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data22_->q);
#line 1429 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1429 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block22Data, _data22_);
#line 13057 "gitg-commit.c"
	}
}


static gchar** _vala_array_dup15 (gchar** self, int length) {
	gchar** result;
	int i;
#line 1441 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = g_new0 (gchar*, length + 1);
#line 1441 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	for (i = 0; i < length; i++) {
#line 13069 "gitg-commit.c"
		gchar* _tmp0_ = NULL;
#line 1441 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = g_strdup (self[i]);
#line 1441 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		result[i] = _tmp0_;
#line 13075 "gitg-commit.c"
	}
#line 1441 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 13079 "gitg-commit.c"
}


static void __lambda44_ (Block22Data* _data22_, GObject* o, GAsyncResult* ret) {
	GitgCommitActivity* self;
	GitgExtApplication* _tmp7_ = NULL;
	GitgExtApplication* _tmp8_ = NULL;
	GitgExtApplication* _tmp9_ = NULL;
	GitgExtUserQuery* _tmp10_ = NULL;
	GError * _inner_error_ = NULL;
#line 1441 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data22_->self;
#line 1441 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (ret != NULL);
#line 13094 "gitg-commit.c"
	{
		GAsyncResult* _tmp0_ = NULL;
#line 1444 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = ret;
#line 1444 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_revert_paths_finish (self, _tmp0_, &_inner_error_);
#line 1444 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 13103 "gitg-commit.c"
			goto __catch31_g_error;
		}
	}
	goto __finally31;
	__catch31_g_error:
	{
		GError* e = NULL;
		GitgExtApplication* _tmp1_ = NULL;
		GitgExtApplication* _tmp2_ = NULL;
		GitgExtApplication* _tmp3_ = NULL;
		const gchar* _tmp4_ = NULL;
		GError* _tmp5_ = NULL;
		const gchar* _tmp6_ = NULL;
#line 1442 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		e = _inner_error_;
#line 1442 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_inner_error_ = NULL;
#line 1448 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1448 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = _tmp1_;
#line 1448 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp3_ = _tmp2_;
#line 1448 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = _ ("Failed to discard changes");
#line 1448 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = e;
#line 1448 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = _tmp5_->message;
#line 1448 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_ext_application_show_infobar (_tmp3_, _tmp4_, _tmp6_, GTK_MESSAGE_ERROR);
#line 1448 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp3_);
#line 1442 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_error_free0 (e);
#line 13139 "gitg-commit.c"
	}
	__finally31:
#line 1442 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1442 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.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 1442 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 1442 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 13150 "gitg-commit.c"
	}
#line 1453 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1453 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = _tmp7_;
#line 1453 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = _tmp8_;
#line 1453 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_application_set_busy (_tmp9_, FALSE);
#line 1453 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp9_);
#line 1454 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = _data22_->q;
#line 1454 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_signal_emit_by_name (_tmp10_, "quit");
#line 1456 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_reload (self);
#line 13168 "gitg-commit.c"
}


static void ___lambda44__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1441 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__lambda44_ (self, source_object, res);
#line 1441 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block22_data_unref (self);
#line 13177 "gitg-commit.c"
}


static gboolean gitg_commit_activity_do_discard_items (GitgCommitActivity* self, GitgExtUserQuery* q, GitgStageStatusItem** items, int items_length1) {
	gboolean result = FALSE;
	Block22Data* _data22_;
	GitgExtUserQuery* _tmp0_ = NULL;
	GitgExtUserQuery* _tmp1_ = NULL;
	GitgExtApplication* _tmp2_ = NULL;
	GitgExtApplication* _tmp3_ = NULL;
	GitgExtApplication* _tmp4_ = NULL;
	gchar** paths = NULL;
	GitgStageStatusItem** _tmp5_ = NULL;
	gint _tmp5__length1 = 0;
	gchar** _tmp6_ = NULL;
	gint paths_length1 = 0;
	gint _paths_size_ = 0;
	gchar** _tmp19_ = NULL;
	gint _tmp19__length1 = 0;
	gchar** _tmp20_ = NULL;
	gint _tmp20__length1 = 0;
#line 1429 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 1429 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (q != NULL, FALSE);
#line 1429 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data22_ = g_slice_new0 (Block22Data);
#line 1429 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data22_->_ref_count_ = 1;
#line 1429 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data22_->self = g_object_ref (self);
#line 1429 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = q;
#line 1429 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 1429 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data22_->q);
#line 1429 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data22_->q = _tmp1_;
#line 1431 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1431 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _tmp2_;
#line 1431 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _tmp3_;
#line 1431 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_application_set_busy (_tmp4_, TRUE);
#line 1431 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp4_);
#line 1433 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = items;
#line 1433 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5__length1 = items_length1;
#line 1433 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = g_new0 (gchar*, _tmp5__length1 + 1);
#line 1433 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	paths = _tmp6_;
#line 1433 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	paths_length1 = _tmp5__length1;
#line 1433 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_paths_size_ = paths_length1;
#line 13239 "gitg-commit.c"
	{
		gint i = 0;
#line 1435 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		i = 0;
#line 13244 "gitg-commit.c"
		{
			gboolean _tmp7_ = FALSE;
#line 1435 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp7_ = TRUE;
#line 1435 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			while (TRUE) {
#line 13251 "gitg-commit.c"
				gint _tmp9_ = 0;
				GitgStageStatusItem** _tmp10_ = NULL;
				gint _tmp10__length1 = 0;
				gchar** _tmp11_ = NULL;
				gint _tmp11__length1 = 0;
				gint _tmp12_ = 0;
				GitgStageStatusItem** _tmp13_ = NULL;
				gint _tmp13__length1 = 0;
				gint _tmp14_ = 0;
				GitgStageStatusItem* _tmp15_ = NULL;
				gchar* _tmp16_ = NULL;
				gchar* _tmp17_ = NULL;
				gchar* _tmp18_ = NULL;
#line 1435 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				if (!_tmp7_) {
#line 13267 "gitg-commit.c"
					gint _tmp8_ = 0;
#line 1435 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp8_ = i;
#line 1435 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					i = _tmp8_ + 1;
#line 13273 "gitg-commit.c"
				}
#line 1435 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp7_ = FALSE;
#line 1435 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp9_ = i;
#line 1435 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp10_ = items;
#line 1435 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp10__length1 = items_length1;
#line 1435 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				if (!(_tmp9_ < _tmp10__length1)) {
#line 1435 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					break;
#line 13287 "gitg-commit.c"
				}
#line 1437 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp11_ = paths;
#line 1437 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp11__length1 = paths_length1;
#line 1437 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp12_ = i;
#line 1437 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp13_ = items;
#line 1437 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp13__length1 = items_length1;
#line 1437 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp14_ = i;
#line 1437 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp15_ = _tmp13_[_tmp14_];
#line 1437 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp16_ = gitg_stage_status_item_get_path (_tmp15_);
#line 1437 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp17_ = _tmp16_;
#line 1437 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_free0 (_tmp11_[_tmp12_]);
#line 1437 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp11_[_tmp12_] = _tmp17_;
#line 1437 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp18_ = _tmp11_[_tmp12_];
#line 13313 "gitg-commit.c"
			}
		}
	}
#line 1440 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_ignore_external_changes = TRUE;
#line 1441 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp19_ = paths;
#line 1441 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp19__length1 = paths_length1;
#line 1441 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp20_ = (_tmp19_ != NULL) ? _vala_array_dup15 (_tmp19_, _tmp19__length1) : ((gpointer) _tmp19_);
#line 1441 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp20__length1 = _tmp19__length1;
#line 1441 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_revert_paths (self, _tmp20_, _tmp20__length1, ___lambda44__gasync_ready_callback, block22_data_ref (_data22_));
#line 1459 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = FALSE;
#line 1459 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	paths = (_vala_array_free (paths, paths_length1, (GDestroyNotify) g_free), NULL);
#line 1459 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block22_data_unref (_data22_);
#line 1459 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data22_ = NULL;
#line 1459 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 13339 "gitg-commit.c"
}


static Block23Data* block23_data_ref (Block23Data* _data23_) {
#line 1462 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data23_->_ref_count_);
#line 1462 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return _data23_;
#line 13348 "gitg-commit.c"
}


static void block23_data_unref (void * _userdata_) {
	Block23Data* _data23_;
	_data23_ = (Block23Data*) _userdata_;
#line 1462 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data23_->_ref_count_)) {
#line 13357 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1462 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self = _data23_->self;
#line 1462 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data23_->q);
#line 1462 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1462 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block23Data, _data23_);
#line 13367 "gitg-commit.c"
	}
}


static const gchar* string_to_string (const gchar* self) {
	const gchar* result = NULL;
#line 1314 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1315 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	result = self;
#line 1315 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	return result;
#line 13380 "gitg-commit.c"
}


static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int str_array_length1) {
	gchar* result = NULL;
	const gchar* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
	gchar** _tmp3_ = NULL;
	gint _tmp3__length1 = 0;
#line 964 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp0_ = separator;
#line 964 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	if (_tmp0_ == NULL) {
#line 965 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		separator = "";
#line 13397 "gitg-commit.c"
	}
#line 967 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp3_ = str_array;
#line 967 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp3__length1 = str_array_length1;
#line 967 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	if (_tmp3_ != NULL) {
#line 967 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp2_ = TRUE;
#line 13407 "gitg-commit.c"
	} else {
		gchar** _tmp4_ = NULL;
		gint _tmp4__length1 = 0;
#line 967 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp4_ = str_array;
#line 967 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp4__length1 = str_array_length1;
#line 967 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp2_ = _tmp4__length1 > 0;
#line 13417 "gitg-commit.c"
	}
#line 967 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	if (_tmp2_) {
#line 967 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp1_ = TRUE;
#line 13423 "gitg-commit.c"
	} else {
		gboolean _tmp5_ = FALSE;
		gchar** _tmp6_ = NULL;
		gint _tmp6__length1 = 0;
#line 967 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp6_ = str_array;
#line 967 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp6__length1 = str_array_length1;
#line 967 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		if (_tmp6__length1 == -1) {
#line 13434 "gitg-commit.c"
			gchar** _tmp7_ = NULL;
			gint _tmp7__length1 = 0;
			const gchar* _tmp8_ = NULL;
#line 967 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
			_tmp7_ = str_array;
#line 967 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
			_tmp7__length1 = str_array_length1;
#line 967 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
			_tmp8_ = _tmp7_[0];
#line 967 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
			_tmp5_ = _tmp8_ != NULL;
#line 13446 "gitg-commit.c"
		} else {
#line 967 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
			_tmp5_ = FALSE;
#line 13450 "gitg-commit.c"
		}
#line 967 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp1_ = _tmp5_;
#line 13454 "gitg-commit.c"
	}
#line 967 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	if (_tmp1_) {
#line 13458 "gitg-commit.c"
		gint i = 0;
		gsize len = 0UL;
		gint _tmp31_ = 0;
		gint _tmp33_ = 0;
		gint _tmp34_ = 0;
		gsize _tmp35_ = 0UL;
		const gchar* _tmp36_ = NULL;
		gint _tmp37_ = 0;
		gint _tmp38_ = 0;
		gint _tmp39_ = 0;
		const gchar* res = NULL;
		gsize _tmp40_ = 0UL;
		void* _tmp41_ = NULL;
		void* ptr = NULL;
		const gchar* _tmp42_ = NULL;
		gchar** _tmp43_ = NULL;
		gint _tmp43__length1 = 0;
		const gchar* _tmp44_ = NULL;
		void* _tmp45_ = NULL;
		const gchar* _tmp62_ = NULL;
#line 969 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		len = (gsize) 1;
#line 13481 "gitg-commit.c"
		{
			gboolean _tmp9_ = FALSE;
#line 970 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
			i = 0;
#line 970 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
			_tmp9_ = TRUE;
#line 970 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
			while (TRUE) {
#line 13490 "gitg-commit.c"
				gboolean _tmp11_ = FALSE;
				gboolean _tmp12_ = FALSE;
				gchar** _tmp13_ = NULL;
				gint _tmp13__length1 = 0;
				gint _tmp21_ = 0;
				gchar** _tmp22_ = NULL;
				gint _tmp22__length1 = 0;
				gint _tmp23_ = 0;
				const gchar* _tmp24_ = NULL;
				gsize _tmp30_ = 0UL;
#line 970 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				if (!_tmp9_) {
#line 13503 "gitg-commit.c"
					gint _tmp10_ = 0;
#line 970 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					_tmp10_ = i;
#line 970 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					i = _tmp10_ + 1;
#line 13509 "gitg-commit.c"
				}
#line 970 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				_tmp9_ = FALSE;
#line 970 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				_tmp13_ = str_array;
#line 970 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				_tmp13__length1 = str_array_length1;
#line 970 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				if (_tmp13__length1 != -1) {
#line 13519 "gitg-commit.c"
					gint _tmp14_ = 0;
					gchar** _tmp15_ = NULL;
					gint _tmp15__length1 = 0;
#line 970 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					_tmp14_ = i;
#line 970 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					_tmp15_ = str_array;
#line 970 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					_tmp15__length1 = str_array_length1;
#line 970 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					_tmp12_ = _tmp14_ < _tmp15__length1;
#line 13531 "gitg-commit.c"
				} else {
#line 970 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					_tmp12_ = FALSE;
#line 13535 "gitg-commit.c"
				}
#line 970 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				if (_tmp12_) {
#line 970 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					_tmp11_ = TRUE;
#line 13541 "gitg-commit.c"
				} else {
					gboolean _tmp16_ = FALSE;
					gchar** _tmp17_ = NULL;
					gint _tmp17__length1 = 0;
#line 970 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					_tmp17_ = str_array;
#line 970 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					_tmp17__length1 = str_array_length1;
#line 970 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					if (_tmp17__length1 == -1) {
#line 13552 "gitg-commit.c"
						gchar** _tmp18_ = NULL;
						gint _tmp18__length1 = 0;
						gint _tmp19_ = 0;
						const gchar* _tmp20_ = NULL;
#line 970 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
						_tmp18_ = str_array;
#line 970 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
						_tmp18__length1 = str_array_length1;
#line 970 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
						_tmp19_ = i;
#line 970 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
						_tmp20_ = _tmp18_[_tmp19_];
#line 970 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
						_tmp16_ = _tmp20_ != NULL;
#line 13567 "gitg-commit.c"
					} else {
#line 970 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
						_tmp16_ = FALSE;
#line 13571 "gitg-commit.c"
					}
#line 970 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					_tmp11_ = _tmp16_;
#line 13575 "gitg-commit.c"
				}
#line 970 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				if (!_tmp11_) {
#line 970 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					break;
#line 13581 "gitg-commit.c"
				}
#line 971 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				_tmp22_ = str_array;
#line 971 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				_tmp22__length1 = str_array_length1;
#line 971 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				_tmp23_ = i;
#line 971 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				_tmp24_ = _tmp22_[_tmp23_];
#line 971 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				if (_tmp24_ != NULL) {
#line 13593 "gitg-commit.c"
					gchar** _tmp25_ = NULL;
					gint _tmp25__length1 = 0;
					gint _tmp26_ = 0;
					const gchar* _tmp27_ = NULL;
					gint _tmp28_ = 0;
					gint _tmp29_ = 0;
#line 971 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					_tmp25_ = str_array;
#line 971 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					_tmp25__length1 = str_array_length1;
#line 971 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					_tmp26_ = i;
#line 971 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					_tmp27_ = _tmp25_[_tmp26_];
#line 971 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					_tmp28_ = strlen ((const gchar*) _tmp27_);
#line 971 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					_tmp29_ = _tmp28_;
#line 971 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					_tmp21_ = _tmp29_;
#line 13614 "gitg-commit.c"
				} else {
#line 971 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					_tmp21_ = 0;
#line 13618 "gitg-commit.c"
				}
#line 971 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				_tmp30_ = len;
#line 971 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				len = _tmp30_ + _tmp21_;
#line 13624 "gitg-commit.c"
			}
		}
#line 973 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp31_ = i;
#line 973 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		if (_tmp31_ == 0) {
#line 13631 "gitg-commit.c"
			gchar* _tmp32_ = NULL;
#line 974 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
			_tmp32_ = g_strdup ("");
#line 974 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
			result = _tmp32_;
#line 974 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
			return result;
#line 13639 "gitg-commit.c"
		}
#line 976 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp33_ = i;
#line 976 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		str_array_length1 = _tmp33_;
#line 976 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp34_ = str_array_length1;
#line 977 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp35_ = len;
#line 977 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp36_ = separator;
#line 977 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp37_ = strlen ((const gchar*) _tmp36_);
#line 977 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp38_ = _tmp37_;
#line 977 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp39_ = i;
#line 977 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		len = _tmp35_ + (_tmp38_ * (_tmp39_ - 1));
#line 979 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp40_ = len;
#line 979 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp41_ = g_malloc (_tmp40_);
#line 979 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		res = _tmp41_;
#line 980 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp42_ = res;
#line 980 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp43_ = str_array;
#line 980 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp43__length1 = str_array_length1;
#line 980 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp44_ = _tmp43_[0];
#line 980 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp45_ = g_stpcpy ((void*) _tmp42_, (const gchar*) _tmp44_);
#line 980 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		ptr = _tmp45_;
#line 13677 "gitg-commit.c"
		{
			gboolean _tmp46_ = FALSE;
#line 981 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
			i = 1;
#line 981 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
			_tmp46_ = TRUE;
#line 981 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
			while (TRUE) {
#line 13686 "gitg-commit.c"
				gint _tmp48_ = 0;
				gchar** _tmp49_ = NULL;
				gint _tmp49__length1 = 0;
				void* _tmp50_ = NULL;
				const gchar* _tmp51_ = NULL;
				void* _tmp52_ = NULL;
				const gchar* _tmp53_ = NULL;
				gchar** _tmp54_ = NULL;
				gint _tmp54__length1 = 0;
				gint _tmp55_ = 0;
				const gchar* _tmp56_ = NULL;
				void* _tmp60_ = NULL;
				void* _tmp61_ = NULL;
#line 981 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				if (!_tmp46_) {
#line 13702 "gitg-commit.c"
					gint _tmp47_ = 0;
#line 981 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					_tmp47_ = i;
#line 981 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					i = _tmp47_ + 1;
#line 13708 "gitg-commit.c"
				}
#line 981 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				_tmp46_ = FALSE;
#line 981 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				_tmp48_ = i;
#line 981 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				_tmp49_ = str_array;
#line 981 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				_tmp49__length1 = str_array_length1;
#line 981 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				if (!(_tmp48_ < _tmp49__length1)) {
#line 981 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					break;
#line 13722 "gitg-commit.c"
				}
#line 982 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				_tmp50_ = ptr;
#line 982 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				_tmp51_ = separator;
#line 982 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				_tmp52_ = g_stpcpy (_tmp50_, (const gchar*) _tmp51_);
#line 982 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				ptr = _tmp52_;
#line 983 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				_tmp54_ = str_array;
#line 983 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				_tmp54__length1 = str_array_length1;
#line 983 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				_tmp55_ = i;
#line 983 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				_tmp56_ = _tmp54_[_tmp55_];
#line 983 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				if (_tmp56_ != NULL) {
#line 13742 "gitg-commit.c"
					gchar** _tmp57_ = NULL;
					gint _tmp57__length1 = 0;
					gint _tmp58_ = 0;
					const gchar* _tmp59_ = NULL;
#line 983 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					_tmp57_ = str_array;
#line 983 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					_tmp57__length1 = str_array_length1;
#line 983 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					_tmp58_ = i;
#line 983 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					_tmp59_ = _tmp57_[_tmp58_];
#line 983 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					_tmp53_ = (const gchar*) _tmp59_;
#line 13757 "gitg-commit.c"
				} else {
#line 983 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
					_tmp53_ = "";
#line 13761 "gitg-commit.c"
				}
#line 983 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				_tmp60_ = ptr;
#line 983 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				_tmp61_ = g_stpcpy (_tmp60_, _tmp53_);
#line 983 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
				ptr = _tmp61_;
#line 13769 "gitg-commit.c"
			}
		}
#line 986 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp62_ = res;
#line 986 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		res = NULL;
#line 986 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		result = (gchar*) _tmp62_;
#line 986 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		return result;
#line 13780 "gitg-commit.c"
	} else {
		gchar* _tmp63_ = NULL;
#line 988 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp63_ = g_strdup ("");
#line 988 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		result = _tmp63_;
#line 988 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		return result;
#line 13789 "gitg-commit.c"
	}
}


static gboolean __lambda45_ (Block23Data* _data23_, GitgExtUserQuery* w, GtkResponseType r) {
	GitgCommitActivity* self;
	gboolean result = FALSE;
	GtkResponseType _tmp0_ = 0;
#line 1496 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data23_->self;
#line 1496 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (w != NULL, FALSE);
#line 1497 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = r;
#line 1497 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp0_ == GTK_RESPONSE_OK) {
#line 13806 "gitg-commit.c"
		GitgStageStatusItem** _tmp1_ = NULL;
		gint _tmp1__length1 = 0;
		gboolean _tmp2_ = FALSE;
#line 1499 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = _data23_->items;
#line 1499 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp1__length1 = _data23_->items_length1;
#line 1499 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = gitg_commit_activity_do_discard_items (self, _data23_->q, _tmp1_, _tmp1__length1);
#line 1499 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		result = _tmp2_;
#line 1499 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return result;
#line 13820 "gitg-commit.c"
	}
#line 1502 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = TRUE;
#line 1502 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 13826 "gitg-commit.c"
}


static gboolean ___lambda45__gitg_ext_user_query_response (GitgExtUserQuery* _sender, GtkResponseType response_type, gpointer self) {
	gboolean result;
	result = __lambda45_ (self, _sender, response_type);
#line 1496 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 13835 "gitg-commit.c"
}


static void gitg_commit_activity_on_discard_menu_activated (GitgCommitActivity* self, GitgStageStatusItem** items, int items_length1) {
	Block23Data* _data23_;
	GitgStageStatusItem** _tmp0_ = NULL;
	gint _tmp0__length1 = 0;
	gchar* primary = NULL;
	const gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	gchar* secondary = NULL;
	GitgStageStatusItem** _tmp3_ = NULL;
	gint _tmp3__length1 = 0;
	GitgExtUserQuery* _tmp39_ = NULL;
	const gchar* _tmp40_ = NULL;
	const gchar* _tmp41_ = NULL;
	const gchar* _tmp42_ = NULL;
	GitgExtUserQueryResponse* _tmp43_ = NULL;
	const gchar* _tmp44_ = NULL;
	GitgExtUserQueryResponse* _tmp45_ = NULL;
	GitgExtUserQueryResponse** _tmp46_ = NULL;
	GitgExtUserQueryResponse** _tmp47_ = NULL;
	gint _tmp47__length1 = 0;
	GitgExtApplication* _tmp48_ = NULL;
	GitgExtApplication* _tmp49_ = NULL;
	GitgExtApplication* _tmp50_ = NULL;
#line 1462 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 1462 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data23_ = g_slice_new0 (Block23Data);
#line 1462 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data23_->_ref_count_ = 1;
#line 1462 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data23_->self = g_object_ref (self);
#line 1462 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = items;
#line 1462 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__length1 = items_length1;
#line 1462 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data23_->items = _tmp0_;
#line 1462 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data23_->items_length1 = _tmp0__length1;
#line 1464 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _ ("Discard changes");
#line 1464 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 1464 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	primary = _tmp2_;
#line 1467 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _data23_->items;
#line 1467 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3__length1 = _data23_->items_length1;
#line 1467 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp3__length1 == 1) {
#line 13890 "gitg-commit.c"
		const gchar* _tmp4_ = NULL;
		GitgStageStatusItem** _tmp5_ = NULL;
		gint _tmp5__length1 = 0;
		GitgStageStatusItem* _tmp6_ = NULL;
		gchar* _tmp7_ = NULL;
		gchar* _tmp8_ = NULL;
		gchar* _tmp9_ = NULL;
		gchar* _tmp10_ = NULL;
#line 1469 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = _ ("Are you sure you want to permanently discard all changes made to the f" \
"ile `%s'?");
#line 1469 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = _data23_->items;
#line 1469 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp5__length1 = _data23_->items_length1;
#line 1469 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = _tmp5_[0];
#line 1469 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = gitg_stage_status_item_get_path (_tmp6_);
#line 1469 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = _tmp7_;
#line 1469 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = _tmp8_;
#line 1469 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = g_strdup_printf (_tmp4_, _tmp9_);
#line 1469 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_free0 (secondary);
#line 1469 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		secondary = _tmp10_;
#line 1469 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_free0 (_tmp9_);
#line 13921 "gitg-commit.c"
	} else {
		gchar** paths = NULL;
		GitgStageStatusItem** _tmp11_ = NULL;
		gint _tmp11__length1 = 0;
		gchar** _tmp12_ = NULL;
		gint paths_length1 = 0;
		gint _paths_size_ = 0;
		const gchar* _tmp28_ = NULL;
		gchar** _tmp29_ = NULL;
		gint _tmp29__length1 = 0;
		gchar* _tmp30_ = NULL;
		gchar* _tmp31_ = NULL;
		GitgStageStatusItem** _tmp32_ = NULL;
		gint _tmp32__length1 = 0;
		GitgStageStatusItem** _tmp33_ = NULL;
		gint _tmp33__length1 = 0;
		GitgStageStatusItem* _tmp34_ = NULL;
		gchar* _tmp35_ = NULL;
		gchar* _tmp36_ = NULL;
		gchar* _tmp37_ = NULL;
		gchar* _tmp38_ = NULL;
#line 1473 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = _data23_->items;
#line 1473 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp11__length1 = _data23_->items_length1;
#line 1473 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp12_ = g_new0 (gchar*, (_tmp11__length1 - 1) + 1);
#line 1473 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		paths = _tmp12_;
#line 1473 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		paths_length1 = _tmp11__length1 - 1;
#line 1473 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_paths_size_ = paths_length1;
#line 13955 "gitg-commit.c"
		{
			gint i = 0;
#line 1475 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			i = 0;
#line 13960 "gitg-commit.c"
			{
				gboolean _tmp13_ = FALSE;
#line 1475 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp13_ = TRUE;
#line 1475 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				while (TRUE) {
#line 13967 "gitg-commit.c"
					gint _tmp15_ = 0;
					GitgStageStatusItem** _tmp16_ = NULL;
					gint _tmp16__length1 = 0;
					gchar** _tmp17_ = NULL;
					gint _tmp17__length1 = 0;
					gint _tmp18_ = 0;
					GitgStageStatusItem** _tmp19_ = NULL;
					gint _tmp19__length1 = 0;
					gint _tmp20_ = 0;
					GitgStageStatusItem* _tmp21_ = NULL;
					gchar* _tmp22_ = NULL;
					gchar* _tmp23_ = NULL;
					gchar* _tmp24_ = NULL;
					const gchar* _tmp25_ = NULL;
					gchar* _tmp26_ = NULL;
					gchar* _tmp27_ = NULL;
#line 1475 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					if (!_tmp13_) {
#line 13986 "gitg-commit.c"
						gint _tmp14_ = 0;
#line 1475 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_tmp14_ = i;
#line 1475 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						i = _tmp14_ + 1;
#line 13992 "gitg-commit.c"
					}
#line 1475 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp13_ = FALSE;
#line 1475 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp15_ = i;
#line 1475 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp16_ = _data23_->items;
#line 1475 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp16__length1 = _data23_->items_length1;
#line 1475 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					if (!(_tmp15_ < (_tmp16__length1 - 1))) {
#line 1475 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						break;
#line 14006 "gitg-commit.c"
					}
#line 1477 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp17_ = paths;
#line 1477 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp17__length1 = paths_length1;
#line 1477 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp18_ = i;
#line 1477 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp19_ = _data23_->items;
#line 1477 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp19__length1 = _data23_->items_length1;
#line 1477 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp20_ = i;
#line 1477 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp21_ = _tmp19_[_tmp20_];
#line 1477 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp22_ = gitg_stage_status_item_get_path (_tmp21_);
#line 1477 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp23_ = _tmp22_;
#line 1477 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp24_ = _tmp23_;
#line 1477 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp25_ = string_to_string (_tmp24_);
#line 1477 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp26_ = g_strconcat ("`", _tmp25_, "'", NULL);
#line 1477 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_g_free0 (_tmp17_[_tmp18_]);
#line 1477 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp17_[_tmp18_] = _tmp26_;
#line 1477 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp27_ = _tmp17_[_tmp18_];
#line 1477 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_g_free0 (_tmp24_);
#line 14040 "gitg-commit.c"
				}
			}
		}
#line 1480 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp28_ = _ ("Are you sure you want to permanently discard all changes made to the f" \
"iles %s and `%s'?");
#line 1480 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp29_ = paths;
#line 1480 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp29__length1 = paths_length1;
#line 1480 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp30_ = _vala_g_strjoinv (", ", _tmp29_, _tmp29__length1);
#line 1480 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp31_ = _tmp30_;
#line 1480 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp32_ = _data23_->items;
#line 1480 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp32__length1 = _data23_->items_length1;
#line 1480 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp33_ = _data23_->items;
#line 1480 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp33__length1 = _data23_->items_length1;
#line 1480 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp34_ = _tmp32_[_tmp33__length1 - 1];
#line 1480 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp35_ = gitg_stage_status_item_get_path (_tmp34_);
#line 1480 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp36_ = _tmp35_;
#line 1480 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp37_ = _tmp36_;
#line 1480 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp38_ = g_strdup_printf (_tmp28_, _tmp31_, _tmp37_);
#line 1480 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_free0 (secondary);
#line 1480 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		secondary = _tmp38_;
#line 1480 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_free0 (_tmp37_);
#line 1480 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_free0 (_tmp31_);
#line 1467 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		paths = (_vala_array_free (paths, paths_length1, (GDestroyNotify) g_free), NULL);
#line 14082 "gitg-commit.c"
	}
#line 1483 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp39_ = gitg_ext_user_query_new ();
#line 1483 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data23_->q = _tmp39_;
#line 1485 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp40_ = primary;
#line 1485 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_title (_data23_->q, _tmp40_);
#line 1486 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp41_ = secondary;
#line 1486 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_message (_data23_->q, _tmp41_);
#line 1487 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_message_type (_data23_->q, GTK_MESSAGE_QUESTION);
#line 1489 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp42_ = _ ("_Cancel");
#line 1489 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp43_ = gitg_ext_user_query_response_new (_tmp42_, GTK_RESPONSE_CANCEL);
#line 1489 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp44_ = _ ("Discard");
#line 1489 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp45_ = gitg_ext_user_query_response_new (_tmp44_, GTK_RESPONSE_OK);
#line 1489 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp46_ = g_new0 (GitgExtUserQueryResponse*, 2 + 1);
#line 1489 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp46_[0] = _tmp43_;
#line 1489 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp46_[1] = _tmp45_;
#line 1489 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp47_ = _tmp46_;
#line 1489 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp47__length1 = 2;
#line 1489 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_responses (_data23_->q, _tmp47_, 2);
#line 1489 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp47_ = (_vala_array_free (_tmp47_, _tmp47__length1, (GDestroyNotify) g_object_unref), NULL);
#line 1494 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_default_response (_data23_->q, GTK_RESPONSE_OK);
#line 1496 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_data (_data23_->q, "response", (GCallback) ___lambda45__gitg_ext_user_query_response, block23_data_ref (_data23_), (GClosureNotify) block23_data_unref, 0);
#line 1505 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp48_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1505 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp49_ = _tmp48_;
#line 1505 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp50_ = _tmp49_;
#line 1505 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_application_user_query (_tmp50_, _data23_->q);
#line 1505 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp50_);
#line 1462 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (secondary);
#line 1462 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (primary);
#line 1462 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block23_data_unref (_data23_);
#line 1462 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data23_ = NULL;
#line 14142 "gitg-commit.c"
}


static void gitg_commit_activity_delete_files_data_free (gpointer _data) {
	GitgCommitActivityDeleteFilesData* _data_;
	_data_ = _data;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_slice_free (GitgCommitActivityDeleteFilesData, _data_);
#line 14153 "gitg-commit.c"
}


static void gitg_commit_activity_delete_files (GitgCommitActivity* self, GFile** files, int files_length1, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgCommitActivityDeleteFilesData* _data_;
	GitgCommitActivity* _tmp0_ = NULL;
	GFile** _tmp1_ = NULL;
	gint _tmp1__length1 = 0;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_slice_new0 (GitgCommitActivityDeleteFilesData);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_commit_activity_delete_files);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_commit_activity_delete_files_data_free);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->self = _tmp0_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = files;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1__length1 = files_length1;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->files = _tmp1_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->files_length1 = _tmp1__length1;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_delete_files_co (_data_);
#line 14182 "gitg-commit.c"
}


static void gitg_commit_activity_delete_files_finish (GitgCommitActivity* self, GAsyncResult* _res_, GError** error) {
	GitgCommitActivityDeleteFilesData* _data_;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 14192 "gitg-commit.c"
	}
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 14196 "gitg-commit.c"
}


static Block24Data* block24_data_ref (Block24Data* _data24_) {
#line 1508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data24_->_ref_count_);
#line 1508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return _data24_;
#line 14205 "gitg-commit.c"
}


static void block24_data_unref (void * _userdata_) {
	Block24Data* _data24_;
	_data24_ = (Block24Data*) _userdata_;
#line 1508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data24_->_ref_count_)) {
#line 14214 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self = _data24_->self;
#line 1508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_error_free0 (_data24_->_error_);
#line 1508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		(_data24_->cb_target_destroy_notify == NULL) ? NULL : (_data24_->cb_target_destroy_notify (_data24_->cb_target), NULL);
#line 1508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data24_->cb = NULL;
#line 1508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data24_->cb_target = NULL;
#line 1508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data24_->cb_target_destroy_notify = NULL;
#line 1508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block24Data, _data24_);
#line 14232 "gitg-commit.c"
	}
}


static gboolean _gitg_commit_activity_delete_files_co_gsource_func (gpointer self) {
	gboolean result;
	result = gitg_commit_activity_delete_files_co (self);
#line 1510 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 14242 "gitg-commit.c"
}


static Block25Data* block25_data_ref (Block25Data* _data25_) {
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data25_->_ref_count_);
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return _data25_;
#line 14251 "gitg-commit.c"
}


static void block25_data_unref (void * _userdata_) {
	Block25Data* _data25_;
	_data25_ = (Block25Data*) _userdata_;
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data25_->_ref_count_)) {
#line 14260 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self = _data25_->_data24_->self;
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data25_->file);
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		block24_data_unref (_data25_->_data24_);
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data25_->_data24_ = NULL;
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block25Data, _data25_);
#line 14272 "gitg-commit.c"
	}
}


static gpointer _g_error_copy0 (gpointer self) {
#line 1526 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return self ? g_error_copy (self) : NULL;
#line 14280 "gitg-commit.c"
}


static void _____lambda46_ (Block25Data* _data25_, GObject* o, GAsyncResult* res) {
	Block24Data* _data24_;
	GitgCommitActivity* self;
	gint _tmp4_ = 0;
	gint _tmp5_ = 0;
	GError * _inner_error_ = NULL;
#line 1519 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data24_ = _data25_->_data24_;
#line 1519 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data24_->self;
#line 1519 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 14296 "gitg-commit.c"
	{
		GFile* _tmp0_ = NULL;
		GAsyncResult* _tmp1_ = NULL;
#line 1522 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _data25_->file;
#line 1522 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = res;
#line 1522 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_file_delete_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 1522 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 14308 "gitg-commit.c"
			goto __catch32_g_error;
		}
	}
	goto __finally32;
	__catch32_g_error:
	{
		GError* e = NULL;
		GError* _tmp2_ = NULL;
		GError* _tmp3_ = NULL;
#line 1520 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		e = _inner_error_;
#line 1520 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_inner_error_ = NULL;
#line 1526 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = e;
#line 1526 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp3_ = _g_error_copy0 (_tmp2_);
#line 1526 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_error_free0 (_data24_->_error_);
#line 1526 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data24_->_error_ = _tmp3_;
#line 1520 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_error_free0 (e);
#line 14332 "gitg-commit.c"
	}
	__finally32:
#line 1520 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1520 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.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 1520 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 1520 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 14343 "gitg-commit.c"
	}
#line 1529 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _data24_->n;
#line 1529 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data24_->n = _tmp4_ - 1;
#line 1529 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = _data24_->n;
#line 1529 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp5_ == 0) {
#line 14353 "gitg-commit.c"
		GSourceFunc _tmp6_ = NULL;
		void* _tmp6__target = NULL;
#line 1531 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = _data24_->cb;
#line 1531 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6__target = _data24_->cb_target;
#line 1531 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ (_tmp6__target);
#line 14362 "gitg-commit.c"
	}
}


static void ______lambda46__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1519 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_____lambda46_ (self, source_object, res);
#line 1519 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block25_data_unref (self);
#line 14372 "gitg-commit.c"
}


static gboolean gitg_commit_activity_delete_files_co (GitgCommitActivityDeleteFilesData* _data_) {
#line 1508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	switch (_data_->_state_) {
#line 1508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 0:
#line 14381 "gitg-commit.c"
		goto _state_0;
#line 1508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case 1:
#line 14385 "gitg-commit.c"
		goto _state_1;
		default:
#line 1508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_assert_not_reached ();
#line 14390 "gitg-commit.c"
	}
	_state_0:
#line 1508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data24_ = g_slice_new0 (Block24Data);
#line 1508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data24_->_ref_count_ = 1;
#line 1508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data24_->self = g_object_ref (_data_->self);
#line 1508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data24_->_async_data_ = _data_;
#line 1510 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data24_->cb = _gitg_commit_activity_delete_files_co_gsource_func;
#line 1510 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data24_->cb_target = _data_;
#line 1510 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data24_->cb_target_destroy_notify = NULL;
#line 1511 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data24_->_error_ = NULL;
#line 1513 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = NULL;
#line 1513 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0__length1 = 0;
#line 1513 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = _data_->files;
#line 1513 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0__length1 = _data_->files_length1;
#line 1513 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data24_->n = _data_->_tmp0__length1;
#line 14419 "gitg-commit.c"
	{
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->i = 0;
#line 14423 "gitg-commit.c"
		{
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp1_ = TRUE;
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			while (TRUE) {
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_data25_ = g_slice_new0 (Block25Data);
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_data25_->_ref_count_ = 1;
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_data25_->_data24_ = block24_data_ref (_data_->_data24_);
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				if (!_data_->_tmp1_) {
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp2_ = 0;
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp2_ = _data_->i;
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->i = _data_->_tmp2_ + 1;
#line 14443 "gitg-commit.c"
				}
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp1_ = FALSE;
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp3_ = 0;
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp3_ = _data_->i;
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp4_ = NULL;
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp4__length1 = 0;
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp4_ = _data_->files;
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp4__length1 = _data_->files_length1;
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				if (!(_data_->_tmp3_ < _data_->_tmp4__length1)) {
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					block25_data_unref (_data_->_data25_);
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_data_->_data25_ = NULL;
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					break;
#line 14467 "gitg-commit.c"
				}
#line 1517 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp5_ = NULL;
#line 1517 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp5__length1 = 0;
#line 1517 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp5_ = _data_->files;
#line 1517 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp5__length1 = _data_->files_length1;
#line 1517 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp6_ = 0;
#line 1517 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp6_ = _data_->i;
#line 1517 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp7_ = NULL;
#line 1517 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp7_ = _data_->_tmp5_[_data_->_tmp6_];
#line 1517 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp8_ = NULL;
#line 1517 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp8_ = _g_object_ref0 (_data_->_tmp7_);
#line 1517 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_data25_->file = _data_->_tmp8_;
#line 1519 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp9_ = NULL;
#line 1519 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp9_ = _data_->_data25_->file;
#line 1519 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				g_file_delete_async (_data_->_tmp9_, G_PRIORITY_DEFAULT, NULL, ______lambda46__gasync_ready_callback, block25_data_ref (_data_->_data25_));
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				block25_data_unref (_data_->_data25_);
#line 1515 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_data_->_data25_ = NULL;
#line 14501 "gitg-commit.c"
			}
		}
	}
#line 1536 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_state_ = 1;
#line 1536 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 14509 "gitg-commit.c"
	_state_1:
	;
#line 1538 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp10_ = NULL;
#line 1538 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp10_ = _data_->_data24_->_error_;
#line 1538 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_tmp10_ != NULL) {
#line 1540 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp11_ = NULL;
#line 1540 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp11_ = _data_->_data24_->_error_;
#line 1540 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp12_ = NULL;
#line 1540 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp12_ = _g_error_copy0 (_data_->_tmp11_);
#line 1540 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_inner_error_ = _data_->_tmp12_;
#line 1540 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 1540 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_error_free (_data_->_inner_error_);
#line 1540 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		block24_data_unref (_data_->_data24_);
#line 1540 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data_->_data24_ = NULL;
#line 1540 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (_data_->_state_ == 0) {
#line 1540 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 14540 "gitg-commit.c"
		} else {
#line 1540 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 14544 "gitg-commit.c"
		}
#line 1540 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_object_unref (_data_->_async_result);
#line 1540 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return FALSE;
#line 14550 "gitg-commit.c"
	}
#line 1508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block24_data_unref (_data_->_data24_);
#line 1508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data24_ = NULL;
#line 1508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ == 0) {
#line 1508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 14560 "gitg-commit.c"
	} else {
#line 1508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 14564 "gitg-commit.c"
	}
#line 1508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 1508 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 14570 "gitg-commit.c"
}


static Block26Data* block26_data_ref (Block26Data* _data26_) {
#line 1544 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data26_->_ref_count_);
#line 1544 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return _data26_;
#line 14579 "gitg-commit.c"
}


static void block26_data_unref (void * _userdata_) {
	Block26Data* _data26_;
	_data26_ = (Block26Data*) _userdata_;
#line 1544 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data26_->_ref_count_)) {
#line 14588 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1544 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self = _data26_->self;
#line 1544 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data26_->q);
#line 1544 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1544 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block26Data, _data26_);
#line 14598 "gitg-commit.c"
	}
}


static void __lambda47_ (Block26Data* _data26_, GObject* o, GAsyncResult* ret) {
	GitgCommitActivity* self;
	GitgExtApplication* _tmp7_ = NULL;
	GitgExtApplication* _tmp8_ = NULL;
	GitgExtApplication* _tmp9_ = NULL;
	GitgExtUserQuery* _tmp10_ = NULL;
	GError * _inner_error_ = NULL;
#line 1556 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data26_->self;
#line 1556 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (ret != NULL);
#line 14614 "gitg-commit.c"
	{
		GAsyncResult* _tmp0_ = NULL;
#line 1559 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = ret;
#line 1559 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_delete_files_finish (self, _tmp0_, &_inner_error_);
#line 1559 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 14623 "gitg-commit.c"
			goto __catch33_g_error;
		}
	}
	goto __finally33;
	__catch33_g_error:
	{
		GError* e = NULL;
		GitgExtApplication* _tmp1_ = NULL;
		GitgExtApplication* _tmp2_ = NULL;
		GitgExtApplication* _tmp3_ = NULL;
		const gchar* _tmp4_ = NULL;
		GError* _tmp5_ = NULL;
		const gchar* _tmp6_ = NULL;
#line 1557 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		e = _inner_error_;
#line 1557 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_inner_error_ = NULL;
#line 1563 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1563 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = _tmp1_;
#line 1563 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp3_ = _tmp2_;
#line 1563 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = _ ("Failed to delete files");
#line 1563 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = e;
#line 1563 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = _tmp5_->message;
#line 1563 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_ext_application_show_infobar (_tmp3_, _tmp4_, _tmp6_, GTK_MESSAGE_ERROR);
#line 1563 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp3_);
#line 1557 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_error_free0 (e);
#line 14659 "gitg-commit.c"
	}
	__finally33:
#line 1557 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1557 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.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 1557 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 1557 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 14670 "gitg-commit.c"
	}
#line 1568 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1568 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = _tmp7_;
#line 1568 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = _tmp8_;
#line 1568 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_application_set_busy (_tmp9_, FALSE);
#line 1568 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp9_);
#line 1569 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = _data26_->q;
#line 1569 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_signal_emit_by_name (_tmp10_, "quit");
#line 1571 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_reload (self);
#line 14688 "gitg-commit.c"
}


static void ___lambda47__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1556 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__lambda47_ (self, source_object, res);
#line 1556 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block26_data_unref (self);
#line 14697 "gitg-commit.c"
}


static gboolean gitg_commit_activity_do_delete_items (GitgCommitActivity* self, GitgExtUserQuery* q, GitgStageStatusItem** items, int items_length1) {
	gboolean result = FALSE;
	Block26Data* _data26_;
	GitgExtUserQuery* _tmp0_ = NULL;
	GitgExtUserQuery* _tmp1_ = NULL;
	GitgExtApplication* _tmp2_ = NULL;
	GitgExtApplication* _tmp3_ = NULL;
	GitgExtApplication* _tmp4_ = NULL;
	GFile** files = NULL;
	GitgStageStatusItem** _tmp5_ = NULL;
	gint _tmp5__length1 = 0;
	GFile** _tmp6_ = NULL;
	gint files_length1 = 0;
	gint _files_size_ = 0;
	GFile** _tmp29_ = NULL;
	gint _tmp29__length1 = 0;
#line 1544 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 1544 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (q != NULL, FALSE);
#line 1544 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data26_ = g_slice_new0 (Block26Data);
#line 1544 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data26_->_ref_count_ = 1;
#line 1544 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data26_->self = g_object_ref (self);
#line 1544 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = q;
#line 1544 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 1544 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data26_->q);
#line 1544 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data26_->q = _tmp1_;
#line 1546 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1546 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _tmp2_;
#line 1546 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _tmp3_;
#line 1546 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_application_set_busy (_tmp4_, TRUE);
#line 1546 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp4_);
#line 1548 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = items;
#line 1548 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5__length1 = items_length1;
#line 1548 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = g_new0 (GFile*, _tmp5__length1 + 1);
#line 1548 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	files = _tmp6_;
#line 1548 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	files_length1 = _tmp5__length1;
#line 1548 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_files_size_ = files_length1;
#line 14757 "gitg-commit.c"
	{
		gint i = 0;
#line 1550 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		i = 0;
#line 14762 "gitg-commit.c"
		{
			gboolean _tmp7_ = FALSE;
#line 1550 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp7_ = TRUE;
#line 1550 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			while (TRUE) {
#line 14769 "gitg-commit.c"
				gint _tmp9_ = 0;
				GitgStageStatusItem** _tmp10_ = NULL;
				gint _tmp10__length1 = 0;
				GFile** _tmp11_ = NULL;
				gint _tmp11__length1 = 0;
				gint _tmp12_ = 0;
				GitgExtApplication* _tmp13_ = NULL;
				GitgExtApplication* _tmp14_ = NULL;
				GitgExtApplication* _tmp15_ = NULL;
				GitgRepository* _tmp16_ = NULL;
				GitgRepository* _tmp17_ = NULL;
				GitgRepository* _tmp18_ = NULL;
				GFile* _tmp19_ = NULL;
				GFile* _tmp20_ = NULL;
				GitgStageStatusItem** _tmp21_ = NULL;
				gint _tmp21__length1 = 0;
				gint _tmp22_ = 0;
				GitgStageStatusItem* _tmp23_ = NULL;
				gchar* _tmp24_ = NULL;
				gchar* _tmp25_ = NULL;
				gchar* _tmp26_ = NULL;
				GFile* _tmp27_ = NULL;
				GFile* _tmp28_ = NULL;
#line 1550 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				if (!_tmp7_) {
#line 14795 "gitg-commit.c"
					gint _tmp8_ = 0;
#line 1550 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp8_ = i;
#line 1550 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					i = _tmp8_ + 1;
#line 14801 "gitg-commit.c"
				}
#line 1550 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp7_ = FALSE;
#line 1550 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp9_ = i;
#line 1550 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp10_ = items;
#line 1550 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp10__length1 = items_length1;
#line 1550 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				if (!(_tmp9_ < _tmp10__length1)) {
#line 1550 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					break;
#line 14815 "gitg-commit.c"
				}
#line 1552 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp11_ = files;
#line 1552 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp11__length1 = files_length1;
#line 1552 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp12_ = i;
#line 1552 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp13_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1552 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp14_ = _tmp13_;
#line 1552 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp15_ = _tmp14_;
#line 1552 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp16_ = gitg_ext_application_get_repository (_tmp15_);
#line 1552 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp17_ = _tmp16_;
#line 1552 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp18_ = _tmp17_;
#line 1552 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp19_ = ggit_repository_get_workdir ((GgitRepository*) _tmp18_);
#line 1552 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp20_ = _tmp19_;
#line 1552 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp21_ = items;
#line 1552 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp21__length1 = items_length1;
#line 1552 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp22_ = i;
#line 1552 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp23_ = _tmp21_[_tmp22_];
#line 1552 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp24_ = gitg_stage_status_item_get_path (_tmp23_);
#line 1552 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp25_ = _tmp24_;
#line 1552 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp26_ = _tmp25_;
#line 1552 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp27_ = g_file_get_child (_tmp20_, _tmp26_);
#line 1552 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_tmp11_[_tmp12_]);
#line 1552 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp11_[_tmp12_] = _tmp27_;
#line 1552 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp28_ = _tmp11_[_tmp12_];
#line 1552 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_free0 (_tmp26_);
#line 1552 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_tmp20_);
#line 1552 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_tmp18_);
#line 1552 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_tmp15_);
#line 14869 "gitg-commit.c"
			}
		}
	}
#line 1555 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_ignore_external_changes = TRUE;
#line 1556 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp29_ = files;
#line 1556 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp29__length1 = files_length1;
#line 1556 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_delete_files (self, _tmp29_, _tmp29__length1, ___lambda47__gasync_ready_callback, block26_data_ref (_data26_));
#line 1574 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = FALSE;
#line 1574 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	files = (_vala_array_free (files, files_length1, (GDestroyNotify) g_object_unref), NULL);
#line 1574 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block26_data_unref (_data26_);
#line 1574 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data26_ = NULL;
#line 1574 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 14891 "gitg-commit.c"
}


static Block27Data* block27_data_ref (Block27Data* _data27_) {
#line 1577 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data27_->_ref_count_);
#line 1577 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return _data27_;
#line 14900 "gitg-commit.c"
}


static void block27_data_unref (void * _userdata_) {
	Block27Data* _data27_;
	_data27_ = (Block27Data*) _userdata_;
#line 1577 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data27_->_ref_count_)) {
#line 14909 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1577 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self = _data27_->self;
#line 1577 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data27_->q);
#line 1577 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1577 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block27Data, _data27_);
#line 14919 "gitg-commit.c"
	}
}


static gboolean __lambda48_ (Block27Data* _data27_, GitgExtUserQuery* w, GtkResponseType r) {
	GitgCommitActivity* self;
	gboolean result = FALSE;
	GtkResponseType _tmp0_ = 0;
#line 1612 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data27_->self;
#line 1612 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (w != NULL, FALSE);
#line 1613 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = r;
#line 1613 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp0_ == GTK_RESPONSE_OK) {
#line 14936 "gitg-commit.c"
		GitgStageStatusItem** _tmp1_ = NULL;
		gint _tmp1__length1 = 0;
		gboolean _tmp2_ = FALSE;
#line 1615 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = _data27_->items;
#line 1615 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp1__length1 = _data27_->items_length1;
#line 1615 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = gitg_commit_activity_do_delete_items (self, _data27_->q, _tmp1_, _tmp1__length1);
#line 1615 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		result = _tmp2_;
#line 1615 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return result;
#line 14950 "gitg-commit.c"
	}
#line 1618 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = TRUE;
#line 1618 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 14956 "gitg-commit.c"
}


static gboolean ___lambda48__gitg_ext_user_query_response (GitgExtUserQuery* _sender, GtkResponseType response_type, gpointer self) {
	gboolean result;
	result = __lambda48_ (self, _sender, response_type);
#line 1612 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 14965 "gitg-commit.c"
}


static void gitg_commit_activity_on_delete_menu_activated (GitgCommitActivity* self, GitgStageStatusItem** items, int items_length1) {
	Block27Data* _data27_;
	GitgStageStatusItem** _tmp0_ = NULL;
	gint _tmp0__length1 = 0;
	gchar* primary = NULL;
	GitgStageStatusItem** _tmp1_ = NULL;
	gint _tmp1__length1 = 0;
	const gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	gchar* secondary = NULL;
	GitgStageStatusItem** _tmp4_ = NULL;
	gint _tmp4__length1 = 0;
	GitgExtUserQuery* _tmp40_ = NULL;
	const gchar* _tmp41_ = NULL;
	const gchar* _tmp42_ = NULL;
	const gchar* _tmp43_ = NULL;
	GitgExtUserQueryResponse* _tmp44_ = NULL;
	const gchar* _tmp45_ = NULL;
	GitgExtUserQueryResponse* _tmp46_ = NULL;
	GitgExtUserQueryResponse** _tmp47_ = NULL;
	GitgExtUserQueryResponse** _tmp48_ = NULL;
	gint _tmp48__length1 = 0;
	GitgExtApplication* _tmp49_ = NULL;
	GitgExtApplication* _tmp50_ = NULL;
	GitgExtApplication* _tmp51_ = NULL;
#line 1577 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 1577 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data27_ = g_slice_new0 (Block27Data);
#line 1577 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data27_->_ref_count_ = 1;
#line 1577 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data27_->self = g_object_ref (self);
#line 1577 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = items;
#line 1577 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__length1 = items_length1;
#line 1577 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data27_->items = _tmp0_;
#line 1577 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data27_->items_length1 = _tmp0__length1;
#line 1579 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _data27_->items;
#line 1579 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1__length1 = _data27_->items_length1;
#line 1579 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = g_dngettext (NULL, "Delete file", "Delete files", (gulong) _tmp1__length1);
#line 1579 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = g_strdup (_tmp2_);
#line 1579 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	primary = _tmp3_;
#line 1582 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _data27_->items;
#line 1582 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4__length1 = _data27_->items_length1;
#line 1582 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp4__length1 == 1) {
#line 15026 "gitg-commit.c"
		const gchar* _tmp5_ = NULL;
		GitgStageStatusItem** _tmp6_ = NULL;
		gint _tmp6__length1 = 0;
		GitgStageStatusItem* _tmp7_ = NULL;
		gchar* _tmp8_ = NULL;
		gchar* _tmp9_ = NULL;
		gchar* _tmp10_ = NULL;
		gchar* _tmp11_ = NULL;
#line 1584 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = _ ("Are you sure you want to permanently delete the file `%s'?");
#line 1584 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = _data27_->items;
#line 1584 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6__length1 = _data27_->items_length1;
#line 1584 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_[0];
#line 1584 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = gitg_stage_status_item_get_path (_tmp7_);
#line 1584 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = _tmp8_;
#line 1584 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = _tmp9_;
#line 1584 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = g_strdup_printf (_tmp5_, _tmp10_);
#line 1584 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_free0 (secondary);
#line 1584 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		secondary = _tmp11_;
#line 1584 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_free0 (_tmp10_);
#line 15057 "gitg-commit.c"
	} else {
		gchar** paths = NULL;
		GitgStageStatusItem** _tmp12_ = NULL;
		gint _tmp12__length1 = 0;
		gchar** _tmp13_ = NULL;
		gint paths_length1 = 0;
		gint _paths_size_ = 0;
		const gchar* _tmp29_ = NULL;
		gchar** _tmp30_ = NULL;
		gint _tmp30__length1 = 0;
		gchar* _tmp31_ = NULL;
		gchar* _tmp32_ = NULL;
		GitgStageStatusItem** _tmp33_ = NULL;
		gint _tmp33__length1 = 0;
		GitgStageStatusItem** _tmp34_ = NULL;
		gint _tmp34__length1 = 0;
		GitgStageStatusItem* _tmp35_ = NULL;
		gchar* _tmp36_ = NULL;
		gchar* _tmp37_ = NULL;
		gchar* _tmp38_ = NULL;
		gchar* _tmp39_ = NULL;
#line 1588 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp12_ = _data27_->items;
#line 1588 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp12__length1 = _data27_->items_length1;
#line 1588 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp13_ = g_new0 (gchar*, (_tmp12__length1 - 1) + 1);
#line 1588 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		paths = _tmp13_;
#line 1588 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		paths_length1 = _tmp12__length1 - 1;
#line 1588 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_paths_size_ = paths_length1;
#line 15091 "gitg-commit.c"
		{
			gint i = 0;
#line 1590 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			i = 0;
#line 15096 "gitg-commit.c"
			{
				gboolean _tmp14_ = FALSE;
#line 1590 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp14_ = TRUE;
#line 1590 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				while (TRUE) {
#line 15103 "gitg-commit.c"
					gint _tmp16_ = 0;
					GitgStageStatusItem** _tmp17_ = NULL;
					gint _tmp17__length1 = 0;
					gchar** _tmp18_ = NULL;
					gint _tmp18__length1 = 0;
					gint _tmp19_ = 0;
					GitgStageStatusItem** _tmp20_ = NULL;
					gint _tmp20__length1 = 0;
					gint _tmp21_ = 0;
					GitgStageStatusItem* _tmp22_ = NULL;
					gchar* _tmp23_ = NULL;
					gchar* _tmp24_ = NULL;
					gchar* _tmp25_ = NULL;
					const gchar* _tmp26_ = NULL;
					gchar* _tmp27_ = NULL;
					gchar* _tmp28_ = NULL;
#line 1590 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					if (!_tmp14_) {
#line 15122 "gitg-commit.c"
						gint _tmp15_ = 0;
#line 1590 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						_tmp15_ = i;
#line 1590 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						i = _tmp15_ + 1;
#line 15128 "gitg-commit.c"
					}
#line 1590 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp14_ = FALSE;
#line 1590 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp16_ = i;
#line 1590 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp17_ = _data27_->items;
#line 1590 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp17__length1 = _data27_->items_length1;
#line 1590 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					if (!(_tmp16_ < (_tmp17__length1 - 1))) {
#line 1590 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						break;
#line 15142 "gitg-commit.c"
					}
#line 1592 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp18_ = paths;
#line 1592 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp18__length1 = paths_length1;
#line 1592 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp19_ = i;
#line 1592 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp20_ = _data27_->items;
#line 1592 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp20__length1 = _data27_->items_length1;
#line 1592 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp21_ = i;
#line 1592 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp22_ = _tmp20_[_tmp21_];
#line 1592 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp23_ = gitg_stage_status_item_get_path (_tmp22_);
#line 1592 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp24_ = _tmp23_;
#line 1592 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp25_ = _tmp24_;
#line 1592 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp26_ = string_to_string (_tmp25_);
#line 1592 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp27_ = g_strconcat ("`", _tmp26_, "'", NULL);
#line 1592 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_g_free0 (_tmp18_[_tmp19_]);
#line 1592 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp18_[_tmp19_] = _tmp27_;
#line 1592 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp28_ = _tmp18_[_tmp19_];
#line 1592 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_g_free0 (_tmp25_);
#line 15176 "gitg-commit.c"
				}
			}
		}
#line 1595 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp29_ = _ ("Are you sure you want to permanently delete the files %s and `%s'?");
#line 1595 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp30_ = paths;
#line 1595 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp30__length1 = paths_length1;
#line 1595 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp31_ = _vala_g_strjoinv (", ", _tmp30_, _tmp30__length1);
#line 1595 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp32_ = _tmp31_;
#line 1595 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp33_ = _data27_->items;
#line 1595 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp33__length1 = _data27_->items_length1;
#line 1595 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp34_ = _data27_->items;
#line 1595 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp34__length1 = _data27_->items_length1;
#line 1595 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp35_ = _tmp33_[_tmp34__length1 - 1];
#line 1595 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp36_ = gitg_stage_status_item_get_path (_tmp35_);
#line 1595 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp37_ = _tmp36_;
#line 1595 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp38_ = _tmp37_;
#line 1595 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp39_ = g_strdup_printf (_tmp29_, _tmp32_, _tmp38_);
#line 1595 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_free0 (secondary);
#line 1595 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		secondary = _tmp39_;
#line 1595 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_free0 (_tmp38_);
#line 1595 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_free0 (_tmp32_);
#line 1582 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		paths = (_vala_array_free (paths, paths_length1, (GDestroyNotify) g_free), NULL);
#line 15218 "gitg-commit.c"
	}
#line 1598 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp40_ = gitg_ext_user_query_new ();
#line 1598 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data27_->q = _tmp40_;
#line 1600 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp41_ = primary;
#line 1600 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_title (_data27_->q, _tmp41_);
#line 1601 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp42_ = secondary;
#line 1601 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_message (_data27_->q, _tmp42_);
#line 1602 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_message_type (_data27_->q, GTK_MESSAGE_QUESTION);
#line 1604 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp43_ = _ ("_Cancel");
#line 1604 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp44_ = gitg_ext_user_query_response_new (_tmp43_, GTK_RESPONSE_CANCEL);
#line 1604 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp45_ = primary;
#line 1604 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp46_ = gitg_ext_user_query_response_new (_tmp45_, GTK_RESPONSE_OK);
#line 1604 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp47_ = g_new0 (GitgExtUserQueryResponse*, 2 + 1);
#line 1604 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp47_[0] = _tmp44_;
#line 1604 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp47_[1] = _tmp46_;
#line 1604 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp48_ = _tmp47_;
#line 1604 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp48__length1 = 2;
#line 1604 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_responses (_data27_->q, _tmp48_, 2);
#line 1604 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp48_ = (_vala_array_free (_tmp48_, _tmp48__length1, (GDestroyNotify) g_object_unref), NULL);
#line 1609 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_default_response (_data27_->q, GTK_RESPONSE_OK);
#line 1610 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_default_is_destructive (_data27_->q, TRUE);
#line 1612 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_data (_data27_->q, "response", (GCallback) ___lambda48__gitg_ext_user_query_response, block27_data_ref (_data27_), (GClosureNotify) block27_data_unref, 0);
#line 1621 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp49_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1621 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp50_ = _tmp49_;
#line 1621 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp51_ = _tmp50_;
#line 1621 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_application_user_query (_tmp51_, _data27_->q);
#line 1621 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp51_);
#line 1577 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (secondary);
#line 1577 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (primary);
#line 1577 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block27_data_unref (_data27_);
#line 1577 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data27_ = NULL;
#line 15280 "gitg-commit.c"
}


static Block28Data* block28_data_ref (Block28Data* _data28_) {
#line 1624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data28_->_ref_count_);
#line 1624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return _data28_;
#line 15289 "gitg-commit.c"
}


static void block28_data_unref (void * _userdata_) {
	Block28Data* _data28_;
	_data28_ = (Block28Data*) _userdata_;
#line 1624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data28_->_ref_count_)) {
#line 15298 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self = _data28_->self;
#line 1624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data28_->sitems = (_vala_array_free (_data28_->sitems, _data28_->sitems_length1, (GDestroyNotify) g_object_unref), NULL);
#line 1624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block28Data, _data28_);
#line 15308 "gitg-commit.c"
	}
}


static void ___lambda49_ (Block28Data* _data28_) {
	GitgCommitActivity* self;
	GitgStageStatusItem** _tmp0_ = NULL;
	gint _tmp0__length1 = 0;
#line 1643 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data28_->self;
#line 1644 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _data28_->sitems;
#line 1644 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__length1 = _data28_->sitems_length1;
#line 1644 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_on_unstaged_activated (self, _tmp0_, _tmp0__length1);
#line 15325 "gitg-commit.c"
}


static void ____lambda49__gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) {
#line 1643 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	___lambda49_ (self);
#line 15332 "gitg-commit.c"
}


static void ___lambda50_ (Block28Data* _data28_) {
	GitgCommitActivity* self;
	GitgStageStatusItem** _tmp0_ = NULL;
	gint _tmp0__length1 = 0;
#line 1653 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data28_->self;
#line 1654 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _data28_->sitems;
#line 1654 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__length1 = _data28_->sitems_length1;
#line 1654 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_on_staged_activated (self, _tmp0_, _tmp0__length1);
#line 15348 "gitg-commit.c"
}


static void ____lambda50__gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) {
#line 1653 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	___lambda50_ (self);
#line 15355 "gitg-commit.c"
}


static void ___lambda51_ (Block28Data* _data28_) {
	GitgCommitActivity* self;
	GitgStageStatusItem** _tmp0_ = NULL;
	gint _tmp0__length1 = 0;
#line 1663 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data28_->self;
#line 1664 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _data28_->sitems;
#line 1664 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__length1 = _data28_->sitems_length1;
#line 1664 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_on_discard_menu_activated (self, _tmp0_, _tmp0__length1);
#line 15371 "gitg-commit.c"
}


static void ____lambda51__gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) {
#line 1663 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	___lambda51_ (self);
#line 15378 "gitg-commit.c"
}


static void ___lambda52_ (Block28Data* _data28_) {
	GitgCommitActivity* self;
	GitgStageStatusItem** _tmp0_ = NULL;
	gint _tmp0__length1 = 0;
#line 1673 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data28_->self;
#line 1674 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _data28_->sitems;
#line 1674 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__length1 = _data28_->sitems_length1;
#line 1674 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_on_delete_menu_activated (self, _tmp0_, _tmp0__length1);
#line 15394 "gitg-commit.c"
}


static void ____lambda52__gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) {
#line 1673 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	___lambda52_ (self);
#line 15401 "gitg-commit.c"
}


static void ___lambda53_ (Block28Data* _data28_) {
	GitgCommitActivity* self;
	GitgStageStatusItem** _tmp0_ = NULL;
	gint _tmp0__length1 = 0;
#line 1696 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data28_->self;
#line 1697 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _data28_->sitems;
#line 1697 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__length1 = _data28_->sitems_length1;
#line 1697 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_do_edit_items (self, _tmp0_, _tmp0__length1);
#line 15417 "gitg-commit.c"
}


static void ____lambda53__gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) {
#line 1696 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	___lambda53_ (self);
#line 15424 "gitg-commit.c"
}


static void gitg_commit_activity_do_populate_menu (GitgCommitActivity* self, GtkMenu* menu) {
	Block28Data* _data28_;
	GitgSidebarItem** items = NULL;
	GitgCommitPaned* _tmp0_ = NULL;
	GitgCommitSidebar* _tmp1_ = NULL;
	GitgCommitSidebar* _tmp2_ = NULL;
	gint _tmp3_ = 0;
	gpointer* _tmp4_ = NULL;
	gint items_length1 = 0;
	gint _items_size_ = 0;
	GitgSidebarItem** _tmp5_ = NULL;
	gint _tmp5__length1 = 0;
	GitgCommitSidebarItemType type = 0;
	GitgSidebarItem** _tmp6_ = NULL;
	gint _tmp6__length1 = 0;
	GitgCommitSidebarItemType _tmp7_ = 0;
	gint _tmp8_ = 0;
	GitgStageStatusItem** _tmp9_ = NULL;
	gboolean _tmp10_ = FALSE;
	GitgCommitSidebarItemType _tmp11_ = 0;
	GitgCommitSidebarItemType _tmp18_ = 0;
	GitgCommitSidebarItemType _tmp24_ = 0;
	GitgCommitSidebarItemType _tmp30_ = 0;
	gboolean canedit = FALSE;
	GitgStageStatusItem** _tmp37_ = NULL;
	gint _tmp37__length1 = 0;
	gboolean _tmp46_ = FALSE;
#line 1624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 1624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (menu != NULL);
#line 1624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data28_ = g_slice_new0 (Block28Data);
#line 1624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data28_->_ref_count_ = 1;
#line 1624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data28_->self = g_object_ref (self);
#line 1626 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 1626 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_sidebar (_tmp0_);
#line 1626 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 1626 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = gitg_sidebar_get_selected_items ((GitgSidebar*) _tmp2_, GITG_TYPE_SIDEBAR_ITEM, (GBoxedCopyFunc) g_object_ref, g_object_unref, &_tmp3_);
#line 1626 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	items = _tmp4_;
#line 1626 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	items_length1 = _tmp3_;
#line 1626 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_items_size_ = items_length1;
#line 1628 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = items;
#line 1628 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5__length1 = items_length1;
#line 1628 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp5__length1 == 0) {
#line 1630 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		items = (_vala_array_free (items, items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 1630 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		block28_data_unref (_data28_);
#line 1630 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_data28_ = NULL;
#line 1630 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 15493 "gitg-commit.c"
	}
#line 1635 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = items;
#line 1635 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp6__length1 = items_length1;
#line 1635 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = gitg_commit_activity_items_for_items (self, _tmp6_, _tmp6__length1, &_tmp7_, &_tmp8_);
#line 1635 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	type = _tmp7_;
#line 1635 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data28_->sitems = _tmp9_;
#line 1635 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data28_->sitems_length1 = _tmp8_;
#line 1635 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data28_->_sitems_size_ = _data28_->sitems_length1;
#line 1637 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp11_ = type;
#line 1637 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp11_ == GITG_COMMIT_SIDEBAR_ITEM_TYPE_UNSTAGED) {
#line 1637 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = TRUE;
#line 15515 "gitg-commit.c"
	} else {
		GitgCommitSidebarItemType _tmp12_ = 0;
#line 1638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp12_ = type;
#line 1638 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = _tmp12_ == GITG_COMMIT_SIDEBAR_ITEM_TYPE_UNTRACKED;
#line 15522 "gitg-commit.c"
	}
#line 1637 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp10_) {
#line 15526 "gitg-commit.c"
		GtkMenuItem* stage = NULL;
		const gchar* _tmp13_ = NULL;
		GtkMenuItem* _tmp14_ = NULL;
		GtkMenu* _tmp15_ = NULL;
		GtkMenuItem* _tmp16_ = NULL;
		GtkMenuItem* _tmp17_ = NULL;
#line 1640 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp13_ = _ ("_Stage changes");
#line 1640 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp14_ = (GtkMenuItem*) gtk_menu_item_new_with_mnemonic (_tmp13_);
#line 1640 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_object_ref_sink (_tmp14_);
#line 1640 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		stage = _tmp14_;
#line 1641 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp15_ = menu;
#line 1641 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp16_ = stage;
#line 1641 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gtk_menu_shell_append ((GtkMenuShell*) _tmp15_, (GtkWidget*) _tmp16_);
#line 1643 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp17_ = stage;
#line 1643 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_signal_connect_data (_tmp17_, "activate", (GCallback) ____lambda49__gtk_menu_item_activate, block28_data_ref (_data28_), (GClosureNotify) block28_data_unref, 0);
#line 1637 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (stage);
#line 15553 "gitg-commit.c"
	}
#line 1648 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp18_ = type;
#line 1648 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp18_ == GITG_COMMIT_SIDEBAR_ITEM_TYPE_STAGED) {
#line 15559 "gitg-commit.c"
		GtkMenuItem* stage = NULL;
		const gchar* _tmp19_ = NULL;
		GtkMenuItem* _tmp20_ = NULL;
		GtkMenu* _tmp21_ = NULL;
		GtkMenuItem* _tmp22_ = NULL;
		GtkMenuItem* _tmp23_ = NULL;
#line 1650 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp19_ = _ ("_Unstage changes");
#line 1650 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp20_ = (GtkMenuItem*) gtk_menu_item_new_with_mnemonic (_tmp19_);
#line 1650 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_object_ref_sink (_tmp20_);
#line 1650 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		stage = _tmp20_;
#line 1651 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp21_ = menu;
#line 1651 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp22_ = stage;
#line 1651 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gtk_menu_shell_append ((GtkMenuShell*) _tmp21_, (GtkWidget*) _tmp22_);
#line 1653 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp23_ = stage;
#line 1653 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_signal_connect_data (_tmp23_, "activate", (GCallback) ____lambda50__gtk_menu_item_activate, block28_data_ref (_data28_), (GClosureNotify) block28_data_unref, 0);
#line 1648 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (stage);
#line 15586 "gitg-commit.c"
	}
#line 1658 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp24_ = type;
#line 1658 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp24_ == GITG_COMMIT_SIDEBAR_ITEM_TYPE_UNSTAGED) {
#line 15592 "gitg-commit.c"
		GtkMenuItem* discard = NULL;
		const gchar* _tmp25_ = NULL;
		GtkMenuItem* _tmp26_ = NULL;
		GtkMenu* _tmp27_ = NULL;
		GtkMenuItem* _tmp28_ = NULL;
		GtkMenuItem* _tmp29_ = NULL;
#line 1660 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp25_ = _ ("_Discard changes");
#line 1660 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp26_ = (GtkMenuItem*) gtk_menu_item_new_with_mnemonic (_tmp25_);
#line 1660 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_object_ref_sink (_tmp26_);
#line 1660 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		discard = _tmp26_;
#line 1661 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp27_ = menu;
#line 1661 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp28_ = discard;
#line 1661 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gtk_menu_shell_append ((GtkMenuShell*) _tmp27_, (GtkWidget*) _tmp28_);
#line 1663 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp29_ = discard;
#line 1663 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_signal_connect_data (_tmp29_, "activate", (GCallback) ____lambda51__gtk_menu_item_activate, block28_data_ref (_data28_), (GClosureNotify) block28_data_unref, 0);
#line 1658 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (discard);
#line 15619 "gitg-commit.c"
	}
#line 1668 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp30_ = type;
#line 1668 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp30_ == GITG_COMMIT_SIDEBAR_ITEM_TYPE_UNTRACKED) {
#line 15625 "gitg-commit.c"
		GtkMenuItem* del = NULL;
		GitgStageStatusItem** _tmp31_ = NULL;
		gint _tmp31__length1 = 0;
		const gchar* _tmp32_ = NULL;
		GtkMenuItem* _tmp33_ = NULL;
		GtkMenu* _tmp34_ = NULL;
		GtkMenuItem* _tmp35_ = NULL;
		GtkMenuItem* _tmp36_ = NULL;
#line 1670 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp31_ = _data28_->sitems;
#line 1670 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp31__length1 = _data28_->sitems_length1;
#line 1670 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp32_ = g_dngettext (NULL, "D_elete file", "D_elete files", (gulong) _tmp31__length1);
#line 1670 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp33_ = (GtkMenuItem*) gtk_menu_item_new_with_mnemonic (_tmp32_);
#line 1670 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_object_ref_sink (_tmp33_);
#line 1670 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		del = _tmp33_;
#line 1671 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp34_ = menu;
#line 1671 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp35_ = del;
#line 1671 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gtk_menu_shell_append ((GtkMenuShell*) _tmp34_, (GtkWidget*) _tmp35_);
#line 1673 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp36_ = del;
#line 1673 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_signal_connect_data (_tmp36_, "activate", (GCallback) ____lambda52__gtk_menu_item_activate, block28_data_ref (_data28_), (GClosureNotify) block28_data_unref, 0);
#line 1668 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (del);
#line 15658 "gitg-commit.c"
	}
#line 1678 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	canedit = TRUE;
#line 1680 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp37_ = _data28_->sitems;
#line 1680 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp37__length1 = _data28_->sitems_length1;
#line 15666 "gitg-commit.c"
	{
		GitgStageStatusItem** item_collection = NULL;
		gint item_collection_length1 = 0;
		gint _item_collection_size_ = 0;
		gint item_it = 0;
#line 1680 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		item_collection = _tmp37_;
#line 1680 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		item_collection_length1 = _tmp37__length1;
#line 1680 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		for (item_it = 0; item_it < _tmp37__length1; item_it = item_it + 1) {
#line 15678 "gitg-commit.c"
			GitgStageStatusItem* _tmp38_ = NULL;
			GitgStageStatusItem* item = NULL;
#line 1680 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp38_ = _g_object_ref0 (item_collection[item_it]);
#line 1680 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			item = _tmp38_;
#line 15685 "gitg-commit.c"
			{
				GitgStageStatusFile* file = NULL;
				GitgStageStatusItem* _tmp39_ = NULL;
				GitgStageStatusFile* _tmp40_ = NULL;
				gboolean _tmp41_ = FALSE;
				GitgStageStatusFile* _tmp42_ = NULL;
#line 1682 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp39_ = item;
#line 1682 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp40_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp39_, GITG_TYPE_STAGE_STATUS_FILE) ? ((GitgStageStatusFile*) _tmp39_) : NULL);
#line 1682 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				file = _tmp40_;
#line 1684 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp42_ = file;
#line 1684 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				if (_tmp42_ == NULL) {
#line 1684 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp41_ = TRUE;
#line 15704 "gitg-commit.c"
				} else {
					GitgStageStatusFile* _tmp43_ = NULL;
					GgitStatusFlags _tmp44_ = 0;
					GgitStatusFlags _tmp45_ = 0;
#line 1684 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp43_ = file;
#line 1684 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp44_ = gitg_stage_status_file_get_flags (_tmp43_);
#line 1684 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp45_ = _tmp44_;
#line 1684 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp41_ = (_tmp45_ & GGIT_STATUS_WORKING_TREE_DELETED) != 0;
#line 15717 "gitg-commit.c"
				}
#line 1684 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				if (_tmp41_) {
#line 1686 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					canedit = FALSE;
#line 1687 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_g_object_unref0 (file);
#line 1687 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_g_object_unref0 (item);
#line 1687 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					break;
#line 15729 "gitg-commit.c"
				}
#line 1680 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (file);
#line 1680 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (item);
#line 15735 "gitg-commit.c"
			}
		}
	}
#line 1691 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp46_ = canedit;
#line 1691 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp46_) {
#line 15743 "gitg-commit.c"
		GtkMenuItem* edit = NULL;
		const gchar* _tmp47_ = NULL;
		GtkMenuItem* _tmp48_ = NULL;
		GtkMenu* _tmp49_ = NULL;
		GtkMenuItem* _tmp50_ = NULL;
		GtkMenuItem* _tmp51_ = NULL;
#line 1693 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp47_ = _ ("_Edit file");
#line 1693 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp48_ = (GtkMenuItem*) gtk_menu_item_new_with_mnemonic (_tmp47_);
#line 1693 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_object_ref_sink (_tmp48_);
#line 1693 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		edit = _tmp48_;
#line 1694 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp49_ = menu;
#line 1694 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp50_ = edit;
#line 1694 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gtk_menu_shell_append ((GtkMenuShell*) _tmp49_, (GtkWidget*) _tmp50_);
#line 1696 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp51_ = edit;
#line 1696 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_signal_connect_data (_tmp51_, "activate", (GCallback) ____lambda53__gtk_menu_item_activate, block28_data_ref (_data28_), (GClosureNotify) block28_data_unref, 0);
#line 1691 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (edit);
#line 15770 "gitg-commit.c"
	}
#line 1624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	items = (_vala_array_free (items, items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 1624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block28_data_unref (_data28_);
#line 1624 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data28_ = NULL;
#line 15778 "gitg-commit.c"
}


static GitgStageStatusItem** gitg_commit_activity_items_to_stage_items (GitgCommitActivity* self, GitgCommitSidebarItem** items, int items_length1, int* result_length1) {
	GitgStageStatusItem** result = NULL;
	GitgStageStatusItem** ret = NULL;
	GitgCommitSidebarItem** _tmp0_ = NULL;
	gint _tmp0__length1 = 0;
	GitgStageStatusItem** _tmp1_ = NULL;
	gint ret_length1 = 0;
	gint _ret_size_ = 0;
	GitgStageStatusItem** _tmp15_ = NULL;
	gint _tmp15__length1 = 0;
#line 1702 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 1704 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = items;
#line 1704 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__length1 = items_length1;
#line 1704 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = g_new0 (GitgStageStatusItem*, _tmp0__length1 + 1);
#line 1704 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	ret = _tmp1_;
#line 1704 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	ret_length1 = _tmp0__length1;
#line 1704 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_ret_size_ = ret_length1;
#line 15806 "gitg-commit.c"
	{
		gint i = 0;
#line 1706 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		i = 0;
#line 15811 "gitg-commit.c"
		{
			gboolean _tmp2_ = FALSE;
#line 1706 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp2_ = TRUE;
#line 1706 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			while (TRUE) {
#line 15818 "gitg-commit.c"
				gint _tmp4_ = 0;
				GitgStageStatusItem** _tmp5_ = NULL;
				gint _tmp5__length1 = 0;
				GitgStageStatusItem** _tmp6_ = NULL;
				gint _tmp6__length1 = 0;
				gint _tmp7_ = 0;
				GitgCommitSidebarItem** _tmp8_ = NULL;
				gint _tmp8__length1 = 0;
				gint _tmp9_ = 0;
				GitgCommitSidebarItem* _tmp10_ = NULL;
				GitgStageStatusItem* _tmp11_ = NULL;
				GitgStageStatusItem* _tmp12_ = NULL;
				GitgStageStatusItem* _tmp13_ = NULL;
				GitgStageStatusItem* _tmp14_ = NULL;
#line 1706 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				if (!_tmp2_) {
#line 15835 "gitg-commit.c"
					gint _tmp3_ = 0;
#line 1706 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp3_ = i;
#line 1706 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					i = _tmp3_ + 1;
#line 15841 "gitg-commit.c"
				}
#line 1706 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp2_ = FALSE;
#line 1706 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp4_ = i;
#line 1706 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp5_ = ret;
#line 1706 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp5__length1 = ret_length1;
#line 1706 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				if (!(_tmp4_ < _tmp5__length1)) {
#line 1706 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					break;
#line 15855 "gitg-commit.c"
				}
#line 1708 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp6_ = ret;
#line 1708 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp6__length1 = ret_length1;
#line 1708 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp7_ = i;
#line 1708 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp8_ = items;
#line 1708 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp8__length1 = items_length1;
#line 1708 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp9_ = i;
#line 1708 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp10_ = _tmp8_[_tmp9_];
#line 1708 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp11_ = gitg_commit_sidebar_item_get_item (_tmp10_);
#line 1708 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp12_ = _tmp11_;
#line 1708 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp13_ = _g_object_ref0 (_tmp12_);
#line 1708 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_tmp6_[_tmp7_]);
#line 1708 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp6_[_tmp7_] = _tmp13_;
#line 1708 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp14_ = _tmp6_[_tmp7_];
#line 15883 "gitg-commit.c"
			}
		}
	}
#line 1711 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp15_ = ret;
#line 1711 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp15__length1 = ret_length1;
#line 1711 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (result_length1) {
#line 1711 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		*result_length1 = _tmp15__length1;
#line 15895 "gitg-commit.c"
	}
#line 1711 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = _tmp15_;
#line 1711 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 15901 "gitg-commit.c"
}


static GitgStageStatusItem** gitg_commit_activity_stage_status_items_of_type (GitgCommitActivity* self, GitgCommitSidebarItemType type, int* result_length1) {
	GitgStageStatusItem** result = NULL;
	GitgCommitPaned* _tmp0_ = NULL;
	GitgCommitSidebar* _tmp1_ = NULL;
	GitgCommitSidebar* _tmp2_ = NULL;
	GitgCommitSidebarItemType _tmp3_ = 0;
	gint _tmp4_ = 0;
	GitgCommitSidebarItem** _tmp5_ = NULL;
	GitgCommitSidebarItem** _tmp6_ = NULL;
	gint _tmp6__length1 = 0;
	gint _tmp7_ = 0;
	GitgStageStatusItem** _tmp8_ = NULL;
	GitgStageStatusItem** _tmp9_ = NULL;
	gint _tmp9__length1 = 0;
	GitgStageStatusItem** _tmp10_ = NULL;
	gint _tmp10__length1 = 0;
#line 1714 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 1716 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 1716 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_sidebar (_tmp0_);
#line 1716 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 1716 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = type;
#line 1716 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = gitg_commit_sidebar_items_of_type (_tmp2_, _tmp3_, &_tmp4_);
#line 1716 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = _tmp5_;
#line 1716 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp6__length1 = _tmp4_;
#line 1716 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = gitg_commit_activity_items_to_stage_items (self, _tmp6_, _tmp4_, &_tmp7_);
#line 1716 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = _tmp8_;
#line 1716 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp9__length1 = _tmp7_;
#line 1716 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = (_vala_array_free (_tmp6_, _tmp6__length1, (GDestroyNotify) g_object_unref), NULL);
#line 1716 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = _tmp9_;
#line 1716 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp10__length1 = _tmp9__length1;
#line 1716 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (result_length1) {
#line 1716 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		*result_length1 = _tmp10__length1;
#line 15953 "gitg-commit.c"
	}
#line 1716 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = _tmp10_;
#line 1716 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 15959 "gitg-commit.c"
}


static void _vala_array_add7 (GitgStageStatusItem*** array, int* length, int* size, GitgStageStatusItem* value) {
#line 1740 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if ((*length) == (*size)) {
#line 1740 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 1740 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		*array = g_renew (GitgStageStatusItem*, *array, (*size) + 1);
#line 15970 "gitg-commit.c"
	}
#line 1740 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	(*array)[(*length)++] = value;
#line 1740 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	(*array)[*length] = NULL;
#line 15976 "gitg-commit.c"
}


static GitgStageStatusItem** gitg_commit_activity_items_for_items (GitgCommitActivity* self, GitgSidebarItem** items, int items_length1, GitgCommitSidebarItemType* type, int* result_length1) {
	GitgCommitSidebarItemType _vala_type = 0;
	GitgStageStatusItem** result = NULL;
	GitgStageStatusItem** ret = NULL;
	GitgSidebarItem** _tmp0_ = NULL;
	gint _tmp0__length1 = 0;
	GitgStageStatusItem** _tmp1_ = NULL;
	gint ret_length1 = 0;
	gint _ret_size_ = 0;
	gint _tmp2_ = 0;
	GitgSidebarItem** _tmp3_ = NULL;
	gint _tmp3__length1 = 0;
	GitgStageStatusItem** _tmp26_ = NULL;
	gint _tmp26__length1 = 0;
#line 1719 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 1721 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = items;
#line 1721 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__length1 = items_length1;
#line 1721 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = g_new0 (GitgStageStatusItem*, _tmp0__length1 + 1);
#line 1721 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	ret = _tmp1_;
#line 1721 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	ret_length1 = _tmp0__length1;
#line 1721 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_ret_size_ = ret_length1;
#line 1722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	ret_length1 = 0;
#line 1722 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = ret_length1;
#line 1724 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_vala_type = GITG_COMMIT_SIDEBAR_ITEM_TYPE_NONE;
#line 1726 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = items;
#line 1726 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3__length1 = items_length1;
#line 16018 "gitg-commit.c"
	{
		GitgSidebarItem** item_collection = NULL;
		gint item_collection_length1 = 0;
		gint _item_collection_size_ = 0;
		gint item_it = 0;
#line 1726 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		item_collection = _tmp3_;
#line 1726 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		item_collection_length1 = _tmp3__length1;
#line 1726 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		for (item_it = 0; item_it < _tmp3__length1; item_it = item_it + 1) {
#line 16030 "gitg-commit.c"
			GitgSidebarItem* _tmp4_ = NULL;
			GitgSidebarItem* item = NULL;
#line 1726 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp4_ = _g_object_ref0 (item_collection[item_it]);
#line 1726 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			item = _tmp4_;
#line 16037 "gitg-commit.c"
			{
				GitgSidebarStoreSidebarHeader* header = NULL;
				GitgSidebarItem* _tmp5_ = NULL;
				GitgSidebarStoreSidebarHeader* _tmp6_ = NULL;
				GitgSidebarStoreSidebarHeader* _tmp7_ = NULL;
				GitgCommitSidebarItem* sitem = NULL;
				GitgSidebarItem* _tmp15_ = NULL;
				GitgCommitSidebarItem* _tmp16_ = NULL;
				GitgCommitSidebarItem* _tmp17_ = NULL;
#line 1728 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp5_ = item;
#line 1728 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp6_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, GITG_SIDEBAR_STORE_TYPE_SIDEBAR_HEADER) ? ((GitgSidebarStoreSidebarHeader*) _tmp5_) : NULL);
#line 1728 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				header = _tmp6_;
#line 1730 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp7_ = header;
#line 1730 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				if (_tmp7_ != NULL) {
#line 16057 "gitg-commit.c"
					GitgSidebarStoreSidebarHeader* _tmp8_ = NULL;
					guint _tmp9_ = 0U;
					guint _tmp10_ = 0U;
					GitgCommitSidebarItemType _tmp11_ = 0;
					gint _tmp12_ = 0;
					GitgStageStatusItem** _tmp13_ = NULL;
					GitgStageStatusItem** _tmp14_ = NULL;
					gint _tmp14__length1 = 0;
#line 1732 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp8_ = header;
#line 1732 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp9_ = gitg_sidebar_store_sidebar_header_get_id (_tmp8_);
#line 1732 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp10_ = _tmp9_;
#line 1732 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_vala_type = (GitgCommitSidebarItemType) _tmp10_;
#line 1733 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp11_ = _vala_type;
#line 1733 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp13_ = gitg_commit_activity_stage_status_items_of_type (self, _tmp11_, &_tmp12_);
#line 1733 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp14_ = _tmp13_;
#line 1733 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp14__length1 = _tmp12_;
#line 1733 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					if (result_length1) {
#line 1733 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						*result_length1 = _tmp14__length1;
#line 16086 "gitg-commit.c"
					}
#line 1733 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					result = _tmp14_;
#line 1733 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_g_object_unref0 (header);
#line 1733 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_g_object_unref0 (item);
#line 1733 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					ret = (_vala_array_free (ret, ret_length1, (GDestroyNotify) g_object_unref), NULL);
#line 1733 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					if (type) {
#line 1733 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
						*type = _vala_type;
#line 16100 "gitg-commit.c"
					}
#line 1733 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					return result;
#line 16104 "gitg-commit.c"
				}
#line 1736 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp15_ = item;
#line 1736 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp16_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp15_, GITG_COMMIT_SIDEBAR_TYPE_ITEM) ? ((GitgCommitSidebarItem*) _tmp15_) : NULL);
#line 1736 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				sitem = _tmp16_;
#line 1738 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_tmp17_ = sitem;
#line 1738 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				if (_tmp17_ != NULL) {
#line 16116 "gitg-commit.c"
					GitgStageStatusItem** _tmp18_ = NULL;
					gint _tmp18__length1 = 0;
					GitgCommitSidebarItem* _tmp19_ = NULL;
					GitgStageStatusItem* _tmp20_ = NULL;
					GitgStageStatusItem* _tmp21_ = NULL;
					GitgStageStatusItem* _tmp22_ = NULL;
					GitgCommitSidebarItem* _tmp23_ = NULL;
					GitgCommitSidebarItemType _tmp24_ = 0;
					GitgCommitSidebarItemType _tmp25_ = 0;
#line 1740 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp18_ = ret;
#line 1740 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp18__length1 = ret_length1;
#line 1740 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp19_ = sitem;
#line 1740 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp20_ = gitg_commit_sidebar_item_get_item (_tmp19_);
#line 1740 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp21_ = _tmp20_;
#line 1740 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp22_ = _g_object_ref0 (_tmp21_);
#line 1740 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_vala_array_add7 (&ret, &ret_length1, &_ret_size_, _tmp22_);
#line 1741 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp23_ = sitem;
#line 1741 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp24_ = gitg_commit_sidebar_item_get_stage_type (_tmp23_);
#line 1741 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_tmp25_ = _tmp24_;
#line 1741 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
					_vala_type = _tmp25_;
#line 16148 "gitg-commit.c"
				}
#line 1726 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (sitem);
#line 1726 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (header);
#line 1726 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (item);
#line 16156 "gitg-commit.c"
			}
		}
	}
#line 1745 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp26_ = ret;
#line 1745 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp26__length1 = ret_length1;
#line 1745 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (result_length1) {
#line 1745 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		*result_length1 = _tmp26__length1;
#line 16168 "gitg-commit.c"
	}
#line 1745 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = _tmp26_;
#line 1745 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (type) {
#line 1745 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		*type = _vala_type;
#line 16176 "gitg-commit.c"
	}
#line 1745 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 16180 "gitg-commit.c"
}


static void gitg_commit_activity_sidebar_selection_changed (GitgCommitActivity* self, GitgSidebarItem** items, int items_length1) {
	GitgCommitSidebarItemType type = 0;
	GitgStageStatusItem** sitems = NULL;
	GitgSidebarItem** _tmp0_ = NULL;
	gint _tmp0__length1 = 0;
	GitgCommitSidebarItemType _tmp1_ = 0;
	gint _tmp2_ = 0;
	GitgStageStatusItem** _tmp3_ = NULL;
	gint sitems_length1 = 0;
	gint _sitems_size_ = 0;
	GitgStageStatusItem** _tmp4_ = NULL;
	gint _tmp4__length1 = 0;
	GitgCommitSidebarItemType _tmp8_ = 0;
#line 1748 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 1752 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = items;
#line 1752 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__length1 = items_length1;
#line 1752 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = gitg_commit_activity_items_for_items (self, _tmp0_, _tmp0__length1, &_tmp1_, &_tmp2_);
#line 1752 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	type = _tmp1_;
#line 1752 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	sitems = _tmp3_;
#line 1752 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	sitems_length1 = _tmp2_;
#line 1752 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_sitems_size_ = sitems_length1;
#line 1754 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = sitems;
#line 1754 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4__length1 = sitems_length1;
#line 1754 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp4__length1 == 0) {
#line 16219 "gitg-commit.c"
		GitgCommitPaned* _tmp5_ = NULL;
		GitgDiffView* _tmp6_ = NULL;
		GitgDiffView* _tmp7_ = NULL;
#line 1756 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_show_ui (self, GITG_COMMIT_ACTIVITY_UI_TYPE_DIFF);
#line 1757 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = self->priv->d_main;
#line 1757 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = gitg_commit_paned_get_diff_view (_tmp5_);
#line 1757 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 1757 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_diff (_tmp7_, NULL);
#line 1758 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		sitems = (_vala_array_free (sitems, sitems_length1, (GDestroyNotify) g_object_unref), NULL);
#line 1758 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 16237 "gitg-commit.c"
	}
#line 1761 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = type;
#line 1761 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp8_ == GITG_COMMIT_SIDEBAR_ITEM_TYPE_SUBMODULE) {
#line 16243 "gitg-commit.c"
		GitgStageStatusItem** _tmp9_ = NULL;
		gint _tmp9__length1 = 0;
		GitgStageStatusItem* _tmp10_ = NULL;
#line 1763 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = sitems;
#line 1763 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9__length1 = sitems_length1;
#line 1763 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = _tmp9_[0];
#line 1763 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_show_submodule_diff (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, GITG_TYPE_STAGE_STATUS_SUBMODULE, GitgStageStatusSubmodule));
#line 16255 "gitg-commit.c"
	} else {
		GitgCommitSidebarItemType _tmp11_ = 0;
#line 1765 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = type;
#line 1765 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp11_ == GITG_COMMIT_SIDEBAR_ITEM_TYPE_STAGED) {
#line 16262 "gitg-commit.c"
			GitgStageStatusItem** _tmp12_ = NULL;
			gint _tmp12__length1 = 0;
#line 1767 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp12_ = sitems;
#line 1767 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp12__length1 = sitems_length1;
#line 1767 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_commit_activity_show_staged_diff (self, _tmp12_, _tmp12__length1);
#line 16271 "gitg-commit.c"
		} else {
			GitgStageStatusItem** _tmp13_ = NULL;
			gint _tmp13__length1 = 0;
#line 1771 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp13_ = sitems;
#line 1771 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp13__length1 = sitems_length1;
#line 1771 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			gitg_commit_activity_show_unstaged_diff (self, _tmp13_, _tmp13__length1);
#line 16281 "gitg-commit.c"
		}
	}
#line 1748 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	sitems = (_vala_array_free (sitems, sitems_length1, (GDestroyNotify) g_object_unref), NULL);
#line 16286 "gitg-commit.c"
}


static void gitg_commit_activity_on_stage_selected_items (GitgCommitActivity* self) {
	GitgSidebarItem** sel = NULL;
	GitgCommitPaned* _tmp0_ = NULL;
	GitgCommitSidebar* _tmp1_ = NULL;
	GitgCommitSidebar* _tmp2_ = NULL;
	gint _tmp3_ = 0;
	gpointer* _tmp4_ = NULL;
	gint sel_length1 = 0;
	gint _sel_size_ = 0;
	GitgCommitSidebarItemType type = 0;
	GitgStageStatusItem** sitems = NULL;
	GitgSidebarItem** _tmp5_ = NULL;
	gint _tmp5__length1 = 0;
	GitgCommitSidebarItemType _tmp6_ = 0;
	gint _tmp7_ = 0;
	GitgStageStatusItem** _tmp8_ = NULL;
	gint sitems_length1 = 0;
	gint _sitems_size_ = 0;
	gboolean _tmp9_ = FALSE;
	GitgStageStatusItem** _tmp10_ = NULL;
	gint _tmp10__length1 = 0;
#line 1775 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 1777 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 1777 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_sidebar (_tmp0_);
#line 1777 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 1777 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = gitg_sidebar_get_selected_items ((GitgSidebar*) _tmp2_, GITG_TYPE_SIDEBAR_ITEM, (GBoxedCopyFunc) g_object_ref, g_object_unref, &_tmp3_);
#line 1777 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	sel = _tmp4_;
#line 1777 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	sel_length1 = _tmp3_;
#line 1777 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_sel_size_ = sel_length1;
#line 1780 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = sel;
#line 1780 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5__length1 = sel_length1;
#line 1780 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = gitg_commit_activity_items_for_items (self, _tmp5_, _tmp5__length1, &_tmp6_, &_tmp7_);
#line 1780 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	type = _tmp6_;
#line 1780 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	sitems = _tmp8_;
#line 1780 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	sitems_length1 = _tmp7_;
#line 1780 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_sitems_size_ = sitems_length1;
#line 1782 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = sitems;
#line 1782 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp10__length1 = sitems_length1;
#line 1782 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp10__length1 != 0) {
#line 16347 "gitg-commit.c"
		gboolean _tmp11_ = FALSE;
		GitgCommitSidebarItemType _tmp12_ = 0;
#line 1782 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp12_ = type;
#line 1782 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp12_ == GITG_COMMIT_SIDEBAR_ITEM_TYPE_UNSTAGED) {
#line 1782 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp11_ = TRUE;
#line 16356 "gitg-commit.c"
		} else {
			GitgCommitSidebarItemType _tmp13_ = 0;
#line 1783 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp13_ = type;
#line 1783 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
			_tmp11_ = _tmp13_ == GITG_COMMIT_SIDEBAR_ITEM_TYPE_UNTRACKED;
#line 16363 "gitg-commit.c"
		}
#line 1782 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = _tmp11_;
#line 16367 "gitg-commit.c"
	} else {
#line 1782 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = FALSE;
#line 16371 "gitg-commit.c"
	}
#line 1782 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp9_) {
#line 16375 "gitg-commit.c"
		GitgStageStatusItem** _tmp14_ = NULL;
		gint _tmp14__length1 = 0;
#line 1785 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp14_ = sitems;
#line 1785 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp14__length1 = sitems_length1;
#line 1785 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_on_unstaged_activated (self, _tmp14_, _tmp14__length1);
#line 16384 "gitg-commit.c"
	}
#line 1775 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	sitems = (_vala_array_free (sitems, sitems_length1, (GDestroyNotify) g_object_unref), NULL);
#line 1775 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	sel = (_vala_array_free (sel, sel_length1, (GDestroyNotify) g_object_unref), NULL);
#line 16390 "gitg-commit.c"
}


static void gitg_commit_activity_on_unstage_selected_items (GitgCommitActivity* self) {
	GitgSidebarItem** sel = NULL;
	GitgCommitPaned* _tmp0_ = NULL;
	GitgCommitSidebar* _tmp1_ = NULL;
	GitgCommitSidebar* _tmp2_ = NULL;
	gint _tmp3_ = 0;
	gpointer* _tmp4_ = NULL;
	gint sel_length1 = 0;
	gint _sel_size_ = 0;
	GitgCommitSidebarItemType type = 0;
	GitgStageStatusItem** sitems = NULL;
	GitgSidebarItem** _tmp5_ = NULL;
	gint _tmp5__length1 = 0;
	GitgCommitSidebarItemType _tmp6_ = 0;
	gint _tmp7_ = 0;
	GitgStageStatusItem** _tmp8_ = NULL;
	gint sitems_length1 = 0;
	gint _sitems_size_ = 0;
	gboolean _tmp9_ = FALSE;
	GitgStageStatusItem** _tmp10_ = NULL;
	gint _tmp10__length1 = 0;
#line 1789 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 1791 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 1791 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_sidebar (_tmp0_);
#line 1791 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 1791 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = gitg_sidebar_get_selected_items ((GitgSidebar*) _tmp2_, GITG_TYPE_SIDEBAR_ITEM, (GBoxedCopyFunc) g_object_ref, g_object_unref, &_tmp3_);
#line 1791 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	sel = _tmp4_;
#line 1791 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	sel_length1 = _tmp3_;
#line 1791 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_sel_size_ = sel_length1;
#line 1794 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = sel;
#line 1794 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5__length1 = sel_length1;
#line 1794 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = gitg_commit_activity_items_for_items (self, _tmp5_, _tmp5__length1, &_tmp6_, &_tmp7_);
#line 1794 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	type = _tmp6_;
#line 1794 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	sitems = _tmp8_;
#line 1794 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	sitems_length1 = _tmp7_;
#line 1794 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_sitems_size_ = sitems_length1;
#line 1796 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = sitems;
#line 1796 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp10__length1 = sitems_length1;
#line 1796 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp10__length1 != 0) {
#line 16451 "gitg-commit.c"
		GitgCommitSidebarItemType _tmp11_ = 0;
#line 1796 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = type;
#line 1796 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = _tmp11_ == GITG_COMMIT_SIDEBAR_ITEM_TYPE_STAGED;
#line 16457 "gitg-commit.c"
	} else {
#line 1796 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = FALSE;
#line 16461 "gitg-commit.c"
	}
#line 1796 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp9_) {
#line 16465 "gitg-commit.c"
		GitgStageStatusItem** _tmp12_ = NULL;
		gint _tmp12__length1 = 0;
#line 1798 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp12_ = sitems;
#line 1798 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp12__length1 = sitems_length1;
#line 1798 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_on_staged_activated (self, _tmp12_, _tmp12__length1);
#line 16474 "gitg-commit.c"
	}
#line 1789 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	sitems = (_vala_array_free (sitems, sitems_length1, (GDestroyNotify) g_object_unref), NULL);
#line 1789 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	sel = (_vala_array_free (sel, sel_length1, (GDestroyNotify) g_object_unref), NULL);
#line 16480 "gitg-commit.c"
}


static Block29Data* block29_data_ref (Block29Data* _data29_) {
#line 1802 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data29_->_ref_count_);
#line 1802 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return _data29_;
#line 16489 "gitg-commit.c"
}


static void block29_data_unref (void * _userdata_) {
	Block29Data* _data29_;
	_data29_ = (Block29Data*) _userdata_;
#line 1802 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data29_->_ref_count_)) {
#line 16498 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1802 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self = _data29_->self;
#line 1802 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data29_->model);
#line 1802 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data29_->view);
#line 1802 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1802 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block29Data, _data29_);
#line 16510 "gitg-commit.c"
	}
}


static void __lambda54_ (GitgCommitActivity* self) {
	GitgCommitActivityUpdateDiffCallback _tmp0_ = NULL;
	void* _tmp0__target = NULL;
#line 1807 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_update_diff_callback;
#line 1807 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__target = self->priv->d_update_diff_callback_target;
#line 1807 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp0_ != NULL) {
#line 16524 "gitg-commit.c"
		GitgCommitActivityUpdateDiffCallback _tmp1_ = NULL;
		void* _tmp1__target = NULL;
#line 1809 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = self->priv->d_update_diff_callback;
#line 1809 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp1__target = self->priv->d_update_diff_callback_target;
#line 1809 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ (_tmp1__target);
#line 16533 "gitg-commit.c"
	}
}


static void ___lambda54__gitg_diff_view_options_changed (GitgDiffView* _sender, gpointer self) {
#line 1806 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__lambda54_ ((GitgCommitActivity*) self);
#line 16541 "gitg-commit.c"
}


static void __lambda55_ (GitgCommitActivity* self) {
	GitgCommitPaned* _tmp0_ = NULL;
	GitgDiffView* _tmp1_ = NULL;
	GitgDiffView* _tmp2_ = NULL;
#line 1817 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 1817 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_diff_view (_tmp0_);
#line 1817 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 1817 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_diff_view_set_diff (_tmp2_, NULL);
#line 16557 "gitg-commit.c"
}


static void ___lambda55__gitg_sidebar_deselected (GitgSidebar* _sender, gpointer self) {
#line 1816 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__lambda55_ ((GitgCommitActivity*) self);
#line 16564 "gitg-commit.c"
}


static void _gitg_commit_activity_on_stage_selected_items_gitg_commit_sidebar_stage_selection (GitgCommitSidebar* _sender, gpointer self) {
#line 1820 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_on_stage_selected_items ((GitgCommitActivity*) self);
#line 16571 "gitg-commit.c"
}


static void _gitg_commit_activity_on_unstage_selected_items_gitg_commit_sidebar_unstage_selection (GitgCommitSidebar* _sender, gpointer self) {
#line 1821 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_on_unstage_selected_items ((GitgCommitActivity*) self);
#line 16578 "gitg-commit.c"
}


static void __lambda56_ (GitgCommitActivity* self) {
	GitgSidebarItem** sel = NULL;
	GitgCommitPaned* _tmp0_ = NULL;
	GitgCommitSidebar* _tmp1_ = NULL;
	GitgCommitSidebar* _tmp2_ = NULL;
	gint _tmp3_ = 0;
	gpointer* _tmp4_ = NULL;
	gint sel_length1 = 0;
	gint _sel_size_ = 0;
	GitgCommitSidebarItemType type = 0;
	GitgStageStatusItem** sitems = NULL;
	GitgSidebarItem** _tmp5_ = NULL;
	gint _tmp5__length1 = 0;
	GitgCommitSidebarItemType _tmp6_ = 0;
	gint _tmp7_ = 0;
	GitgStageStatusItem** _tmp8_ = NULL;
	gint sitems_length1 = 0;
	gint _sitems_size_ = 0;
	gboolean _tmp9_ = FALSE;
	GitgStageStatusItem** _tmp10_ = NULL;
	gint _tmp10__length1 = 0;
#line 1824 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 1824 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_sidebar (_tmp0_);
#line 1824 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 1824 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = gitg_sidebar_get_selected_items ((GitgSidebar*) _tmp2_, GITG_TYPE_SIDEBAR_ITEM, (GBoxedCopyFunc) g_object_ref, g_object_unref, &_tmp3_);
#line 1824 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	sel = _tmp4_;
#line 1824 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	sel_length1 = _tmp3_;
#line 1824 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_sel_size_ = sel_length1;
#line 1827 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = sel;
#line 1827 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5__length1 = sel_length1;
#line 1827 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = gitg_commit_activity_items_for_items (self, _tmp5_, _tmp5__length1, &_tmp6_, &_tmp7_);
#line 1827 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	type = _tmp6_;
#line 1827 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	sitems = _tmp8_;
#line 1827 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	sitems_length1 = _tmp7_;
#line 1827 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_sitems_size_ = sitems_length1;
#line 1829 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = sitems;
#line 1829 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp10__length1 = sitems_length1;
#line 1829 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp10__length1 != 0) {
#line 16637 "gitg-commit.c"
		GitgCommitSidebarItemType _tmp11_ = 0;
#line 1829 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = type;
#line 1829 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = _tmp11_ == GITG_COMMIT_SIDEBAR_ITEM_TYPE_UNSTAGED;
#line 16643 "gitg-commit.c"
	} else {
#line 1829 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = FALSE;
#line 16647 "gitg-commit.c"
	}
#line 1829 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp9_) {
#line 16651 "gitg-commit.c"
		GitgStageStatusItem** _tmp12_ = NULL;
		gint _tmp12__length1 = 0;
#line 1831 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp12_ = sitems;
#line 1831 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp12__length1 = sitems_length1;
#line 1831 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_on_discard_menu_activated (self, _tmp12_, _tmp12__length1);
#line 16660 "gitg-commit.c"
	}
#line 1823 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	sitems = (_vala_array_free (sitems, sitems_length1, (GDestroyNotify) g_object_unref), NULL);
#line 1823 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	sel = (_vala_array_free (sel, sel_length1, (GDestroyNotify) g_object_unref), NULL);
#line 16666 "gitg-commit.c"
}


static void ___lambda56__gitg_commit_sidebar_discard_selection (GitgCommitSidebar* _sender, gpointer self) {
#line 1823 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__lambda56_ ((GitgCommitActivity*) self);
#line 16673 "gitg-commit.c"
}


static void __lambda57_ (GitgCommitActivity* self) {
	GitgSidebarItem** sel = NULL;
	GitgCommitPaned* _tmp0_ = NULL;
	GitgCommitSidebar* _tmp1_ = NULL;
	GitgCommitSidebar* _tmp2_ = NULL;
	gint _tmp3_ = 0;
	gpointer* _tmp4_ = NULL;
	gint sel_length1 = 0;
	gint _sel_size_ = 0;
	GitgCommitSidebarItemType type = 0;
	GitgStageStatusItem** sitems = NULL;
	GitgCommitSidebarItemType _tmp5_ = 0;
	gint _tmp6_ = 0;
	GitgStageStatusItem** _tmp7_ = NULL;
	gint sitems_length1 = 0;
	gint _sitems_size_ = 0;
#line 1836 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 1836 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_sidebar (_tmp0_);
#line 1836 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 1836 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = gitg_sidebar_get_selected_items ((GitgSidebar*) _tmp2_, GITG_TYPE_SIDEBAR_ITEM, (GBoxedCopyFunc) g_object_ref, g_object_unref, &_tmp3_);
#line 1836 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	sel = _tmp4_;
#line 1836 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	sel_length1 = _tmp3_;
#line 1836 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_sel_size_ = sel_length1;
#line 1839 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = gitg_commit_activity_items_for_items (self, sel, sel_length1, &_tmp5_, &_tmp6_);
#line 1839 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	type = _tmp5_;
#line 1839 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	sitems = _tmp7_;
#line 1839 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	sitems_length1 = _tmp6_;
#line 1839 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_sitems_size_ = sitems_length1;
#line 1840 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_do_edit_items (self, sitems, sitems_length1);
#line 1835 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	sitems = (_vala_array_free (sitems, sitems_length1, (GDestroyNotify) g_object_unref), NULL);
#line 1835 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	sel = (_vala_array_free (sel, sel_length1, (GDestroyNotify) g_object_unref), NULL);
#line 16723 "gitg-commit.c"
}


static void ___lambda57__gitg_commit_sidebar_edit_selection (GitgCommitSidebar* _sender, gpointer self) {
#line 1835 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__lambda57_ ((GitgCommitActivity*) self);
#line 16730 "gitg-commit.c"
}


static void _gitg_commit_activity_sidebar_selection_changed_gitg_commit_sidebar_selected_items_changed (GitgCommitSidebar* _sender, GitgSidebarItem** items, int items_length1, gpointer self) {
#line 1843 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_sidebar_selection_changed ((GitgCommitActivity*) self, items, items_length1);
#line 16737 "gitg-commit.c"
}


static void __lambda58_ (GitgCommitActivity* self) {
#line 1846 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_on_commit_clicked (self);
#line 16744 "gitg-commit.c"
}


static void ___lambda58__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 1845 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__lambda58_ ((GitgCommitActivity*) self);
#line 16751 "gitg-commit.c"
}


static void __lambda59_ (GitgCommitActivity* self) {
#line 1850 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_on_stage_clicked (self);
#line 16758 "gitg-commit.c"
}


static void ___lambda59__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 1849 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__lambda59_ ((GitgCommitActivity*) self);
#line 16765 "gitg-commit.c"
}


static void __lambda60_ (GitgCommitActivity* self) {
#line 1854 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_on_discard_clicked (self);
#line 16772 "gitg-commit.c"
}


static void ___lambda60__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 1853 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__lambda60_ ((GitgCommitActivity*) self);
#line 16779 "gitg-commit.c"
}


static gboolean ___lambda62_ (GitgCommitActivity* self) {
	gboolean result = FALSE;
#line 1863 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_reload (self);
#line 1864 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = FALSE;
#line 1864 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 16791 "gitg-commit.c"
}


static gboolean ____lambda62__gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self) {
	gboolean result;
	result = ___lambda62_ ((GitgCommitActivity*) self);
#line 1862 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 16800 "gitg-commit.c"
}


static void __lambda61_ (GitgCommitActivity* self, GgitSubmodule* submodule) {
	GError * _inner_error_ = NULL;
#line 1857 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (submodule != NULL);
#line 16808 "gitg-commit.c"
	{
		GgitRepository* _tmp0_ = NULL;
		GgitSubmodule* _tmp1_ = NULL;
		GgitRepository* _tmp2_ = NULL;
		GitgExtApplication* app = NULL;
		GitgExtApplication* _tmp3_ = NULL;
		GitgExtApplication* _tmp4_ = NULL;
		GitgExtApplication* _tmp5_ = NULL;
		GitgExtApplication* _tmp6_ = NULL;
		GitgExtApplication* _tmp7_ = NULL;
		GitgExtApplication* _tmp8_ = NULL;
#line 1860 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = submodule;
#line 1860 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = ggit_submodule_open (_tmp1_, &_inner_error_);
#line 1860 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _tmp2_;
#line 1860 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 16828 "gitg-commit.c"
			goto __catch34_g_error;
		}
#line 1860 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp3_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1860 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = _tmp3_;
#line 1860 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = _tmp4_;
#line 1860 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = gitg_ext_application_open_new (_tmp5_, _tmp0_, "commit");
#line 1860 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 1860 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp5_);
#line 1860 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		app = _tmp7_;
#line 1862 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = app;
#line 1862 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_signal_connect_object ((GtkWidget*) G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_window_get_type (), GtkWindow), "delete-event", (GCallback) ____lambda62__gtk_widget_delete_event, self, 0);
#line 1858 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (app);
#line 1858 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp0_);
#line 16853 "gitg-commit.c"
	}
	goto __finally34;
	__catch34_g_error:
	{
		GError* e = NULL;
		FILE* _tmp9_ = NULL;
		GError* _tmp10_ = NULL;
		const gchar* _tmp11_ = NULL;
#line 1858 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		e = _inner_error_;
#line 1858 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_inner_error_ = NULL;
#line 1870 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = stderr;
#line 1870 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = e;
#line 1870 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = _tmp10_->message;
#line 1870 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		fprintf (_tmp9_, "Failed to open submodule repository: %s\n", _tmp11_);
#line 1858 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_error_free0 (e);
#line 16876 "gitg-commit.c"
	}
	__finally34:
#line 1858 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1858 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.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 1858 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 1858 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 16887 "gitg-commit.c"
	}
}


static void ___lambda61__gitg_commit_submodule_info_request_open_repository (GitgCommitSubmoduleInfo* _sender, GgitSubmodule* submodule, gpointer self) {
#line 1857 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__lambda61_ ((GitgCommitActivity*) self, submodule);
#line 16895 "gitg-commit.c"
}


static void _gitg_commit_activity_do_populate_menu_gitg_sidebar_populate_popup (GitgSidebar* _sender, GtkMenu* menu, gpointer self) {
#line 1874 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_do_populate_menu ((GitgCommitActivity*) self, menu);
#line 16902 "gitg-commit.c"
}


static void __lambda63_ (Block29Data* _data29_, GtkTreeModel* model, GtkTreePath* path, GtkTreeIter* iter) {
	GitgCommitActivity* self;
	gboolean _tmp0_ = FALSE;
#line 1880 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data29_->self;
#line 1880 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (model != NULL);
#line 1880 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (path != NULL);
#line 1880 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (iter != NULL);
#line 1881 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_submodule_history_select_first;
#line 1881 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp0_) {
#line 16921 "gitg-commit.c"
		GtkTreeSelection* _tmp1_ = NULL;
		GtkTreePath* _tmp2_ = NULL;
#line 1883 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_submodule_history_select_first = FALSE;
#line 1884 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = gtk_tree_view_get_selection ((GtkTreeView*) _data29_->view);
#line 1884 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = path;
#line 1884 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gtk_tree_selection_select_path (_tmp1_, _tmp2_);
#line 16932 "gitg-commit.c"
	}
}


static void ___lambda63__gtk_tree_model_row_inserted (GtkTreeModel* _sender, GtkTreePath* path, GtkTreeIter* iter, gpointer self) {
#line 1880 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__lambda63_ (self, _sender, path, iter);
#line 16940 "gitg-commit.c"
}


static void __lambda64_ (Block29Data* _data29_, GtkTreeSelection* selection) {
	GitgCommitActivity* self;
	GtkTreeModel* m = NULL;
	GtkTreeIter iter = {0};
	GtkTreeSelection* _tmp0_ = NULL;
	GtkTreeModel* _tmp1_ = NULL;
	GtkTreeIter _tmp2_ = {0};
	gboolean _tmp3_ = FALSE;
	GtkTreeModel* _tmp4_ = NULL;
#line 1888 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data29_->self;
#line 1888 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (selection != NULL);
#line 1892 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = selection;
#line 1892 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = gtk_tree_selection_get_selected (_tmp0_, &_tmp1_, &_tmp2_);
#line 1892 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (m);
#line 1892 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _g_object_ref0 (_tmp1_);
#line 1892 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	m = _tmp4_;
#line 1892 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	iter = _tmp2_;
#line 1892 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp3_) {
#line 16971 "gitg-commit.c"
		GtkTreeIter _tmp5_ = {0};
		GitgCommit* _tmp6_ = NULL;
		GitgCommit* _tmp7_ = NULL;
#line 1894 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = iter;
#line 1894 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = gitg_commit_model_commit_from_iter (_data29_->model, &_tmp5_);
#line 1894 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 1894 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_submodule_history_selection_changed (self, _tmp7_);
#line 1894 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp7_);
#line 16985 "gitg-commit.c"
	} else {
#line 1898 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_submodule_history_selection_changed (self, NULL);
#line 16989 "gitg-commit.c"
	}
#line 1888 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (m);
#line 16993 "gitg-commit.c"
}


static void ___lambda64__gtk_tree_selection_changed (GtkTreeSelection* _sender, gpointer self) {
#line 1888 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__lambda64_ (self, _sender);
#line 17000 "gitg-commit.c"
}


static void __lambda65_ (Block29Data* _data29_, GtkTreeView* view, GtkTreePath* path, GtkTreeViewColumn* column) {
	GitgCommitActivity* self;
	GitgCommitActivityStageUnstageSubmoduleCommitCallback _tmp0_ = NULL;
	void* _tmp0__target = NULL;
	GtkTreePath* _tmp1_ = NULL;
	GitgCommit* _tmp2_ = NULL;
	GitgCommit* _tmp3_ = NULL;
#line 1902 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = _data29_->self;
#line 1902 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (view != NULL);
#line 1902 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (path != NULL);
#line 1902 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (column != NULL);
#line 1903 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_stage_unstage_submodule_commit_callback;
#line 1903 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__target = self->priv->d_stage_unstage_submodule_commit_callback_target;
#line 1903 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = path;
#line 1903 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = gitg_commit_model_commit_from_path (_data29_->model, _tmp1_);
#line 1903 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _tmp2_;
#line 1903 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ (_tmp3_, _tmp0__target);
#line 1903 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp3_);
#line 17033 "gitg-commit.c"
}


static void ___lambda65__gtk_tree_view_row_activated (GtkTreeView* _sender, GtkTreePath* path, GtkTreeViewColumn* column, gpointer self) {
#line 1902 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	__lambda65_ (self, _sender, path, column);
#line 17040 "gitg-commit.c"
}


static void gitg_commit_activity_build_ui (GitgCommitActivity* self) {
	Block29Data* _data29_;
	GitgCommitPaned* _tmp0_ = NULL;
	GitgCommitPaned* _tmp1_ = NULL;
	GitgDiffView* _tmp2_ = NULL;
	GitgDiffView* _tmp3_ = NULL;
	GitgCommitPaned* _tmp4_ = NULL;
	GitgDiffView* _tmp5_ = NULL;
	GitgDiffView* _tmp6_ = NULL;
	GitgExtApplication* _tmp7_ = NULL;
	GitgExtApplication* _tmp8_ = NULL;
	GitgExtApplication* _tmp9_ = NULL;
	GitgRepository* _tmp10_ = NULL;
	GitgRepository* _tmp11_ = NULL;
	GitgRepository* _tmp12_ = NULL;
	GitgCommitPaned* _tmp13_ = NULL;
	GitgDiffView* _tmp14_ = NULL;
	GitgDiffView* _tmp15_ = NULL;
	GitgCommitPaned* _tmp16_ = NULL;
	GitgCommitSidebar* _tmp17_ = NULL;
	GitgCommitSidebar* _tmp18_ = NULL;
	GitgCommitPaned* _tmp19_ = NULL;
	GitgCommitSidebar* _tmp20_ = NULL;
	GitgCommitSidebar* _tmp21_ = NULL;
	GitgCommitPaned* _tmp22_ = NULL;
	GitgCommitSidebar* _tmp23_ = NULL;
	GitgCommitSidebar* _tmp24_ = NULL;
	GitgCommitPaned* _tmp25_ = NULL;
	GitgCommitSidebar* _tmp26_ = NULL;
	GitgCommitSidebar* _tmp27_ = NULL;
	GitgCommitPaned* _tmp28_ = NULL;
	GitgCommitSidebar* _tmp29_ = NULL;
	GitgCommitSidebar* _tmp30_ = NULL;
	GitgCommitPaned* _tmp31_ = NULL;
	GitgCommitSidebar* _tmp32_ = NULL;
	GitgCommitSidebar* _tmp33_ = NULL;
	GitgCommitPaned* _tmp34_ = NULL;
	GtkButton* _tmp35_ = NULL;
	GtkButton* _tmp36_ = NULL;
	GitgCommitPaned* _tmp37_ = NULL;
	GtkButton* _tmp38_ = NULL;
	GtkButton* _tmp39_ = NULL;
	GitgCommitPaned* _tmp40_ = NULL;
	GtkButton* _tmp41_ = NULL;
	GtkButton* _tmp42_ = NULL;
	GitgCommitPaned* _tmp43_ = NULL;
	GitgCommitSubmoduleDiffView* _tmp44_ = NULL;
	GitgCommitSubmoduleDiffView* _tmp45_ = NULL;
	GitgCommitSubmoduleInfo* _tmp46_ = NULL;
	GitgCommitSubmoduleInfo* _tmp47_ = NULL;
	GitgCommitPaned* _tmp48_ = NULL;
	GitgCommitSidebar* _tmp49_ = NULL;
	GitgCommitSidebar* _tmp50_ = NULL;
	GitgCommitPaned* _tmp51_ = NULL;
	GitgCommitSubmoduleHistoryView* _tmp52_ = NULL;
	GitgCommitSubmoduleHistoryView* _tmp53_ = NULL;
	GitgCommitListView* _tmp54_ = NULL;
	GitgCommitListView* _tmp55_ = NULL;
	GitgCommitListView* _tmp56_ = NULL;
	GitgCommitModel* _tmp57_ = NULL;
	GtkTreeSelection* _tmp58_ = NULL;
	GSettings* settings = NULL;
	GSettings* _tmp59_ = NULL;
	GSettings* _tmp60_ = NULL;
	GitgCommitPaned* _tmp61_ = NULL;
	GitgDiffView* _tmp62_ = NULL;
	GitgDiffView* _tmp63_ = NULL;
	GSettings* _tmp64_ = NULL;
	GitgCommitPaned* _tmp65_ = NULL;
	GitgDiffView* _tmp66_ = NULL;
	GitgDiffView* _tmp67_ = NULL;
	GSettings* _tmp68_ = NULL;
	GSettings* _tmp69_ = NULL;
	GitgCommitPaned* _tmp70_ = NULL;
	GitgDiffView* _tmp71_ = NULL;
	GitgDiffView* _tmp72_ = NULL;
	GSettings* _tmp73_ = NULL;
	GitgCommitPaned* _tmp74_ = NULL;
	GitgDiffView* _tmp75_ = NULL;
	GitgDiffView* _tmp76_ = NULL;
	GitgCommitPaned* _tmp77_ = NULL;
	GitgDiffView* _tmp78_ = NULL;
	GitgDiffView* _tmp79_ = NULL;
	GitgCommitPaned* _tmp80_ = NULL;
	GtkButton* _tmp81_ = NULL;
	GtkButton* _tmp82_ = NULL;
	GitgCommitPaned* _tmp83_ = NULL;
	GitgDiffView* _tmp84_ = NULL;
	GitgDiffView* _tmp85_ = NULL;
	GitgCommitPaned* _tmp86_ = NULL;
	GtkButton* _tmp87_ = NULL;
	GtkButton* _tmp88_ = NULL;
#line 1802 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 1802 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data29_ = g_slice_new0 (Block29Data);
#line 1802 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data29_->_ref_count_ = 1;
#line 1802 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data29_->self = g_object_ref (self);
#line 1804 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = gitg_commit_paned_new ();
#line 1804 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_ref_sink (_tmp0_);
#line 1804 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (self->priv->d_main);
#line 1804 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_main = _tmp0_;
#line 1806 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = self->priv->d_main;
#line 1806 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = gitg_commit_paned_get_diff_view (_tmp1_);
#line 1806 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _tmp2_;
#line 1806 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_object (_tmp3_, "options-changed", (GCallback) ___lambda54__gitg_diff_view_options_changed, self, 0);
#line 1813 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = self->priv->d_main;
#line 1813 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = gitg_commit_paned_get_diff_view (_tmp4_);
#line 1813 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = _tmp5_;
#line 1813 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1813 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = _tmp7_;
#line 1813 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = _tmp8_;
#line 1813 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = gitg_ext_application_get_repository (_tmp9_);
#line 1813 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp11_ = _tmp10_;
#line 1813 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp12_ = _tmp11_;
#line 1813 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_diff_view_set_repository (_tmp6_, _tmp12_);
#line 1813 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp12_);
#line 1813 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp9_);
#line 1814 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp13_ = self->priv->d_main;
#line 1814 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp14_ = gitg_commit_paned_get_diff_view (_tmp13_);
#line 1814 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp15_ = _tmp14_;
#line 1814 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_diff_view_set_default_collapse_all (_tmp15_, FALSE);
#line 1816 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp16_ = self->priv->d_main;
#line 1816 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp17_ = gitg_commit_paned_get_sidebar (_tmp16_);
#line 1816 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp18_ = _tmp17_;
#line 1816 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_object ((GitgSidebar*) _tmp18_, "deselected", (GCallback) ___lambda55__gitg_sidebar_deselected, self, 0);
#line 1820 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp19_ = self->priv->d_main;
#line 1820 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp20_ = gitg_commit_paned_get_sidebar (_tmp19_);
#line 1820 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp21_ = _tmp20_;
#line 1820 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_object (_tmp21_, "stage-selection", (GCallback) _gitg_commit_activity_on_stage_selected_items_gitg_commit_sidebar_stage_selection, self, 0);
#line 1821 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp22_ = self->priv->d_main;
#line 1821 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp23_ = gitg_commit_paned_get_sidebar (_tmp22_);
#line 1821 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp24_ = _tmp23_;
#line 1821 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_object (_tmp24_, "unstage-selection", (GCallback) _gitg_commit_activity_on_unstage_selected_items_gitg_commit_sidebar_unstage_selection, self, 0);
#line 1823 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp25_ = self->priv->d_main;
#line 1823 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp26_ = gitg_commit_paned_get_sidebar (_tmp25_);
#line 1823 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp27_ = _tmp26_;
#line 1823 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_object (_tmp27_, "discard-selection", (GCallback) ___lambda56__gitg_commit_sidebar_discard_selection, self, 0);
#line 1835 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp28_ = self->priv->d_main;
#line 1835 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp29_ = gitg_commit_paned_get_sidebar (_tmp28_);
#line 1835 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp30_ = _tmp29_;
#line 1835 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_object (_tmp30_, "edit-selection", (GCallback) ___lambda57__gitg_commit_sidebar_edit_selection, self, 0);
#line 1843 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp31_ = self->priv->d_main;
#line 1843 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp32_ = gitg_commit_paned_get_sidebar (_tmp31_);
#line 1843 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp33_ = _tmp32_;
#line 1843 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_object (_tmp33_, "selected-items-changed", (GCallback) _gitg_commit_activity_sidebar_selection_changed_gitg_commit_sidebar_selected_items_changed, self, 0);
#line 1845 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp34_ = self->priv->d_main;
#line 1845 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp35_ = gitg_commit_paned_get_button_commit (_tmp34_);
#line 1845 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp36_ = _tmp35_;
#line 1845 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_object (_tmp36_, "clicked", (GCallback) ___lambda58__gtk_button_clicked, self, 0);
#line 1849 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp37_ = self->priv->d_main;
#line 1849 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp38_ = gitg_commit_paned_get_button_stage (_tmp37_);
#line 1849 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp39_ = _tmp38_;
#line 1849 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_object (_tmp39_, "clicked", (GCallback) ___lambda59__gtk_button_clicked, self, 0);
#line 1853 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp40_ = self->priv->d_main;
#line 1853 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp41_ = gitg_commit_paned_get_button_discard (_tmp40_);
#line 1853 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp42_ = _tmp41_;
#line 1853 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_object (_tmp42_, "clicked", (GCallback) ___lambda60__gtk_button_clicked, self, 0);
#line 1857 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp43_ = self->priv->d_main;
#line 1857 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp44_ = gitg_commit_paned_get_submodule_diff_view (_tmp43_);
#line 1857 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp45_ = _tmp44_;
#line 1857 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp46_ = gitg_commit_submodule_diff_view_get_info (_tmp45_);
#line 1857 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp47_ = _tmp46_;
#line 1857 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_object (_tmp47_, "request-open-repository", (GCallback) ___lambda61__gitg_commit_submodule_info_request_open_repository, self, 0);
#line 1874 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp48_ = self->priv->d_main;
#line 1874 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp49_ = gitg_commit_paned_get_sidebar (_tmp48_);
#line 1874 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp50_ = _tmp49_;
#line 1874 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_object ((GitgSidebar*) _tmp50_, "populate-popup", (GCallback) _gitg_commit_activity_do_populate_menu_gitg_sidebar_populate_popup, self, 0);
#line 1876 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp51_ = self->priv->d_main;
#line 1876 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp52_ = gitg_commit_paned_get_submodule_history_view (_tmp51_);
#line 1876 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp53_ = _tmp52_;
#line 1876 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp54_ = gitg_commit_submodule_history_view_get_commit_list_view (_tmp53_);
#line 1876 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp55_ = _tmp54_;
#line 1876 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp56_ = _g_object_ref0 (_tmp55_);
#line 1876 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data29_->view = _tmp56_;
#line 1877 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp57_ = gitg_commit_model_new (NULL);
#line 1877 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data29_->model = _tmp57_;
#line 1878 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gtk_tree_view_set_model ((GtkTreeView*) _data29_->view, (GtkTreeModel*) _data29_->model);
#line 1880 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_data ((GtkTreeModel*) _data29_->model, "row-inserted", (GCallback) ___lambda63__gtk_tree_model_row_inserted, block29_data_ref (_data29_), (GClosureNotify) block29_data_unref, G_CONNECT_AFTER);
#line 1888 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp58_ = gtk_tree_view_get_selection ((GtkTreeView*) _data29_->view);
#line 1888 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_data (_tmp58_, "changed", (GCallback) ___lambda64__gtk_tree_selection_changed, block29_data_ref (_data29_), (GClosureNotify) block29_data_unref, 0);
#line 1902 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_data ((GtkTreeView*) _data29_->view, "row-activated", (GCallback) ___lambda65__gtk_tree_view_row_activated, block29_data_ref (_data29_), (GClosureNotify) block29_data_unref, 0);
#line 1906 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp59_ = g_settings_new ("org.gnome.gitg.preferences.commit.diff");
#line 1906 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	settings = _tmp59_;
#line 1908 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp60_ = settings;
#line 1908 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp61_ = self->priv->d_main;
#line 1908 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp62_ = gitg_commit_paned_get_diff_view (_tmp61_);
#line 1908 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp63_ = _tmp62_;
#line 1908 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_settings_bind (_tmp60_, "context-lines", (GObject*) _tmp63_, "context-lines", G_SETTINGS_BIND_GET | G_SETTINGS_BIND_SET);
#line 1913 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp64_ = settings;
#line 1913 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp65_ = self->priv->d_main;
#line 1913 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp66_ = gitg_commit_paned_get_diff_view (_tmp65_);
#line 1913 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp67_ = _tmp66_;
#line 1913 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_settings_bind (_tmp64_, "tab-width", (GObject*) _tmp67_, "tab-width", G_SETTINGS_BIND_GET | G_SETTINGS_BIND_SET);
#line 1918 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp68_ = g_settings_new ("org.gnome.gitg.preferences.interface");
#line 1918 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (settings);
#line 1918 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	settings = _tmp68_;
#line 1920 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp69_ = settings;
#line 1920 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp70_ = self->priv->d_main;
#line 1920 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp71_ = gitg_commit_paned_get_diff_view (_tmp70_);
#line 1920 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp72_ = _tmp71_;
#line 1920 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_settings_bind (_tmp69_, "use-gravatar", (GObject*) _tmp72_, "use-gravatar", G_SETTINGS_BIND_GET | G_SETTINGS_BIND_SET);
#line 1925 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp73_ = settings;
#line 1925 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp74_ = self->priv->d_main;
#line 1925 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp75_ = gitg_commit_paned_get_diff_view (_tmp74_);
#line 1925 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp76_ = _tmp75_;
#line 1925 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_settings_bind (_tmp73_, "enable-diff-highlighting", (GObject*) _tmp76_, "highlight", G_SETTINGS_BIND_GET | G_SETTINGS_BIND_SET);
#line 1930 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp77_ = self->priv->d_main;
#line 1930 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp78_ = gitg_commit_paned_get_diff_view (_tmp77_);
#line 1930 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp79_ = _tmp78_;
#line 1930 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp80_ = self->priv->d_main;
#line 1930 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp81_ = gitg_commit_paned_get_button_stage (_tmp80_);
#line 1930 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp82_ = _tmp81_;
#line 1930 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp79_, "has-selection", (GObject*) _tmp82_, "sensitive", G_BINDING_DEFAULT, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 1935 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp83_ = self->priv->d_main;
#line 1935 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp84_ = gitg_commit_paned_get_diff_view (_tmp83_);
#line 1935 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp85_ = _tmp84_;
#line 1935 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp86_ = self->priv->d_main;
#line 1935 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp87_ = gitg_commit_paned_get_button_discard (_tmp86_);
#line 1935 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp88_ = _tmp87_;
#line 1935 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp85_, "has-selection", (GObject*) _tmp88_, "sensitive", G_BINDING_DEFAULT, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 1802 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (settings);
#line 1802 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	block29_data_unref (_data29_);
#line 1802 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_data29_ = NULL;
#line 17396 "gitg-commit.c"
}


static GitgExtApplication* gitg_commit_activity_real_get_application (GitgExtUIElement* base) {
	GitgExtApplication* result;
	GitgCommitActivity* self;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
#line 46 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = (GitgCommitActivity*) base;
#line 46 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->_application;
#line 46 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 46 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = _tmp1_;
#line 46 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 17415 "gitg-commit.c"
}


static void gitg_commit_activity_real_set_application (GitgExtUIElement* base, GitgExtApplication* value) {
	GitgCommitActivity* self;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
#line 46 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = (GitgCommitActivity*) base;
#line 46 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = value;
#line 46 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 46 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (self->priv->_application);
#line 46 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->_application = _tmp1_;
#line 46 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_notify ((GObject *) self, "application");
#line 17435 "gitg-commit.c"
}


static gchar* gitg_commit_activity_real_get_id (GitgExtUIElement* base) {
	gchar* result;
	GitgCommitActivity* self;
	gchar* _tmp0_ = NULL;
#line 55 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = (GitgCommitActivity*) base;
#line 55 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = g_strdup ("/org/gnome/gitg/Activities/Commit");
#line 55 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = _tmp0_;
#line 55 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 17451 "gitg-commit.c"
}


void gitg_commit_activity_set_repository (GitgCommitActivity* self, GitgRepository* value) {
#line 60 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 62 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_reload (self);
#line 60 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_notify ((GObject *) self, "repository");
#line 17462 "gitg-commit.c"
}


static gchar* gitg_commit_activity_real_get_display_name (GitgExtUIElement* base) {
	gchar* result;
	GitgCommitActivity* self;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 104 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = (GitgCommitActivity*) base;
#line 104 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = C_ ("Activity", "Commit");
#line 104 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 104 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = _tmp1_;
#line 104 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 17481 "gitg-commit.c"
}


static gchar* gitg_commit_activity_real_get_description (GitgExtUIElement* base) {
	gchar* result;
	GitgCommitActivity* self;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 109 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = (GitgCommitActivity*) base;
#line 109 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _ ("Create new commits and manage the staging area");
#line 109 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 109 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = _tmp1_;
#line 109 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 17500 "gitg-commit.c"
}


static gchar* gitg_commit_activity_real_get_icon (GitgExtUIElement* base) {
	gchar* result;
	GitgCommitActivity* self;
	gchar* _tmp0_ = NULL;
#line 114 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = (GitgCommitActivity*) base;
#line 114 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = g_strdup ("document-save-symbolic");
#line 114 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = _tmp0_;
#line 114 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 17516 "gitg-commit.c"
}


static GtkWidget* gitg_commit_activity_real_get_widget (GitgExtUIElement* base) {
	GtkWidget* result;
	GitgCommitActivity* self;
	GitgCommitPaned* _tmp0_ = NULL;
	GitgCommitPaned* _tmp1_ = NULL;
	GtkWidget* _tmp2_ = NULL;
#line 119 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = (GitgCommitActivity*) base;
#line 121 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 121 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp0_ == NULL) {
#line 123 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_build_ui (self);
#line 17534 "gitg-commit.c"
	}
#line 126 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = self->priv->d_main;
#line 126 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _g_object_ref0 ((GtkWidget*) _tmp1_);
#line 126 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	result = _tmp2_;
#line 126 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 17544 "gitg-commit.c"
}


static void _gitg_commit_activity_repository_changed_externally_gitg_ext_application_repository_changed_externally (GitgExtApplication* _sender, GitgExtExternalChangeHint hint, gpointer self) {
#line 71 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_repository_changed_externally ((GitgCommitActivity*) self, hint);
#line 17551 "gitg-commit.c"
}


static GObject * gitg_commit_activity_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) {
	GObject * obj;
	GObjectClass * parent_class;
	GitgCommitActivity * self;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
	GitgExtApplication* _tmp2_ = NULL;
	GitgExtApplication* _tmp3_ = NULL;
	GitgExtApplication* _tmp4_ = NULL;
	GitgExtApplication* _tmp5_ = NULL;
	gulong _tmp6_ = 0UL;
#line 66 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	parent_class = G_OBJECT_CLASS (gitg_commit_activity_parent_class);
#line 66 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 66 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_COMMIT_TYPE_ACTIVITY, GitgCommitActivity);
#line 68 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 68 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _tmp0_;
#line 68 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 68 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp2_, "repository", (GObject*) self, "repository", G_BINDING_DEFAULT, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 68 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp2_);
#line 71 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 71 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _tmp3_;
#line 71 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = _tmp4_;
#line 71 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = g_signal_connect_object (_tmp5_, "repository-changed-externally", (GCallback) _gitg_commit_activity_repository_changed_externally_gitg_ext_application_repository_changed_externally, self, 0);
#line 71 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_externally_changed_id = _tmp6_;
#line 71 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp5_);
#line 66 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	return obj;
#line 17596 "gitg-commit.c"
}


static void gitg_commit_activity_class_init (GitgCommitActivityClass * klass) {
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_parent_class = g_type_class_peek_parent (klass);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_type_class_add_private (klass, sizeof (GitgCommitActivityPrivate));
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	((GObjectClass *) klass)->dispose = gitg_commit_activity_real_dispose;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_commit_activity_get_property;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_commit_activity_set_property;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	G_OBJECT_CLASS (klass)->constructor = gitg_commit_activity_constructor;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_commit_activity_finalize;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_ACTIVITY_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 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_ACTIVITY_ID, g_param_spec_string ("id", "id", "id", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_ACTIVITY_REPOSITORY, g_param_spec_object ("repository", "repository", "repository", GITG_TYPE_REPOSITORY, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_WRITABLE));
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_ACTIVITY_DISPLAY_NAME, g_param_spec_string ("display-name", "display-name", "display-name", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_ACTIVITY_DESCRIPTION, g_param_spec_string ("description", "description", "description", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_ACTIVITY_ICON, g_param_spec_string ("icon", "icon", "icon", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_ACTIVITY_WIDGET, g_param_spec_object ("widget", "widget", "widget", gtk_widget_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 17629 "gitg-commit.c"
}


static void gitg_commit_activity_gitg_ext_ui_element_interface_init (GitgExtUIElementIface * iface) {
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_gitg_ext_ui_element_parent_iface = g_type_interface_peek_parent (iface);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	iface->activate = (void (*)(GitgExtUIElement*)) gitg_commit_activity_real_activate;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	iface->get_application = gitg_commit_activity_real_get_application;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	iface->set_application = gitg_commit_activity_real_set_application;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	iface->get_id = gitg_commit_activity_real_get_id;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	iface->get_display_name = gitg_commit_activity_real_get_display_name;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	iface->get_description = gitg_commit_activity_real_get_description;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	iface->get_icon = gitg_commit_activity_real_get_icon;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	iface->get_widget = gitg_commit_activity_real_get_widget;
#line 17652 "gitg-commit.c"
}


static void gitg_commit_activity_gitg_ext_activity_interface_init (GitgExtActivityIface * iface) {
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_gitg_ext_activity_parent_iface = g_type_interface_peek_parent (iface);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	iface->is_default_for = (gboolean (*)(GitgExtActivity*, const gchar*)) gitg_commit_activity_real_is_default_for;
#line 17661 "gitg-commit.c"
}


static void gitg_commit_activity_instance_init (GitgCommitActivity * self) {
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv = GITG_COMMIT_ACTIVITY_GET_PRIVATE (self);
#line 17668 "gitg-commit.c"
}


static void gitg_commit_activity_finalize (GObject* obj) {
	GitgCommitActivity * self;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_COMMIT_TYPE_ACTIVITY, GitgCommitActivity);
#line 26 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (self->priv->d_main);
#line 31 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_gitg_when_mapped_unref0 (self->priv->d_reload_when_mapped);
#line 46 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (self->priv->_application);
#line 139 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	(self->priv->d_update_diff_callback_target_destroy_notify == NULL) ? NULL : (self->priv->d_update_diff_callback_target_destroy_notify (self->priv->d_update_diff_callback_target), NULL);
#line 139 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback = NULL;
#line 139 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback_target = NULL;
#line 139 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback_target_destroy_notify = NULL;
#line 142 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (self->priv->d_current_submodule);
#line 143 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (self->priv->d_current_submodule_repository);
#line 144 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	(self->priv->d_stage_unstage_submodule_commit_callback_target_destroy_notify == NULL) ? NULL : (self->priv->d_stage_unstage_submodule_commit_callback_target_destroy_notify (self->priv->d_stage_unstage_submodule_commit_callback_target), NULL);
#line 144 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_stage_unstage_submodule_commit_callback = NULL;
#line 144 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_stage_unstage_submodule_commit_callback_target = NULL;
#line 144 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_stage_unstage_submodule_commit_callback_target_destroy_notify = NULL;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	G_OBJECT_CLASS (gitg_commit_activity_parent_class)->finalize (obj);
#line 17704 "gitg-commit.c"
}


GType gitg_commit_activity_get_type (void) {
	static volatile gsize gitg_commit_activity_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_commit_activity_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgCommitActivityClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_commit_activity_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgCommitActivity), 0, (GInstanceInitFunc) gitg_commit_activity_instance_init, NULL };
		static const GInterfaceInfo gitg_ext_ui_element_info = { (GInterfaceInitFunc) gitg_commit_activity_gitg_ext_ui_element_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		static const GInterfaceInfo gitg_ext_activity_info = { (GInterfaceInitFunc) gitg_commit_activity_gitg_ext_activity_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType gitg_commit_activity_type_id;
		gitg_commit_activity_type_id = g_type_register_static (G_TYPE_OBJECT, "GitgCommitActivity", &g_define_type_info, 0);
		g_type_add_interface_static (gitg_commit_activity_type_id, GITG_EXT_TYPE_UI_ELEMENT, &gitg_ext_ui_element_info);
		g_type_add_interface_static (gitg_commit_activity_type_id, GITG_EXT_TYPE_ACTIVITY, &gitg_ext_activity_info);
		g_once_init_leave (&gitg_commit_activity_type_id__volatile, gitg_commit_activity_type_id);
	}
	return gitg_commit_activity_type_id__volatile;
}


static void _vala_gitg_commit_activity_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GitgCommitActivity * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_COMMIT_TYPE_ACTIVITY, GitgCommitActivity);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	switch (property_id) {
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case GITG_COMMIT_ACTIVITY_APPLICATION:
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_value_take_object (value, gitg_ext_ui_element_get_application ((GitgExtUIElement*) self));
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		break;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case GITG_COMMIT_ACTIVITY_ID:
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_value_take_string (value, gitg_ext_ui_element_get_id ((GitgExtUIElement*) self));
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		break;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case GITG_COMMIT_ACTIVITY_DISPLAY_NAME:
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_value_take_string (value, gitg_ext_ui_element_get_display_name ((GitgExtUIElement*) self));
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		break;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case GITG_COMMIT_ACTIVITY_DESCRIPTION:
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_value_take_string (value, gitg_ext_ui_element_get_description ((GitgExtUIElement*) self));
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		break;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case GITG_COMMIT_ACTIVITY_ICON:
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_value_take_string (value, gitg_ext_ui_element_get_icon ((GitgExtUIElement*) self));
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		break;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case GITG_COMMIT_ACTIVITY_WIDGET:
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		g_value_take_object (value, gitg_ext_ui_element_get_widget ((GitgExtUIElement*) self));
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		break;
#line 17765 "gitg-commit.c"
		default:
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		break;
#line 17771 "gitg-commit.c"
	}
}


static void _vala_gitg_commit_activity_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	GitgCommitActivity * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_COMMIT_TYPE_ACTIVITY, GitgCommitActivity);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
	switch (property_id) {
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case GITG_COMMIT_ACTIVITY_APPLICATION:
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_ext_ui_element_set_application ((GitgExtUIElement*) self, g_value_get_object (value));
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		break;
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		case GITG_COMMIT_ACTIVITY_REPOSITORY:
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_set_repository (self, g_value_get_object (value));
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		break;
#line 17793 "gitg-commit.c"
		default:
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 22 "/home/nacho/checkout/gnome/gitg/gitg/commit/gitg-commit.vala"
		break;
#line 17799 "gitg-commit.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);
}



