/* gitg-commit.c generated by valac 0.35.5.2-9e6c0, 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_;
	GTask* _async_result;
	gboolean _task_complete_;
	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;
	GitgStageStatusSubmodule* _tmp17_;
	gchar* _tmp18_;
	gchar* _tmp19_;
	gchar* _tmp20_;
	gchar* _tmp21_;
	gchar* _tmp22_;
	GitgExtApplication* _tmp23_;
	GitgExtApplication* _tmp24_;
	GitgExtApplication* _tmp25_;
	const gchar* _tmp26_;
	GError* _tmp27_;
	const gchar* _tmp28_;
	GitgRepository* repo;
	GgitRepository* _tmp29_;
	GitgStageStatusSubmodule* _tmp30_;
	GgitSubmodule* _tmp31_;
	GgitSubmodule* _tmp32_;
	GgitRepository* _tmp33_;
	GgitRepository* _tmp34_;
	GitgRepository* _tmp35_;
	GError* _vala1_e;
	gchar* _vala1_msg;
	GitgStageStatusSubmodule* _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_;
	GitgCommit* _tmp48_;
	GitgCommit* _tmp49_;
	GitgRepository* _tmp50_;
	GitgStageStatusSubmodule* _tmp51_;
	GgitSubmodule* _tmp52_;
	GgitSubmodule* _tmp53_;
	GgitOId* _tmp54_;
	GgitOId* _tmp55_;
	gpointer _tmp56_;
	GitgCommit* _tmp57_;
	GError* _vala2_e;
	gchar* _vala2_msg;
	GitgStageStatusSubmodule* _tmp59_;
	gchar* _tmp60_;
	gchar* _tmp61_;
	gchar* _tmp62_;
	gchar* _tmp63_;
	gchar* _tmp64_;
	GitgExtApplication* _tmp65_;
	GitgExtApplication* _tmp66_;
	GitgExtApplication* _tmp67_;
	const gchar* _tmp68_;
	GError* _tmp69_;
	const gchar* _tmp70_;
	GitgStage* _tmp71_;
	GitgStageStatusSubmodule* _tmp72_;
	gchar* _tmp73_;
	gchar* _tmp74_;
	gchar* _tmp75_;
	GitgCommit* _tmp76_;
	GError* _vala3_e;
	gchar* _vala3_msg;
	GitgStageStatusSubmodule* _tmp77_;
	gchar* _tmp78_;
	gchar* _tmp79_;
	gchar* _tmp80_;
	gchar* _tmp81_;
	gchar* _tmp82_;
	GitgExtApplication* _tmp83_;
	GitgExtApplication* _tmp84_;
	GitgExtApplication* _tmp85_;
	const gchar* _tmp86_;
	GError* _tmp87_;
	const gchar* _tmp88_;
	GError * _inner_error_;
};

struct _GitgCommitActivityStageFileData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	gboolean _task_complete_;
	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;
	GitgStageStatusFile* _tmp17_;
	gchar* _tmp18_;
	gchar* _tmp19_;
	gchar* _tmp20_;
	gchar* _tmp21_;
	gchar* _tmp22_;
	GitgExtApplication* _tmp23_;
	GitgExtApplication* _tmp24_;
	GitgExtApplication* _tmp25_;
	const gchar* _tmp26_;
	GError* _tmp27_;
	const gchar* _tmp28_;
	GitgStage* _tmp29_;
	GitgStageStatusFile* _tmp30_;
	gchar* _tmp31_;
	gchar* _tmp32_;
	gchar* _tmp33_;
	GError* _vala1_e;
	gchar* _vala1_msg;
	GitgStageStatusFile* _tmp34_;
	gchar* _tmp35_;
	gchar* _tmp36_;
	gchar* _tmp37_;
	gchar* _tmp38_;
	gchar* _tmp39_;
	GitgExtApplication* _tmp40_;
	GitgExtApplication* _tmp41_;
	GitgExtApplication* _tmp42_;
	const gchar* _tmp43_;
	GError* _tmp44_;
	const gchar* _tmp45_;
	GError * _inner_error_;
};

struct _GitgCommitActivityStageItemsData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	gboolean _task_complete_;
	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_;
	GTask* _async_result;
	gboolean _task_complete_;
	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_;
	GTask* _async_result;
	gboolean _task_complete_;
	GitgCommitActivity* self;
	GitgStageStatusFile* file;
	gboolean result;
	GitgStageStatusFile* _tmp0_;
	GitgStageStatusFile* _tmp1_;
	GgitStatusFlags _tmp2_;
	GgitStatusFlags _tmp3_;
	GitgStageStatusFile* _tmp4_;
	gchar* _tmp5_;
	gchar* _tmp6_;
	gchar* _tmp7_;
	gchar* _tmp8_;
	gchar* _tmp9_;
	GitgStageStatusFile* _tmp10_;
	gchar* _tmp11_;
	gchar* _tmp12_;
	gchar* _tmp13_;
	gchar* _tmp14_;
	gchar* _tmp15_;
	gboolean _tmp16_;
	gboolean _tmp17_;
};

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

struct _GitgCommitActivityUnstageItemsData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	gboolean _task_complete_;
	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_;
	GTask* _async_result;
	gboolean _task_complete_;
	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_;
	GError* _tmp13_;
	const gchar* _tmp14_;
	GError * _inner_error_;
};

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

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

struct _Block14Data {
	int _ref_count_;
	GitgCommitActivity* self;
	GgitDiffOptions* opts;
	GitgRepository* repository;
	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_;
	GTask* _async_result;
	gboolean _task_complete_;
	GitgCommitActivity* self;
	GgitDiff* result;
	Block14Data* _data14_;
	GgitDiffOptions* _tmp0_;
	GgitDiffOptions* _tmp1_;
	GgitDiffOptions* _tmp2_;
	GgitDiffOptions* _tmp3_;
	GitgExtApplication* _tmp4_;
	GitgExtApplication* _tmp5_;
	GitgExtApplication* _tmp6_;
	GitgRepository* _tmp7_;
	GitgRepository* _tmp8_;
	GitgRepository* _tmp9_;
	GitgStage* stage;
	GitgRepository* _tmp10_;
	GitgStage* _tmp11_;
	GitgStage* _tmp12_;
	gboolean _tmp13_;
	GitgRepository* _tmp14_;
	gboolean _tmp15_;
	GgitTree* _tmp16_;
	GitgStage* _tmp17_;
	GgitTree* _tmp18_;
	GgitTree* _tmp19_;
	Block15Data* _data15_;
	GitgRepository* _tmp20_;
	GgitIndex* _tmp21_;
	GgitDiff* _tmp22_;
	GgitDiff* _tmp23_;
	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_;
	GTask* _async_result;
	gboolean _task_complete_;
	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_;
	GTask* _async_result;
	gboolean _task_complete_;
	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_;
	GTask* _async_result;
	gboolean _task_complete_;
	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_;
	GTask* _async_result;
	gboolean _task_complete_;
	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_ENABLED,
	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_;
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (application != NULL, NULL);
#line 50 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = application;
#line 50 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = (GitgCommitActivity*) g_object_new (object_type, "application", _tmp0_, NULL);
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return self;
#line 1389 "gitg-commit.c"
}


GitgCommitActivity* gitg_commit_activity_new (GitgExtApplication* application) {
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return gitg_commit_activity_construct (GITG_COMMIT_TYPE_ACTIVITY, application);
#line 1396 "gitg-commit.c"
}


static void gitg_commit_activity_real_dispose (GObject* base) {
	GitgCommitActivity * self;
	gulong _tmp0_;
#line 83 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = (GitgCommitActivity*) base;
#line 85 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_externally_changed_id;
#line 85 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp0_ != ((gulong) 0)) {
#line 1409 "gitg-commit.c"
		GitgExtApplication* _tmp1_;
		GitgExtApplication* _tmp2_;
		GitgExtApplication* _tmp3_;
		gulong _tmp4_;
#line 87 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 87 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = _tmp1_;
#line 87 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp3_ = _tmp2_;
#line 87 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = self->priv->d_externally_changed_id;
#line 87 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_signal_handler_disconnect ((GObject*) _tmp3_, _tmp4_);
#line 87 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp3_);
#line 88 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_externally_changed_id = (gulong) 0;
#line 1428 "gitg-commit.c"
	}
#line 91 "/home/mcatanzaro/Projects/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 1432 "gitg-commit.c"
}


static void ____lambda12_ (GitgCommitActivity* self) {
#line 103 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_reload (self);
#line 1439 "gitg-commit.c"
}


static void _____lambda12__gitg_when_mapped_on_mapped (gpointer self) {
#line 102 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	____lambda12_ ((GitgCommitActivity*) self);
#line 1446 "gitg-commit.c"
}


static void gitg_commit_activity_repository_changed_externally (GitgCommitActivity* self, GitgExtExternalChangeHint hint) {
	gboolean _tmp0_;
#line 94 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 96 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_ignore_external_changes;
#line 96 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (!_tmp0_) {
#line 1458 "gitg-commit.c"
		gboolean _tmp1_ = FALSE;
		GitgCommitPaned* _tmp2_;
#line 98 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = self->priv->d_main;
#line 98 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp2_ != NULL) {
#line 1465 "gitg-commit.c"
			GitgExtExternalChangeHint _tmp3_;
#line 98 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp3_ = hint;
#line 98 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp1_ = (_tmp3_ & GITG_EXT_EXTERNAL_CHANGE_HINT_INDEX) != 0;
#line 1471 "gitg-commit.c"
		} else {
#line 98 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp1_ = FALSE;
#line 1475 "gitg-commit.c"
		}
#line 98 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp1_) {
#line 1479 "gitg-commit.c"
			GitgCommitPaned* _tmp4_;
			GitgWhenMapped* _tmp5_;
			GitgWhenMapped* _tmp6_;
#line 100 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp4_ = self->priv->d_main;
#line 100 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp5_ = gitg_when_mapped_new ((GtkWidget*) _tmp4_);
#line 100 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_gitg_when_mapped_unref0 (self->priv->d_reload_when_mapped);
#line 100 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			self->priv->d_reload_when_mapped = _tmp5_;
#line 102 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp6_ = self->priv->d_reload_when_mapped;
#line 102 "/home/mcatanzaro/Projects/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 1495 "gitg-commit.c"
		}
	}
#line 108 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_ignore_external_changes = FALSE;
#line 1500 "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_;
#line 139 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = (GitgCommitActivity*) base;
#line 139 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (action != NULL, FALSE);
#line 141 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = action;
#line 141 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = g_strcmp0 (_tmp0_, "commit") == 0;
#line 141 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 1518 "gitg-commit.c"
}


static void gitg_commit_activity_show_unstaged_diff (GitgCommitActivity* self, GitgStageStatusItem** items, int items_length1) {
	gboolean _tmp0_ = FALSE;
	GitgStageStatusItem** _tmp1_;
	gint _tmp1__length1;
#line 155 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 157 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = items;
#line 157 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1__length1 = items_length1;
#line 157 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp1__length1 == 1) {
#line 1534 "gitg-commit.c"
		GitgStageStatusItem** _tmp2_;
		gint _tmp2__length1;
		GitgStageStatusItem* _tmp3_;
#line 157 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = items;
#line 157 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp2__length1 = items_length1;
#line 157 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp3_ = _tmp2_[0];
#line 157 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp3_, GITG_TYPE_STAGE_STATUS_SUBMODULE);
#line 1546 "gitg-commit.c"
	} else {
#line 157 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = FALSE;
#line 1550 "gitg-commit.c"
	}
#line 157 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp0_) {
#line 1554 "gitg-commit.c"
		GitgStageStatusItem** _tmp4_;
		gint _tmp4__length1;
		GitgStageStatusItem* _tmp5_;
#line 159 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = items;
#line 159 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp4__length1 = items_length1;
#line 159 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = _tmp4_[0];
#line 159 "/home/mcatanzaro/Projects/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 1566 "gitg-commit.c"
	} else {
		GitgExtApplication* _tmp6_;
		GitgExtApplication* _tmp7_;
		GitgExtApplication* _tmp8_;
		GitgRepository* _tmp9_;
		GitgRepository* _tmp10_;
		GitgRepository* _tmp11_;
		GitgCommitPaned* _tmp12_;
		GitgDiffView* _tmp13_;
		GitgDiffView* _tmp14_;
		GitgStageStatusItem** _tmp15_;
		gint _tmp15__length1;
#line 163 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_show_ui (self, GITG_COMMIT_ACTIVITY_UI_TYPE_DIFF);
#line 164 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 164 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 164 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = _tmp7_;
#line 164 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = gitg_ext_application_get_repository (_tmp8_);
#line 164 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = _tmp9_;
#line 164 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = _tmp10_;
#line 164 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp12_ = self->priv->d_main;
#line 164 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp13_ = gitg_commit_paned_get_diff_view (_tmp12_);
#line 164 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp14_ = _tmp13_;
#line 164 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp15_ = items;
#line 164 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp15__length1 = items_length1;
#line 164 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_show_unstaged_diff_intern (self, _tmp11_, _tmp14_, _tmp15_, _tmp15__length1, TRUE);
#line 164 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp11_);
#line 164 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp8_);
#line 1609 "gitg-commit.c"
	}
}


static gpointer _g_object_ref0 (gpointer self) {
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return self ? g_object_ref (self) : NULL;
#line 1617 "gitg-commit.c"
}


static Block4Data* block4_data_ref (Block4Data* _data4_) {
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data4_->_ref_count_);
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return _data4_;
#line 1626 "gitg-commit.c"
}


static void block4_data_unref (void * _userdata_) {
	Block4Data* _data4_;
	_data4_ = (Block4Data*) _userdata_;
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data4_->_ref_count_)) {
#line 1635 "gitg-commit.c"
		GitgCommitActivity* self;
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self = _data4_->self;
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data4_->repository);
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data4_->view);
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data4_->items = (_vala_array_free (_data4_->items, _data4_->items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block4Data, _data4_);
#line 1649 "gitg-commit.c"
	}
}


static void __lambda30_ (Block4Data* _data4_) {
	GitgCommitActivity* self;
	GitgRepository* _tmp0_;
	GitgDiffView* _tmp1_;
	GitgStageStatusItem** _tmp2_;
	gint _tmp2__length1;
	gboolean _tmp3_;
#line 173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data4_->self;
#line 174 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _data4_->repository;
#line 174 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _data4_->view;
#line 174 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _data4_->items;
#line 174 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2__length1 = _data4_->items_length1;
#line 174 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _data4_->patchable;
#line 174 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_show_unstaged_diff_intern (self, _tmp0_, _tmp1_, _tmp2_, _tmp2__length1, _tmp3_);
#line 1675 "gitg-commit.c"
}


static void ___lambda30__gitg_commit_activity_update_diff_callback (gpointer self) {
#line 173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__lambda30_ (self);
#line 1682 "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_;
	GitgRepository* _tmp1_;
	GitgDiffView* _tmp2_;
	GitgDiffView* _tmp3_;
	GitgStageStatusItem** _tmp4_;
	gint _tmp4__length1;
	gboolean _tmp5_;
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (repository != NULL);
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (view != NULL);
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data4_ = g_slice_new0 (Block4Data);
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data4_->_ref_count_ = 1;
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data4_->self = g_object_ref (self);
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = repository;
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data4_->repository);
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data4_->repository = _tmp1_;
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = view;
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data4_->view);
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data4_->view = _tmp3_;
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = items;
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4__length1 = items_length1;
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data4_->items = (_vala_array_free (_data4_->items, _data4_->items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data4_->items = _tmp4_;
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data4_->items_length1 = _tmp4__length1;
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = patchable;
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data4_->patchable = _tmp5_;
#line 173 "/home/mcatanzaro/Projects/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 173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback = NULL;
#line 173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback_target = NULL;
#line 173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback_target_destroy_notify = NULL;
#line 173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback = ___lambda30__gitg_commit_activity_update_diff_callback;
#line 173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback_target = block4_data_ref (_data4_);
#line 173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback_target_destroy_notify = block4_data_unref;
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block4_data_unref (_data4_);
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data4_ = NULL;
#line 1755 "gitg-commit.c"
}


static Block5Data* block5_data_ref (Block5Data* _data5_) {
#line 178 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data5_->_ref_count_);
#line 178 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return _data5_;
#line 1764 "gitg-commit.c"
}


static void block5_data_unref (void * _userdata_) {
	Block5Data* _data5_;
	_data5_ = (Block5Data*) _userdata_;
#line 178 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data5_->_ref_count_)) {
#line 1773 "gitg-commit.c"
		GitgCommitActivity* self;
#line 178 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self = _data5_->self;
#line 178 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data5_->stage);
#line 178 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data5_->view);
#line 178 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 178 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block5Data, _data5_);
#line 1785 "gitg-commit.c"
	}
}


static void __lambda29_ (Block5Data* _data5_, GObject* obj, GAsyncResult* res) {
	GitgCommitActivity* self;
	GError * _inner_error_ = NULL;
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data5_->self;
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 1797 "gitg-commit.c"
	{
		GgitDiff* d;
		GAsyncResult* _tmp0_;
		GgitDiff* _tmp1_;
		GitgDiffView* _tmp2_;
		gboolean _tmp3_;
		GitgDiffView* _tmp4_;
		GitgCommitPaned* _tmp5_;
		GtkButton* _tmp6_;
		GtkButton* _tmp7_;
		GitgCommitPaned* _tmp8_;
		GtkButton* _tmp9_;
		GtkButton* _tmp10_;
		gboolean _tmp11_;
		GitgCommitPaned* _tmp12_;
		GtkButton* _tmp13_;
		GtkButton* _tmp14_;
		GitgDiffView* _tmp15_;
		GitgDiffView* _tmp16_;
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = res;
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = gitg_stage_diff_workdir_all_finish (_data5_->stage, _tmp0_, &_inner_error_);
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		d = _tmp1_;
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1825 "gitg-commit.c"
			goto __catch6_g_error;
		}
#line 190 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = _data5_->view;
#line 190 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp3_ = _data5_->patchable;
#line 190 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_unstaged (_tmp2_, _tmp3_);
#line 191 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = _data5_->view;
#line 191 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_staged (_tmp4_, FALSE);
#line 193 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = self->priv->d_main;
#line 193 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = gitg_commit_paned_get_button_stage (_tmp5_);
#line 193 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 193 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gtk_button_set_label (_tmp7_, _ ("_Stage selection"));
#line 194 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = self->priv->d_main;
#line 194 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = gitg_commit_paned_get_button_stage (_tmp8_);
#line 194 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = _tmp9_;
#line 194 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = _data5_->patchable;
#line 194 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp10_, _tmp11_);
#line 195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp12_ = self->priv->d_main;
#line 195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp13_ = gitg_commit_paned_get_button_discard (_tmp12_);
#line 195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp14_ = _tmp13_;
#line 195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp14_, TRUE);
#line 197 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp15_ = _data5_->view;
#line 197 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_new_is_workdir (_tmp15_, TRUE);
#line 198 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp16_ = _data5_->view;
#line 198 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_diff (_tmp16_, d);
#line 186 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (d);
#line 1874 "gitg-commit.c"
	}
	goto __finally6;
	__catch6_g_error:
	{
		GitgDiffView* _tmp17_;
#line 186 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 186 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_inner_error_ = NULL;
#line 203 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp17_ = _data5_->view;
#line 203 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_diff (_tmp17_, NULL);
#line 1888 "gitg-commit.c"
	}
	__finally6:
#line 186 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 186 "/home/mcatanzaro/Projects/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 186 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 186 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 1899 "gitg-commit.c"
	}
}


static void ___lambda29__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__lambda29_ (self, source_object, res);
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block5_data_unref (self);
#line 1909 "gitg-commit.c"
}


static GitgStageStatusItem** _vala_array_dup2 (GitgStageStatusItem** self, int length) {
	GitgStageStatusItem** result;
	int i;
#line 207 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = g_new0 (GitgStageStatusItem*, length + 1);
#line 207 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	for (i = 0; i < length; i++) {
#line 1920 "gitg-commit.c"
		GitgStageStatusItem* _tmp0_;
#line 207 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _g_object_ref0 (self[i]);
#line 207 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		result[i] = _tmp0_;
#line 1926 "gitg-commit.c"
	}
#line 207 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 1930 "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_;
	GitgDiffView* _tmp1_;
	gboolean _tmp2_;
	GitgRepository* _tmp3_;
	GitgStage* _tmp4_;
	GitgStage* _tmp5_;
	GitgStageStatusItem** _tmp6_;
	gint _tmp6__length1;
	GitgDiffView* _tmp7_;
	GgitDiffOptions* _tmp8_;
	GgitDiffOptions* _tmp9_;
	GitgRepository* _tmp10_;
	GitgDiffView* _tmp11_;
	GitgStageStatusItem** _tmp12_;
	gint _tmp12__length1;
	GitgStageStatusItem** _tmp13_;
	gint _tmp13__length1;
	gboolean _tmp14_;
#line 178 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 178 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (repository != NULL);
#line 178 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (view != NULL);
#line 178 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data5_ = g_slice_new0 (Block5Data);
#line 178 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data5_->_ref_count_ = 1;
#line 178 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data5_->self = g_object_ref (self);
#line 178 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = view;
#line 178 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 178 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data5_->view);
#line 178 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data5_->view = _tmp1_;
#line 178 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = patchable;
#line 178 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data5_->patchable = _tmp2_;
#line 183 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = repository;
#line 183 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = gitg_repository_get_stage (_tmp3_);
#line 183 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = _tmp4_;
#line 183 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data5_->stage = _tmp5_;
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = items;
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp6__length1 = items_length1;
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = _data5_->view;
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = gitg_diff_view_get_options (_tmp7_);
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = _tmp8_;
#line 185 "/home/mcatanzaro/Projects/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 207 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = repository;
#line 207 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp11_ = _data5_->view;
#line 207 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp12_ = items;
#line 207 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp12__length1 = items_length1;
#line 207 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp13_ = (_tmp12_ != NULL) ? _vala_array_dup2 (_tmp12_, _tmp12__length1) : ((gpointer) _tmp12_);
#line 207 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp13__length1 = _tmp12__length1;
#line 207 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp14_ = _data5_->patchable;
#line 207 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_set_unstaged_diff_update_callback (self, _tmp10_, _tmp11_, _tmp13_, _tmp13__length1, _tmp14_);
#line 178 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block5_data_unref (_data5_);
#line 178 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data5_ = NULL;
#line 2018 "gitg-commit.c"
}


static void __lambda26_ (GitgCommitActivity* self, GObject* obj, GAsyncResult* res) {
	GAsyncResult* _tmp0_;
#line 212 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 213 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = res;
#line 213 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_stage_submodule_finish (self, _tmp0_);
#line 215 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_ignore_external_changes = TRUE;
#line 216 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_reload (self);
#line 2034 "gitg-commit.c"
}


static void ___lambda26__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 212 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__lambda26_ ((GitgCommitActivity*) self, source_object, res);
#line 212 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (self);
#line 2043 "gitg-commit.c"
}


static void gitg_commit_activity_stage_submodule_at (GitgCommitActivity* self, GitgCommit* commit) {
	GitgStageStatusSubmodule* _tmp0_;
	GitgCommit* _tmp1_;
#line 210 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 210 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (commit != NULL);
#line 212 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_current_submodule;
#line 212 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = commit;
#line 212 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_stage_submodule (self, _tmp0_, _tmp1_, ___lambda26__gasync_ready_callback, g_object_ref (self));
#line 2060 "gitg-commit.c"
}


static void gitg_commit_activity_stage_submodule_data_free (gpointer _data) {
	GitgCommitActivityStageSubmoduleData* _data_;
	_data_ = _data;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->sub);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->commit);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_slice_free (GitgCommitActivityStageSubmoduleData, _data_);
#line 2075 "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_;
	GitgStageStatusSubmodule* _tmp1_;
	GitgStageStatusSubmodule* _tmp2_;
	GitgCommit* _tmp3_;
	GitgCommit* _tmp4_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_slice_new0 (GitgCommitActivityStageSubmoduleData);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_callback_ == NULL) {
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_task_complete_ = TRUE;
#line 2094 "gitg-commit.c"
	}
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_task_set_task_data (_data_->_async_result, _data_, gitg_commit_activity_stage_submodule_data_free);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->self = _tmp0_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = sub;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->sub);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->sub = _tmp2_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = commit;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->commit);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->commit = _tmp4_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_stage_submodule_co (_data_);
#line 2120 "gitg-commit.c"
}


static gboolean gitg_commit_activity_stage_submodule_finish (GitgCommitActivity* self, GAsyncResult* _res_) {
	gboolean result;
	GitgCommitActivityStageSubmoduleData* _data_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_task_complete_ = TRUE;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = _data_->result;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 2135 "gitg-commit.c"
}


static void gitg_commit_activity_stage_submodule_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgCommitActivityStageSubmoduleData* _data_;
#line 228 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = _user_data_;
#line 228 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_source_object_ = source_object;
#line 228 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_res_ = _res_;
#line 228 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_task_complete_ = TRUE;
#line 228 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_stage_submodule_co (_data_);
#line 2151 "gitg-commit.c"
}


static void _vala_GgitOId_free (GgitOId* self) {
#line 258 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_boxed_free (ggit_oid_get_type (), self);
#line 2158 "gitg-commit.c"
}


static gboolean gitg_commit_activity_stage_submodule_co (GitgCommitActivityStageSubmoduleData* _data_) {
#line 220 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	switch (_data_->_state_) {
#line 220 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 0:
#line 2167 "gitg-commit.c"
		goto _state_0;
#line 220 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 1:
#line 2171 "gitg-commit.c"
		goto _state_1;
#line 220 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 2:
#line 2175 "gitg-commit.c"
		goto _state_2;
		default:
#line 220 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_assert_not_reached ();
#line 2180 "gitg-commit.c"
	}
	_state_0:
#line 222 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 222 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 222 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 222 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp3_ = gitg_ext_application_get_repository (_data_->_tmp2_);
#line 222 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 222 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp5_ = _data_->_tmp4_;
#line 222 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp6_ = gitg_repository_get_stage (_data_->_tmp5_);
#line 222 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp7_ = _data_->_tmp6_;
#line 222 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp8_ = _data_->_tmp7_;
#line 222 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->_tmp5_);
#line 222 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->_tmp2_);
#line 222 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->stage = _data_->_tmp8_;
#line 224 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9_ = _data_->sub;
#line 224 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp10_ = gitg_stage_status_submodule_get_flags (_data_->_tmp9_);
#line 224 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp11_ = _data_->_tmp10_;
#line 224 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if ((_data_->_tmp11_ & GGIT_SUBMODULE_STATUS_WD_DELETED) != 0) {
#line 2215 "gitg-commit.c"
		{
#line 228 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp12_ = _data_->stage;
#line 228 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp13_ = _data_->sub;
#line 228 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp14_ = gitg_stage_status_item_get_path ((GitgStageStatusItem*) _data_->_tmp13_);
#line 228 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp15_ = _data_->_tmp14_;
#line 228 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp16_ = _data_->_tmp15_;
#line 228 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_state_ = 1;
#line 228 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_stage_delete_path (_data_->_tmp12_, _data_->_tmp16_, gitg_commit_activity_stage_submodule_ready, _data_);
#line 228 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 2233 "gitg-commit.c"
			_state_1:
#line 228 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_stage_delete_path_finish (_data_->_tmp12_, _data_->_res_, &_data_->_inner_error_);
#line 228 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->_tmp16_);
#line 228 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 2241 "gitg-commit.c"
				goto __catch7_g_error;
			}
		}
		goto __finally7;
		__catch7_g_error:
		{
#line 226 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->e = _data_->_inner_error_;
#line 226 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_inner_error_ = NULL;
#line 232 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp17_ = _data_->sub;
#line 232 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp18_ = gitg_stage_status_item_get_path ((GitgStageStatusItem*) _data_->_tmp17_);
#line 232 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp19_ = _data_->_tmp18_;
#line 232 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp20_ = _data_->_tmp19_;
#line 232 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp21_ = g_strdup_printf (_ ("Failed to stage the removal of submodule `%s'"), _data_->_tmp20_);
#line 232 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp22_ = _data_->_tmp21_;
#line 232 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->_tmp20_);
#line 232 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->msg = _data_->_tmp22_;
#line 233 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp23_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 233 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp24_ = _data_->_tmp23_;
#line 233 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp25_ = _data_->_tmp24_;
#line 233 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp26_ = _data_->msg;
#line 233 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp27_ = _data_->e;
#line 233 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp28_ = _data_->_tmp27_->message;
#line 233 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_ext_application_show_infobar (_data_->_tmp25_, _data_->_tmp26_, _data_->_tmp28_, GTK_MESSAGE_ERROR);
#line 233 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->_tmp25_);
#line 235 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->result = FALSE;
#line 235 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->msg);
#line 235 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_error_free0 (_data_->e);
#line 235 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->stage);
#line 235 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 235 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			if (_data_->_state_ != 0) {
#line 235 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				while (_data_->_task_complete_ != TRUE) {
#line 235 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 2300 "gitg-commit.c"
				}
			}
#line 235 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_object_unref (_data_->_async_result);
#line 235 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 2307 "gitg-commit.c"
		}
		__finally7:
#line 226 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 226 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->stage);
#line 226 "/home/mcatanzaro/Projects/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 226 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_clear_error (&_data_->_inner_error_);
#line 226 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 2320 "gitg-commit.c"
		}
	} else {
		{
#line 244 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp30_ = _data_->sub;
#line 244 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp31_ = gitg_stage_status_submodule_get_submodule (_data_->_tmp30_);
#line 244 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp32_ = _data_->_tmp31_;
#line 244 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp33_ = ggit_submodule_open (_data_->_tmp32_, &_data_->_inner_error_);
#line 244 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp29_ = _data_->_tmp33_;
#line 244 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 2336 "gitg-commit.c"
				goto __catch8_g_error;
			}
#line 244 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp34_ = _data_->_tmp29_;
#line 244 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp29_ = NULL;
#line 244 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp35_ = G_TYPE_CHECK_INSTANCE_TYPE (_data_->_tmp34_, GITG_TYPE_REPOSITORY) ? ((GitgRepository*) _data_->_tmp34_) : NULL;
#line 244 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			if (_data_->_tmp35_ == NULL) {
#line 244 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_data_->_tmp34_);
#line 2349 "gitg-commit.c"
			}
#line 244 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->repo);
#line 244 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->repo = _data_->_tmp35_;
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->_tmp29_);
#line 2357 "gitg-commit.c"
		}
		goto __finally8;
		__catch8_g_error:
		{
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_vala1_e = _data_->_inner_error_;
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_inner_error_ = NULL;
#line 248 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp36_ = _data_->sub;
#line 248 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp37_ = gitg_stage_status_item_get_path ((GitgStageStatusItem*) _data_->_tmp36_);
#line 248 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp38_ = _data_->_tmp37_;
#line 248 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp39_ = _data_->_tmp38_;
#line 248 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp40_ = g_strdup_printf (_ ("Failed to open the repository of submodule `%s' while trying to stage"), _data_->_tmp39_);
#line 248 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp41_ = _data_->_tmp40_;
#line 248 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->_tmp39_);
#line 248 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_vala1_msg = _data_->_tmp41_;
#line 249 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp42_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 249 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp43_ = _data_->_tmp42_;
#line 249 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp44_ = _data_->_tmp43_;
#line 249 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp45_ = _data_->_vala1_msg;
#line 249 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp46_ = _data_->_vala1_e;
#line 249 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp47_ = _data_->_tmp46_->message;
#line 249 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_ext_application_show_infobar (_data_->_tmp44_, _data_->_tmp45_, _data_->_tmp47_, GTK_MESSAGE_ERROR);
#line 249 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->_tmp44_);
#line 251 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->result = FALSE;
#line 251 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->_vala1_msg);
#line 251 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_error_free0 (_data_->_vala1_e);
#line 251 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->repo);
#line 251 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->stage);
#line 251 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 251 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			if (_data_->_state_ != 0) {
#line 251 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				while (_data_->_task_complete_ != TRUE) {
#line 251 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 2416 "gitg-commit.c"
				}
			}
#line 251 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_object_unref (_data_->_async_result);
#line 251 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 2423 "gitg-commit.c"
		}
		__finally8:
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->repo);
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->stage);
#line 242 "/home/mcatanzaro/Projects/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 242 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_clear_error (&_data_->_inner_error_);
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 2438 "gitg-commit.c"
		}
#line 254 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp48_ = _data_->commit;
#line 254 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (_data_->_tmp48_ == NULL) {
#line 2444 "gitg-commit.c"
			{
				GitgCommit* _tmp58_;
#line 258 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp50_ = _data_->repo;
#line 258 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp51_ = _data_->sub;
#line 258 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp52_ = gitg_stage_status_submodule_get_submodule (_data_->_tmp51_);
#line 258 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp53_ = _data_->_tmp52_;
#line 258 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp54_ = ggit_submodule_get_workdir_id (_data_->_tmp53_);
#line 258 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp55_ = _data_->_tmp54_;
#line 258 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp56_ = gitg_repository_lookup (_data_->_tmp50_, GITG_TYPE_COMMIT, (GBoxedCopyFunc) g_object_ref, g_object_unref, _data_->_tmp55_, &_data_->_inner_error_);
#line 258 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp57_ = (GitgCommit*) _data_->_tmp56_;
#line 258 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				__vala_GgitOId_free0 (_data_->_tmp55_);
#line 258 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp49_ = _data_->_tmp57_;
#line 258 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 2469 "gitg-commit.c"
					goto __catch9_g_error;
				}
#line 258 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp58_ = _g_object_ref0 (_data_->_tmp49_);
#line 258 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_data_->commit);
#line 258 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->commit = _tmp58_;
#line 256 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_data_->_tmp49_);
#line 2480 "gitg-commit.c"
			}
			goto __finally9;
			__catch9_g_error:
			{
#line 256 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_vala2_e = _data_->_inner_error_;
#line 256 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_inner_error_ = NULL;
#line 262 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp59_ = _data_->sub;
#line 262 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp60_ = gitg_stage_status_item_get_path ((GitgStageStatusItem*) _data_->_tmp59_);
#line 262 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp61_ = _data_->_tmp60_;
#line 262 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp62_ = _data_->_tmp61_;
#line 262 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp63_ = g_strdup_printf (_ ("Failed to lookup the working directory commit of submodule `%s' while " \
"trying to stage"), _data_->_tmp62_);
#line 262 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp64_ = _data_->_tmp63_;
#line 262 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_free0 (_data_->_tmp62_);
#line 262 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_vala2_msg = _data_->_tmp64_;
#line 263 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp65_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 263 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp66_ = _data_->_tmp65_;
#line 263 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp67_ = _data_->_tmp66_;
#line 263 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp68_ = _data_->_vala2_msg;
#line 263 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp69_ = _data_->_vala2_e;
#line 263 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp70_ = _data_->_tmp69_->message;
#line 263 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				gitg_ext_application_show_infobar (_data_->_tmp67_, _data_->_tmp68_, _data_->_tmp70_, GTK_MESSAGE_ERROR);
#line 263 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_data_->_tmp67_);
#line 265 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->result = FALSE;
#line 265 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_free0 (_data_->_vala2_msg);
#line 265 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_error_free0 (_data_->_vala2_e);
#line 265 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_data_->repo);
#line 265 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_data_->stage);
#line 265 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 265 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				if (_data_->_state_ != 0) {
#line 265 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					while (_data_->_task_complete_ != TRUE) {
#line 265 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 2539 "gitg-commit.c"
					}
				}
#line 265 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				g_object_unref (_data_->_async_result);
#line 265 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				return FALSE;
#line 2546 "gitg-commit.c"
			}
			__finally9:
#line 256 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 256 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_data_->repo);
#line 256 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_data_->stage);
#line 256 "/home/mcatanzaro/Projects/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 256 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				g_clear_error (&_data_->_inner_error_);
#line 256 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				return FALSE;
#line 2561 "gitg-commit.c"
			}
		}
		{
#line 271 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp71_ = _data_->stage;
#line 271 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp72_ = _data_->sub;
#line 271 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp73_ = gitg_stage_status_item_get_path ((GitgStageStatusItem*) _data_->_tmp72_);
#line 271 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp74_ = _data_->_tmp73_;
#line 271 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp75_ = _data_->_tmp74_;
#line 271 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp76_ = _data_->commit;
#line 271 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_state_ = 2;
#line 271 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_stage_stage_commit (_data_->_tmp71_, _data_->_tmp75_, (GgitCommit*) _data_->_tmp76_, gitg_commit_activity_stage_submodule_ready, _data_);
#line 271 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 2583 "gitg-commit.c"
			_state_2:
#line 271 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_stage_stage_commit_finish (_data_->_tmp71_, _data_->_res_, &_data_->_inner_error_);
#line 271 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->_tmp75_);
#line 271 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 2591 "gitg-commit.c"
				goto __catch10_g_error;
			}
		}
		goto __finally10;
		__catch10_g_error:
		{
#line 269 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_vala3_e = _data_->_inner_error_;
#line 269 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_inner_error_ = NULL;
#line 275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp77_ = _data_->sub;
#line 275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp78_ = gitg_stage_status_item_get_path ((GitgStageStatusItem*) _data_->_tmp77_);
#line 275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp79_ = _data_->_tmp78_;
#line 275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp80_ = _data_->_tmp79_;
#line 275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp81_ = g_strdup_printf (_ ("Failed to stage the submodule `%s'"), _data_->_tmp80_);
#line 275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp82_ = _data_->_tmp81_;
#line 275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->_tmp80_);
#line 275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_vala3_msg = _data_->_tmp82_;
#line 276 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp83_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 276 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp84_ = _data_->_tmp83_;
#line 276 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp85_ = _data_->_tmp84_;
#line 276 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp86_ = _data_->_vala3_msg;
#line 276 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp87_ = _data_->_vala3_e;
#line 276 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp88_ = _data_->_tmp87_->message;
#line 276 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_ext_application_show_infobar (_data_->_tmp85_, _data_->_tmp86_, _data_->_tmp88_, GTK_MESSAGE_ERROR);
#line 276 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->_tmp85_);
#line 278 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->result = FALSE;
#line 278 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->_vala3_msg);
#line 278 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_error_free0 (_data_->_vala3_e);
#line 278 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->repo);
#line 278 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->stage);
#line 278 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 278 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			if (_data_->_state_ != 0) {
#line 278 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				while (_data_->_task_complete_ != TRUE) {
#line 278 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 2652 "gitg-commit.c"
				}
			}
#line 278 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_object_unref (_data_->_async_result);
#line 278 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 2659 "gitg-commit.c"
		}
		__finally10:
#line 269 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 269 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->repo);
#line 269 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->stage);
#line 269 "/home/mcatanzaro/Projects/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 269 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_clear_error (&_data_->_inner_error_);
#line 269 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 2674 "gitg-commit.c"
		}
#line 224 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data_->repo);
#line 2678 "gitg-commit.c"
	}
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->result = TRUE;
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->stage);
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ != 0) {
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 2692 "gitg-commit.c"
		}
	}
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 2699 "gitg-commit.c"
}


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


static void gitg_commit_activity_stage_file (GitgCommitActivity* self, GitgStageStatusFile* file, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgCommitActivityStageFileData* _data_;
	GitgCommitActivity* _tmp0_;
	GitgStageStatusFile* _tmp1_;
	GitgStageStatusFile* _tmp2_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_slice_new0 (GitgCommitActivityStageFileData);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_callback_ == NULL) {
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_task_complete_ = TRUE;
#line 2729 "gitg-commit.c"
	}
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_task_set_task_data (_data_->_async_result, _data_, gitg_commit_activity_stage_file_data_free);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->self = _tmp0_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = file;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->file);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->file = _tmp2_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_stage_file_co (_data_);
#line 2747 "gitg-commit.c"
}


static gboolean gitg_commit_activity_stage_file_finish (GitgCommitActivity* self, GAsyncResult* _res_) {
	gboolean result;
	GitgCommitActivityStageFileData* _data_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_task_complete_ = TRUE;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = _data_->result;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 2762 "gitg-commit.c"
}


static void gitg_commit_activity_stage_file_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgCommitActivityStageFileData* _data_;
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = _user_data_;
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_source_object_ = source_object;
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_res_ = _res_;
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_task_complete_ = TRUE;
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_stage_file_co (_data_);
#line 2778 "gitg-commit.c"
}


static gboolean gitg_commit_activity_stage_file_co (GitgCommitActivityStageFileData* _data_) {
#line 285 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	switch (_data_->_state_) {
#line 285 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 0:
#line 2787 "gitg-commit.c"
		goto _state_0;
#line 285 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 1:
#line 2791 "gitg-commit.c"
		goto _state_1;
#line 285 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 2:
#line 2795 "gitg-commit.c"
		goto _state_2;
		default:
#line 285 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_assert_not_reached ();
#line 2800 "gitg-commit.c"
	}
	_state_0:
#line 287 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 287 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 287 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 287 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp3_ = gitg_ext_application_get_repository (_data_->_tmp2_);
#line 287 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 287 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp5_ = _data_->_tmp4_;
#line 287 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp6_ = gitg_repository_get_stage (_data_->_tmp5_);
#line 287 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp7_ = _data_->_tmp6_;
#line 287 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp8_ = _data_->_tmp7_;
#line 287 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->_tmp5_);
#line 287 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->_tmp2_);
#line 287 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->stage = _data_->_tmp8_;
#line 289 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9_ = _data_->file;
#line 289 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp10_ = gitg_stage_status_file_get_flags (_data_->_tmp9_);
#line 289 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp11_ = _data_->_tmp10_;
#line 289 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if ((_data_->_tmp11_ & GGIT_STATUS_WORKING_TREE_DELETED) != 0) {
#line 2835 "gitg-commit.c"
		{
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp12_ = _data_->stage;
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp13_ = _data_->file;
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp14_ = gitg_stage_status_item_get_path ((GitgStageStatusItem*) _data_->_tmp13_);
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp15_ = _data_->_tmp14_;
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp16_ = _data_->_tmp15_;
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_state_ = 1;
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_stage_delete_path (_data_->_tmp12_, _data_->_tmp16_, gitg_commit_activity_stage_file_ready, _data_);
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 2853 "gitg-commit.c"
			_state_1:
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_stage_delete_path_finish (_data_->_tmp12_, _data_->_res_, &_data_->_inner_error_);
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->_tmp16_);
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 2861 "gitg-commit.c"
				goto __catch11_g_error;
			}
		}
		goto __finally11;
		__catch11_g_error:
		{
#line 291 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->e = _data_->_inner_error_;
#line 291 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_inner_error_ = NULL;
#line 297 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp17_ = _data_->file;
#line 297 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp18_ = gitg_stage_status_item_get_path ((GitgStageStatusItem*) _data_->_tmp17_);
#line 297 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp19_ = _data_->_tmp18_;
#line 297 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp20_ = _data_->_tmp19_;
#line 297 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp21_ = g_strdup_printf (_ ("Failed to stage the removal of file `%s'"), _data_->_tmp20_);
#line 297 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp22_ = _data_->_tmp21_;
#line 297 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->_tmp20_);
#line 297 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->msg = _data_->_tmp22_;
#line 298 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp23_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 298 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp24_ = _data_->_tmp23_;
#line 298 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp25_ = _data_->_tmp24_;
#line 298 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp26_ = _data_->msg;
#line 298 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp27_ = _data_->e;
#line 298 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp28_ = _data_->_tmp27_->message;
#line 298 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_ext_application_show_infobar (_data_->_tmp25_, _data_->_tmp26_, _data_->_tmp28_, GTK_MESSAGE_ERROR);
#line 298 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->_tmp25_);
#line 300 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->result = FALSE;
#line 300 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->msg);
#line 300 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_error_free0 (_data_->e);
#line 300 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->stage);
#line 300 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 300 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			if (_data_->_state_ != 0) {
#line 300 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				while (_data_->_task_complete_ != TRUE) {
#line 300 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 2920 "gitg-commit.c"
				}
			}
#line 300 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_object_unref (_data_->_async_result);
#line 300 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 2927 "gitg-commit.c"
		}
		__finally11:
#line 291 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 291 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->stage);
#line 291 "/home/mcatanzaro/Projects/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 291 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_clear_error (&_data_->_inner_error_);
#line 291 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 2940 "gitg-commit.c"
		}
	} else {
		{
#line 307 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp29_ = _data_->stage;
#line 307 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp30_ = _data_->file;
#line 307 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp31_ = gitg_stage_status_item_get_path ((GitgStageStatusItem*) _data_->_tmp30_);
#line 307 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp32_ = _data_->_tmp31_;
#line 307 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp33_ = _data_->_tmp32_;
#line 307 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_state_ = 2;
#line 307 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_stage_stage_path (_data_->_tmp29_, _data_->_tmp33_, gitg_commit_activity_stage_file_ready, _data_);
#line 307 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 2960 "gitg-commit.c"
			_state_2:
#line 307 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_stage_stage_path_finish (_data_->_tmp29_, _data_->_res_, &_data_->_inner_error_);
#line 307 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->_tmp33_);
#line 307 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 2968 "gitg-commit.c"
				goto __catch12_g_error;
			}
		}
		goto __finally12;
		__catch12_g_error:
		{
#line 305 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_vala1_e = _data_->_inner_error_;
#line 305 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_inner_error_ = NULL;
#line 311 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp34_ = _data_->file;
#line 311 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp35_ = gitg_stage_status_item_get_path ((GitgStageStatusItem*) _data_->_tmp34_);
#line 311 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp36_ = _data_->_tmp35_;
#line 311 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp37_ = _data_->_tmp36_;
#line 311 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp38_ = g_strdup_printf (_ ("Failed to stage the file `%s'"), _data_->_tmp37_);
#line 311 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp39_ = _data_->_tmp38_;
#line 311 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->_tmp37_);
#line 311 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_vala1_msg = _data_->_tmp39_;
#line 312 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp40_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 312 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp41_ = _data_->_tmp40_;
#line 312 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp42_ = _data_->_tmp41_;
#line 312 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp43_ = _data_->_vala1_msg;
#line 312 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp44_ = _data_->_vala1_e;
#line 312 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp45_ = _data_->_tmp44_->message;
#line 312 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_ext_application_show_infobar (_data_->_tmp42_, _data_->_tmp43_, _data_->_tmp45_, GTK_MESSAGE_ERROR);
#line 312 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->_tmp42_);
#line 314 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->result = FALSE;
#line 314 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->_vala1_msg);
#line 314 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_error_free0 (_data_->_vala1_e);
#line 314 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->stage);
#line 314 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 314 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			if (_data_->_state_ != 0) {
#line 314 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				while (_data_->_task_complete_ != TRUE) {
#line 314 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 3027 "gitg-commit.c"
				}
			}
#line 314 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_object_unref (_data_->_async_result);
#line 314 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 3034 "gitg-commit.c"
		}
		__finally12:
#line 305 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 305 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->stage);
#line 305 "/home/mcatanzaro/Projects/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 305 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_clear_error (&_data_->_inner_error_);
#line 305 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 3047 "gitg-commit.c"
		}
	}
#line 318 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->result = TRUE;
#line 318 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->stage);
#line 318 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 318 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ != 0) {
#line 318 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 318 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 3062 "gitg-commit.c"
		}
	}
#line 318 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 318 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 3069 "gitg-commit.c"
}


static void gitg_commit_activity_stage_items_data_free (gpointer _data) {
	GitgCommitActivityStageItemsData* _data_;
	_data_ = _data;
#line 22 "/home/mcatanzaro/Projects/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/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_slice_free (GitgCommitActivityStageItemsData, _data_);
#line 3082 "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_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_slice_new0 (GitgCommitActivityStageItemsData);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_callback_ == NULL) {
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_task_complete_ = TRUE;
#line 3097 "gitg-commit.c"
	}
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_task_set_task_data (_data_->_async_result, _data_, gitg_commit_activity_stage_items_data_free);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->self = _tmp0_;
#line 22 "/home/mcatanzaro/Projects/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/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->items = items;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->items_length1 = items_length1;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_stage_items_co (_data_);
#line 3113 "gitg-commit.c"
}


static void gitg_commit_activity_stage_items_finish (GitgCommitActivity* self, GAsyncResult* _res_) {
	GitgCommitActivityStageItemsData* _data_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_task_complete_ = TRUE;
#line 3123 "gitg-commit.c"
}


static void gitg_commit_activity_stage_items_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgCommitActivityStageItemsData* _data_;
#line 330 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = _user_data_;
#line 330 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_source_object_ = source_object;
#line 330 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_res_ = _res_;
#line 330 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_task_complete_ = TRUE;
#line 330 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_stage_items_co (_data_);
#line 3139 "gitg-commit.c"
}


static gboolean gitg_commit_activity_stage_items_co (GitgCommitActivityStageItemsData* _data_) {
#line 321 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	switch (_data_->_state_) {
#line 321 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 0:
#line 3148 "gitg-commit.c"
		goto _state_0;
#line 321 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 1:
#line 3152 "gitg-commit.c"
		goto _state_1;
#line 321 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 2:
#line 3156 "gitg-commit.c"
		goto _state_2;
		default:
#line 321 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_assert_not_reached ();
#line 3161 "gitg-commit.c"
	}
	_state_0:
#line 323 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = _data_->items;
#line 323 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0__length1 = _data_->items_length1;
#line 3168 "gitg-commit.c"
	{
#line 323 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->item_collection_length1 = 0;
#line 323 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_item_collection_size_ = 0;
#line 323 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->item_collection = _data_->_tmp0_;
#line 323 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->item_collection_length1 = _data_->_tmp0__length1;
#line 323 "/home/mcatanzaro/Projects/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 323 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp1_ = _g_object_ref0 (_data_->item_collection[_data_->item_it]);
#line 323 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->item = _data_->_tmp1_;
#line 3184 "gitg-commit.c"
			{
#line 325 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->ok = TRUE;
#line 327 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp2_ = _data_->item;
#line 327 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				if (G_TYPE_CHECK_INSTANCE_TYPE (_data_->_tmp2_, GITG_TYPE_STAGE_STATUS_FILE)) {
#line 329 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_data_->self->priv->d_ignore_external_changes = TRUE;
#line 330 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp3_ = _data_->item;
#line 330 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_data_->_state_ = 1;
#line 330 "/home/mcatanzaro/Projects/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 330 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					return FALSE;
#line 3202 "gitg-commit.c"
					_state_1:
#line 330 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp4_ = gitg_commit_activity_stage_file_finish (_data_->self, _data_->_res_);
#line 330 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_data_->ok = _data_->_tmp4_;
#line 3208 "gitg-commit.c"
				} else {
#line 332 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp5_ = _data_->item;
#line 332 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					if (G_TYPE_CHECK_INSTANCE_TYPE (_data_->_tmp5_, GITG_TYPE_STAGE_STATUS_SUBMODULE)) {
#line 334 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_data_->self->priv->d_ignore_external_changes = TRUE;
#line 335 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_data_->_tmp6_ = _data_->item;
#line 335 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_data_->_state_ = 2;
#line 335 "/home/mcatanzaro/Projects/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 335 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						return FALSE;
#line 3224 "gitg-commit.c"
						_state_2:
#line 335 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_data_->_tmp7_ = gitg_commit_activity_stage_submodule_finish (_data_->self, _data_->_res_);
#line 335 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_data_->ok = _data_->_tmp7_;
#line 3230 "gitg-commit.c"
					} else {
#line 339 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						g_assert_not_reached ();
#line 3234 "gitg-commit.c"
					}
				}
#line 342 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp8_ = _data_->ok;
#line 342 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				if (!_data_->_tmp8_) {
#line 344 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_g_object_unref0 (_data_->item);
#line 344 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					break;
#line 3245 "gitg-commit.c"
				}
#line 323 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_data_->item);
#line 3249 "gitg-commit.c"
			}
		}
	}
#line 348 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_reload (_data_->self);
#line 321 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->items = (_vala_array_free (_data_->items, _data_->items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 321 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 321 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ != 0) {
#line 321 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 321 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 3265 "gitg-commit.c"
		}
	}
#line 321 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 321 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 3272 "gitg-commit.c"
}


static void gitg_commit_activity_show_ui (GitgCommitActivity* self, GitgCommitActivityUiType type) {
	GitgCommitPaned* _tmp0_;
	GitgCommitSubmoduleHistoryView* _tmp1_;
	GitgCommitSubmoduleHistoryView* _tmp2_;
	GitgCommitActivityUiType _tmp3_;
	GitgCommitPaned* _tmp4_;
	GitgCommitSubmoduleDiffView* _tmp5_;
	GitgCommitSubmoduleDiffView* _tmp6_;
	GitgCommitActivityUiType _tmp7_;
	GitgCommitPaned* _tmp8_;
	GitgDiffView* _tmp9_;
	GitgDiffView* _tmp10_;
	GitgCommitActivityUiType _tmp11_;
	GitgCommitActivityUiType _tmp12_;
	GitgCommitActivityUiType _tmp16_;
	GitgCommitActivityUiType _tmp30_;
#line 351 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 353 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 353 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_submodule_history_view (_tmp0_);
#line 353 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 353 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = type;
#line 353 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp2_, _tmp3_ == GITG_COMMIT_ACTIVITY_UI_TYPE_SUBMODULE_HISTORY);
#line 354 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = self->priv->d_main;
#line 354 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = gitg_commit_paned_get_submodule_diff_view (_tmp4_);
#line 354 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = _tmp5_;
#line 354 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = type;
#line 354 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp6_, _tmp7_ == GITG_COMMIT_ACTIVITY_UI_TYPE_SUBMODULE_DIFF);
#line 355 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = self->priv->d_main;
#line 355 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = gitg_commit_paned_get_diff_view (_tmp8_);
#line 355 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = _tmp9_;
#line 355 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp11_ = type;
#line 355 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp10_, _tmp11_ == GITG_COMMIT_ACTIVITY_UI_TYPE_DIFF);
#line 357 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp12_ = type;
#line 357 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp12_ != GITG_COMMIT_ACTIVITY_UI_TYPE_DIFF) {
#line 3328 "gitg-commit.c"
		GitgCommitPaned* _tmp13_;
		GitgDiffView* _tmp14_;
		GitgDiffView* _tmp15_;
#line 359 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp13_ = self->priv->d_main;
#line 359 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp14_ = gitg_commit_paned_get_diff_view (_tmp13_);
#line 359 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp15_ = _tmp14_;
#line 359 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_diff (_tmp15_, NULL);
#line 3340 "gitg-commit.c"
	}
#line 362 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp16_ = type;
#line 362 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp16_ != GITG_COMMIT_ACTIVITY_UI_TYPE_SUBMODULE_DIFF) {
#line 3346 "gitg-commit.c"
		GitgCommitSubmoduleDiffView* view;
		GitgCommitPaned* _tmp17_;
		GitgCommitSubmoduleDiffView* _tmp18_;
		GitgCommitSubmoduleDiffView* _tmp19_;
		GitgCommitSubmoduleDiffView* _tmp20_;
		GitgCommitSubmoduleDiffView* _tmp21_;
		GitgCommitSubmoduleInfo* _tmp22_;
		GitgCommitSubmoduleInfo* _tmp23_;
		GitgCommitSubmoduleDiffView* _tmp24_;
		GitgDiffView* _tmp25_;
		GitgDiffView* _tmp26_;
		GitgCommitSubmoduleDiffView* _tmp27_;
		GitgDiffView* _tmp28_;
		GitgDiffView* _tmp29_;
#line 364 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp17_ = self->priv->d_main;
#line 364 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp18_ = gitg_commit_paned_get_submodule_diff_view (_tmp17_);
#line 364 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp19_ = _tmp18_;
#line 364 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp20_ = _g_object_ref0 (_tmp19_);
#line 364 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		view = _tmp20_;
#line 366 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp21_ = view;
#line 366 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp22_ = gitg_commit_submodule_diff_view_get_info (_tmp21_);
#line 366 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp23_ = _tmp22_;
#line 366 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_submodule_info_set_submodule (_tmp23_, NULL);
#line 367 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp24_ = view;
#line 367 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp25_ = gitg_commit_submodule_diff_view_get_diff_view_staged (_tmp24_);
#line 367 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp26_ = _tmp25_;
#line 367 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_diff (_tmp26_, NULL);
#line 368 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp27_ = view;
#line 368 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp28_ = gitg_commit_submodule_diff_view_get_diff_view_unstaged (_tmp27_);
#line 368 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp29_ = _tmp28_;
#line 368 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_diff (_tmp29_, NULL);
#line 362 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (view);
#line 3397 "gitg-commit.c"
	}
#line 371 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp30_ = type;
#line 371 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp30_ != GITG_COMMIT_ACTIVITY_UI_TYPE_SUBMODULE_HISTORY) {
#line 3403 "gitg-commit.c"
		GitgCommitSubmoduleHistoryView* view;
		GitgCommitPaned* _tmp31_;
		GitgCommitSubmoduleHistoryView* _tmp32_;
		GitgCommitSubmoduleHistoryView* _tmp33_;
		GitgCommitSubmoduleHistoryView* _tmp34_;
		GitgCommitModel* model;
		GitgCommitSubmoduleHistoryView* _tmp35_;
		GitgCommitListView* _tmp36_;
		GitgCommitListView* _tmp37_;
		GtkTreeModel* _tmp38_;
		GtkTreeModel* _tmp39_;
		GitgCommitModel* _tmp40_;
		GitgCommitModel* _tmp41_;
		GitgCommitSubmoduleHistoryView* _tmp43_;
		GitgDiffView* _tmp44_;
		GitgDiffView* _tmp45_;
#line 373 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp31_ = self->priv->d_main;
#line 373 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp32_ = gitg_commit_paned_get_submodule_history_view (_tmp31_);
#line 373 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp33_ = _tmp32_;
#line 373 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp34_ = _g_object_ref0 (_tmp33_);
#line 373 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		view = _tmp34_;
#line 374 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp35_ = view;
#line 374 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp36_ = gitg_commit_submodule_history_view_get_commit_list_view (_tmp35_);
#line 374 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp37_ = _tmp36_;
#line 374 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp38_ = gtk_tree_view_get_model ((GtkTreeView*) _tmp37_);
#line 374 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp39_ = _tmp38_;
#line 374 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp40_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, GITG_TYPE_COMMIT_MODEL, GitgCommitModel));
#line 374 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		model = _tmp40_;
#line 376 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp41_ = model;
#line 376 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp41_ != NULL) {
#line 3448 "gitg-commit.c"
			GitgCommitModel* _tmp42_;
#line 378 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp42_ = model;
#line 378 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_commit_model_set_repository (_tmp42_, NULL);
#line 3454 "gitg-commit.c"
		}
#line 381 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp43_ = view;
#line 381 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp44_ = gitg_commit_submodule_history_view_get_diff_view (_tmp43_);
#line 381 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp45_ = _tmp44_;
#line 381 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_diff (_tmp45_, NULL);
#line 382 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self->priv->d_current_submodule);
#line 382 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_current_submodule = NULL;
#line 383 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self->priv->d_current_submodule_repository);
#line 383 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_current_submodule_repository = NULL;
#line 371 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (model);
#line 371 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (view);
#line 3476 "gitg-commit.c"
	}
}


static GitgStageStatusItem** _vala_array_dup3 (GitgStageStatusItem** self, int length) {
	GitgStageStatusItem** result;
	int i;
#line 389 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = g_new0 (GitgStageStatusItem*, length + 1);
#line 389 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	for (i = 0; i < length; i++) {
#line 3488 "gitg-commit.c"
		GitgStageStatusItem* _tmp0_;
#line 389 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _g_object_ref0 (self[i]);
#line 389 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		result[i] = _tmp0_;
#line 3494 "gitg-commit.c"
	}
#line 389 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 3498 "gitg-commit.c"
}


static void __lambda21_ (GitgCommitActivity* self, GObject* obj, GAsyncResult* res) {
	GAsyncResult* _tmp0_;
#line 389 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 390 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = res;
#line 390 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_stage_items_finish (self, _tmp0_);
#line 3510 "gitg-commit.c"
}


static void ___lambda21__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 389 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__lambda21_ ((GitgCommitActivity*) self, source_object, res);
#line 389 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (self);
#line 3519 "gitg-commit.c"
}


static void gitg_commit_activity_on_unstaged_activated (GitgCommitActivity* self, GitgStageStatusItem** items, int items_length1) {
	GitgStageStatusItem** _tmp0_;
	gint _tmp0__length1;
	GitgStageStatusItem** _tmp1_;
	gint _tmp1__length1;
#line 387 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 389 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = items;
#line 389 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__length1 = items_length1;
#line 389 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup3 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_);
#line 389 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1__length1 = _tmp0__length1;
#line 389 "/home/mcatanzaro/Projects/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 3540 "gitg-commit.c"
}


static void gitg_commit_activity_show_submodule_diff (GitgCommitActivity* self, GitgStageStatusSubmodule* sub) {
	GitgCommitSubmoduleDiffView* view;
	GitgCommitPaned* _tmp0_;
	GitgCommitSubmoduleDiffView* _tmp1_;
	GitgCommitSubmoduleDiffView* _tmp2_;
	GitgCommitSubmoduleDiffView* _tmp3_;
	GitgCommitSubmoduleDiffView* _tmp4_;
	GitgCommitSubmoduleInfo* _tmp5_;
	GitgCommitSubmoduleInfo* _tmp6_;
	GitgStageStatusSubmodule* _tmp7_;
	GgitSubmodule* _tmp8_;
	GgitSubmodule* _tmp9_;
	GitgRepository* repo = NULL;
	GitgRepository* _tmp23_;
	GitgCommitSubmoduleDiffView* _tmp24_;
	GitgDiffView* _tmp25_;
	GitgDiffView* _tmp26_;
	GitgRepository* _tmp27_;
	GitgCommitSubmoduleDiffView* _tmp28_;
	GitgDiffView* _tmp29_;
	GitgDiffView* _tmp30_;
	GError * _inner_error_ = NULL;
#line 394 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 394 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (sub != NULL);
#line 396 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_show_ui (self, GITG_COMMIT_ACTIVITY_UI_TYPE_SUBMODULE_DIFF);
#line 398 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 398 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_submodule_diff_view (_tmp0_);
#line 398 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 398 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 398 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	view = _tmp3_;
#line 400 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = view;
#line 400 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = gitg_commit_submodule_diff_view_get_info (_tmp4_);
#line 400 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = _tmp5_;
#line 400 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = sub;
#line 400 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = gitg_stage_status_submodule_get_submodule (_tmp7_);
#line 400 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = _tmp8_;
#line 400 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_submodule_info_set_submodule (_tmp6_, _tmp9_);
#line 3596 "gitg-commit.c"
	{
		GgitRepository* _tmp10_;
		GitgStageStatusSubmodule* _tmp11_;
		GgitSubmodule* _tmp12_;
		GgitSubmodule* _tmp13_;
		GgitRepository* _tmp14_;
		GgitRepository* _tmp15_;
		GitgRepository* _tmp16_;
#line 406 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = sub;
#line 406 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp12_ = gitg_stage_status_submodule_get_submodule (_tmp11_);
#line 406 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp13_ = _tmp12_;
#line 406 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp14_ = ggit_submodule_open (_tmp13_, &_inner_error_);
#line 406 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = _tmp14_;
#line 406 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 3617 "gitg-commit.c"
			goto __catch13_g_error;
		}
#line 406 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp15_ = _tmp10_;
#line 406 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = NULL;
#line 406 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp16_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp15_, GITG_TYPE_REPOSITORY) ? ((GitgRepository*) _tmp15_) : NULL;
#line 406 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp16_ == NULL) {
#line 406 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_tmp15_);
#line 3630 "gitg-commit.c"
		}
#line 406 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (repo);
#line 406 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		repo = _tmp16_;
#line 404 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp10_);
#line 3638 "gitg-commit.c"
	}
	goto __finally13;
	__catch13_g_error:
	{
		GError* e = NULL;
		GitgCommitSubmoduleDiffView* _tmp17_;
		GitgDiffView* _tmp18_;
		GitgDiffView* _tmp19_;
		GitgCommitSubmoduleDiffView* _tmp20_;
		GitgDiffView* _tmp21_;
		GitgDiffView* _tmp22_;
#line 404 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		e = _inner_error_;
#line 404 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_inner_error_ = NULL;
#line 410 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp17_ = view;
#line 410 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp18_ = gitg_commit_submodule_diff_view_get_diff_view_staged (_tmp17_);
#line 410 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp19_ = _tmp18_;
#line 410 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_diff (_tmp19_, NULL);
#line 411 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp20_ = view;
#line 411 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp21_ = gitg_commit_submodule_diff_view_get_diff_view_unstaged (_tmp20_);
#line 411 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp22_ = _tmp21_;
#line 411 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_diff (_tmp22_, NULL);
#line 413 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_error_free0 (e);
#line 413 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (repo);
#line 413 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (view);
#line 413 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 3678 "gitg-commit.c"
	}
	__finally13:
#line 404 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 404 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (repo);
#line 404 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (view);
#line 404 "/home/mcatanzaro/Projects/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 404 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 404 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 3693 "gitg-commit.c"
	}
#line 416 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp23_ = repo;
#line 416 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp24_ = view;
#line 416 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp25_ = gitg_commit_submodule_diff_view_get_diff_view_staged (_tmp24_);
#line 416 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp26_ = _tmp25_;
#line 416 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_show_staged_diff_intern (self, _tmp23_, _tmp26_, NULL, 0, FALSE);
#line 417 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp27_ = repo;
#line 417 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp28_ = view;
#line 417 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp29_ = gitg_commit_submodule_diff_view_get_diff_view_unstaged (_tmp28_);
#line 417 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp30_ = _tmp29_;
#line 417 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_show_unstaged_diff_intern (self, _tmp27_, _tmp30_, NULL, 0, FALSE);
#line 394 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (repo);
#line 394 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (view);
#line 3719 "gitg-commit.c"
}


static void gitg_commit_activity_submodule_history_selection_changed (GitgCommitActivity* self, GitgCommit* commit) {
	GitgCommitSubmoduleHistoryView* view;
	GitgCommitPaned* _tmp0_;
	GitgCommitSubmoduleHistoryView* _tmp1_;
	GitgCommitSubmoduleHistoryView* _tmp2_;
	GitgCommitSubmoduleHistoryView* _tmp3_;
	GitgCommit* _tmp4_;
	GitgRepository* _tmp8_;
	GitgRepository* repo;
	GitgRepository* _tmp9_;
	GitgRepository* _tmp10_;
	GgitTree* commit_tree;
	GitgCommit* _tmp11_;
	GgitTree* _tmp12_;
	GgitOId* head;
	GitgStageStatusSubmodule* _tmp13_;
	GgitSubmodule* _tmp14_;
	GgitSubmodule* _tmp15_;
	GgitOId* _tmp16_;
	GgitTree* head_tree;
	GgitOId* _tmp17_;
	GgitDiff* diff = NULL;
	GitgCommitSubmoduleHistoryView* _tmp42_;
	GitgDiffView* _tmp43_;
	GitgDiffView* _tmp44_;
	GitgCommitSubmoduleHistoryView* _tmp45_;
	GitgDiffView* _tmp46_;
	GitgDiffView* _tmp47_;
	GgitDiff* _tmp48_;
	GError * _inner_error_ = NULL;
#line 420 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 422 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 422 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_submodule_history_view (_tmp0_);
#line 422 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 422 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 422 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	view = _tmp3_;
#line 424 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = commit;
#line 424 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp4_ == NULL) {
#line 3769 "gitg-commit.c"
		GitgCommitSubmoduleHistoryView* _tmp5_;
		GitgDiffView* _tmp6_;
		GitgDiffView* _tmp7_;
#line 426 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = view;
#line 426 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = gitg_commit_submodule_history_view_get_diff_view (_tmp5_);
#line 426 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 426 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_diff (_tmp7_, NULL);
#line 427 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (view);
#line 427 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 3785 "gitg-commit.c"
	}
#line 430 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = self->priv->d_current_submodule_repository;
#line 430 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp8_ == NULL) {
#line 432 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (view);
#line 432 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 3795 "gitg-commit.c"
	}
#line 435 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = self->priv->d_current_submodule_repository;
#line 435 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = _g_object_ref0 (_tmp9_);
#line 435 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	repo = _tmp10_;
#line 437 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp11_ = commit;
#line 437 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp12_ = ggit_commit_get_tree ((GgitCommit*) _tmp11_);
#line 437 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	commit_tree = _tmp12_;
#line 439 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp13_ = self->priv->d_current_submodule;
#line 439 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp14_ = gitg_stage_status_submodule_get_submodule (_tmp13_);
#line 439 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp15_ = _tmp14_;
#line 439 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp16_ = ggit_submodule_get_head_id (_tmp15_);
#line 439 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	head = _tmp16_;
#line 440 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	head_tree = NULL;
#line 442 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp17_ = head;
#line 442 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp17_ != NULL) {
#line 3825 "gitg-commit.c"
		GgitCommit* head_commit = NULL;
		GgitCommit* _tmp26_;
		GgitTree* _tmp27_;
		{
			GitgCommit* _tmp18_;
			GitgRepository* _tmp19_;
			GgitOId* _tmp20_;
			gpointer _tmp21_;
			GitgCommit* _tmp22_;
#line 448 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp19_ = repo;
#line 448 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp20_ = head;
#line 448 "/home/mcatanzaro/Projects/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 448 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp18_ = (GitgCommit*) _tmp21_;
#line 448 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 3845 "gitg-commit.c"
				goto __catch14_g_error;
			}
#line 448 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp22_ = _tmp18_;
#line 448 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp18_ = NULL;
#line 448 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (head_commit);
#line 448 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			head_commit = (GgitCommit*) _tmp22_;
#line 446 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_tmp18_);
#line 3858 "gitg-commit.c"
		}
		goto __finally14;
		__catch14_g_error:
		{
			GError* e = NULL;
			FILE* _tmp23_;
			GError* _tmp24_;
			const gchar* _tmp25_;
#line 446 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			e = _inner_error_;
#line 446 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_inner_error_ = NULL;
#line 453 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp23_ = stderr;
#line 453 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp24_ = e;
#line 453 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp25_ = _tmp24_->message;
#line 453 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			fprintf (_tmp23_, "Failed to get head commit: %s\n", _tmp25_);
#line 454 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_error_free0 (e);
#line 454 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (head_commit);
#line 454 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (head_tree);
#line 454 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			__vala_GgitOId_free0 (head);
#line 454 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (commit_tree);
#line 454 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (repo);
#line 454 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (view);
#line 454 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			return;
#line 3895 "gitg-commit.c"
		}
		__finally14:
#line 446 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 446 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (head_commit);
#line 446 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (head_tree);
#line 446 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			__vala_GgitOId_free0 (head);
#line 446 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (commit_tree);
#line 446 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (repo);
#line 446 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (view);
#line 446 "/home/mcatanzaro/Projects/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 446 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_clear_error (&_inner_error_);
#line 446 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			return;
#line 3918 "gitg-commit.c"
		}
#line 457 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp26_ = head_commit;
#line 457 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp27_ = ggit_commit_get_tree (_tmp26_);
#line 457 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (head_tree);
#line 457 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		head_tree = _tmp27_;
#line 442 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (head_commit);
#line 3930 "gitg-commit.c"
	}
	{
		GgitDiff* _tmp28_;
		GitgRepository* _tmp29_;
		GgitTree* _tmp30_;
		GgitTree* _tmp31_;
		GitgCommitSubmoduleHistoryView* _tmp32_;
		GitgDiffView* _tmp33_;
		GitgDiffView* _tmp34_;
		GgitDiffOptions* _tmp35_;
		GgitDiffOptions* _tmp36_;
		GgitDiff* _tmp37_;
		GgitDiff* _tmp38_;
#line 464 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp29_ = repo;
#line 464 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp30_ = head_tree;
#line 464 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp31_ = commit_tree;
#line 464 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp32_ = view;
#line 464 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp33_ = gitg_commit_submodule_history_view_get_diff_view (_tmp32_);
#line 464 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp34_ = _tmp33_;
#line 464 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp35_ = gitg_diff_view_get_options (_tmp34_);
#line 464 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp36_ = _tmp35_;
#line 464 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp37_ = ggit_diff_new_tree_to_tree ((GgitRepository*) _tmp29_, _tmp30_, _tmp31_, _tmp36_, &_inner_error_);
#line 464 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp28_ = _tmp37_;
#line 464 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 3966 "gitg-commit.c"
			goto __catch15_g_error;
		}
#line 464 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp38_ = _tmp28_;
#line 464 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp28_ = NULL;
#line 464 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (diff);
#line 464 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		diff = _tmp38_;
#line 462 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp28_);
#line 3979 "gitg-commit.c"
	}
	goto __finally15;
	__catch15_g_error:
	{
		GError* e = NULL;
		FILE* _tmp39_;
		GError* _tmp40_;
		const gchar* _tmp41_;
#line 462 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		e = _inner_error_;
#line 462 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_inner_error_ = NULL;
#line 469 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp39_ = stderr;
#line 469 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp40_ = e;
#line 469 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp41_ = _tmp40_->message;
#line 469 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		fprintf (_tmp39_, "Failed to get diff: %s\n", _tmp41_);
#line 470 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_error_free0 (e);
#line 470 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (diff);
#line 470 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (head_tree);
#line 470 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		__vala_GgitOId_free0 (head);
#line 470 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (commit_tree);
#line 470 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (repo);
#line 470 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (view);
#line 470 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 4016 "gitg-commit.c"
	}
	__finally15:
#line 462 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 462 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (diff);
#line 462 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (head_tree);
#line 462 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		__vala_GgitOId_free0 (head);
#line 462 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (commit_tree);
#line 462 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (repo);
#line 462 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (view);
#line 462 "/home/mcatanzaro/Projects/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 462 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 462 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 4039 "gitg-commit.c"
	}
#line 473 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp42_ = view;
#line 473 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp43_ = gitg_commit_submodule_history_view_get_diff_view (_tmp42_);
#line 473 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp44_ = _tmp43_;
#line 473 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_diff_view_set_new_is_workdir (_tmp44_, FALSE);
#line 474 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp45_ = view;
#line 474 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp46_ = gitg_commit_submodule_history_view_get_diff_view (_tmp45_);
#line 474 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp47_ = _tmp46_;
#line 474 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp48_ = diff;
#line 474 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_diff_view_set_diff (_tmp47_, _tmp48_);
#line 420 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (diff);
#line 420 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (head_tree);
#line 420 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__vala_GgitOId_free0 (head);
#line 420 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (commit_tree);
#line 420 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (repo);
#line 420 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (view);
#line 4071 "gitg-commit.c"
}


static gpointer _ggit_submodule_ref0 (gpointer self) {
#line 486 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return self ? ggit_submodule_ref (self) : NULL;
#line 4078 "gitg-commit.c"
}


static GgitOId* _vala_GgitOId_copy (GgitOId* self) {
#line 523 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return g_boxed_copy (ggit_oid_get_type (), self);
#line 4085 "gitg-commit.c"
}


static gpointer __vala_GgitOId_copy0 (gpointer self) {
#line 523 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return self ? _vala_GgitOId_copy (self) : NULL;
#line 4092 "gitg-commit.c"
}


static void ___lambda25_ (GitgCommitActivity* self, GitgCommit* commit) {
	GitgCommit* _tmp0_;
#line 530 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (commit != NULL);
#line 531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = commit;
#line 531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_unstage_submodule_at (self, _tmp0_);
#line 4104 "gitg-commit.c"
}


static void ____lambda25__gitg_commit_activity_stage_unstage_submodule_commit_callback (GitgCommit* commit, gpointer self) {
#line 530 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	___lambda25_ ((GitgCommitActivity*) self, commit);
#line 4111 "gitg-commit.c"
}


static void ___lambda28_ (GitgCommitActivity* self, GitgCommit* commit) {
	GitgCommit* _tmp0_;
#line 549 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (commit != NULL);
#line 550 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = commit;
#line 550 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_stage_submodule_at (self, _tmp0_);
#line 4123 "gitg-commit.c"
}


static void ____lambda28__gitg_commit_activity_stage_unstage_submodule_commit_callback (GitgCommit* commit, gpointer self) {
#line 549 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	___lambda28_ ((GitgCommitActivity*) self, commit);
#line 4130 "gitg-commit.c"
}


static void gitg_commit_activity_show_submodule_history (GitgCommitActivity* self, GitgStageStatusSubmodule* sub, GitgCommitActivityIndexType type) {
	GitgRepository* repo = NULL;
	GgitSubmodule* submodule;
	GitgStageStatusSubmodule* _tmp0_;
	GgitSubmodule* _tmp1_;
	GgitSubmodule* _tmp2_;
	GgitSubmodule* _tmp3_;
	GitgStageStatusSubmodule* _tmp12_;
	GitgStageStatusSubmodule* _tmp13_;
	GitgRepository* _tmp14_;
	GitgRepository* _tmp15_;
	GitgCommitSubmoduleHistoryView* view;
	GitgCommitPaned* _tmp16_;
	GitgCommitSubmoduleHistoryView* _tmp17_;
	GitgCommitSubmoduleHistoryView* _tmp18_;
	GitgCommitSubmoduleHistoryView* _tmp19_;
	GitgCommitModel* model;
	GitgCommitSubmoduleHistoryView* _tmp20_;
	GitgCommitListView* _tmp21_;
	GitgCommitListView* _tmp22_;
	GtkTreeModel* _tmp23_;
	GtkTreeModel* _tmp24_;
	GitgCommitModel* _tmp25_;
	GitgCommitModel* _tmp26_;
	GitgCommitActivityIndexType _tmp35_;
	GitgCommitModel* _tmp68_;
	GError * _inner_error_ = NULL;
#line 477 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 477 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (sub != NULL);
#line 480 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_show_ui (self, GITG_COMMIT_ACTIVITY_UI_TYPE_SUBMODULE_HISTORY);
#line 482 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (self->priv->d_current_submodule);
#line 482 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_current_submodule = NULL;
#line 483 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (self->priv->d_current_submodule_repository);
#line 483 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_current_submodule_repository = NULL;
#line 486 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = sub;
#line 486 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_stage_status_submodule_get_submodule (_tmp0_);
#line 486 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 486 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _ggit_submodule_ref0 (_tmp2_);
#line 486 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	submodule = _tmp3_;
#line 4185 "gitg-commit.c"
	{
		GgitRepository* _tmp4_;
		GgitSubmodule* _tmp5_;
		GgitRepository* _tmp6_;
		GgitRepository* _tmp7_;
		GitgRepository* _tmp8_;
#line 490 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = submodule;
#line 490 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = ggit_submodule_open (_tmp5_, &_inner_error_);
#line 490 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = _tmp6_;
#line 490 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4200 "gitg-commit.c"
			goto __catch16_g_error;
		}
#line 490 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp4_;
#line 490 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = NULL;
#line 490 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp7_, GITG_TYPE_REPOSITORY) ? ((GitgRepository*) _tmp7_) : NULL;
#line 490 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp8_ == NULL) {
#line 490 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_tmp7_);
#line 4213 "gitg-commit.c"
		}
#line 490 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (repo);
#line 490 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		repo = _tmp8_;
#line 488 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp4_);
#line 4221 "gitg-commit.c"
	}
	goto __finally16;
	__catch16_g_error:
	{
		GError* e = NULL;
		FILE* _tmp9_;
		GError* _tmp10_;
		const gchar* _tmp11_;
#line 488 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		e = _inner_error_;
#line 488 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_inner_error_ = NULL;
#line 495 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = stderr;
#line 495 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = e;
#line 495 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = _tmp10_->message;
#line 495 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		fprintf (_tmp9_, "Failed to open submodule repository: %s\n", _tmp11_);
#line 496 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_error_free0 (e);
#line 496 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_ggit_submodule_unref0 (submodule);
#line 496 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (repo);
#line 496 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 4250 "gitg-commit.c"
	}
	__finally16:
#line 488 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 488 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_ggit_submodule_unref0 (submodule);
#line 488 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (repo);
#line 488 "/home/mcatanzaro/Projects/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 488 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 488 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 4265 "gitg-commit.c"
	}
#line 499 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp12_ = sub;
#line 499 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp13_ = _g_object_ref0 (_tmp12_);
#line 499 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (self->priv->d_current_submodule);
#line 499 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_current_submodule = _tmp13_;
#line 500 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp14_ = repo;
#line 500 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp15_ = _g_object_ref0 (_tmp14_);
#line 500 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (self->priv->d_current_submodule_repository);
#line 500 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_current_submodule_repository = _tmp15_;
#line 502 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp16_ = self->priv->d_main;
#line 502 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp17_ = gitg_commit_paned_get_submodule_history_view (_tmp16_);
#line 502 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp18_ = _tmp17_;
#line 502 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp19_ = _g_object_ref0 (_tmp18_);
#line 502 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	view = _tmp19_;
#line 503 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp20_ = view;
#line 503 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp21_ = gitg_commit_submodule_history_view_get_commit_list_view (_tmp20_);
#line 503 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp22_ = _tmp21_;
#line 503 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp23_ = gtk_tree_view_get_model ((GtkTreeView*) _tmp22_);
#line 503 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp24_ = _tmp23_;
#line 503 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp25_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, GITG_TYPE_COMMIT_MODEL, GitgCommitModel));
#line 503 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	model = _tmp25_;
#line 505 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp26_ = model;
#line 505 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp26_ == NULL) {
#line 4311 "gitg-commit.c"
		GitgRepository* _tmp27_;
		GitgCommitModel* _tmp28_;
		GitgCommitSubmoduleHistoryView* _tmp29_;
		GitgCommitListView* _tmp30_;
		GitgCommitListView* _tmp31_;
		GitgCommitModel* _tmp32_;
#line 507 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp27_ = repo;
#line 507 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp28_ = gitg_commit_model_new (_tmp27_);
#line 507 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (model);
#line 507 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		model = _tmp28_;
#line 508 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp29_ = view;
#line 508 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp30_ = gitg_commit_submodule_history_view_get_commit_list_view (_tmp29_);
#line 508 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp31_ = _tmp30_;
#line 508 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp32_ = model;
#line 508 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gtk_tree_view_set_model ((GtkTreeView*) _tmp31_, (GtkTreeModel*) _tmp32_);
#line 4336 "gitg-commit.c"
	} else {
		GitgCommitModel* _tmp33_;
		GitgRepository* _tmp34_;
#line 512 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp33_ = model;
#line 512 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp34_ = repo;
#line 512 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_model_set_repository (_tmp33_, _tmp34_);
#line 4346 "gitg-commit.c"
	}
#line 515 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp35_ = type;
#line 515 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp35_ == GITG_COMMIT_ACTIVITY_INDEX_TYPE_STAGED) {
#line 4352 "gitg-commit.c"
		GitgCommitModel* _tmp36_;
		GgitSubmodule* _tmp37_;
		GgitOId* _tmp38_;
		GgitOId** _tmp39_;
		GgitOId** _tmp40_;
		gint _tmp40__length1;
		GgitOId* head_id;
		GgitSubmodule* _tmp41_;
		GgitOId* _tmp42_;
		GgitOId* _tmp43_;
#line 517 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp36_ = model;
#line 517 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp37_ = submodule;
#line 517 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp38_ = ggit_submodule_get_index_id (_tmp37_);
#line 517 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp39_ = g_new0 (GgitOId*, 1 + 1);
#line 517 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp39_[0] = _tmp38_;
#line 517 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp40_ = _tmp39_;
#line 517 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp40__length1 = 1;
#line 517 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_model_set_include (_tmp36_, _tmp40_, 1);
#line 517 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp40_ = (_vala_array_free (_tmp40_, _tmp40__length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 519 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp41_ = submodule;
#line 519 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp42_ = ggit_submodule_get_head_id (_tmp41_);
#line 519 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		head_id = _tmp42_;
#line 521 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp43_ = head_id;
#line 521 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp43_ != NULL) {
#line 4391 "gitg-commit.c"
			GitgCommitModel* _tmp44_;
			GgitOId* _tmp45_;
			GgitOId* _tmp46_;
			GgitOId** _tmp47_;
			GgitOId** _tmp48_;
			gint _tmp48__length1;
#line 523 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp44_ = model;
#line 523 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp45_ = head_id;
#line 523 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp46_ = __vala_GgitOId_copy0 (_tmp45_);
#line 523 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp47_ = g_new0 (GgitOId*, 1 + 1);
#line 523 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp47_[0] = _tmp46_;
#line 523 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp48_ = _tmp47_;
#line 523 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp48__length1 = 1;
#line 523 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_commit_model_set_exclude (_tmp44_, _tmp48_, 1);
#line 523 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp48_ = (_vala_array_free (_tmp48_, _tmp48__length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 4416 "gitg-commit.c"
		} else {
			GitgCommitModel* _tmp49_;
			GgitOId** _tmp50_;
			GgitOId** _tmp51_;
			gint _tmp51__length1;
#line 527 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp49_ = model;
#line 527 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp50_ = g_new0 (GgitOId*, 0 + 1);
#line 527 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp51_ = _tmp50_;
#line 527 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp51__length1 = 0;
#line 527 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_commit_model_set_exclude (_tmp49_, _tmp51_, 0);
#line 527 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp51_ = (_vala_array_free (_tmp51_, _tmp51__length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 4434 "gitg-commit.c"
		}
#line 530 "/home/mcatanzaro/Projects/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 530 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_stage_unstage_submodule_commit_callback = NULL;
#line 530 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_stage_unstage_submodule_commit_callback_target = NULL;
#line 530 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_stage_unstage_submodule_commit_callback_target_destroy_notify = NULL;
#line 530 "/home/mcatanzaro/Projects/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 530 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_stage_unstage_submodule_commit_callback_target = g_object_ref (self);
#line 530 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_stage_unstage_submodule_commit_callback_target_destroy_notify = g_object_unref;
#line 515 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		__vala_GgitOId_free0 (head_id);
#line 4452 "gitg-commit.c"
	} else {
		GgitOId* index_id;
		GgitSubmodule* _tmp52_;
		GgitOId* _tmp53_;
		GitgCommitModel* _tmp54_;
		GgitSubmodule* _tmp55_;
		GgitOId* _tmp56_;
		GgitOId** _tmp57_;
		GgitOId** _tmp58_;
		gint _tmp58__length1;
		GgitOId* _tmp59_;
#line 536 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp52_ = submodule;
#line 536 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp53_ = ggit_submodule_get_index_id (_tmp52_);
#line 536 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		index_id = _tmp53_;
#line 538 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp54_ = model;
#line 538 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp55_ = submodule;
#line 538 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp56_ = ggit_submodule_get_workdir_id (_tmp55_);
#line 538 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp57_ = g_new0 (GgitOId*, 1 + 1);
#line 538 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp57_[0] = _tmp56_;
#line 538 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp58_ = _tmp57_;
#line 538 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp58__length1 = 1;
#line 538 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_model_set_include (_tmp54_, _tmp58_, 1);
#line 538 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp58_ = (_vala_array_free (_tmp58_, _tmp58__length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 540 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp59_ = index_id;
#line 540 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp59_ != NULL) {
#line 4492 "gitg-commit.c"
			GitgCommitModel* _tmp60_;
			GgitOId* _tmp61_;
			GgitOId* _tmp62_;
			GgitOId** _tmp63_;
			GgitOId** _tmp64_;
			gint _tmp64__length1;
#line 542 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp60_ = model;
#line 542 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp61_ = index_id;
#line 542 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp62_ = __vala_GgitOId_copy0 (_tmp61_);
#line 542 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp63_ = g_new0 (GgitOId*, 1 + 1);
#line 542 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp63_[0] = _tmp62_;
#line 542 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp64_ = _tmp63_;
#line 542 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp64__length1 = 1;
#line 542 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_commit_model_set_exclude (_tmp60_, _tmp64_, 1);
#line 542 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp64_ = (_vala_array_free (_tmp64_, _tmp64__length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 4517 "gitg-commit.c"
		} else {
			GitgCommitModel* _tmp65_;
			GgitOId** _tmp66_;
			GgitOId** _tmp67_;
			gint _tmp67__length1;
#line 546 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp65_ = model;
#line 546 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp66_ = g_new0 (GgitOId*, 0 + 1);
#line 546 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp67_ = _tmp66_;
#line 546 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp67__length1 = 0;
#line 546 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_commit_model_set_exclude (_tmp65_, _tmp67_, 0);
#line 546 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp67_ = (_vala_array_free (_tmp67_, _tmp67__length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 4535 "gitg-commit.c"
		}
#line 549 "/home/mcatanzaro/Projects/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 549 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_stage_unstage_submodule_commit_callback = NULL;
#line 549 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_stage_unstage_submodule_commit_callback_target = NULL;
#line 549 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_stage_unstage_submodule_commit_callback_target_destroy_notify = NULL;
#line 549 "/home/mcatanzaro/Projects/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 549 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_stage_unstage_submodule_commit_callback_target = g_object_ref (self);
#line 549 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_stage_unstage_submodule_commit_callback_target_destroy_notify = g_object_unref;
#line 515 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		__vala_GgitOId_free0 (index_id);
#line 4553 "gitg-commit.c"
	}
#line 554 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_submodule_history_select_first = TRUE;
#line 555 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp68_ = model;
#line 555 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_model_reload (_tmp68_);
#line 477 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (model);
#line 477 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (view);
#line 477 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_ggit_submodule_unref0 (submodule);
#line 477 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (repo);
#line 4569 "gitg-commit.c"
}


static Block6Data* block6_data_ref (Block6Data* _data6_) {
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data6_->_ref_count_);
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return _data6_;
#line 4578 "gitg-commit.c"
}


static void block6_data_unref (void * _userdata_) {
	Block6Data* _data6_;
	_data6_ = (Block6Data*) _userdata_;
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data6_->_ref_count_)) {
#line 4587 "gitg-commit.c"
		GitgCommitActivity* self;
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self = _data6_->self;
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data6_->repository);
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data6_->view);
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data6_->items = (_vala_array_free (_data6_->items, _data6_->items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block6Data, _data6_);
#line 4601 "gitg-commit.c"
	}
}


static void __lambda32_ (Block6Data* _data6_) {
	GitgCommitActivity* self;
	GitgRepository* _tmp0_;
	GitgDiffView* _tmp1_;
	GitgStageStatusItem** _tmp2_;
	gint _tmp2__length1;
	gboolean _tmp3_;
#line 563 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data6_->self;
#line 564 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _data6_->repository;
#line 564 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _data6_->view;
#line 564 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _data6_->items;
#line 564 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2__length1 = _data6_->items_length1;
#line 564 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _data6_->patchable;
#line 564 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_show_staged_diff_intern (self, _tmp0_, _tmp1_, _tmp2_, _tmp2__length1, _tmp3_);
#line 4627 "gitg-commit.c"
}


static void ___lambda32__gitg_commit_activity_update_diff_callback (gpointer self) {
#line 563 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__lambda32_ (self);
#line 4634 "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_;
	GitgRepository* _tmp1_;
	GitgDiffView* _tmp2_;
	GitgDiffView* _tmp3_;
	GitgStageStatusItem** _tmp4_;
	gint _tmp4__length1;
	gboolean _tmp5_;
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (repository != NULL);
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (view != NULL);
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data6_ = g_slice_new0 (Block6Data);
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data6_->_ref_count_ = 1;
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data6_->self = g_object_ref (self);
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = repository;
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data6_->repository);
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data6_->repository = _tmp1_;
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = view;
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data6_->view);
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data6_->view = _tmp3_;
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = items;
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4__length1 = items_length1;
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data6_->items = (_vala_array_free (_data6_->items, _data6_->items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data6_->items = _tmp4_;
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data6_->items_length1 = _tmp4__length1;
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = patchable;
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data6_->patchable = _tmp5_;
#line 563 "/home/mcatanzaro/Projects/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 563 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback = NULL;
#line 563 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback_target = NULL;
#line 563 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback_target_destroy_notify = NULL;
#line 563 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback = ___lambda32__gitg_commit_activity_update_diff_callback;
#line 563 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback_target = block6_data_ref (_data6_);
#line 563 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback_target_destroy_notify = block6_data_unref;
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block6_data_unref (_data6_);
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data6_ = NULL;
#line 4707 "gitg-commit.c"
}


static Block7Data* block7_data_ref (Block7Data* _data7_) {
#line 568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data7_->_ref_count_);
#line 568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return _data7_;
#line 4716 "gitg-commit.c"
}


static void block7_data_unref (void * _userdata_) {
	Block7Data* _data7_;
	_data7_ = (Block7Data*) _userdata_;
#line 568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data7_->_ref_count_)) {
#line 4725 "gitg-commit.c"
		GitgCommitActivity* self;
#line 568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self = _data7_->self;
#line 568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data7_->stage);
#line 568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data7_->view);
#line 568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block7Data, _data7_);
#line 4737 "gitg-commit.c"
	}
}


static void __lambda31_ (Block7Data* _data7_, GObject* obj, GAsyncResult* res) {
	GitgCommitActivity* self;
	GError * _inner_error_ = NULL;
#line 575 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data7_->self;
#line 575 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 4749 "gitg-commit.c"
	{
		GgitDiff* d;
		GAsyncResult* _tmp0_;
		GgitDiff* _tmp1_;
		GitgDiffView* _tmp2_;
		GitgDiffView* _tmp3_;
		gboolean _tmp4_;
		GitgCommitPaned* _tmp5_;
		GtkButton* _tmp6_;
		GtkButton* _tmp7_;
		GitgCommitPaned* _tmp8_;
		GtkButton* _tmp9_;
		GtkButton* _tmp10_;
		gboolean _tmp11_;
		GitgCommitPaned* _tmp12_;
		GtkButton* _tmp13_;
		GtkButton* _tmp14_;
		GitgDiffView* _tmp15_;
		GitgDiffView* _tmp16_;
#line 578 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = res;
#line 578 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = gitg_stage_diff_index_all_finish (_data7_->stage, _tmp0_, &_inner_error_);
#line 578 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		d = _tmp1_;
#line 578 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4777 "gitg-commit.c"
			goto __catch17_g_error;
		}
#line 580 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = _data7_->view;
#line 580 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_unstaged (_tmp2_, FALSE);
#line 581 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp3_ = _data7_->view;
#line 581 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = _data7_->patchable;
#line 581 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_staged (_tmp3_, _tmp4_);
#line 583 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = self->priv->d_main;
#line 583 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = gitg_commit_paned_get_button_stage (_tmp5_);
#line 583 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 583 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gtk_button_set_label (_tmp7_, _ ("_Unstage selection"));
#line 584 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = self->priv->d_main;
#line 584 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = gitg_commit_paned_get_button_stage (_tmp8_);
#line 584 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = _tmp9_;
#line 584 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = _data7_->patchable;
#line 584 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp10_, _tmp11_);
#line 585 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp12_ = self->priv->d_main;
#line 585 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp13_ = gitg_commit_paned_get_button_discard (_tmp12_);
#line 585 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp14_ = _tmp13_;
#line 585 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp14_, FALSE);
#line 587 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp15_ = _data7_->view;
#line 587 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_new_is_workdir (_tmp15_, FALSE);
#line 588 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp16_ = _data7_->view;
#line 588 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_diff (_tmp16_, d);
#line 576 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (d);
#line 4826 "gitg-commit.c"
	}
	goto __finally17;
	__catch17_g_error:
	{
		GitgDiffView* _tmp17_;
#line 576 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 576 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_inner_error_ = NULL;
#line 593 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp17_ = _data7_->view;
#line 593 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_diff (_tmp17_, NULL);
#line 4840 "gitg-commit.c"
	}
	__finally17:
#line 576 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 576 "/home/mcatanzaro/Projects/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 576 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 576 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 4851 "gitg-commit.c"
	}
}


static void ___lambda31__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 575 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__lambda31_ (self, source_object, res);
#line 575 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block7_data_unref (self);
#line 4861 "gitg-commit.c"
}


static GitgStageStatusItem** _vala_array_dup4 (GitgStageStatusItem** self, int length) {
	GitgStageStatusItem** result;
	int i;
#line 597 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = g_new0 (GitgStageStatusItem*, length + 1);
#line 597 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	for (i = 0; i < length; i++) {
#line 4872 "gitg-commit.c"
		GitgStageStatusItem* _tmp0_;
#line 597 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _g_object_ref0 (self[i]);
#line 597 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		result[i] = _tmp0_;
#line 4878 "gitg-commit.c"
	}
#line 597 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 4882 "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_;
	GitgDiffView* _tmp1_;
	gboolean _tmp2_;
	GitgRepository* _tmp3_;
	GitgStage* _tmp4_;
	GitgStage* _tmp5_;
	GitgStageStatusItem** _tmp6_;
	gint _tmp6__length1;
	GitgDiffView* _tmp7_;
	GgitDiffOptions* _tmp8_;
	GgitDiffOptions* _tmp9_;
	GitgRepository* _tmp10_;
	GitgDiffView* _tmp11_;
	GitgStageStatusItem** _tmp12_;
	gint _tmp12__length1;
	GitgStageStatusItem** _tmp13_;
	gint _tmp13__length1;
	gboolean _tmp14_;
#line 568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (repository != NULL);
#line 568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (view != NULL);
#line 568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data7_ = g_slice_new0 (Block7Data);
#line 568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data7_->_ref_count_ = 1;
#line 568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data7_->self = g_object_ref (self);
#line 568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = view;
#line 568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data7_->view);
#line 568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data7_->view = _tmp1_;
#line 568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = patchable;
#line 568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data7_->patchable = _tmp2_;
#line 573 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = repository;
#line 573 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = gitg_repository_get_stage (_tmp3_);
#line 573 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = _tmp4_;
#line 573 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data7_->stage = _tmp5_;
#line 575 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = items;
#line 575 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp6__length1 = items_length1;
#line 575 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = _data7_->view;
#line 575 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = gitg_diff_view_get_options (_tmp7_);
#line 575 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = _tmp8_;
#line 575 "/home/mcatanzaro/Projects/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 597 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = repository;
#line 597 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp11_ = _data7_->view;
#line 597 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp12_ = items;
#line 597 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp12__length1 = items_length1;
#line 597 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp13_ = (_tmp12_ != NULL) ? _vala_array_dup4 (_tmp12_, _tmp12__length1) : ((gpointer) _tmp12_);
#line 597 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp13__length1 = _tmp12__length1;
#line 597 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp14_ = _data7_->patchable;
#line 597 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_set_staged_diff_update_callback (self, _tmp10_, _tmp11_, _tmp13_, _tmp13__length1, _tmp14_);
#line 568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block7_data_unref (_data7_);
#line 568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data7_ = NULL;
#line 4970 "gitg-commit.c"
}


static void gitg_commit_activity_show_staged_diff (GitgCommitActivity* self, GitgStageStatusItem** items, int items_length1) {
	gboolean _tmp0_ = FALSE;
	GitgStageStatusItem** _tmp1_;
	gint _tmp1__length1;
#line 600 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 602 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = items;
#line 602 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1__length1 = items_length1;
#line 602 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp1__length1 == 1) {
#line 4986 "gitg-commit.c"
		GitgStageStatusItem** _tmp2_;
		gint _tmp2__length1;
		GitgStageStatusItem* _tmp3_;
#line 602 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = items;
#line 602 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp2__length1 = items_length1;
#line 602 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp3_ = _tmp2_[0];
#line 602 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp3_, GITG_TYPE_STAGE_STATUS_SUBMODULE);
#line 4998 "gitg-commit.c"
	} else {
#line 602 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = FALSE;
#line 5002 "gitg-commit.c"
	}
#line 602 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp0_) {
#line 5006 "gitg-commit.c"
		GitgStageStatusItem** _tmp4_;
		gint _tmp4__length1;
		GitgStageStatusItem* _tmp5_;
#line 604 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = items;
#line 604 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp4__length1 = items_length1;
#line 604 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = _tmp4_[0];
#line 604 "/home/mcatanzaro/Projects/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 5018 "gitg-commit.c"
	} else {
		GitgExtApplication* _tmp6_;
		GitgExtApplication* _tmp7_;
		GitgExtApplication* _tmp8_;
		GitgRepository* _tmp9_;
		GitgRepository* _tmp10_;
		GitgRepository* _tmp11_;
		GitgCommitPaned* _tmp12_;
		GitgDiffView* _tmp13_;
		GitgDiffView* _tmp14_;
		GitgStageStatusItem** _tmp15_;
		gint _tmp15__length1;
#line 608 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_show_ui (self, GITG_COMMIT_ACTIVITY_UI_TYPE_DIFF);
#line 609 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 609 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 609 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = _tmp7_;
#line 609 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = gitg_ext_application_get_repository (_tmp8_);
#line 609 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = _tmp9_;
#line 609 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = _tmp10_;
#line 609 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp12_ = self->priv->d_main;
#line 609 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp13_ = gitg_commit_paned_get_diff_view (_tmp12_);
#line 609 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp14_ = _tmp13_;
#line 609 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp15_ = items;
#line 609 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp15__length1 = items_length1;
#line 609 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_show_staged_diff_intern (self, _tmp11_, _tmp14_, _tmp15_, _tmp15__length1, TRUE);
#line 609 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp11_);
#line 609 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp8_);
#line 5061 "gitg-commit.c"
	}
}


static void gitg_commit_activity_unstage_item_data_free (gpointer _data) {
	GitgCommitActivityUnstageItemData* _data_;
	_data_ = _data;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->item);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_data_->removal_msg);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_data_->unstage_msg);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_slice_free (GitgCommitActivityUnstageItemData, _data_);
#line 5079 "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_;
	GitgStageStatusItem* _tmp1_;
	GitgStageStatusItem* _tmp2_;
	gboolean _tmp3_;
	const gchar* _tmp4_;
	gchar* _tmp5_;
	const gchar* _tmp6_;
	gchar* _tmp7_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_slice_new0 (GitgCommitActivityUnstageItemData);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_callback_ == NULL) {
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_task_complete_ = TRUE;
#line 5101 "gitg-commit.c"
	}
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_task_set_task_data (_data_->_async_result, _data_, gitg_commit_activity_unstage_item_data_free);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->self = _tmp0_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = item;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->item);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->item = _tmp2_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = isnew;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->isnew = _tmp3_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = removal_msg;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = g_strdup (_tmp4_);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_data_->removal_msg);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->removal_msg = _tmp5_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = unstage_msg;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = g_strdup (_tmp6_);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_data_->unstage_msg);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->unstage_msg = _tmp7_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_unstage_item_co (_data_);
#line 5139 "gitg-commit.c"
}


static gboolean gitg_commit_activity_unstage_item_finish (GitgCommitActivity* self, GAsyncResult* _res_) {
	gboolean result;
	GitgCommitActivityUnstageItemData* _data_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_task_complete_ = TRUE;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = _data_->result;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 5154 "gitg-commit.c"
}


static void gitg_commit_activity_unstage_item_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgCommitActivityUnstageItemData* _data_;
#line 621 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = _user_data_;
#line 621 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_source_object_ = source_object;
#line 621 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_res_ = _res_;
#line 621 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_task_complete_ = TRUE;
#line 621 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_unstage_item_co (_data_);
#line 5170 "gitg-commit.c"
}


static gboolean gitg_commit_activity_unstage_item_co (GitgCommitActivityUnstageItemData* _data_) {
#line 613 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	switch (_data_->_state_) {
#line 613 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 0:
#line 5179 "gitg-commit.c"
		goto _state_0;
#line 613 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 1:
#line 5183 "gitg-commit.c"
		goto _state_1;
#line 613 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 2:
#line 5187 "gitg-commit.c"
		goto _state_2;
		default:
#line 613 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_assert_not_reached ();
#line 5192 "gitg-commit.c"
	}
	_state_0:
#line 615 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 615 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 615 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 615 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp3_ = gitg_ext_application_get_repository (_data_->_tmp2_);
#line 615 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 615 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp5_ = _data_->_tmp4_;
#line 615 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp6_ = gitg_repository_get_stage (_data_->_tmp5_);
#line 615 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp7_ = _data_->_tmp6_;
#line 615 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp8_ = _data_->_tmp7_;
#line 615 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->_tmp5_);
#line 615 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->_tmp2_);
#line 615 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->stage = _data_->_tmp8_;
#line 617 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9_ = _data_->isnew;
#line 617 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_tmp9_) {
#line 5223 "gitg-commit.c"
		{
#line 621 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp10_ = _data_->stage;
#line 621 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp11_ = _data_->item;
#line 621 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp12_ = gitg_stage_status_item_get_path (_data_->_tmp11_);
#line 621 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp13_ = _data_->_tmp12_;
#line 621 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp14_ = _data_->_tmp13_;
#line 621 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_state_ = 1;
#line 621 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_stage_delete_path (_data_->_tmp10_, _data_->_tmp14_, gitg_commit_activity_unstage_item_ready, _data_);
#line 621 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 5241 "gitg-commit.c"
			_state_1:
#line 621 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_stage_delete_path_finish (_data_->_tmp10_, _data_->_res_, &_data_->_inner_error_);
#line 621 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->_tmp14_);
#line 621 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 5249 "gitg-commit.c"
				goto __catch18_g_error;
			}
		}
		goto __finally18;
		__catch18_g_error:
		{
#line 619 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->e = _data_->_inner_error_;
#line 619 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_inner_error_ = NULL;
#line 625 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp15_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 625 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp16_ = _data_->_tmp15_;
#line 625 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp17_ = _data_->_tmp16_;
#line 625 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp18_ = _data_->removal_msg;
#line 625 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp19_ = _data_->e;
#line 625 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp20_ = _data_->_tmp19_->message;
#line 625 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_ext_application_show_infobar (_data_->_tmp17_, _data_->_tmp18_, _data_->_tmp20_, GTK_MESSAGE_ERROR);
#line 625 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->_tmp17_);
#line 626 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->result = FALSE;
#line 626 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_error_free0 (_data_->e);
#line 626 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->stage);
#line 626 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 626 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			if (_data_->_state_ != 0) {
#line 626 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				while (_data_->_task_complete_ != TRUE) {
#line 626 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 5290 "gitg-commit.c"
				}
			}
#line 626 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_object_unref (_data_->_async_result);
#line 626 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 5297 "gitg-commit.c"
		}
		__finally18:
#line 619 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 619 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->stage);
#line 619 "/home/mcatanzaro/Projects/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 619 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_clear_error (&_data_->_inner_error_);
#line 619 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 5310 "gitg-commit.c"
		}
	} else {
		{
#line 633 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp21_ = _data_->stage;
#line 633 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp22_ = _data_->item;
#line 633 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp23_ = gitg_stage_status_item_get_path (_data_->_tmp22_);
#line 633 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp24_ = _data_->_tmp23_;
#line 633 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp25_ = _data_->_tmp24_;
#line 633 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_state_ = 2;
#line 633 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_stage_unstage_path (_data_->_tmp21_, _data_->_tmp25_, gitg_commit_activity_unstage_item_ready, _data_);
#line 633 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 5330 "gitg-commit.c"
			_state_2:
#line 633 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_stage_unstage_path_finish (_data_->_tmp21_, _data_->_res_, &_data_->_inner_error_);
#line 633 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (_data_->_tmp25_);
#line 633 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 5338 "gitg-commit.c"
				goto __catch19_g_error;
			}
		}
		goto __finally19;
		__catch19_g_error:
		{
#line 631 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_vala1_e = _data_->_inner_error_;
#line 631 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_inner_error_ = NULL;
#line 637 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp26_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 637 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp27_ = _data_->_tmp26_;
#line 637 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp28_ = _data_->_tmp27_;
#line 637 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp29_ = _data_->unstage_msg;
#line 637 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp30_ = _data_->_vala1_e;
#line 637 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp31_ = _data_->_tmp30_->message;
#line 637 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_ext_application_show_infobar (_data_->_tmp28_, _data_->_tmp29_, _data_->_tmp31_, GTK_MESSAGE_ERROR);
#line 637 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->_tmp28_);
#line 638 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->result = FALSE;
#line 638 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_error_free0 (_data_->_vala1_e);
#line 638 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->stage);
#line 638 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 638 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			if (_data_->_state_ != 0) {
#line 638 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				while (_data_->_task_complete_ != TRUE) {
#line 638 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 5379 "gitg-commit.c"
				}
			}
#line 638 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_object_unref (_data_->_async_result);
#line 638 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 5386 "gitg-commit.c"
		}
		__finally19:
#line 631 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 631 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->stage);
#line 631 "/home/mcatanzaro/Projects/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 631 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_clear_error (&_data_->_inner_error_);
#line 631 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 5399 "gitg-commit.c"
		}
	}
#line 642 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->result = TRUE;
#line 642 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->stage);
#line 642 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 642 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ != 0) {
#line 642 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 642 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 5414 "gitg-commit.c"
		}
	}
#line 642 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 642 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 5421 "gitg-commit.c"
}


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


static void gitg_commit_activity_unstage_file (GitgCommitActivity* self, GitgStageStatusFile* file, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgCommitActivityUnstageFileData* _data_;
	GitgCommitActivity* _tmp0_;
	GitgStageStatusFile* _tmp1_;
	GitgStageStatusFile* _tmp2_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_slice_new0 (GitgCommitActivityUnstageFileData);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_callback_ == NULL) {
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_task_complete_ = TRUE;
#line 5451 "gitg-commit.c"
	}
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_task_set_task_data (_data_->_async_result, _data_, gitg_commit_activity_unstage_file_data_free);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->self = _tmp0_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = file;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->file);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->file = _tmp2_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_unstage_file_co (_data_);
#line 5469 "gitg-commit.c"
}


static gboolean gitg_commit_activity_unstage_file_finish (GitgCommitActivity* self, GAsyncResult* _res_) {
	gboolean result;
	GitgCommitActivityUnstageFileData* _data_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_task_complete_ = TRUE;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = _data_->result;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 5484 "gitg-commit.c"
}


static void gitg_commit_activity_unstage_file_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgCommitActivityUnstageFileData* _data_;
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = _user_data_;
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_source_object_ = source_object;
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_res_ = _res_;
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_task_complete_ = TRUE;
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_unstage_file_co (_data_);
#line 5500 "gitg-commit.c"
}


static gboolean gitg_commit_activity_unstage_file_co (GitgCommitActivityUnstageFileData* _data_) {
#line 645 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	switch (_data_->_state_) {
#line 645 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 0:
#line 5509 "gitg-commit.c"
		goto _state_0;
#line 645 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 1:
#line 5513 "gitg-commit.c"
		goto _state_1;
		default:
#line 645 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_assert_not_reached ();
#line 5518 "gitg-commit.c"
	}
	_state_0:
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = _data_->file;
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp1_ = _data_->file;
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp2_ = gitg_stage_status_file_get_flags (_data_->_tmp1_);
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp3_ = _data_->_tmp2_;
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4_ = _data_->file;
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp5_ = gitg_stage_status_item_get_path ((GitgStageStatusItem*) _data_->_tmp4_);
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp7_ = _data_->_tmp6_;
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp8_ = g_strdup_printf (_ ("Failed to unstage the removal of file `%s'"), _data_->_tmp7_);
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9_ = _data_->_tmp8_;
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp10_ = _data_->file;
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp11_ = gitg_stage_status_item_get_path ((GitgStageStatusItem*) _data_->_tmp10_);
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp12_ = _data_->_tmp11_;
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp13_ = _data_->_tmp12_;
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp14_ = g_strdup_printf (_ ("Failed to unstage the file `%s'"), _data_->_tmp13_);
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp15_ = _data_->_tmp14_;
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_state_ = 1;
#line 647 "/home/mcatanzaro/Projects/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_->_tmp9_, _data_->_tmp15_, gitg_commit_activity_unstage_file_ready, _data_);
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 5559 "gitg-commit.c"
	_state_1:
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp16_ = gitg_commit_activity_unstage_item_finish (_data_->self, _data_->_res_);
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp17_ = _data_->_tmp16_;
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_data_->_tmp15_);
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_data_->_tmp13_);
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_data_->_tmp9_);
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_data_->_tmp7_);
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->result = _data_->_tmp17_;
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ != 0) {
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 5583 "gitg-commit.c"
		}
	}
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 5590 "gitg-commit.c"
}


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


static void gitg_commit_activity_unstage_submodule (GitgCommitActivity* self, GitgStageStatusSubmodule* sub, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgCommitActivityUnstageSubmoduleData* _data_;
	GitgCommitActivity* _tmp0_;
	GitgStageStatusSubmodule* _tmp1_;
	GitgStageStatusSubmodule* _tmp2_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_slice_new0 (GitgCommitActivityUnstageSubmoduleData);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_callback_ == NULL) {
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_task_complete_ = TRUE;
#line 5620 "gitg-commit.c"
	}
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_task_set_task_data (_data_->_async_result, _data_, gitg_commit_activity_unstage_submodule_data_free);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->self = _tmp0_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = sub;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->sub);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->sub = _tmp2_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_unstage_submodule_co (_data_);
#line 5638 "gitg-commit.c"
}


static gboolean gitg_commit_activity_unstage_submodule_finish (GitgCommitActivity* self, GAsyncResult* _res_) {
	gboolean result;
	GitgCommitActivityUnstageSubmoduleData* _data_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_task_complete_ = TRUE;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = _data_->result;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 5653 "gitg-commit.c"
}


static void gitg_commit_activity_unstage_submodule_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgCommitActivityUnstageSubmoduleData* _data_;
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = _user_data_;
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_source_object_ = source_object;
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_res_ = _res_;
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_task_complete_ = TRUE;
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_unstage_submodule_co (_data_);
#line 5669 "gitg-commit.c"
}


static gboolean gitg_commit_activity_unstage_submodule_co (GitgCommitActivityUnstageSubmoduleData* _data_) {
#line 653 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	switch (_data_->_state_) {
#line 653 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 0:
#line 5678 "gitg-commit.c"
		goto _state_0;
#line 653 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 1:
#line 5682 "gitg-commit.c"
		goto _state_1;
		default:
#line 653 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_assert_not_reached ();
#line 5687 "gitg-commit.c"
	}
	_state_0:
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = _data_->sub;
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp1_ = _data_->sub;
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp2_ = gitg_stage_status_submodule_get_flags (_data_->_tmp1_);
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp3_ = _data_->_tmp2_;
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4_ = _data_->sub;
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp5_ = gitg_stage_status_item_get_path ((GitgStageStatusItem*) _data_->_tmp4_);
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp7_ = _data_->_tmp6_;
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp8_ = g_strdup_printf (_ ("Failed to unstage the removal of submodule `%s'"), _data_->_tmp7_);
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9_ = _data_->_tmp8_;
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp10_ = _data_->sub;
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp11_ = gitg_stage_status_item_get_path ((GitgStageStatusItem*) _data_->_tmp10_);
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp12_ = _data_->_tmp11_;
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp13_ = _data_->_tmp12_;
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp14_ = g_strdup_printf (_ ("Failed to unstage the submodule `%s'"), _data_->_tmp13_);
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp15_ = _data_->_tmp14_;
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_state_ = 1;
#line 655 "/home/mcatanzaro/Projects/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_->_tmp9_, _data_->_tmp15_, gitg_commit_activity_unstage_submodule_ready, _data_);
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 5728 "gitg-commit.c"
	_state_1:
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp16_ = gitg_commit_activity_unstage_item_finish (_data_->self, _data_->_res_);
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp17_ = _data_->_tmp16_;
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_data_->_tmp15_);
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_data_->_tmp13_);
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_data_->_tmp9_);
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_data_->_tmp7_);
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->result = _data_->_tmp17_;
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ != 0) {
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 5752 "gitg-commit.c"
		}
	}
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 5759 "gitg-commit.c"
}


static void ___lambda27_ (GitgCommitActivity* self, GObject* obj, GAsyncResult* res) {
	GAsyncResult* _tmp0_;
#line 673 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 674 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = res;
#line 674 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_unstage_submodule_finish (self, _tmp0_);
#line 675 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_reload (self);
#line 5773 "gitg-commit.c"
}


static void ____lambda27__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 673 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	___lambda27_ ((GitgCommitActivity*) self, source_object, res);
#line 673 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (self);
#line 5782 "gitg-commit.c"
}


static void gitg_commit_activity_unstage_submodule_at (GitgCommitActivity* self, GitgCommit* commit) {
	GgitCommitParents* parents;
	GitgCommit* _tmp0_;
	GgitCommitParents* _tmp1_;
	GgitCommitParents* _tmp2_;
	guint _tmp3_;
	guint _tmp4_;
#line 661 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 661 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (commit != NULL);
#line 663 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = commit;
#line 663 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = ggit_commit_get_parents ((GgitCommit*) _tmp0_);
#line 663 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	parents = _tmp1_;
#line 665 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = parents;
#line 665 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = ggit_commit_parents_get_size (_tmp2_);
#line 665 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _tmp3_;
#line 665 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp4_ != ((guint) 0)) {
#line 5811 "gitg-commit.c"
		GgitCommitParents* _tmp5_;
		GgitCommit* _tmp6_;
		GitgCommit* _tmp7_;
		GitgCommit* _tmp8_;
#line 667 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_ignore_external_changes = TRUE;
#line 668 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = parents;
#line 668 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = ggit_commit_parents_get (_tmp5_, (guint) 0);
#line 668 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp6_, GITG_TYPE_COMMIT) ? ((GitgCommit*) _tmp6_) : NULL;
#line 668 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp7_ == NULL) {
#line 668 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_tmp6_);
#line 5828 "gitg-commit.c"
		}
#line 668 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = _tmp7_;
#line 668 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_stage_submodule_at (self, _tmp8_);
#line 668 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp8_);
#line 5836 "gitg-commit.c"
	} else {
		GitgStageStatusSubmodule* _tmp9_;
#line 672 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_ignore_external_changes = TRUE;
#line 673 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = self->priv->d_current_submodule;
#line 673 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_unstage_submodule (self, _tmp9_, ____lambda27__gasync_ready_callback, g_object_ref (self));
#line 5845 "gitg-commit.c"
	}
#line 661 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (parents);
#line 5849 "gitg-commit.c"
}


static void gitg_commit_activity_unstage_items_data_free (gpointer _data) {
	GitgCommitActivityUnstageItemsData* _data_;
	_data_ = _data;
#line 22 "/home/mcatanzaro/Projects/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/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_slice_free (GitgCommitActivityUnstageItemsData, _data_);
#line 5862 "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_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_slice_new0 (GitgCommitActivityUnstageItemsData);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_callback_ == NULL) {
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_task_complete_ = TRUE;
#line 5877 "gitg-commit.c"
	}
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_task_set_task_data (_data_->_async_result, _data_, gitg_commit_activity_unstage_items_data_free);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->self = _tmp0_;
#line 22 "/home/mcatanzaro/Projects/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/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->items = items;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->items_length1 = items_length1;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_unstage_items_co (_data_);
#line 5893 "gitg-commit.c"
}


static void gitg_commit_activity_unstage_items_finish (GitgCommitActivity* self, GAsyncResult* _res_) {
	GitgCommitActivityUnstageItemsData* _data_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_task_complete_ = TRUE;
#line 5903 "gitg-commit.c"
}


static void gitg_commit_activity_unstage_items_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgCommitActivityUnstageItemsData* _data_;
#line 689 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = _user_data_;
#line 689 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_source_object_ = source_object;
#line 689 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_res_ = _res_;
#line 689 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_task_complete_ = TRUE;
#line 689 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_unstage_items_co (_data_);
#line 5919 "gitg-commit.c"
}


static gboolean gitg_commit_activity_unstage_items_co (GitgCommitActivityUnstageItemsData* _data_) {
#line 680 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	switch (_data_->_state_) {
#line 680 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 0:
#line 5928 "gitg-commit.c"
		goto _state_0;
#line 680 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 1:
#line 5932 "gitg-commit.c"
		goto _state_1;
#line 680 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 2:
#line 5936 "gitg-commit.c"
		goto _state_2;
		default:
#line 680 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_assert_not_reached ();
#line 5941 "gitg-commit.c"
	}
	_state_0:
#line 682 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = _data_->items;
#line 682 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0__length1 = _data_->items_length1;
#line 5948 "gitg-commit.c"
	{
#line 682 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->item_collection_length1 = 0;
#line 682 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_item_collection_size_ = 0;
#line 682 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->item_collection = _data_->_tmp0_;
#line 682 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->item_collection_length1 = _data_->_tmp0__length1;
#line 682 "/home/mcatanzaro/Projects/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 682 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp1_ = _g_object_ref0 (_data_->item_collection[_data_->item_it]);
#line 682 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->item = _data_->_tmp1_;
#line 5964 "gitg-commit.c"
			{
#line 684 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->ok = TRUE;
#line 686 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp2_ = _data_->item;
#line 686 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				if (G_TYPE_CHECK_INSTANCE_TYPE (_data_->_tmp2_, GITG_TYPE_STAGE_STATUS_FILE)) {
#line 688 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_data_->self->priv->d_ignore_external_changes = TRUE;
#line 689 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp3_ = _data_->item;
#line 689 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_data_->_state_ = 1;
#line 689 "/home/mcatanzaro/Projects/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 689 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					return FALSE;
#line 5982 "gitg-commit.c"
					_state_1:
#line 689 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp4_ = gitg_commit_activity_unstage_file_finish (_data_->self, _data_->_res_);
#line 689 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_data_->ok = _data_->_tmp4_;
#line 5988 "gitg-commit.c"
				} else {
#line 691 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp5_ = _data_->item;
#line 691 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					if (G_TYPE_CHECK_INSTANCE_TYPE (_data_->_tmp5_, GITG_TYPE_STAGE_STATUS_SUBMODULE)) {
#line 693 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_data_->self->priv->d_ignore_external_changes = TRUE;
#line 694 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_data_->_tmp6_ = _data_->item;
#line 694 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_data_->_state_ = 2;
#line 694 "/home/mcatanzaro/Projects/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 694 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						return FALSE;
#line 6004 "gitg-commit.c"
						_state_2:
#line 694 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_data_->_tmp7_ = gitg_commit_activity_unstage_submodule_finish (_data_->self, _data_->_res_);
#line 694 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_data_->ok = _data_->_tmp7_;
#line 6010 "gitg-commit.c"
					} else {
#line 698 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						g_assert_not_reached ();
#line 6014 "gitg-commit.c"
					}
				}
#line 701 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp8_ = _data_->ok;
#line 701 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				if (!_data_->_tmp8_) {
#line 703 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_g_object_unref0 (_data_->item);
#line 703 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					break;
#line 6025 "gitg-commit.c"
				}
#line 682 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_data_->item);
#line 6029 "gitg-commit.c"
			}
		}
	}
#line 707 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_reload (_data_->self);
#line 680 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->items = (_vala_array_free (_data_->items, _data_->items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 680 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 680 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ != 0) {
#line 680 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 680 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 6045 "gitg-commit.c"
		}
	}
#line 680 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 680 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 6052 "gitg-commit.c"
}


static GitgStageStatusItem** _vala_array_dup5 (GitgStageStatusItem** self, int length) {
	GitgStageStatusItem** result;
	int i;
#line 712 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = g_new0 (GitgStageStatusItem*, length + 1);
#line 712 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	for (i = 0; i < length; i++) {
#line 6063 "gitg-commit.c"
		GitgStageStatusItem* _tmp0_;
#line 712 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _g_object_ref0 (self[i]);
#line 712 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		result[i] = _tmp0_;
#line 6069 "gitg-commit.c"
	}
#line 712 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 6073 "gitg-commit.c"
}


static void __lambda16_ (GitgCommitActivity* self, GObject* obj, GAsyncResult* res) {
	GAsyncResult* _tmp0_;
#line 712 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 713 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = res;
#line 713 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_unstage_items_finish (self, _tmp0_);
#line 6085 "gitg-commit.c"
}


static void ___lambda16__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 712 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__lambda16_ ((GitgCommitActivity*) self, source_object, res);
#line 712 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (self);
#line 6094 "gitg-commit.c"
}


static void gitg_commit_activity_on_staged_activated (GitgCommitActivity* self, GitgStageStatusItem** items, int items_length1) {
	GitgStageStatusItem** _tmp0_;
	gint _tmp0__length1;
	GitgStageStatusItem** _tmp1_;
	gint _tmp1__length1;
#line 710 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 712 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = items;
#line 712 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__length1 = items_length1;
#line 712 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup5 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_);
#line 712 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1__length1 = _tmp0__length1;
#line 712 "/home/mcatanzaro/Projects/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 6115 "gitg-commit.c"
}


static Block8Data* block8_data_ref (Block8Data* _data8_) {
#line 717 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data8_->_ref_count_);
#line 717 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return _data8_;
#line 6124 "gitg-commit.c"
}


static void block8_data_unref (void * _userdata_) {
	Block8Data* _data8_;
	_data8_ = (Block8Data*) _userdata_;
#line 717 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data8_->_ref_count_)) {
#line 6133 "gitg-commit.c"
		GitgCommitActivity* self;
#line 717 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self = _data8_->self;
#line 717 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 717 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block8Data, _data8_);
#line 6141 "gitg-commit.c"
	}
}


static GitgStageStatusItem** _vala_array_dup6 (GitgStageStatusItem** self, int length) {
	GitgStageStatusItem** result;
	int i;
#line 725 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = g_new0 (GitgStageStatusItem*, length + 1);
#line 725 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	for (i = 0; i < length; i++) {
#line 6153 "gitg-commit.c"
		GitgStageStatusItem* _tmp0_;
#line 725 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _g_object_ref0 (self[i]);
#line 725 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		result[i] = _tmp0_;
#line 6159 "gitg-commit.c"
	}
#line 725 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 6163 "gitg-commit.c"
}


static gint __lambda17_ (GitgCommitActivity* self, GitgStageStatusItem* a, GitgStageStatusItem* b) {
	gint result = 0;
	GitgStageStatusItem* _tmp0_;
	gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
	gchar* _tmp4_;
	gchar* _tmp5_;
	GitgStageStatusItem* _tmp6_;
	gchar* _tmp7_;
	gchar* _tmp8_;
	gchar* _tmp9_;
	gchar* _tmp10_;
	gchar* _tmp11_;
	gint _tmp12_;
	gint _tmp13_;
#line 727 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (a != NULL, 0);
#line 727 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (b != NULL, 0);
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = a;
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_stage_status_item_get_path (_tmp0_);
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _tmp2_;
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = g_utf8_casefold (_tmp3_, (gssize) -1);
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = _tmp4_;
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = b;
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = gitg_stage_status_item_get_path (_tmp6_);
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = _tmp7_;
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = _tmp8_;
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = g_utf8_casefold (_tmp9_, (gssize) -1);
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp11_ = _tmp10_;
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp12_ = g_utf8_collate (_tmp5_, _tmp11_);
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp13_ = _tmp12_;
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_tmp11_);
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_tmp9_);
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_tmp5_);
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_tmp3_);
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = _tmp13_;
#line 728 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 6227 "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 727 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 6236 "gitg-commit.c"
}


static Block9Data* block9_data_ref (Block9Data* _data9_) {
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data9_->_ref_count_);
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return _data9_;
#line 6245 "gitg-commit.c"
}


static void block9_data_unref (void * _userdata_) {
	Block9Data* _data9_;
	_data9_ = (Block9Data*) _userdata_;
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data9_->_ref_count_)) {
#line 6254 "gitg-commit.c"
		GitgCommitActivity* self;
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self = _data9_->_data8_->self;
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data9_->sitem);
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		block8_data_unref (_data9_->_data8_);
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data9_->_data8_ = NULL;
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block9Data, _data9_);
#line 6266 "gitg-commit.c"
	}
}


static void _vala_array_add2 (GitgCommitSidebarItem** * array, int* length, int* size, GitgCommitSidebarItem* value) {
#line 737 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if ((*length) == (*size)) {
#line 737 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 737 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		*array = g_renew (GitgCommitSidebarItem*, *array, (*size) + 1);
#line 6278 "gitg-commit.c"
	}
#line 737 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	(*array)[(*length)++] = value;
#line 737 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	(*array)[*length] = NULL;
#line 6284 "gitg-commit.c"
}


static void ____lambda18_ (Block9Data* _data9_, gint numclick) {
	Block8Data* _data8_;
	GitgCommitActivity* self;
	GitgCommitActivityStageUnstageCallback _tmp0_;
	void* _tmp0__target;
	GitgCommitSidebarItem* _tmp1_;
#line 740 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data8_ = _data9_->_data8_;
#line 740 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data8_->self;
#line 741 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _data8_->callback;
#line 741 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__target = _data8_->callback_target;
#line 741 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _data9_->sitem;
#line 741 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ (_tmp1_, _tmp0__target);
#line 6306 "gitg-commit.c"
}


static void _____lambda18__gitg_sidebar_item_activated (GitgSidebarItem* _sender, gint numclick, gpointer self) {
#line 740 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	____lambda18_ (self, numclick);
#line 6313 "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_;
	void* _tmp0__target;
	GitgCommitSidebarItem** ret;
	GitgCommitSidebarItem** _tmp1_;
	gint ret_length1;
	gint _ret_size_;
	GeeArrayList* sorted;
	GitgStageStatusItem** _tmp2_;
	gint _tmp2__length1;
	GitgStageStatusItem** _tmp3_;
	gint _tmp3__length1;
	GeeArrayList* _tmp4_;
	GeeArrayList* _tmp5_;
	GitgCommitSidebarItem** _tmp36_;
	gint _tmp36__length1;
#line 717 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 717 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (model != NULL, NULL);
#line 717 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data8_ = g_slice_new0 (Block8Data);
#line 717 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data8_->_ref_count_ = 1;
#line 717 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data8_->self = g_object_ref (self);
#line 717 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = callback;
#line 717 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__target = callback_target;
#line 717 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data8_->callback = _tmp0_;
#line 717 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data8_->callback_target = _tmp0__target;
#line 723 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = g_new0 (GitgCommitSidebarItem*, 0 + 1);
#line 723 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	ret = _tmp1_;
#line 723 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	ret_length1 = 0;
#line 723 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_ret_size_ = ret_length1;
#line 725 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = items;
#line 725 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2__length1 = items_length1;
#line 725 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = (_tmp2_ != NULL) ? _vala_array_dup6 (_tmp2_, _tmp2__length1) : ((gpointer) _tmp2_);
#line 725 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3__length1 = _tmp2__length1;
#line 725 "/home/mcatanzaro/Projects/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 725 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	sorted = _tmp4_;
#line 727 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = sorted;
#line 727 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gee_list_sort ((GeeList*) _tmp5_, ___lambda17__gcompare_data_func, g_object_ref (self), g_object_unref);
#line 6377 "gitg-commit.c"
	{
		GeeArrayList* _item_list;
		GeeArrayList* _tmp6_;
		GeeArrayList* _tmp7_;
		gint _item_size;
		GeeArrayList* _tmp8_;
		gint _tmp9_;
		gint _tmp10_;
		gint _item_index;
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = sorted;
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _g_object_ref0 (_tmp6_);
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_item_list = _tmp7_;
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = _item_list;
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp8_);
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = _tmp9_;
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_item_size = _tmp10_;
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_item_index = -1;
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		while (TRUE) {
#line 6405 "gitg-commit.c"
			Block9Data* _data9_;
			gint _tmp11_;
			gint _tmp12_;
			gint _tmp13_;
			GitgStageStatusItem* item;
			GeeArrayList* _tmp14_;
			gint _tmp15_;
			gpointer _tmp16_;
			GitgStageStatusItem* _tmp17_;
			GitgCommitSidebarItemType _tmp18_;
			GitgCommitSidebarItem* _tmp19_;
			gboolean _tmp20_ = FALSE;
			GeeHashSet* _tmp21_;
			GitgCommitSidebarItem* _tmp31_;
			GitgSidebarStore* _tmp32_;
			GitgCommitSidebarItem* _tmp33_;
			GitgSidebarStore* _tmp34_;
			GitgSidebarStore* _tmp35_;
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data9_ = g_slice_new0 (Block9Data);
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data9_->_ref_count_ = 1;
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data9_->_data8_ = block8_data_ref (_data8_);
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp11_ = _item_index;
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_item_index = _tmp11_ + 1;
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp12_ = _item_index;
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp13_ = _item_size;
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			if (!(_tmp12_ < _tmp13_)) {
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				block9_data_unref (_data9_);
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data9_ = NULL;
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				break;
#line 6446 "gitg-commit.c"
			}
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp14_ = _item_list;
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp15_ = _item_index;
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp16_ = gee_abstract_list_get ((GeeAbstractList*) _tmp14_, _tmp15_);
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			item = (GitgStageStatusItem*) _tmp16_;
#line 733 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp17_ = item;
#line 733 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp18_ = type;
#line 733 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp19_ = gitg_commit_sidebar_item_new (_tmp17_, _tmp18_);
#line 733 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data9_->sitem = _tmp19_;
#line 735 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp21_ = selected_paths;
#line 735 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			if (_tmp21_ != NULL) {
#line 6468 "gitg-commit.c"
				GeeHashSet* _tmp22_;
				GitgStageStatusItem* _tmp23_;
				gchar* _tmp24_;
				gchar* _tmp25_;
				gchar* _tmp26_;
				gboolean _tmp27_;
#line 735 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp22_ = selected_paths;
#line 735 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp23_ = item;
#line 735 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp24_ = gitg_stage_status_item_get_path (_tmp23_);
#line 735 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp25_ = _tmp24_;
#line 735 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp26_ = _tmp25_;
#line 735 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp27_ = gee_abstract_collection_contains ((GeeAbstractCollection*) _tmp22_, _tmp26_);
#line 735 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp20_ = _tmp27_;
#line 735 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_free0 (_tmp26_);
#line 6491 "gitg-commit.c"
			} else {
#line 735 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp20_ = FALSE;
#line 6495 "gitg-commit.c"
			}
#line 735 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			if (_tmp20_) {
#line 6499 "gitg-commit.c"
				GitgCommitSidebarItem** _tmp28_;
				gint _tmp28__length1;
				GitgCommitSidebarItem* _tmp29_;
				GitgCommitSidebarItem* _tmp30_;
#line 737 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp28_ = ret;
#line 737 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp28__length1 = ret_length1;
#line 737 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp29_ = _data9_->sitem;
#line 737 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp30_ = _g_object_ref0 (_tmp29_);
#line 737 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_vala_array_add2 (&ret, &ret_length1, &_ret_size_, _tmp30_);
#line 6514 "gitg-commit.c"
			}
#line 740 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp31_ = _data9_->sitem;
#line 740 "/home/mcatanzaro/Projects/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 744 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp32_ = model;
#line 744 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp33_ = _data9_->sitem;
#line 744 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp34_ = gitg_sidebar_store_append (_tmp32_, (GitgSidebarItem*) _tmp33_);
#line 744 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp35_ = _tmp34_;
#line 744 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_tmp35_);
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (item);
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			block9_data_unref (_data9_);
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data9_ = NULL;
#line 6536 "gitg-commit.c"
		}
#line 731 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_item_list);
#line 6540 "gitg-commit.c"
	}
#line 747 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp36_ = ret;
#line 747 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp36__length1 = ret_length1;
#line 747 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (result_length1) {
#line 747 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		*result_length1 = _tmp36__length1;
#line 6550 "gitg-commit.c"
	}
#line 747 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = _tmp36_;
#line 747 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (sorted);
#line 747 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block8_data_unref (_data8_);
#line 747 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data8_ = NULL;
#line 747 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 6562 "gitg-commit.c"
}


static Block10Data* block10_data_ref (Block10Data* _data10_) {
#line 750 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data10_->_ref_count_);
#line 750 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return _data10_;
#line 6571 "gitg-commit.c"
}


static void block10_data_unref (void * _userdata_) {
	Block10Data* _data10_;
	_data10_ = (Block10Data*) _userdata_;
#line 750 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data10_->_ref_count_)) {
#line 6580 "gitg-commit.c"
		GitgCommitActivity* self;
#line 750 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self = _data10_->self;
#line 750 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data10_->enumerator);
#line 750 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data10_->selected_paths);
#line 750 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data10_->model);
#line 750 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 750 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block10Data, _data10_);
#line 6594 "gitg-commit.c"
	}
}


static Block11Data* block11_data_ref (Block11Data* _data11_) {
#line 782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data11_->_ref_count_);
#line 782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return _data11_;
#line 6604 "gitg-commit.c"
}


static void block11_data_unref (void * _userdata_) {
	Block11Data* _data11_;
	_data11_ = (Block11Data*) _userdata_;
#line 782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data11_->_ref_count_)) {
#line 6613 "gitg-commit.c"
		GitgCommitActivity* self;
#line 782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self = _data11_->_data10_->self;
#line 782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data11_->ac);
#line 782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		block10_data_unref (_data11_->_data10_);
#line 782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data11_->_data10_ = NULL;
#line 782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block11Data, _data11_);
#line 6625 "gitg-commit.c"
	}
}


static void ____lambda13_ (Block11Data* _data11_, GObject* obj, GAsyncResult* res) {
	Block10Data* _data10_;
	GitgCommitActivity* self;
	GitgAvatarCache* _tmp0_;
	GAsyncResult* _tmp1_;
	GdkPixbuf* _tmp2_;
	GdkPixbuf* _tmp3_;
#line 787 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data10_ = _data11_->_data10_;
#line 787 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data10_->self;
#line 787 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 788 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _data11_->ac;
#line 788 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = res;
#line 788 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = gitg_avatar_cache_load_finish (_tmp0_, _tmp1_);
#line 788 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _tmp2_;
#line 788 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp3_);
#line 6653 "gitg-commit.c"
}


static void _____lambda13__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 787 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	____lambda13_ (self, source_object, res);
#line 787 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block11_data_unref (self);
#line 6662 "gitg-commit.c"
}


static void _vala_array_add3 (GitgStageStatusItem** * array, int* length, int* size, GitgStageStatusItem* value) {
#line 827 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if ((*length) == (*size)) {
#line 827 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 827 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		*array = g_renew (GitgStageStatusItem*, *array, (*size) + 1);
#line 6673 "gitg-commit.c"
	}
#line 827 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	(*array)[(*length)++] = value;
#line 827 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	(*array)[*length] = NULL;
#line 6679 "gitg-commit.c"
}


static void _vala_array_add4 (GitgStageStatusItem** * array, int* length, int* size, GitgStageStatusItem* value) {
#line 832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if ((*length) == (*size)) {
#line 832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		*array = g_renew (GitgStageStatusItem*, *array, (*size) + 1);
#line 6690 "gitg-commit.c"
	}
#line 832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	(*array)[(*length)++] = value;
#line 832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	(*array)[*length] = NULL;
#line 6696 "gitg-commit.c"
}


static void _vala_array_add5 (GitgStageStatusItem** * array, int* length, int* size, GitgStageStatusItem* value) {
#line 837 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if ((*length) == (*size)) {
#line 837 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 837 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		*array = g_renew (GitgStageStatusItem*, *array, (*size) + 1);
#line 6707 "gitg-commit.c"
	}
#line 837 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	(*array)[(*length)++] = value;
#line 837 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	(*array)[*length] = NULL;
#line 6713 "gitg-commit.c"
}


static void _vala_array_add6 (GitgStageStatusItem** * array, int* length, int* size, GitgStageStatusItem* value) {
#line 848 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if ((*length) == (*size)) {
#line 848 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 848 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		*array = g_renew (GitgStageStatusItem*, *array, (*size) + 1);
#line 6724 "gitg-commit.c"
	}
#line 848 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	(*array)[(*length)++] = value;
#line 848 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	(*array)[*length] = NULL;
#line 6730 "gitg-commit.c"
}


static void __lambda15_ (GitgCommitActivity* self, gint numclick) {
#line 865 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_on_unstage_selected_items (self);
#line 6737 "gitg-commit.c"
}


static void ___lambda15__gitg_sidebar_item_activated (GitgSidebarItem* _sender, gint numclick, gpointer self) {
#line 864 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__lambda15_ ((GitgCommitActivity*) self, numclick);
#line 6744 "gitg-commit.c"
}


static void ___lambda19_ (GitgCommitActivity* self, GitgCommitSidebarItem* item) {
	GitgCommitPaned* _tmp0_;
	GitgCommitSidebar* _tmp1_;
	GitgCommitSidebar* _tmp2_;
	GitgCommitSidebarItem* _tmp3_;
	gboolean _tmp4_;
#line 878 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (item != NULL);
#line 879 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 879 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_sidebar (_tmp0_);
#line 879 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 879 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = item;
#line 879 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = gitg_sidebar_is_selected ((GitgSidebar*) _tmp2_, (GitgSidebarItem*) _tmp3_);
#line 879 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp4_) {
#line 881 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_on_unstage_selected_items (self);
#line 6770 "gitg-commit.c"
	} else {
		GitgCommitSidebarItem* _tmp5_;
		GitgStageStatusItem* _tmp6_;
		GitgStageStatusItem* _tmp7_;
		GitgStageStatusItem* _tmp8_;
		GitgStageStatusItem** _tmp9_;
		GitgStageStatusItem** _tmp10_;
		gint _tmp10__length1;
#line 885 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = item;
#line 885 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = gitg_commit_sidebar_item_get_item (_tmp5_);
#line 885 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 885 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = _g_object_ref0 (_tmp7_);
#line 885 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = g_new0 (GitgStageStatusItem*, 1 + 1);
#line 885 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_[0] = _tmp8_;
#line 885 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = _tmp9_;
#line 885 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10__length1 = 1;
#line 885 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_on_staged_activated (self, _tmp10_, 1);
#line 885 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = (_vala_array_free (_tmp10_, _tmp10__length1, (GDestroyNotify) g_object_unref), NULL);
#line 6799 "gitg-commit.c"
	}
}


static void ____lambda19__gitg_commit_activity_stage_unstage_callback (GitgCommitSidebarItem* item, gpointer self) {
#line 874 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	___lambda19_ ((GitgCommitActivity*) self, item);
#line 6807 "gitg-commit.c"
}


static void __lambda20_ (GitgCommitActivity* self, gint numclick) {
#line 896 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_on_stage_selected_items (self);
#line 6814 "gitg-commit.c"
}


static void ___lambda20__gitg_sidebar_item_activated (GitgSidebarItem* _sender, gint numclick, gpointer self) {
#line 895 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__lambda20_ ((GitgCommitActivity*) self, numclick);
#line 6821 "gitg-commit.c"
}


static void ___lambda22_ (GitgCommitActivity* self, GitgCommitSidebarItem* item) {
	GitgCommitPaned* _tmp0_;
	GitgCommitSidebar* _tmp1_;
	GitgCommitSidebar* _tmp2_;
	GitgCommitSidebarItem* _tmp3_;
	gboolean _tmp4_;
#line 909 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (item != NULL);
#line 910 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 910 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_sidebar (_tmp0_);
#line 910 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 910 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = item;
#line 910 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = gitg_sidebar_is_selected ((GitgSidebar*) _tmp2_, (GitgSidebarItem*) _tmp3_);
#line 910 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp4_) {
#line 912 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_on_stage_selected_items (self);
#line 6847 "gitg-commit.c"
	} else {
		GitgCommitSidebarItem* _tmp5_;
		GitgStageStatusItem* _tmp6_;
		GitgStageStatusItem* _tmp7_;
		GitgStageStatusItem* _tmp8_;
		GitgStageStatusItem** _tmp9_;
		GitgStageStatusItem** _tmp10_;
		gint _tmp10__length1;
#line 916 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = item;
#line 916 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = gitg_commit_sidebar_item_get_item (_tmp5_);
#line 916 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 916 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = _g_object_ref0 (_tmp7_);
#line 916 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = g_new0 (GitgStageStatusItem*, 1 + 1);
#line 916 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_[0] = _tmp8_;
#line 916 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = _tmp9_;
#line 916 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10__length1 = 1;
#line 916 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_on_unstaged_activated (self, _tmp10_, 1);
#line 916 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = (_vala_array_free (_tmp10_, _tmp10__length1, (GDestroyNotify) g_object_unref), NULL);
#line 6876 "gitg-commit.c"
	}
}


static void ____lambda22__gitg_commit_activity_stage_unstage_callback (GitgCommitSidebarItem* item, gpointer self) {
#line 905 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	___lambda22_ ((GitgCommitActivity*) self, item);
#line 6884 "gitg-commit.c"
}


static void ___lambda23_ (GitgCommitActivity* self, GitgCommitSidebarItem* item) {
	GitgCommitPaned* _tmp0_;
	GitgCommitSidebar* _tmp1_;
	GitgCommitSidebar* _tmp2_;
	GitgCommitSidebarItem* _tmp3_;
	gboolean _tmp4_;
#line 936 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (item != NULL);
#line 937 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 937 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_sidebar (_tmp0_);
#line 937 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 937 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = item;
#line 937 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = gitg_sidebar_is_selected ((GitgSidebar*) _tmp2_, (GitgSidebarItem*) _tmp3_);
#line 937 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp4_) {
#line 939 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_on_stage_selected_items (self);
#line 6910 "gitg-commit.c"
	} else {
		GitgCommitSidebarItem* _tmp5_;
		GitgStageStatusItem* _tmp6_;
		GitgStageStatusItem* _tmp7_;
		GitgStageStatusItem* _tmp8_;
		GitgStageStatusItem** _tmp9_;
		GitgStageStatusItem** _tmp10_;
		gint _tmp10__length1;
#line 943 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = item;
#line 943 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = gitg_commit_sidebar_item_get_item (_tmp5_);
#line 943 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 943 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = _g_object_ref0 (_tmp7_);
#line 943 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = g_new0 (GitgStageStatusItem*, 1 + 1);
#line 943 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_[0] = _tmp8_;
#line 943 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = _tmp9_;
#line 943 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10__length1 = 1;
#line 943 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_on_unstaged_activated (self, _tmp10_, 1);
#line 943 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = (_vala_array_free (_tmp10_, _tmp10__length1, (GDestroyNotify) g_object_unref), NULL);
#line 6939 "gitg-commit.c"
	}
}


static void ____lambda23__gitg_commit_activity_stage_unstage_callback (GitgCommitSidebarItem* item, gpointer self) {
#line 932 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	___lambda23_ ((GitgCommitActivity*) self, item);
#line 6947 "gitg-commit.c"
}


static void ____lambda24_ (GitgCommitActivity* self, GitgCommitSidebarItem* item) {
	GitgCommitPaned* _tmp0_;
	GitgCommitSidebar* _tmp1_;
	GitgCommitSidebar* _tmp2_;
	GitgCommitSidebarItem* _tmp3_;
	gboolean _tmp4_;
#line 965 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (item != NULL);
#line 966 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 966 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_sidebar (_tmp0_);
#line 966 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 966 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = item;
#line 966 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = gitg_sidebar_is_selected ((GitgSidebar*) _tmp2_, (GitgSidebarItem*) _tmp3_);
#line 966 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp4_) {
#line 968 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_on_stage_selected_items (self);
#line 6973 "gitg-commit.c"
	} else {
		GitgCommitSidebarItem* _tmp5_;
		GitgStageStatusItem* _tmp6_;
		GitgStageStatusItem* _tmp7_;
		GitgStageStatusItem* _tmp8_;
		GitgStageStatusItem** _tmp9_;
		GitgStageStatusItem** _tmp10_;
		gint _tmp10__length1;
#line 972 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = item;
#line 972 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = gitg_commit_sidebar_item_get_item (_tmp5_);
#line 972 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 972 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = _g_object_ref0 (_tmp7_);
#line 972 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = g_new0 (GitgStageStatusItem*, 1 + 1);
#line 972 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_[0] = _tmp8_;
#line 972 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = _tmp9_;
#line 972 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10__length1 = 1;
#line 972 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_on_unstaged_activated (self, _tmp10_, 1);
#line 972 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = (_vala_array_free (_tmp10_, _tmp10__length1, (GDestroyNotify) g_object_unref), NULL);
#line 7002 "gitg-commit.c"
	}
}


static void _____lambda24__gitg_commit_activity_stage_unstage_callback (GitgCommitSidebarItem* item, gpointer self) {
#line 961 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	____lambda24_ ((GitgCommitActivity*) self, item);
#line 7010 "gitg-commit.c"
}


static GitgCommitSidebarItem** _vala_array_dup7 (GitgCommitSidebarItem** self, int length) {
	GitgCommitSidebarItem** result;
	int i;
#line 992 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = g_new0 (GitgCommitSidebarItem*, length + 1);
#line 992 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	for (i = 0; i < length; i++) {
#line 7021 "gitg-commit.c"
		GitgCommitSidebarItem* _tmp0_;
#line 992 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _g_object_ref0 (self[i]);
#line 992 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		result[i] = _tmp0_;
#line 7027 "gitg-commit.c"
	}
#line 992 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 7031 "gitg-commit.c"
}


static GitgCommitSidebarItem** _vala_array_dup8 (GitgCommitSidebarItem** self, int length) {
	GitgCommitSidebarItem** result;
	int i;
#line 995 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = g_new0 (GitgCommitSidebarItem*, length + 1);
#line 995 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	for (i = 0; i < length; i++) {
#line 7042 "gitg-commit.c"
		GitgCommitSidebarItem* _tmp0_;
#line 995 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _g_object_ref0 (self[i]);
#line 995 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		result[i] = _tmp0_;
#line 7048 "gitg-commit.c"
	}
#line 995 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 7052 "gitg-commit.c"
}


static GitgCommitSidebarItem** _vala_array_dup9 (GitgCommitSidebarItem** self, int length) {
	GitgCommitSidebarItem** result;
	int i;
#line 998 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = g_new0 (GitgCommitSidebarItem*, length + 1);
#line 998 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	for (i = 0; i < length; i++) {
#line 7063 "gitg-commit.c"
		GitgCommitSidebarItem* _tmp0_;
#line 998 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _g_object_ref0 (self[i]);
#line 998 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		result[i] = _tmp0_;
#line 7069 "gitg-commit.c"
	}
#line 998 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 7073 "gitg-commit.c"
}


static GitgCommitSidebarItem** _vala_array_dup10 (GitgCommitSidebarItem** self, int length) {
	GitgCommitSidebarItem** result;
	int i;
#line 1001 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = g_new0 (GitgCommitSidebarItem*, length + 1);
#line 1001 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	for (i = 0; i < length; i++) {
#line 7084 "gitg-commit.c"
		GitgCommitSidebarItem* _tmp0_;
#line 1001 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _g_object_ref0 (self[i]);
#line 1001 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		result[i] = _tmp0_;
#line 7090 "gitg-commit.c"
	}
#line 1001 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 7094 "gitg-commit.c"
}


static GitgCommitSidebarItem** _vala_array_dup11 (GitgCommitSidebarItem** self, int length) {
	GitgCommitSidebarItem** result;
	int i;
#line 1007 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = g_new0 (GitgCommitSidebarItem*, length + 1);
#line 1007 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	for (i = 0; i < length; i++) {
#line 7105 "gitg-commit.c"
		GitgCommitSidebarItem* _tmp0_;
#line 1007 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _g_object_ref0 (self[i]);
#line 1007 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		result[i] = _tmp0_;
#line 7111 "gitg-commit.c"
	}
#line 1007 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 7115 "gitg-commit.c"
}


static GitgCommitSidebarItem** _vala_array_dup12 (GitgCommitSidebarItem** self, int length) {
	GitgCommitSidebarItem** result;
	int i;
#line 1012 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = g_new0 (GitgCommitSidebarItem*, length + 1);
#line 1012 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	for (i = 0; i < length; i++) {
#line 7126 "gitg-commit.c"
		GitgCommitSidebarItem* _tmp0_;
#line 1012 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _g_object_ref0 (self[i]);
#line 1012 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		result[i] = _tmp0_;
#line 7132 "gitg-commit.c"
	}
#line 1012 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 7136 "gitg-commit.c"
}


static GitgCommitSidebarItem** _vala_array_dup13 (GitgCommitSidebarItem** self, int length) {
	GitgCommitSidebarItem** result;
	int i;
#line 1017 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = g_new0 (GitgCommitSidebarItem*, length + 1);
#line 1017 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	for (i = 0; i < length; i++) {
#line 7147 "gitg-commit.c"
		GitgCommitSidebarItem* _tmp0_;
#line 1017 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _g_object_ref0 (self[i]);
#line 1017 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		result[i] = _tmp0_;
#line 7153 "gitg-commit.c"
	}
#line 1017 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 7157 "gitg-commit.c"
}


static GitgCommitSidebarItem** _vala_array_dup14 (GitgCommitSidebarItem** self, int length) {
	GitgCommitSidebarItem** result;
	int i;
#line 1022 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = g_new0 (GitgCommitSidebarItem*, length + 1);
#line 1022 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	for (i = 0; i < length; i++) {
#line 7168 "gitg-commit.c"
		GitgCommitSidebarItem* _tmp0_;
#line 1022 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _g_object_ref0 (self[i]);
#line 1022 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		result[i] = _tmp0_;
#line 7174 "gitg-commit.c"
	}
#line 1022 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 7178 "gitg-commit.c"
}


static void __lambda14_ (Block10Data* _data10_, GObject* obj, GAsyncResult* res) {
	GitgCommitActivity* self;
	GitgStageStatusItem** items;
	GitgStageStatusEnumerator* _tmp0_;
	GAsyncResult* _tmp1_;
	gint _tmp2_;
	GitgStageStatusItem** _tmp3_;
	gint items_length1;
	gint _items_size_;
	GitgStageStatusItem** staged;
	GitgStageStatusItem** _tmp4_;
	gint _tmp4__length1;
	GitgStageStatusItem** _tmp5_;
	gint staged_length1;
	gint _staged_size_;
	gint _tmp6_;
	GitgStageStatusItem** unstaged;
	GitgStageStatusItem** _tmp7_;
	gint _tmp7__length1;
	GitgStageStatusItem** _tmp8_;
	gint unstaged_length1;
	gint _unstaged_size_;
	gint _tmp9_;
	GitgStageStatusItem** untracked;
	GitgStageStatusItem** _tmp10_;
	gint _tmp10__length1;
	GitgStageStatusItem** _tmp11_;
	gint untracked_length1;
	gint _untracked_size_;
	gint _tmp12_;
	GitgStageStatusItem** dirty;
	GitgStageStatusItem** _tmp13_;
	gint _tmp13__length1;
	GitgStageStatusItem** _tmp14_;
	gint dirty_length1;
	gint _dirty_size_;
	gint _tmp15_;
	gboolean hassub;
	GitgStageStatusItem** _tmp16_;
	gint _tmp16__length1;
	GitgSidebarStore* _tmp45_;
	GitgCommitPaned* _tmp46_;
	GitgDiffView* _tmp47_;
	GitgDiffView* _tmp48_;
	GitgCommitSidebarItem** current_staged;
	GitgCommitSidebarItem** _tmp49_;
	gint current_staged_length1;
	gint _current_staged_size_;
	GitgCommitSidebarItem** current_unstaged;
	GitgCommitSidebarItem** _tmp50_;
	gint current_unstaged_length1;
	gint _current_unstaged_size_;
	GitgCommitSidebarItem** current_untracked;
	GitgCommitSidebarItem** _tmp51_;
	gint current_untracked_length1;
	gint _current_untracked_size_;
	GitgCommitSidebarItem** current_submodules;
	GitgCommitSidebarItem** _tmp52_;
	gint current_submodules_length1;
	gint _current_submodules_size_;
	GitgSidebarStoreSidebarHeader* staged_header;
	GitgSidebarStore* _tmp53_;
	GitgSidebarStoreSidebarHeader* _tmp54_;
	GitgSidebarStoreSidebarHeader* _tmp55_;
	GitgStageStatusItem** _tmp56_;
	gint _tmp56__length1;
	GitgSidebarStore* _tmp65_;
	GitgSidebarStore* _tmp66_;
	GitgSidebarStore* _tmp67_;
	GitgSidebarStoreSidebarHeader* unstaged_header;
	GitgSidebarStore* _tmp68_;
	GitgSidebarStoreSidebarHeader* _tmp69_;
	GitgSidebarStoreSidebarHeader* _tmp70_;
	GitgStageStatusItem** _tmp71_;
	gint _tmp71__length1;
	GitgSidebarStore* _tmp80_;
	GitgSidebarStore* _tmp81_;
	GitgSidebarStore* _tmp82_;
	GitgSidebarStore* _tmp83_;
	GitgSidebarStoreSidebarHeader* _tmp84_;
	GitgSidebarStoreSidebarHeader* _tmp85_;
	GitgStageStatusItem** _tmp86_;
	gint _tmp86__length1;
	GitgSidebarStore* _tmp95_;
	GitgSidebarStore* _tmp96_;
	GitgSidebarStore* _tmp97_;
	gboolean _tmp98_;
	GitgCommitPaned* _tmp114_;
	GitgCommitSidebar* _tmp115_;
	GitgCommitSidebar* _tmp116_;
	GitgStageStatusItem** _tmp117_;
	gint _tmp117__length1;
	GeeHashSet* _tmp118_;
	gint _tmp119_;
	gint _tmp120_;
#line 806 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data10_->self;
#line 806 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 807 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _data10_->enumerator;
#line 807 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = res;
#line 807 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = gitg_stage_status_enumerator_next_items_finish (_tmp0_, _tmp1_, &_tmp2_);
#line 807 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	items = _tmp3_;
#line 807 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	items_length1 = _tmp2_;
#line 807 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_items_size_ = items_length1;
#line 809 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = items;
#line 809 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4__length1 = items_length1;
#line 809 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = g_new0 (GitgStageStatusItem*, _tmp4__length1 + 1);
#line 809 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	staged = _tmp5_;
#line 809 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	staged_length1 = _tmp4__length1;
#line 809 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_staged_size_ = staged_length1;
#line 810 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	staged_length1 = 0;
#line 810 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = staged_length1;
#line 812 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = items;
#line 812 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp7__length1 = items_length1;
#line 812 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = g_new0 (GitgStageStatusItem*, _tmp7__length1 + 1);
#line 812 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	unstaged = _tmp8_;
#line 812 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	unstaged_length1 = _tmp7__length1;
#line 812 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_unstaged_size_ = unstaged_length1;
#line 813 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	unstaged_length1 = 0;
#line 813 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = unstaged_length1;
#line 815 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = items;
#line 815 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp10__length1 = items_length1;
#line 815 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp11_ = g_new0 (GitgStageStatusItem*, _tmp10__length1 + 1);
#line 815 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	untracked = _tmp11_;
#line 815 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	untracked_length1 = _tmp10__length1;
#line 815 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_untracked_size_ = untracked_length1;
#line 816 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	untracked_length1 = 0;
#line 816 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp12_ = untracked_length1;
#line 818 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp13_ = items;
#line 818 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp13__length1 = items_length1;
#line 818 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp14_ = g_new0 (GitgStageStatusItem*, _tmp13__length1 + 1);
#line 818 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	dirty = _tmp14_;
#line 818 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	dirty_length1 = _tmp13__length1;
#line 818 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_dirty_size_ = dirty_length1;
#line 819 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	dirty_length1 = 0;
#line 819 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp15_ = dirty_length1;
#line 821 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	hassub = FALSE;
#line 823 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp16_ = items;
#line 823 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp16__length1 = items_length1;
#line 7363 "gitg-commit.c"
	{
		GitgStageStatusItem** item_collection = NULL;
		gint item_collection_length1 = 0;
		gint _item_collection_size_ = 0;
		gint item_it = 0;
#line 823 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		item_collection = _tmp16_;
#line 823 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		item_collection_length1 = _tmp16__length1;
#line 823 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		for (item_it = 0; item_it < _tmp16__length1; item_it = item_it + 1) {
#line 7375 "gitg-commit.c"
			GitgStageStatusItem* _tmp17_;
			GitgStageStatusItem* item = NULL;
#line 823 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp17_ = _g_object_ref0 (item_collection[item_it]);
#line 823 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			item = _tmp17_;
#line 7382 "gitg-commit.c"
			{
				GitgStageStatusItem* _tmp18_;
				gboolean _tmp19_;
				gboolean _tmp20_;
				GitgStageStatusItem* _tmp24_;
				gboolean _tmp25_;
				gboolean _tmp26_;
				GitgStageStatusItem* _tmp30_;
				gboolean _tmp31_;
				gboolean _tmp32_;
				GitgStageStatusSubmodule* sub;
				GitgStageStatusItem* _tmp36_;
				GitgStageStatusSubmodule* _tmp37_;
				GitgStageStatusSubmodule* _tmp38_;
#line 825 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp18_ = item;
#line 825 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp19_ = gitg_stage_status_item_get_is_staged (_tmp18_);
#line 825 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp20_ = _tmp19_;
#line 825 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				if (_tmp20_) {
#line 7405 "gitg-commit.c"
					GitgStageStatusItem** _tmp21_;
					gint _tmp21__length1;
					GitgStageStatusItem* _tmp22_;
					GitgStageStatusItem* _tmp23_;
#line 827 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp21_ = staged;
#line 827 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp21__length1 = staged_length1;
#line 827 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp22_ = item;
#line 827 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp23_ = _g_object_ref0 (_tmp22_);
#line 827 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_vala_array_add3 (&staged, &staged_length1, &_staged_size_, _tmp23_);
#line 7420 "gitg-commit.c"
				}
#line 830 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp24_ = item;
#line 830 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp25_ = gitg_stage_status_item_get_is_unstaged (_tmp24_);
#line 830 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp26_ = _tmp25_;
#line 830 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				if (_tmp26_) {
#line 7430 "gitg-commit.c"
					GitgStageStatusItem** _tmp27_;
					gint _tmp27__length1;
					GitgStageStatusItem* _tmp28_;
					GitgStageStatusItem* _tmp29_;
#line 832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp27_ = unstaged;
#line 832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp27__length1 = unstaged_length1;
#line 832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp28_ = item;
#line 832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp29_ = _g_object_ref0 (_tmp28_);
#line 832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_vala_array_add4 (&unstaged, &unstaged_length1, &_unstaged_size_, _tmp29_);
#line 7445 "gitg-commit.c"
				}
#line 835 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp30_ = item;
#line 835 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp31_ = gitg_stage_status_item_get_is_untracked (_tmp30_);
#line 835 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp32_ = _tmp31_;
#line 835 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				if (_tmp32_) {
#line 7455 "gitg-commit.c"
					GitgStageStatusItem** _tmp33_;
					gint _tmp33__length1;
					GitgStageStatusItem* _tmp34_;
					GitgStageStatusItem* _tmp35_;
#line 837 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp33_ = untracked;
#line 837 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp33__length1 = untracked_length1;
#line 837 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp34_ = item;
#line 837 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp35_ = _g_object_ref0 (_tmp34_);
#line 837 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_vala_array_add5 (&untracked, &untracked_length1, &_untracked_size_, _tmp35_);
#line 7470 "gitg-commit.c"
				}
#line 840 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp36_ = item;
#line 840 "/home/mcatanzaro/Projects/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 840 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				sub = _tmp37_;
#line 842 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp38_ = sub;
#line 842 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				if (_tmp38_ != NULL) {
#line 7482 "gitg-commit.c"
					GitgStageStatusSubmodule* _tmp39_;
					gboolean _tmp40_;
					gboolean _tmp41_;
#line 844 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					hassub = TRUE;
#line 846 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp39_ = sub;
#line 846 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp40_ = gitg_stage_status_submodule_get_is_dirty (_tmp39_);
#line 846 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp41_ = _tmp40_;
#line 846 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					if (_tmp41_) {
#line 7496 "gitg-commit.c"
						GitgStageStatusItem** _tmp42_;
						gint _tmp42__length1;
						GitgStageStatusItem* _tmp43_;
						GitgStageStatusItem* _tmp44_;
#line 848 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_tmp42_ = dirty;
#line 848 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_tmp42__length1 = dirty_length1;
#line 848 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_tmp43_ = item;
#line 848 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_tmp44_ = _g_object_ref0 (_tmp43_);
#line 848 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_vala_array_add6 (&dirty, &dirty_length1, &_dirty_size_, _tmp44_);
#line 7511 "gitg-commit.c"
					}
				}
#line 823 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (sub);
#line 823 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (item);
#line 7518 "gitg-commit.c"
			}
		}
	}
#line 853 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp45_ = _data10_->model;
#line 853 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_sidebar_store_clear (_tmp45_);
#line 854 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp46_ = self->priv->d_main;
#line 854 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp47_ = gitg_commit_paned_get_diff_view (_tmp46_);
#line 854 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp48_ = _tmp47_;
#line 854 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_diff_view_set_diff (_tmp48_, NULL);
#line 856 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp49_ = g_new0 (GitgCommitSidebarItem*, 0 + 1);
#line 856 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	current_staged = _tmp49_;
#line 856 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	current_staged_length1 = 0;
#line 856 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_current_staged_size_ = current_staged_length1;
#line 857 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp50_ = g_new0 (GitgCommitSidebarItem*, 0 + 1);
#line 857 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	current_unstaged = _tmp50_;
#line 857 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	current_unstaged_length1 = 0;
#line 857 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_current_unstaged_size_ = current_unstaged_length1;
#line 858 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp51_ = g_new0 (GitgCommitSidebarItem*, 0 + 1);
#line 858 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	current_untracked = _tmp51_;
#line 858 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	current_untracked_length1 = 0;
#line 858 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_current_untracked_size_ = current_untracked_length1;
#line 859 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp52_ = g_new0 (GitgCommitSidebarItem*, 0 + 1);
#line 859 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	current_submodules = _tmp52_;
#line 859 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	current_submodules_length1 = 0;
#line 859 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_current_submodules_size_ = current_submodules_length1;
#line 862 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp53_ = _data10_->model;
#line 862 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp54_ = gitg_sidebar_store_begin_header (_tmp53_, _ ("Staged"), (guint) GITG_COMMIT_SIDEBAR_ITEM_TYPE_STAGED);
#line 862 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	staged_header = _tmp54_;
#line 864 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp55_ = staged_header;
#line 864 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_object ((GitgSidebarItem*) _tmp55_, "activated", (GCallback) ___lambda15__gitg_sidebar_item_activated, self, 0);
#line 868 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp56_ = staged;
#line 868 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp56__length1 = staged_length1;
#line 868 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp56__length1 == 0) {
#line 7582 "gitg-commit.c"
		GitgSidebarStore* _tmp57_;
		GitgSidebarStore* _tmp58_;
		GitgSidebarStore* _tmp59_;
#line 870 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp57_ = _data10_->model;
#line 870 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp58_ = gitg_sidebar_store_append_dummy (_tmp57_, _ ("No staged files"));
#line 870 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp59_ = _tmp58_;
#line 870 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp59_);
#line 7594 "gitg-commit.c"
	} else {
		GitgSidebarStore* _tmp60_;
		GitgStageStatusItem** _tmp61_;
		gint _tmp61__length1;
		GeeHashSet* _tmp62_;
		gint _tmp63_;
		GitgCommitSidebarItem** _tmp64_;
#line 874 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp60_ = _data10_->model;
#line 874 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp61_ = staged;
#line 874 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp61__length1 = staged_length1;
#line 874 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp62_ = _data10_->selected_paths;
#line 874 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp64_ = gitg_commit_activity_append_items (self, _tmp60_, _tmp61_, _tmp61__length1, GITG_COMMIT_SIDEBAR_ITEM_TYPE_STAGED, _tmp62_, ____lambda19__gitg_commit_activity_stage_unstage_callback, self, &_tmp63_);
#line 874 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		current_staged = (_vala_array_free (current_staged, current_staged_length1, (GDestroyNotify) g_object_unref), NULL);
#line 874 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		current_staged = _tmp64_;
#line 874 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		current_staged_length1 = _tmp63_;
#line 874 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_current_staged_size_ = current_staged_length1;
#line 7620 "gitg-commit.c"
	}
#line 890 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp65_ = _data10_->model;
#line 890 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp66_ = gitg_sidebar_store_end_header (_tmp65_);
#line 890 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp67_ = _tmp66_;
#line 890 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp67_);
#line 893 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp68_ = _data10_->model;
#line 893 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp69_ = gitg_sidebar_store_begin_header (_tmp68_, _ ("Unstaged"), (guint) GITG_COMMIT_SIDEBAR_ITEM_TYPE_UNSTAGED);
#line 893 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	unstaged_header = _tmp69_;
#line 895 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp70_ = unstaged_header;
#line 895 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_object ((GitgSidebarItem*) _tmp70_, "activated", (GCallback) ___lambda20__gitg_sidebar_item_activated, self, 0);
#line 899 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp71_ = unstaged;
#line 899 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp71__length1 = unstaged_length1;
#line 899 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp71__length1 == 0) {
#line 7646 "gitg-commit.c"
		GitgSidebarStore* _tmp72_;
		GitgSidebarStore* _tmp73_;
		GitgSidebarStore* _tmp74_;
#line 901 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp72_ = _data10_->model;
#line 901 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp73_ = gitg_sidebar_store_append_dummy (_tmp72_, _ ("No unstaged files"));
#line 901 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp74_ = _tmp73_;
#line 901 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp74_);
#line 7658 "gitg-commit.c"
	} else {
		GitgSidebarStore* _tmp75_;
		GitgStageStatusItem** _tmp76_;
		gint _tmp76__length1;
		GeeHashSet* _tmp77_;
		gint _tmp78_;
		GitgCommitSidebarItem** _tmp79_;
#line 905 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp75_ = _data10_->model;
#line 905 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp76_ = unstaged;
#line 905 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp76__length1 = unstaged_length1;
#line 905 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp77_ = _data10_->selected_paths;
#line 905 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp79_ = gitg_commit_activity_append_items (self, _tmp75_, _tmp76_, _tmp76__length1, GITG_COMMIT_SIDEBAR_ITEM_TYPE_UNSTAGED, _tmp77_, ____lambda22__gitg_commit_activity_stage_unstage_callback, self, &_tmp78_);
#line 905 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		current_unstaged = (_vala_array_free (current_unstaged, current_unstaged_length1, (GDestroyNotify) g_object_unref), NULL);
#line 905 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		current_unstaged = _tmp79_;
#line 905 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		current_unstaged_length1 = _tmp78_;
#line 905 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_current_unstaged_size_ = current_unstaged_length1;
#line 7684 "gitg-commit.c"
	}
#line 921 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp80_ = _data10_->model;
#line 921 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp81_ = gitg_sidebar_store_end_header (_tmp80_);
#line 921 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp82_ = _tmp81_;
#line 921 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp82_);
#line 924 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp83_ = _data10_->model;
#line 924 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp84_ = gitg_sidebar_store_begin_header (_tmp83_, _ ("Untracked"), (guint) GITG_COMMIT_SIDEBAR_ITEM_TYPE_UNTRACKED);
#line 924 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp85_ = _tmp84_;
#line 924 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp85_);
#line 926 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp86_ = untracked;
#line 926 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp86__length1 = untracked_length1;
#line 926 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp86__length1 == 0) {
#line 7708 "gitg-commit.c"
		GitgSidebarStore* _tmp87_;
		GitgSidebarStore* _tmp88_;
		GitgSidebarStore* _tmp89_;
#line 928 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp87_ = _data10_->model;
#line 928 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp88_ = gitg_sidebar_store_append_dummy (_tmp87_, _ ("No untracked files"));
#line 928 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp89_ = _tmp88_;
#line 928 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp89_);
#line 7720 "gitg-commit.c"
	} else {
		GitgSidebarStore* _tmp90_;
		GitgStageStatusItem** _tmp91_;
		gint _tmp91__length1;
		GeeHashSet* _tmp92_;
		gint _tmp93_;
		GitgCommitSidebarItem** _tmp94_;
#line 932 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp90_ = _data10_->model;
#line 932 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp91_ = untracked;
#line 932 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp91__length1 = untracked_length1;
#line 932 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp92_ = _data10_->selected_paths;
#line 932 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp94_ = gitg_commit_activity_append_items (self, _tmp90_, _tmp91_, _tmp91__length1, GITG_COMMIT_SIDEBAR_ITEM_TYPE_UNTRACKED, _tmp92_, ____lambda23__gitg_commit_activity_stage_unstage_callback, self, &_tmp93_);
#line 932 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		current_untracked = (_vala_array_free (current_untracked, current_untracked_length1, (GDestroyNotify) g_object_unref), NULL);
#line 932 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		current_untracked = _tmp94_;
#line 932 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		current_untracked_length1 = _tmp93_;
#line 932 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_current_untracked_size_ = current_untracked_length1;
#line 7746 "gitg-commit.c"
	}
#line 948 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp95_ = _data10_->model;
#line 948 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp96_ = gitg_sidebar_store_end_header (_tmp95_);
#line 948 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp97_ = _tmp96_;
#line 948 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp97_);
#line 951 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp98_ = hassub;
#line 951 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp98_) {
#line 7760 "gitg-commit.c"
		GitgSidebarStore* _tmp99_;
		GitgSidebarStoreSidebarHeader* _tmp100_;
		GitgSidebarStoreSidebarHeader* _tmp101_;
		GitgStageStatusItem** _tmp102_;
		gint _tmp102__length1;
		GitgSidebarStore* _tmp111_;
		GitgSidebarStore* _tmp112_;
		GitgSidebarStore* _tmp113_;
#line 953 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp99_ = _data10_->model;
#line 953 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp100_ = gitg_sidebar_store_begin_header (_tmp99_, _ ("Submodule"), (guint) GITG_COMMIT_SIDEBAR_ITEM_TYPE_SUBMODULE);
#line 953 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp101_ = _tmp100_;
#line 953 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp101_);
#line 955 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp102_ = dirty;
#line 955 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp102__length1 = dirty_length1;
#line 955 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp102__length1 == 0) {
#line 7783 "gitg-commit.c"
			GitgSidebarStore* _tmp103_;
			GitgSidebarStore* _tmp104_;
			GitgSidebarStore* _tmp105_;
#line 957 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp103_ = _data10_->model;
#line 957 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp104_ = gitg_sidebar_store_append_dummy (_tmp103_, _ ("No dirty submodules"));
#line 957 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp105_ = _tmp104_;
#line 957 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_tmp105_);
#line 7795 "gitg-commit.c"
		} else {
			GitgSidebarStore* _tmp106_;
			GitgStageStatusItem** _tmp107_;
			gint _tmp107__length1;
			GeeHashSet* _tmp108_;
			gint _tmp109_;
			GitgCommitSidebarItem** _tmp110_;
#line 961 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp106_ = _data10_->model;
#line 961 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp107_ = dirty;
#line 961 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp107__length1 = dirty_length1;
#line 961 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp108_ = _data10_->selected_paths;
#line 961 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp110_ = gitg_commit_activity_append_items (self, _tmp106_, _tmp107_, _tmp107__length1, GITG_COMMIT_SIDEBAR_ITEM_TYPE_SUBMODULE, _tmp108_, _____lambda24__gitg_commit_activity_stage_unstage_callback, self, &_tmp109_);
#line 961 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			current_submodules = (_vala_array_free (current_submodules, current_submodules_length1, (GDestroyNotify) g_object_unref), NULL);
#line 961 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			current_submodules = _tmp110_;
#line 961 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			current_submodules_length1 = _tmp109_;
#line 961 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_current_submodules_size_ = current_submodules_length1;
#line 7821 "gitg-commit.c"
		}
#line 977 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp111_ = _data10_->model;
#line 977 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp112_ = gitg_sidebar_store_end_header (_tmp111_);
#line 977 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp113_ = _tmp112_;
#line 977 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp113_);
#line 7831 "gitg-commit.c"
	}
#line 980 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp114_ = self->priv->d_main;
#line 980 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp115_ = gitg_commit_paned_get_sidebar (_tmp114_);
#line 980 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp116_ = _tmp115_;
#line 980 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gtk_tree_view_expand_all ((GtkTreeView*) _tmp116_);
#line 981 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp117_ = staged;
#line 981 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp117__length1 = staged_length1;
#line 981 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_has_staged = _tmp117__length1 != 0;
#line 983 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_reloading = FALSE;
#line 985 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp118_ = _data10_->selected_paths;
#line 985 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp119_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp118_);
#line 985 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp120_ = _tmp119_;
#line 985 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp120_ != 0) {
#line 7857 "gitg-commit.c"
		GitgCommitSidebarItem** sel;
		gint sel_length1;
		gint _sel_size_;
		GitgCommitSidebarItemType _tmp121_;
		gboolean _tmp130_ = FALSE;
		GitgCommitSidebarItem** _tmp131_;
		gint _tmp131__length1;
		gboolean _tmp135_ = FALSE;
		GitgCommitSidebarItem** _tmp136_;
		gint _tmp136__length1;
		gboolean _tmp140_ = FALSE;
		GitgCommitSidebarItem** _tmp141_;
		gint _tmp141__length1;
		gboolean _tmp145_ = FALSE;
		GitgCommitSidebarItem** _tmp146_;
		gint _tmp146__length1;
		gboolean _tmp150_ = FALSE;
		GitgCommitSidebarItem** _tmp151_;
		gint _tmp151__length1;
#line 987 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		sel = NULL;
#line 987 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		sel_length1 = 0;
#line 987 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_sel_size_ = sel_length1;
#line 989 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp121_ = _data10_->selected_type;
#line 989 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		switch (_tmp121_) {
#line 989 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			case GITG_COMMIT_SIDEBAR_ITEM_TYPE_STAGED:
#line 7889 "gitg-commit.c"
			{
				GitgCommitSidebarItem** _tmp122_;
				gint _tmp122__length1;
				GitgCommitSidebarItem** _tmp123_;
				gint _tmp123__length1;
#line 992 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp122_ = current_staged;
#line 992 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp122__length1 = current_staged_length1;
#line 992 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp123_ = (_tmp122_ != NULL) ? _vala_array_dup7 (_tmp122_, _tmp122__length1) : ((gpointer) _tmp122_);
#line 992 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp123__length1 = _tmp122__length1;
#line 992 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				sel = (_vala_array_free (sel, sel_length1, (GDestroyNotify) g_object_unref), NULL);
#line 992 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				sel = _tmp123_;
#line 992 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				sel_length1 = _tmp123__length1;
#line 992 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_sel_size_ = sel_length1;
#line 993 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				break;
#line 7913 "gitg-commit.c"
			}
#line 989 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			case GITG_COMMIT_SIDEBAR_ITEM_TYPE_UNSTAGED:
#line 7917 "gitg-commit.c"
			{
				GitgCommitSidebarItem** _tmp124_;
				gint _tmp124__length1;
				GitgCommitSidebarItem** _tmp125_;
				gint _tmp125__length1;
#line 995 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp124_ = current_unstaged;
#line 995 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp124__length1 = current_unstaged_length1;
#line 995 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp125_ = (_tmp124_ != NULL) ? _vala_array_dup8 (_tmp124_, _tmp124__length1) : ((gpointer) _tmp124_);
#line 995 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp125__length1 = _tmp124__length1;
#line 995 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				sel = (_vala_array_free (sel, sel_length1, (GDestroyNotify) g_object_unref), NULL);
#line 995 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				sel = _tmp125_;
#line 995 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				sel_length1 = _tmp125__length1;
#line 995 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_sel_size_ = sel_length1;
#line 996 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				break;
#line 7941 "gitg-commit.c"
			}
#line 989 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			case GITG_COMMIT_SIDEBAR_ITEM_TYPE_UNTRACKED:
#line 7945 "gitg-commit.c"
			{
				GitgCommitSidebarItem** _tmp126_;
				gint _tmp126__length1;
				GitgCommitSidebarItem** _tmp127_;
				gint _tmp127__length1;
#line 998 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp126_ = current_untracked;
#line 998 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp126__length1 = current_untracked_length1;
#line 998 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp127_ = (_tmp126_ != NULL) ? _vala_array_dup9 (_tmp126_, _tmp126__length1) : ((gpointer) _tmp126_);
#line 998 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp127__length1 = _tmp126__length1;
#line 998 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				sel = (_vala_array_free (sel, sel_length1, (GDestroyNotify) g_object_unref), NULL);
#line 998 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				sel = _tmp127_;
#line 998 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				sel_length1 = _tmp127__length1;
#line 998 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_sel_size_ = sel_length1;
#line 999 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				break;
#line 7969 "gitg-commit.c"
			}
#line 989 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			case GITG_COMMIT_SIDEBAR_ITEM_TYPE_SUBMODULE:
#line 7973 "gitg-commit.c"
			{
				GitgCommitSidebarItem** _tmp128_;
				gint _tmp128__length1;
				GitgCommitSidebarItem** _tmp129_;
				gint _tmp129__length1;
#line 1001 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp128_ = current_submodules;
#line 1001 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp128__length1 = current_submodules_length1;
#line 1001 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp129_ = (_tmp128_ != NULL) ? _vala_array_dup10 (_tmp128_, _tmp128__length1) : ((gpointer) _tmp128_);
#line 1001 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp129__length1 = _tmp128__length1;
#line 1001 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				sel = (_vala_array_free (sel, sel_length1, (GDestroyNotify) g_object_unref), NULL);
#line 1001 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				sel = _tmp129_;
#line 1001 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				sel_length1 = _tmp129__length1;
#line 1001 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_sel_size_ = sel_length1;
#line 1002 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				break;
#line 7997 "gitg-commit.c"
			}
			default:
#line 989 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			break;
#line 8002 "gitg-commit.c"
		}
#line 1005 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp131_ = sel;
#line 1005 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp131__length1 = sel_length1;
#line 1005 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp131_ == NULL) {
#line 1005 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp130_ = TRUE;
#line 8012 "gitg-commit.c"
		} else {
			GitgCommitSidebarItem** _tmp132_;
			gint _tmp132__length1;
#line 1005 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp132_ = sel;
#line 1005 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp132__length1 = sel_length1;
#line 1005 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp130_ = _tmp132__length1 == 0;
#line 8022 "gitg-commit.c"
		}
#line 1005 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp130_) {
#line 8026 "gitg-commit.c"
			GitgCommitSidebarItem** _tmp133_;
			gint _tmp133__length1;
			GitgCommitSidebarItem** _tmp134_;
			gint _tmp134__length1;
#line 1007 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp133_ = current_staged;
#line 1007 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp133__length1 = current_staged_length1;
#line 1007 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp134_ = (_tmp133_ != NULL) ? _vala_array_dup11 (_tmp133_, _tmp133__length1) : ((gpointer) _tmp133_);
#line 1007 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp134__length1 = _tmp133__length1;
#line 1007 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			sel = (_vala_array_free (sel, sel_length1, (GDestroyNotify) g_object_unref), NULL);
#line 1007 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			sel = _tmp134_;
#line 1007 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			sel_length1 = _tmp134__length1;
#line 1007 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_sel_size_ = sel_length1;
#line 8047 "gitg-commit.c"
		}
#line 1010 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp136_ = sel;
#line 1010 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp136__length1 = sel_length1;
#line 1010 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp136_ == NULL) {
#line 1010 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp135_ = TRUE;
#line 8057 "gitg-commit.c"
		} else {
			GitgCommitSidebarItem** _tmp137_;
			gint _tmp137__length1;
#line 1010 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp137_ = sel;
#line 1010 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp137__length1 = sel_length1;
#line 1010 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp135_ = _tmp137__length1 == 0;
#line 8067 "gitg-commit.c"
		}
#line 1010 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp135_) {
#line 8071 "gitg-commit.c"
			GitgCommitSidebarItem** _tmp138_;
			gint _tmp138__length1;
			GitgCommitSidebarItem** _tmp139_;
			gint _tmp139__length1;
#line 1012 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp138_ = current_unstaged;
#line 1012 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp138__length1 = current_unstaged_length1;
#line 1012 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp139_ = (_tmp138_ != NULL) ? _vala_array_dup12 (_tmp138_, _tmp138__length1) : ((gpointer) _tmp138_);
#line 1012 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp139__length1 = _tmp138__length1;
#line 1012 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			sel = (_vala_array_free (sel, sel_length1, (GDestroyNotify) g_object_unref), NULL);
#line 1012 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			sel = _tmp139_;
#line 1012 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			sel_length1 = _tmp139__length1;
#line 1012 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_sel_size_ = sel_length1;
#line 8092 "gitg-commit.c"
		}
#line 1015 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp141_ = sel;
#line 1015 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp141__length1 = sel_length1;
#line 1015 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp141_ == NULL) {
#line 1015 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp140_ = TRUE;
#line 8102 "gitg-commit.c"
		} else {
			GitgCommitSidebarItem** _tmp142_;
			gint _tmp142__length1;
#line 1015 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp142_ = sel;
#line 1015 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp142__length1 = sel_length1;
#line 1015 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp140_ = _tmp142__length1 == 0;
#line 8112 "gitg-commit.c"
		}
#line 1015 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp140_) {
#line 8116 "gitg-commit.c"
			GitgCommitSidebarItem** _tmp143_;
			gint _tmp143__length1;
			GitgCommitSidebarItem** _tmp144_;
			gint _tmp144__length1;
#line 1017 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp143_ = current_untracked;
#line 1017 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp143__length1 = current_untracked_length1;
#line 1017 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp144_ = (_tmp143_ != NULL) ? _vala_array_dup13 (_tmp143_, _tmp143__length1) : ((gpointer) _tmp143_);
#line 1017 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp144__length1 = _tmp143__length1;
#line 1017 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			sel = (_vala_array_free (sel, sel_length1, (GDestroyNotify) g_object_unref), NULL);
#line 1017 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			sel = _tmp144_;
#line 1017 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			sel_length1 = _tmp144__length1;
#line 1017 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_sel_size_ = sel_length1;
#line 8137 "gitg-commit.c"
		}
#line 1020 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp146_ = sel;
#line 1020 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp146__length1 = sel_length1;
#line 1020 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp146_ == NULL) {
#line 1020 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp145_ = TRUE;
#line 8147 "gitg-commit.c"
		} else {
			GitgCommitSidebarItem** _tmp147_;
			gint _tmp147__length1;
#line 1020 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp147_ = sel;
#line 1020 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp147__length1 = sel_length1;
#line 1020 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp145_ = _tmp147__length1 == 0;
#line 8157 "gitg-commit.c"
		}
#line 1020 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp145_) {
#line 8161 "gitg-commit.c"
			GitgCommitSidebarItem** _tmp148_;
			gint _tmp148__length1;
			GitgCommitSidebarItem** _tmp149_;
			gint _tmp149__length1;
#line 1022 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp148_ = current_submodules;
#line 1022 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp148__length1 = current_submodules_length1;
#line 1022 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp149_ = (_tmp148_ != NULL) ? _vala_array_dup14 (_tmp148_, _tmp148__length1) : ((gpointer) _tmp148_);
#line 1022 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp149__length1 = _tmp148__length1;
#line 1022 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			sel = (_vala_array_free (sel, sel_length1, (GDestroyNotify) g_object_unref), NULL);
#line 1022 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			sel = _tmp149_;
#line 1022 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			sel_length1 = _tmp149__length1;
#line 1022 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_sel_size_ = sel_length1;
#line 8182 "gitg-commit.c"
		}
#line 1025 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp151_ = sel;
#line 1025 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp151__length1 = sel_length1;
#line 1025 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp151_ != NULL) {
#line 8190 "gitg-commit.c"
			GitgCommitSidebarItem** _tmp152_;
			gint _tmp152__length1;
#line 1025 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp152_ = sel;
#line 1025 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp152__length1 = sel_length1;
#line 1025 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp150_ = _tmp152__length1 != 0;
#line 8199 "gitg-commit.c"
		} else {
#line 1025 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp150_ = FALSE;
#line 8203 "gitg-commit.c"
		}
#line 1025 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp150_) {
#line 8207 "gitg-commit.c"
			GitgCommitSidebarItem** _tmp153_;
			gint _tmp153__length1;
#line 1027 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp153_ = sel;
#line 1027 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp153__length1 = sel_length1;
#line 8214 "gitg-commit.c"
			{
				GitgCommitSidebarItem** item_collection = NULL;
				gint item_collection_length1 = 0;
				gint _item_collection_size_ = 0;
				gint item_it = 0;
#line 1027 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				item_collection = _tmp153_;
#line 1027 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				item_collection_length1 = _tmp153__length1;
#line 1027 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				for (item_it = 0; item_it < _tmp153__length1; item_it = item_it + 1) {
#line 8226 "gitg-commit.c"
					GitgCommitSidebarItem* _tmp154_;
					GitgCommitSidebarItem* item = NULL;
#line 1027 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp154_ = _g_object_ref0 (item_collection[item_it]);
#line 1027 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					item = _tmp154_;
#line 8233 "gitg-commit.c"
					{
						GitgCommitPaned* _tmp155_;
						GitgCommitSidebar* _tmp156_;
						GitgCommitSidebar* _tmp157_;
						GitgCommitSidebarItem* _tmp158_;
#line 1029 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_tmp155_ = self->priv->d_main;
#line 1029 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_tmp156_ = gitg_commit_paned_get_sidebar (_tmp155_);
#line 1029 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_tmp157_ = _tmp156_;
#line 1029 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_tmp158_ = item;
#line 1029 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						gitg_sidebar_select ((GitgSidebar*) _tmp157_, (GitgSidebarItem*) _tmp158_);
#line 1027 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_g_object_unref0 (item);
#line 8251 "gitg-commit.c"
					}
				}
			}
		} else {
			GitgCommitSidebarItemType _tmp159_;
#line 1032 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp159_ = _data10_->selected_type;
#line 1032 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			if (_tmp159_ == GITG_COMMIT_SIDEBAR_ITEM_TYPE_STAGED) {
#line 8261 "gitg-commit.c"
				GitgCommitPaned* _tmp160_;
				GitgCommitSidebar* _tmp161_;
				GitgCommitSidebar* _tmp162_;
				GitgSidebarStoreSidebarHeader* _tmp163_;
#line 1034 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp160_ = self->priv->d_main;
#line 1034 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp161_ = gitg_commit_paned_get_sidebar (_tmp160_);
#line 1034 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp162_ = _tmp161_;
#line 1034 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp163_ = staged_header;
#line 1034 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				gitg_sidebar_select ((GitgSidebar*) _tmp162_, (GitgSidebarItem*) _tmp163_);
#line 8276 "gitg-commit.c"
			} else {
				GitgCommitPaned* _tmp164_;
				GitgCommitSidebar* _tmp165_;
				GitgCommitSidebar* _tmp166_;
				GitgSidebarStoreSidebarHeader* _tmp167_;
#line 1038 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp164_ = self->priv->d_main;
#line 1038 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp165_ = gitg_commit_paned_get_sidebar (_tmp164_);
#line 1038 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp166_ = _tmp165_;
#line 1038 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp167_ = unstaged_header;
#line 1038 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				gitg_sidebar_select ((GitgSidebar*) _tmp166_, (GitgSidebarItem*) _tmp167_);
#line 8292 "gitg-commit.c"
			}
		}
#line 985 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		sel = (_vala_array_free (sel, sel_length1, (GDestroyNotify) g_object_unref), NULL);
#line 8297 "gitg-commit.c"
	} else {
		GitgStageStatusItem** _tmp168_;
		gint _tmp168__length1;
#line 1044 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp168_ = unstaged;
#line 1044 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp168__length1 = unstaged_length1;
#line 1044 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp168__length1 == 0) {
#line 8307 "gitg-commit.c"
			GitgCommitPaned* _tmp169_;
			GitgCommitSidebar* _tmp170_;
			GitgCommitSidebar* _tmp171_;
			GitgSidebarStoreSidebarHeader* _tmp172_;
#line 1046 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp169_ = self->priv->d_main;
#line 1046 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp170_ = gitg_commit_paned_get_sidebar (_tmp169_);
#line 1046 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp171_ = _tmp170_;
#line 1046 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp172_ = staged_header;
#line 1046 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_sidebar_select ((GitgSidebar*) _tmp171_, (GitgSidebarItem*) _tmp172_);
#line 8322 "gitg-commit.c"
		} else {
			GitgCommitPaned* _tmp173_;
			GitgCommitSidebar* _tmp174_;
			GitgCommitSidebar* _tmp175_;
			GitgSidebarStoreSidebarHeader* _tmp176_;
#line 1050 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp173_ = self->priv->d_main;
#line 1050 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp174_ = gitg_commit_paned_get_sidebar (_tmp173_);
#line 1050 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp175_ = _tmp174_;
#line 1050 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp176_ = unstaged_header;
#line 1050 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_sidebar_select ((GitgSidebar*) _tmp175_, (GitgSidebarItem*) _tmp176_);
#line 8338 "gitg-commit.c"
		}
	}
#line 806 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (unstaged_header);
#line 806 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (staged_header);
#line 806 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	current_submodules = (_vala_array_free (current_submodules, current_submodules_length1, (GDestroyNotify) g_object_unref), NULL);
#line 806 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	current_untracked = (_vala_array_free (current_untracked, current_untracked_length1, (GDestroyNotify) g_object_unref), NULL);
#line 806 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	current_unstaged = (_vala_array_free (current_unstaged, current_unstaged_length1, (GDestroyNotify) g_object_unref), NULL);
#line 806 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	current_staged = (_vala_array_free (current_staged, current_staged_length1, (GDestroyNotify) g_object_unref), NULL);
#line 806 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	dirty = (_vala_array_free (dirty, dirty_length1, (GDestroyNotify) g_object_unref), NULL);
#line 806 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	untracked = (_vala_array_free (untracked, untracked_length1, (GDestroyNotify) g_object_unref), NULL);
#line 806 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	unstaged = (_vala_array_free (unstaged, unstaged_length1, (GDestroyNotify) g_object_unref), NULL);
#line 806 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	staged = (_vala_array_free (staged, staged_length1, (GDestroyNotify) g_object_unref), NULL);
#line 806 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	items = (_vala_array_free (items, items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 8363 "gitg-commit.c"
}


static void ___lambda14__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 806 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__lambda14_ (self, source_object, res);
#line 806 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block10_data_unref (self);
#line 8372 "gitg-commit.c"
}


static void _vala_GgitStatusOptions_free (GgitStatusOptions* self) {
#line 750 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_boxed_free (ggit_status_options_get_type (), self);
#line 8379 "gitg-commit.c"
}


static void gitg_commit_activity_reload (GitgCommitActivity* self) {
	Block10Data* _data10_;
	GitgRepository* repository;
	GitgExtApplication* _tmp0_;
	GitgExtApplication* _tmp1_;
	GitgExtApplication* _tmp2_;
	GitgRepository* _tmp3_;
	GitgRepository* _tmp4_;
	GitgRepository* _tmp5_;
	gboolean _tmp6_ = FALSE;
	GitgRepository* _tmp7_;
	GitgCommitSidebar* sb;
	GitgCommitPaned* _tmp9_;
	GitgCommitSidebar* _tmp10_;
	GitgCommitSidebar* _tmp11_;
	GitgCommitSidebar* _tmp12_;
	GitgCommitSidebar* _tmp13_;
	GitgSidebarStore* _tmp14_;
	GitgSidebarStore* _tmp15_;
	GitgSidebarStore* _tmp16_;
	GitgStageStatusItem** selected_items = NULL;
	gint selected_items_length1 = 0;
	gint _selected_items_size_ = 0;
	GitgCommitSidebar* _tmp17_;
	gint _tmp18_;
	gpointer* _tmp19_;
	GitgSidebarItem** _tmp20_;
	gint _tmp20__length1;
	GitgCommitSidebarItemType _tmp21_ = 0;
	gint _tmp22_;
	GitgStageStatusItem** _tmp23_;
	GeeHashSet* _tmp24_;
	GitgStageStatusItem** _tmp25_;
	gint _tmp25__length1;
	GitgCommitPaned* _tmp32_;
	GitgDiffView* _tmp33_;
	GitgDiffView* _tmp34_;
	gboolean _tmp35_;
	gboolean _tmp36_;
	GitgStage* stage;
	GitgRepository* _tmp42_;
	GitgStage* _tmp43_;
	GitgStage* _tmp44_;
	GgitStatusOption opts;
	GgitStatusShow show;
	GgitStatusOptions* options;
	GgitStatusOption _tmp45_;
	GgitStatusShow _tmp46_;
	GgitStatusOptions* _tmp47_;
	GitgStage* _tmp48_;
	GgitStatusOptions* _tmp49_;
	GitgStageStatusEnumerator* _tmp50_;
	GitgStageStatusEnumerator* _tmp51_;
	GError * _inner_error_ = NULL;
#line 750 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 750 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data10_ = g_slice_new0 (Block10Data);
#line 750 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data10_->_ref_count_ = 1;
#line 750 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data10_->self = g_object_ref (self);
#line 752 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_gitg_when_mapped_unref0 (self->priv->d_reload_when_mapped);
#line 752 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_reload_when_mapped = NULL;
#line 754 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 754 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _tmp0_;
#line 754 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 754 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = gitg_ext_application_get_repository (_tmp2_);
#line 754 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _tmp3_;
#line 754 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = _tmp4_;
#line 754 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp2_);
#line 754 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	repository = _tmp5_;
#line 756 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = repository;
#line 756 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp7_ == NULL) {
#line 756 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = TRUE;
#line 8471 "gitg-commit.c"
	} else {
		gboolean _tmp8_;
#line 756 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = self->priv->d_reloading;
#line 756 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = _tmp8_;
#line 8478 "gitg-commit.c"
	}
#line 756 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp6_) {
#line 758 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (repository);
#line 758 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		block10_data_unref (_data10_);
#line 758 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data10_ = NULL;
#line 758 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 8490 "gitg-commit.c"
	}
#line 761 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_reloading = TRUE;
#line 763 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = self->priv->d_main;
#line 763 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = gitg_commit_paned_get_sidebar (_tmp9_);
#line 763 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp11_ = _tmp10_;
#line 763 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp12_ = _g_object_ref0 (_tmp11_);
#line 763 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	sb = _tmp12_;
#line 764 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp13_ = sb;
#line 764 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp14_ = gitg_sidebar_get_model ((GitgSidebar*) _tmp13_);
#line 764 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp15_ = _tmp14_;
#line 764 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp16_ = _g_object_ref0 (_tmp15_);
#line 764 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data10_->model = _tmp16_;
#line 769 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp17_ = sb;
#line 769 "/home/mcatanzaro/Projects/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 769 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp20_ = _tmp19_;
#line 769 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp20__length1 = _tmp18_;
#line 769 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp23_ = gitg_commit_activity_items_for_items (self, _tmp20_, _tmp18_, &_tmp21_, &_tmp22_);
#line 769 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data10_->selected_type = _tmp21_;
#line 769 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	selected_items = (_vala_array_free (selected_items, selected_items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 769 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	selected_items = _tmp23_;
#line 769 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	selected_items_length1 = _tmp22_;
#line 769 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_selected_items_size_ = selected_items_length1;
#line 769 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp20_ = (_vala_array_free (_tmp20_, _tmp20__length1, (GDestroyNotify) g_object_unref), NULL);
#line 772 "/home/mcatanzaro/Projects/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 772 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data10_->selected_paths = _tmp24_;
#line 774 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp25_ = selected_items;
#line 774 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp25__length1 = selected_items_length1;
#line 8544 "gitg-commit.c"
	{
		GitgStageStatusItem** item_collection = NULL;
		gint item_collection_length1 = 0;
		gint _item_collection_size_ = 0;
		gint item_it = 0;
#line 774 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		item_collection = _tmp25_;
#line 774 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		item_collection_length1 = _tmp25__length1;
#line 774 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		for (item_it = 0; item_it < _tmp25__length1; item_it = item_it + 1) {
#line 8556 "gitg-commit.c"
			GitgStageStatusItem* _tmp26_;
			GitgStageStatusItem* item = NULL;
#line 774 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp26_ = _g_object_ref0 (item_collection[item_it]);
#line 774 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			item = _tmp26_;
#line 8563 "gitg-commit.c"
			{
				GeeHashSet* _tmp27_;
				GitgStageStatusItem* _tmp28_;
				gchar* _tmp29_;
				gchar* _tmp30_;
				gchar* _tmp31_;
#line 776 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp27_ = _data10_->selected_paths;
#line 776 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp28_ = item;
#line 776 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp29_ = gitg_stage_status_item_get_path (_tmp28_);
#line 776 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp30_ = _tmp29_;
#line 776 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp31_ = _tmp30_;
#line 776 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				gee_abstract_collection_add ((GeeAbstractCollection*) _tmp27_, _tmp31_);
#line 776 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_free0 (_tmp31_);
#line 774 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (item);
#line 8586 "gitg-commit.c"
			}
		}
	}
#line 779 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp32_ = self->priv->d_main;
#line 779 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp33_ = gitg_commit_paned_get_diff_view (_tmp32_);
#line 779 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp34_ = _tmp33_;
#line 779 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp35_ = gitg_diff_view_get_use_gravatar (_tmp34_);
#line 779 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp36_ = _tmp35_;
#line 779 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp36_) {
#line 8602 "gitg-commit.c"
		{
			Block11Data* _data11_;
			GgitSignature* author;
			GgitSignature* _tmp37_;
			GitgAvatarCache* _tmp38_;
			GitgAvatarCache* _tmp39_;
			GgitSignature* _tmp40_;
			const gchar* _tmp41_;
#line 782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data11_ = g_slice_new0 (Block11Data);
#line 782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data11_->_ref_count_ = 1;
#line 782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data11_->_data10_ = block10_data_ref (_data10_);
#line 784 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp37_ = gitg_commit_activity_get_signature (self, "AUTHOR", &_inner_error_);
#line 784 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			author = _tmp37_;
#line 784 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 784 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				block11_data_unref (_data11_);
#line 784 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data11_ = NULL;
#line 8627 "gitg-commit.c"
				goto __catch20_g_error;
			}
#line 785 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp38_ = gitg_avatar_cache_default ();
#line 785 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data11_->ac = _tmp38_;
#line 787 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp39_ = _data11_->ac;
#line 787 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp40_ = author;
#line 787 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp41_ = ggit_signature_get_email (_tmp40_);
#line 787 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_avatar_cache_load (_tmp39_, _tmp41_, 50, NULL, _____lambda13__gasync_ready_callback, block11_data_ref (_data11_));
#line 782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (author);
#line 782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			block11_data_unref (_data11_);
#line 782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data11_ = NULL;
#line 8648 "gitg-commit.c"
		}
		goto __finally20;
		__catch20_g_error:
		{
#line 782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_clear_error (&_inner_error_);
#line 782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_inner_error_ = NULL;
#line 8657 "gitg-commit.c"
		}
		__finally20:
#line 782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			selected_items = (_vala_array_free (selected_items, selected_items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (sb);
#line 782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (repository);
#line 782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			block10_data_unref (_data10_);
#line 782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data10_ = NULL;
#line 782 "/home/mcatanzaro/Projects/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 782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_clear_error (&_inner_error_);
#line 782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			return;
#line 8678 "gitg-commit.c"
		}
	}
#line 793 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp42_ = repository;
#line 793 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp43_ = gitg_repository_get_stage (_tmp42_);
#line 793 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp44_ = _tmp43_;
#line 793 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	stage = _tmp44_;
#line 795 "/home/mcatanzaro/Projects/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 801 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	show = GGIT_STATUS_SHOW_INDEX_AND_WORKDIR;
#line 803 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp45_ = opts;
#line 803 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp46_ = show;
#line 803 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp47_ = ggit_status_options_new (_tmp45_, _tmp46_, NULL);
#line 803 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	options = _tmp47_;
#line 804 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp48_ = stage;
#line 804 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp49_ = options;
#line 804 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp50_ = gitg_stage_file_status (_tmp48_, _tmp49_);
#line 804 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data10_->enumerator = _tmp50_;
#line 806 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp51_ = _data10_->enumerator;
#line 806 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_stage_status_enumerator_next_items (_tmp51_, -1, ___lambda14__gasync_ready_callback, block10_data_ref (_data10_));
#line 750 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__vala_GgitStatusOptions_free0 (options);
#line 750 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (stage);
#line 750 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	selected_items = (_vala_array_free (selected_items, selected_items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 750 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (sb);
#line 750 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (repository);
#line 750 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block10_data_unref (_data10_);
#line 750 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data10_ = NULL;
#line 8727 "gitg-commit.c"
}


static void gitg_commit_activity_real_activate (GitgExtUIElement* base) {
	GitgCommitActivity * self;
#line 1056 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = (GitgCommitActivity*) base;
#line 1058 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_reload (self);
#line 8737 "gitg-commit.c"
}


static Block12Data* block12_data_ref (Block12Data* _data12_) {
#line 1061 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data12_->_ref_count_);
#line 1061 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return _data12_;
#line 8746 "gitg-commit.c"
}


static void block12_data_unref (void * _userdata_) {
	Block12Data* _data12_;
	_data12_ = (Block12Data*) _userdata_;
#line 1061 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data12_->_ref_count_)) {
#line 8755 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1061 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self = _data12_->self;
#line 1061 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data12_->stage);
#line 1061 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data12_->dlg);
#line 1061 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1061 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block12Data, _data12_);
#line 8767 "gitg-commit.c"
	}
}


static void __lambda33_ (Block12Data* _data12_, GObject* obj, GAsyncResult* res) {
	GitgCommitActivity* self;
	GitgCommitDialog* _tmp14_;
	GError * _inner_error_ = NULL;
#line 1096 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data12_->self;
#line 1096 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 8780 "gitg-commit.c"
	{
		GitgStage* _tmp0_;
		GAsyncResult* _tmp1_;
		GgitOId* _tmp2_;
		GgitOId* _tmp3_;
		GitgExtApplication* _tmp4_;
		GitgExtApplication* _tmp5_;
		GitgExtApplication* _tmp6_;
#line 1099 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _data12_->stage;
#line 1099 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = res;
#line 1099 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = gitg_stage_commit_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 1099 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp3_ = _tmp2_;
#line 1099 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		__vala_GgitOId_free0 (_tmp3_);
#line 1099 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 8801 "gitg-commit.c"
			goto __catch21_g_error;
		}
#line 1100 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_reload (self);
#line 1102 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1102 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = _tmp4_;
#line 1102 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = _tmp5_;
#line 1102 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_signal_emit_by_name (_tmp6_, "repository-commits-changed");
#line 1102 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp6_);
#line 8816 "gitg-commit.c"
	}
	goto __finally21;
	__catch21_g_error:
	{
		GError* e = NULL;
		gchar* msg;
		gchar* _tmp7_;
		GitgExtApplication* _tmp8_;
		GitgExtApplication* _tmp9_;
		GitgExtApplication* _tmp10_;
		const gchar* _tmp11_;
		GError* _tmp12_;
		const gchar* _tmp13_;
#line 1097 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		e = _inner_error_;
#line 1097 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_inner_error_ = NULL;
#line 1106 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = g_strdup (_ ("Failed to commit"));
#line 1106 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		msg = _tmp7_;
#line 1107 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1107 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = _tmp8_;
#line 1107 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = _tmp9_;
#line 1107 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = msg;
#line 1107 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp12_ = e;
#line 1107 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp13_ = _tmp12_->message;
#line 1107 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_ext_application_show_infobar (_tmp10_, _tmp11_, _tmp13_, GTK_MESSAGE_ERROR);
#line 1107 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp10_);
#line 1097 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_free0 (msg);
#line 1097 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_error_free0 (e);
#line 8858 "gitg-commit.c"
	}
	__finally21:
#line 1097 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1097 "/home/mcatanzaro/Projects/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 1097 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 1097 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 8869 "gitg-commit.c"
	}
#line 1110 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp14_ = _data12_->dlg;
#line 1110 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gtk_widget_destroy ((GtkWidget*) _tmp14_);
#line 8875 "gitg-commit.c"
}


static void ___lambda33__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1093 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__lambda33_ (self, source_object, res);
#line 1093 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block12_data_unref (self);
#line 8884 "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_;
	GitgCommitDialog* _tmp1_;
	GitgExtApplication* _tmp2_;
	GitgExtApplication* _tmp3_;
	GitgExtApplication* _tmp4_;
	GitgRepository* _tmp5_;
	GitgRepository* _tmp6_;
	GitgRepository* _tmp7_;
	GitgStage* _tmp8_;
	GitgStage* _tmp9_;
	GitgStage* _tmp10_;
	GitgStageCommitOptions opts;
	GitgCommitDialog* _tmp11_;
	gboolean _tmp12_;
	gboolean _tmp13_;
	GitgCommitDialog* _tmp17_;
	gboolean _tmp18_;
	gboolean _tmp19_;
	gboolean _tmp21_;
	GitgStage* _tmp23_;
	GitgCommitDialog* _tmp24_;
	gchar* _tmp25_;
	gchar* _tmp26_;
	gchar* _tmp27_;
	GgitSignature* _tmp28_;
	GgitSignature* _tmp29_;
	GitgStageCommitOptions _tmp30_;
#line 1061 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 1061 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (dlg != NULL);
#line 1061 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (author != NULL);
#line 1061 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (committer != NULL);
#line 1061 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data12_ = g_slice_new0 (Block12Data);
#line 1061 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data12_->_ref_count_ = 1;
#line 1061 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data12_->self = g_object_ref (self);
#line 1061 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = dlg;
#line 1061 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 1061 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data12_->dlg);
#line 1061 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data12_->dlg = _tmp1_;
#line 1066 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1066 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _tmp2_;
#line 1066 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _tmp3_;
#line 1066 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = gitg_ext_application_get_repository (_tmp4_);
#line 1066 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = _tmp5_;
#line 1066 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = _tmp6_;
#line 1066 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = gitg_repository_get_stage (_tmp7_);
#line 1066 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = _tmp8_;
#line 1066 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = _tmp9_;
#line 1066 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp7_);
#line 1066 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp4_);
#line 1066 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data12_->stage = _tmp10_;
#line 1068 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	opts = 0;
#line 1070 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp11_ = _data12_->dlg;
#line 1070 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp12_ = gitg_commit_dialog_get_amend (_tmp11_);
#line 1070 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp13_ = _tmp12_;
#line 1070 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp13_) {
#line 8973 "gitg-commit.c"
		GitgStageCommitOptions _tmp14_;
#line 1072 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp14_ = opts;
#line 1072 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		opts = _tmp14_ | GITG_STAGE_COMMIT_OPTIONS_AMEND;
#line 8979 "gitg-commit.c"
	} else {
		gboolean _tmp15_;
#line 1074 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp15_ = self->priv->d_has_staged;
#line 1074 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (!_tmp15_) {
#line 8986 "gitg-commit.c"
			GitgCommitDialog* _tmp16_;
#line 1076 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp16_ = _data12_->dlg;
#line 1076 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_commit_dialog_show_infobar (_tmp16_, _ ("There are no changes to be committed"), _ ("Use amend to change the commit message of the previous commit"), GTK_MESSAGE_WARNING);
#line 1079 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			block12_data_unref (_data12_);
#line 1079 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data12_ = NULL;
#line 1079 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			return;
#line 8998 "gitg-commit.c"
		}
	}
#line 1082 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp17_ = _data12_->dlg;
#line 1082 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp18_ = gitg_commit_dialog_get_sign_off (_tmp17_);
#line 1082 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp19_ = _tmp18_;
#line 1082 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp19_) {
#line 9009 "gitg-commit.c"
		GitgStageCommitOptions _tmp20_;
#line 1084 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp20_ = opts;
#line 1084 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		opts = _tmp20_ | GITG_STAGE_COMMIT_OPTIONS_SIGN_OFF;
#line 9015 "gitg-commit.c"
	}
#line 1087 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp21_ = skip_hooks;
#line 1087 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp21_) {
#line 9021 "gitg-commit.c"
		GitgStageCommitOptions _tmp22_;
#line 1089 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp22_ = opts;
#line 1089 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		opts = _tmp22_ | GITG_STAGE_COMMIT_OPTIONS_SKIP_HOOKS;
#line 9027 "gitg-commit.c"
	}
#line 1092 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_ignore_external_changes = TRUE;
#line 1093 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp23_ = _data12_->stage;
#line 1093 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp24_ = _data12_->dlg;
#line 1093 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp25_ = gitg_commit_dialog_get_pretty_message (_tmp24_);
#line 1093 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp26_ = _tmp25_;
#line 1093 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp27_ = _tmp26_;
#line 1093 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp28_ = author;
#line 1093 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp29_ = committer;
#line 1093 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp30_ = opts;
#line 1093 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_stage_commit (_tmp23_, _tmp27_, _tmp28_, _tmp29_, _tmp30_, ___lambda33__gasync_ready_callback, block12_data_ref (_data12_));
#line 1093 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (_tmp27_);
#line 1061 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block12_data_unref (_data12_);
#line 1061 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data12_ = NULL;
#line 9055 "gitg-commit.c"
}


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


static void gitg_commit_activity_pre_commit (GitgCommitActivity* self, GgitSignature* author, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgCommitActivityPreCommitData* _data_;
	GitgCommitActivity* _tmp0_;
	GgitSignature* _tmp1_;
	GgitSignature* _tmp2_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_slice_new0 (GitgCommitActivityPreCommitData);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_callback_ == NULL) {
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_task_complete_ = TRUE;
#line 9085 "gitg-commit.c"
	}
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_task_set_task_data (_data_->_async_result, _data_, gitg_commit_activity_pre_commit_data_free);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->self = _tmp0_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = author;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->author);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->author = _tmp2_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_pre_commit_co (_data_);
#line 9103 "gitg-commit.c"
}


static gboolean gitg_commit_activity_pre_commit_finish (GitgCommitActivity* self, GAsyncResult* _res_) {
	gboolean result;
	GitgCommitActivityPreCommitData* _data_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_task_complete_ = TRUE;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = _data_->result;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 9118 "gitg-commit.c"
}


static void gitg_commit_activity_pre_commit_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgCommitActivityPreCommitData* _data_;
#line 1118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = _user_data_;
#line 1118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_source_object_ = source_object;
#line 1118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_res_ = _res_;
#line 1118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_task_complete_ = TRUE;
#line 1118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_pre_commit_co (_data_);
#line 9134 "gitg-commit.c"
}


static gboolean gitg_commit_activity_pre_commit_co (GitgCommitActivityPreCommitData* _data_) {
#line 1114 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	switch (_data_->_state_) {
#line 1114 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 0:
#line 9143 "gitg-commit.c"
		goto _state_0;
#line 1114 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 1:
#line 9147 "gitg-commit.c"
		goto _state_1;
		default:
#line 1114 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_assert_not_reached ();
#line 9152 "gitg-commit.c"
	}
	_state_0:
	{
#line 1118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 1118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp1_ = _data_->_tmp0_;
#line 1118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp2_ = _data_->_tmp1_;
#line 1118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp3_ = gitg_ext_application_get_repository (_data_->_tmp2_);
#line 1118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp4_ = _data_->_tmp3_;
#line 1118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp5_ = _data_->_tmp4_;
#line 1118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp6_ = gitg_repository_get_stage (_data_->_tmp5_);
#line 1118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp7_ = _data_->_tmp6_;
#line 1118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp8_ = _data_->_tmp7_;
#line 1118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp9_ = _data_->author;
#line 1118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_state_ = 1;
#line 1118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_stage_pre_commit_hook (_data_->_tmp8_, _data_->_tmp9_, gitg_commit_activity_pre_commit_ready, _data_);
#line 1118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return FALSE;
#line 9182 "gitg-commit.c"
		_state_1:
#line 1118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_stage_pre_commit_hook_finish (_data_->_tmp8_, _data_->_res_, &_data_->_inner_error_);
#line 1118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data_->_tmp8_);
#line 1118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data_->_tmp5_);
#line 1118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data_->_tmp2_);
#line 1118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			if (_data_->_inner_error_->domain == GITG_STAGE_ERROR) {
#line 9196 "gitg-commit.c"
				goto __catch22_gitg_stage_error;
			}
#line 1118 "/home/mcatanzaro/Projects/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 1118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_clear_error (&_data_->_inner_error_);
#line 1118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 9205 "gitg-commit.c"
		}
	}
	goto __finally22;
	__catch22_gitg_stage_error:
	{
#line 1116 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->e = _data_->_inner_error_;
#line 1116 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_inner_error_ = NULL;
#line 1122 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp10_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 1122 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp11_ = _data_->_tmp10_;
#line 1122 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp12_ = _data_->_tmp11_;
#line 1122 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp13_ = _data_->e;
#line 1122 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp14_ = _data_->_tmp13_->message;
#line 1122 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_ext_application_show_infobar (_data_->_tmp12_, _ ("Failed to pass pre-commit"), _data_->_tmp14_, GTK_MESSAGE_ERROR);
#line 1122 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data_->_tmp12_);
#line 1126 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->result = FALSE;
#line 1126 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_error_free0 (_data_->e);
#line 1126 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 1126 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (_data_->_state_ != 0) {
#line 1126 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			while (_data_->_task_complete_ != TRUE) {
#line 1126 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 9241 "gitg-commit.c"
			}
		}
#line 1126 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_object_unref (_data_->_async_result);
#line 1126 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return FALSE;
#line 9248 "gitg-commit.c"
	}
	__finally22:
#line 1116 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1116 "/home/mcatanzaro/Projects/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 1116 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_data_->_inner_error_);
#line 1116 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return FALSE;
#line 9259 "gitg-commit.c"
	}
#line 1129 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->result = TRUE;
#line 1129 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 1129 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ != 0) {
#line 1129 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 1129 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 9271 "gitg-commit.c"
		}
	}
#line 1129 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 1129 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 9278 "gitg-commit.c"
}


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


static void gitg_commit_activity_get_head_commit (GitgCommitActivity* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgCommitActivityGetHeadCommitData* _data_;
	GitgCommitActivity* _tmp0_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_slice_new0 (GitgCommitActivityGetHeadCommitData);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_callback_ == NULL) {
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_task_complete_ = TRUE;
#line 9306 "gitg-commit.c"
	}
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_task_set_task_data (_data_->_async_result, _data_, gitg_commit_activity_get_head_commit_data_free);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->self = _tmp0_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_get_head_commit_co (_data_);
#line 9316 "gitg-commit.c"
}


static GitgCommit* gitg_commit_activity_get_head_commit_finish (GitgCommitActivity* self, GAsyncResult* _res_) {
	GitgCommit* result;
	GitgCommitActivityGetHeadCommitData* _data_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_task_complete_ = TRUE;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = _data_->result;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->result = NULL;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 9333 "gitg-commit.c"
}


static Block13Data* block13_data_ref (Block13Data* _data13_) {
#line 1132 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data13_->_ref_count_);
#line 1132 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return _data13_;
#line 9342 "gitg-commit.c"
}


static void block13_data_unref (void * _userdata_) {
	Block13Data* _data13_;
	_data13_ = (Block13Data*) _userdata_;
#line 1132 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data13_->_ref_count_)) {
#line 9351 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1132 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self = _data13_->self;
#line 1132 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data13_->retval);
#line 1132 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1132 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block13Data, _data13_);
#line 9361 "gitg-commit.c"
	}
}


static void ___lambda34_ (Block13Data* _data13_, GError** error) {
	GitgCommitActivity* self;
	GitgRepository* repo;
	GitgExtApplication* _tmp0_;
	GitgExtApplication* _tmp1_;
	GitgExtApplication* _tmp2_;
	GitgRepository* _tmp3_;
	GitgRepository* _tmp4_;
	GitgRepository* _tmp5_;
	GError * _inner_error_ = NULL;
#line 1138 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data13_->self;
#line 1139 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1139 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _tmp0_;
#line 1139 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 1139 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = gitg_ext_application_get_repository (_tmp2_);
#line 1139 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _tmp3_;
#line 1139 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = _tmp4_;
#line 1139 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp2_);
#line 1139 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	repo = _tmp5_;
#line 9394 "gitg-commit.c"
	{
		GitgRef* head;
		GitgRepository* _tmp6_;
		GitgRef* _tmp7_;
		GitgCommit* _tmp8_;
		GitgRepository* _tmp9_;
		GitgRef* _tmp10_;
		GgitOId* _tmp11_;
		GgitOId* _tmp12_;
		gpointer _tmp13_;
		GitgCommit* _tmp14_;
		GitgCommit* _tmp15_;
#line 1143 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = repo;
#line 1143 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = gitg_repository_get_head (_tmp6_, &_inner_error_);
#line 1143 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		head = _tmp7_;
#line 1143 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 9415 "gitg-commit.c"
			goto __catch24_g_error;
		}
#line 1144 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = repo;
#line 1144 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = head;
#line 1144 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = ggit_ref_get_target ((GgitRef*) _tmp10_);
#line 1144 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp12_ = _tmp11_;
#line 1144 "/home/mcatanzaro/Projects/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 1144 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp14_ = (GitgCommit*) _tmp13_;
#line 1144 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		__vala_GgitOId_free0 (_tmp12_);
#line 1144 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = _tmp14_;
#line 1144 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1144 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (head);
#line 9438 "gitg-commit.c"
			goto __catch24_g_error;
		}
#line 1144 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp15_ = _tmp8_;
#line 1144 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = NULL;
#line 1144 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data13_->retval);
#line 1144 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data13_->retval = _tmp15_;
#line 1141 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp8_);
#line 1141 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (head);
#line 9453 "gitg-commit.c"
	}
	goto __finally24;
	__catch24_g_error:
	{
#line 1141 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 1141 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_inner_error_ = NULL;
#line 9462 "gitg-commit.c"
	}
	__finally24:
#line 1141 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1141 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_propagate_error (error, _inner_error_);
#line 1141 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (repo);
#line 1141 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 9473 "gitg-commit.c"
	}
#line 1138 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (repo);
#line 9477 "gitg-commit.c"
}


static void ____lambda34__gitg_async_thread_func (gpointer self, GError** error) {
#line 1138 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	___lambda34_ (self, error);
#line 9484 "gitg-commit.c"
}


static void gitg_commit_activity_get_head_commit_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgCommitActivityGetHeadCommitData* _data_;
#line 1138 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = _user_data_;
#line 1138 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_source_object_ = source_object;
#line 1138 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_res_ = _res_;
#line 1138 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_task_complete_ = TRUE;
#line 1138 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_get_head_commit_co (_data_);
#line 9500 "gitg-commit.c"
}


static gboolean gitg_commit_activity_get_head_commit_co (GitgCommitActivityGetHeadCommitData* _data_) {
#line 1132 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	switch (_data_->_state_) {
#line 1132 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 0:
#line 9509 "gitg-commit.c"
		goto _state_0;
#line 1132 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 1:
#line 9513 "gitg-commit.c"
		goto _state_1;
		default:
#line 1132 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_assert_not_reached ();
#line 9518 "gitg-commit.c"
	}
	_state_0:
#line 1132 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data13_ = g_slice_new0 (Block13Data);
#line 1132 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data13_->_ref_count_ = 1;
#line 1132 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data13_->self = g_object_ref (_data_->self);
#line 1132 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data13_->_async_data_ = _data_;
#line 1134 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data13_->retval = NULL;
#line 9531 "gitg-commit.c"
	{
#line 1138 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_state_ = 1;
#line 1138 "/home/mcatanzaro/Projects/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 1138 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return FALSE;
#line 9539 "gitg-commit.c"
		_state_1:
#line 1138 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_async_thread_finish (_data_->_res_, &_data_->_inner_error_);
#line 1138 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 9545 "gitg-commit.c"
			goto __catch23_g_error;
		}
	}
	goto __finally23;
	__catch23_g_error:
	{
#line 1136 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_data_->_inner_error_);
#line 1136 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_inner_error_ = NULL;
#line 9556 "gitg-commit.c"
	}
	__finally23:
#line 1136 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1136 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		block13_data_unref (_data_->_data13_);
#line 1136 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_data13_ = NULL;
#line 1136 "/home/mcatanzaro/Projects/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 1136 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_data_->_inner_error_);
#line 1136 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return FALSE;
#line 9571 "gitg-commit.c"
	}
#line 1149 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = _g_object_ref0 (_data_->_data13_->retval);
#line 1149 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->result = _data_->_tmp0_;
#line 1149 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block13_data_unref (_data_->_data13_);
#line 1149 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data13_ = NULL;
#line 1149 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 1149 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ != 0) {
#line 1149 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 1149 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 9589 "gitg-commit.c"
		}
	}
#line 1149 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 1149 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 9596 "gitg-commit.c"
}


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


static void gitg_commit_activity_index_diff (GitgCommitActivity* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgCommitActivityIndexDiffData* _data_;
	GitgCommitActivity* _tmp0_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_slice_new0 (GitgCommitActivityIndexDiffData);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_callback_ == NULL) {
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_task_complete_ = TRUE;
#line 9624 "gitg-commit.c"
	}
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_task_set_task_data (_data_->_async_result, _data_, gitg_commit_activity_index_diff_data_free);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->self = _tmp0_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_index_diff_co (_data_);
#line 9634 "gitg-commit.c"
}


static GgitDiff* gitg_commit_activity_index_diff_finish (GitgCommitActivity* self, GAsyncResult* _res_) {
	GgitDiff* result;
	GitgCommitActivityIndexDiffData* _data_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_task_complete_ = TRUE;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = _data_->result;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->result = NULL;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 9651 "gitg-commit.c"
}


static Block14Data* block14_data_ref (Block14Data* _data14_) {
#line 1152 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data14_->_ref_count_);
#line 1152 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return _data14_;
#line 9660 "gitg-commit.c"
}


static void block14_data_unref (void * _userdata_) {
	Block14Data* _data14_;
	_data14_ = (Block14Data*) _userdata_;
#line 1152 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data14_->_ref_count_)) {
#line 9669 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1152 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self = _data14_->self;
#line 1152 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data14_->diff);
#line 1152 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data14_->tree);
#line 1152 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data14_->repository);
#line 1152 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data14_->opts);
#line 1152 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1152 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block14Data, _data14_);
#line 9685 "gitg-commit.c"
	}
}


static void gitg_commit_activity_index_diff_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgCommitActivityIndexDiffData* _data_;
#line 1173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = _user_data_;
#line 1173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_source_object_ = source_object;
#line 1173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_res_ = _res_;
#line 1173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_task_complete_ = TRUE;
#line 1173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_index_diff_co (_data_);
#line 9702 "gitg-commit.c"
}


static Block15Data* block15_data_ref (Block15Data* _data15_) {
#line 1180 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data15_->_ref_count_);
#line 1180 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return _data15_;
#line 9711 "gitg-commit.c"
}


static void block15_data_unref (void * _userdata_) {
	Block15Data* _data15_;
	_data15_ = (Block15Data*) _userdata_;
#line 1180 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data15_->_ref_count_)) {
#line 9720 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1180 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self = _data15_->_data14_->self;
#line 1180 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data15_->index);
#line 1180 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		block14_data_unref (_data15_->_data14_);
#line 1180 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data15_->_data14_ = NULL;
#line 1180 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block15Data, _data15_);
#line 9732 "gitg-commit.c"
	}
}


static void ___lambda35_ (Block15Data* _data15_, GError** error) {
	Block14Data* _data14_;
	GitgCommitActivity* self;
	GgitDiff* _tmp0_;
	GitgRepository* _tmp1_;
	GgitTree* _tmp2_;
	GgitIndex* _tmp3_;
	GgitDiffOptions* _tmp4_;
	GgitDiff* _tmp5_;
	GgitDiff* _tmp6_;
	GError * _inner_error_ = NULL;
#line 1184 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data14_ = _data15_->_data14_;
#line 1184 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data14_->self;
#line 1185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _data14_->repository;
#line 1185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _data14_->tree;
#line 1185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _data15_->index;
#line 1185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _data14_->opts;
#line 1185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = ggit_diff_new_tree_to_index ((GgitRepository*) _tmp1_, _tmp2_, _tmp3_, _tmp4_, &_inner_error_);
#line 1185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _tmp5_;
#line 1185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_propagate_error (error, _inner_error_);
#line 1185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 9770 "gitg-commit.c"
	}
#line 1185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = _tmp0_;
#line 1185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = NULL;
#line 1185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data14_->diff);
#line 1185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data14_->diff = _tmp6_;
#line 1184 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp0_);
#line 9782 "gitg-commit.c"
}


static void ____lambda35__gitg_async_thread_func (gpointer self, GError** error) {
#line 1184 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	___lambda35_ (self, error);
#line 9789 "gitg-commit.c"
}


static gboolean gitg_commit_activity_index_diff_co (GitgCommitActivityIndexDiffData* _data_) {
#line 1152 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	switch (_data_->_state_) {
#line 1152 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 0:
#line 9798 "gitg-commit.c"
		goto _state_0;
#line 1152 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 1:
#line 9802 "gitg-commit.c"
		goto _state_1;
#line 1152 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 2:
#line 9806 "gitg-commit.c"
		goto _state_2;
		default:
#line 1152 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_assert_not_reached ();
#line 9811 "gitg-commit.c"
	}
	_state_0:
#line 1152 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data14_ = g_slice_new0 (Block14Data);
#line 1152 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data14_->_ref_count_ = 1;
#line 1152 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data14_->self = g_object_ref (_data_->self);
#line 1152 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data14_->_async_data_ = _data_;
#line 1154 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = ggit_diff_options_new ();
#line 1154 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data14_->opts = _data_->_tmp0_;
#line 1156 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp1_ = _data_->_data14_->opts;
#line 1156 "/home/mcatanzaro/Projects/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 1160 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp2_ = _data_->_data14_->opts;
#line 1160 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	ggit_diff_options_set_n_context_lines (_data_->_tmp2_, 3);
#line 1161 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp3_ = _data_->_data14_->opts;
#line 1161 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	ggit_diff_options_set_n_interhunk_lines (_data_->_tmp3_, 3);
#line 1163 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 1163 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp5_ = _data_->_tmp4_;
#line 1163 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 1163 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp7_ = gitg_ext_application_get_repository (_data_->_tmp6_);
#line 1163 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp8_ = _data_->_tmp7_;
#line 1163 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9_ = _data_->_tmp8_;
#line 1163 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->_tmp6_);
#line 1163 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data14_->repository = _data_->_tmp9_;
#line 1165 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp10_ = _data_->_data14_->repository;
#line 1165 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp11_ = gitg_repository_get_stage (_data_->_tmp10_);
#line 1165 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp12_ = _data_->_tmp11_;
#line 1165 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->stage = _data_->_tmp12_;
#line 1167 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data14_->tree = NULL;
#line 9864 "gitg-commit.c"
	{
#line 1171 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp14_ = _data_->_data14_->repository;
#line 1171 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp15_ = ggit_repository_is_empty ((GgitRepository*) _data_->_tmp14_, &_data_->_inner_error_);
#line 1171 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp13_ = _data_->_tmp15_;
#line 1171 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 9874 "gitg-commit.c"
			goto __catch25_g_error;
		}
#line 1171 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (!_data_->_tmp13_) {
#line 1173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp17_ = _data_->stage;
#line 1173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_state_ = 1;
#line 1173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_stage_get_head_tree (_data_->_tmp17_, gitg_commit_activity_index_diff_ready, _data_);
#line 1173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			return FALSE;
#line 9887 "gitg-commit.c"
			_state_1:
#line 1173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp18_ = gitg_stage_get_head_tree_finish (_data_->_tmp17_, _data_->_res_, &_data_->_inner_error_);
#line 1173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp16_ = _data_->_tmp18_;
#line 1173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 9895 "gitg-commit.c"
				goto __catch25_g_error;
			}
#line 1173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp19_ = _data_->_tmp16_;
#line 1173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp16_ = NULL;
#line 1173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->_data14_->tree);
#line 1173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_data14_->tree = _data_->_tmp19_;
#line 1171 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_object_unref0 (_data_->_tmp16_);
#line 9908 "gitg-commit.c"
		}
	}
	goto __finally25;
	__catch25_g_error:
	{
#line 1169 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_data_->_inner_error_);
#line 1169 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_inner_error_ = NULL;
#line 1176 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->result = NULL;
#line 1176 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data_->stage);
#line 1176 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		block14_data_unref (_data_->_data14_);
#line 1176 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_data14_ = NULL;
#line 1176 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 1176 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (_data_->_state_ != 0) {
#line 1176 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			while (_data_->_task_complete_ != TRUE) {
#line 1176 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 9934 "gitg-commit.c"
			}
		}
#line 1176 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_object_unref (_data_->_async_result);
#line 1176 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return FALSE;
#line 9941 "gitg-commit.c"
	}
	__finally25:
#line 1169 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1169 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data_->stage);
#line 1169 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		block14_data_unref (_data_->_data14_);
#line 1169 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_data14_ = NULL;
#line 1169 "/home/mcatanzaro/Projects/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 1169 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_data_->_inner_error_);
#line 1169 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return FALSE;
#line 9958 "gitg-commit.c"
	}
#line 1178 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data14_->diff = NULL;
#line 9962 "gitg-commit.c"
	{
#line 1180 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_data15_ = g_slice_new0 (Block15Data);
#line 1180 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_data15_->_ref_count_ = 1;
#line 1180 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_data15_->_data14_ = block14_data_ref (_data_->_data14_);
#line 1182 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp20_ = _data_->_data14_->repository;
#line 1182 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp21_ = ggit_repository_get_index ((GgitRepository*) _data_->_tmp20_, &_data_->_inner_error_);
#line 1182 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_data15_->index = _data_->_tmp21_;
#line 1182 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1182 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			block15_data_unref (_data_->_data15_);
#line 1182 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_data15_ = NULL;
#line 9982 "gitg-commit.c"
			goto __catch26_g_error;
		}
#line 1184 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_state_ = 2;
#line 1184 "/home/mcatanzaro/Projects/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 1184 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return FALSE;
#line 9991 "gitg-commit.c"
		_state_2:
#line 1184 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_async_thread_finish (_data_->_res_, &_data_->_inner_error_);
#line 1184 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1184 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			block15_data_unref (_data_->_data15_);
#line 1184 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_data15_ = NULL;
#line 10001 "gitg-commit.c"
			goto __catch26_g_error;
		}
#line 1180 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		block15_data_unref (_data_->_data15_);
#line 1180 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_data15_ = NULL;
#line 10008 "gitg-commit.c"
	}
	goto __finally26;
	__catch26_g_error:
	{
#line 1180 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_data_->_inner_error_);
#line 1180 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_inner_error_ = NULL;
#line 1190 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->result = NULL;
#line 1190 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data_->stage);
#line 1190 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		block14_data_unref (_data_->_data14_);
#line 1190 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_data14_ = NULL;
#line 1190 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 1190 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (_data_->_state_ != 0) {
#line 1190 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			while (_data_->_task_complete_ != TRUE) {
#line 1190 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 10033 "gitg-commit.c"
			}
		}
#line 1190 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_object_unref (_data_->_async_result);
#line 1190 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return FALSE;
#line 10040 "gitg-commit.c"
	}
	__finally26:
#line 1180 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1180 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data_->stage);
#line 1180 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		block14_data_unref (_data_->_data14_);
#line 1180 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_data14_ = NULL;
#line 1180 "/home/mcatanzaro/Projects/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 1180 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_data_->_inner_error_);
#line 1180 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return FALSE;
#line 10057 "gitg-commit.c"
	}
#line 1192 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp22_ = _data_->_data14_->diff;
#line 1192 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp23_ = _g_object_ref0 (_data_->_tmp22_);
#line 1192 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->result = _data_->_tmp23_;
#line 1192 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->stage);
#line 1192 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block14_data_unref (_data_->_data14_);
#line 1192 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data14_ = NULL;
#line 1192 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 1192 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ != 0) {
#line 1192 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 1192 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 10079 "gitg-commit.c"
		}
	}
#line 1192 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 1192 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 10086 "gitg-commit.c"
}


static Block16Data* block16_data_ref (Block16Data* _data16_) {
#line 1195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data16_->_ref_count_);
#line 1195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return _data16_;
#line 10095 "gitg-commit.c"
}


static void block16_data_unref (void * _userdata_) {
	Block16Data* _data16_;
	_data16_ = (Block16Data*) _userdata_;
#line 1195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data16_->_ref_count_)) {
#line 10104 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self = _data16_->self;
#line 1195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data16_->author);
#line 1195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data16_->committer);
#line 1195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block16Data, _data16_);
#line 10116 "gitg-commit.c"
	}
}


static void __lambda36_ (Block16Data* _data16_, GObject* obj, GAsyncResult* res) {
	GitgCommitActivity* self;
	GgitDiff* diff;
	GAsyncResult* _tmp0_;
	GgitDiff* _tmp1_;
	gboolean _tmp2_;
	GgitSignature* _tmp3_;
	GgitSignature* _tmp4_;
#line 1199 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data16_->self;
#line 1199 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 1200 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = res;
#line 1200 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_activity_index_diff_finish (self, _tmp0_);
#line 1200 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	diff = _tmp1_;
#line 1202 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _data16_->skip_hooks;
#line 1202 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _data16_->author;
#line 1202 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _data16_->committer;
#line 1202 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_run_commit_dialog_with_diff (self, _tmp2_, _tmp3_, _tmp4_, diff);
#line 1199 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (diff);
#line 10149 "gitg-commit.c"
}


static void ___lambda36__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1199 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__lambda36_ (self, source_object, res);
#line 1199 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block16_data_unref (self);
#line 10158 "gitg-commit.c"
}


static void gitg_commit_activity_run_commit_dialog (GitgCommitActivity* self, gboolean skip_hooks, GgitSignature* author, GgitSignature* committer) {
	Block16Data* _data16_;
	gboolean _tmp0_;
	GgitSignature* _tmp1_;
	GgitSignature* _tmp2_;
	GgitSignature* _tmp3_;
	GgitSignature* _tmp4_;
#line 1195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 1195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (author != NULL);
#line 1195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (committer != NULL);
#line 1195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data16_ = g_slice_new0 (Block16Data);
#line 1195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data16_->_ref_count_ = 1;
#line 1195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data16_->self = g_object_ref (self);
#line 1195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = skip_hooks;
#line 1195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data16_->skip_hooks = _tmp0_;
#line 1195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = author;
#line 1195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 1195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data16_->author);
#line 1195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data16_->author = _tmp2_;
#line 1195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = committer;
#line 1195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 1195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data16_->committer);
#line 1195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data16_->committer = _tmp4_;
#line 1199 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_index_diff (self, ___lambda36__gasync_ready_callback, block16_data_ref (_data16_));
#line 1195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block16_data_unref (_data16_);
#line 1195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data16_ = NULL;
#line 10207 "gitg-commit.c"
}


static Block17Data* block17_data_ref (Block17Data* _data17_) {
#line 1209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data17_->_ref_count_);
#line 1209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return _data17_;
#line 10216 "gitg-commit.c"
}


static void block17_data_unref (void * _userdata_) {
	Block17Data* _data17_;
	_data17_ = (Block17Data*) _userdata_;
#line 1209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data17_->_ref_count_)) {
#line 10225 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self = _data17_->self;
#line 1209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data17_->dlg);
#line 1209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data17_->author);
#line 1209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data17_->committer);
#line 1209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block17Data, _data17_);
#line 10239 "gitg-commit.c"
	}
}


static void __lambda37_ (Block17Data* _data17_, GtkDialog* d, gint id) {
	GitgCommitActivity* self;
	gint _tmp0_;
#line 1219 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data17_->self;
#line 1219 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (d != NULL);
#line 1220 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = id;
#line 1220 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp0_ == ((gint) GTK_RESPONSE_OK)) {
#line 10255 "gitg-commit.c"
		gboolean _tmp1_;
		GgitSignature* _tmp2_;
		GgitSignature* _tmp3_;
		GgitSignature* _tmp4_;
		GgitSignature* _tmp5_;
#line 1222 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = _data17_->skip_hooks;
#line 1222 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = gitg_commit_dialog_get_author (_data17_->dlg);
#line 1222 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp3_ = _tmp2_;
#line 1222 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = _tmp3_;
#line 1222 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = _data17_->committer;
#line 1222 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_do_commit (self, _data17_->dlg, _tmp1_, _tmp4_, _tmp5_);
#line 1222 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp4_);
#line 10275 "gitg-commit.c"
	} else {
		GtkDialog* _tmp6_;
#line 1226 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = d;
#line 1226 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gtk_widget_destroy ((GtkWidget*) _tmp6_);
#line 10282 "gitg-commit.c"
	}
}


static void ___lambda37__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) {
#line 1219 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__lambda37_ (self, _sender, response_id);
#line 10290 "gitg-commit.c"
}


static gchar* string_strip (const gchar* self) {
	gchar* result = NULL;
	gchar* _result_;
	gchar* _tmp0_;
	const gchar* _tmp1_;
#line 1226 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1227 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp0_ = g_strdup (self);
#line 1227 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_result_ = _tmp0_;
#line 1228 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp1_ = _result_;
#line 1228 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	g_strstrip (_tmp1_);
#line 1229 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	result = _result_;
#line 1229 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	return result;
#line 10313 "gitg-commit.c"
}


static void ___lambda39_ (Block17Data* _data17_, GObject* obj, GAsyncResult* res) {
	GitgCommitActivity* self;
	GitgCommit* commit;
	GAsyncResult* _tmp0_;
	GitgCommit* _tmp1_;
	GitgCommit* _tmp2_;
#line 1237 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data17_->self;
#line 1237 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 1238 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = res;
#line 1238 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_activity_get_head_commit_finish (self, _tmp0_);
#line 1238 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	commit = _tmp1_;
#line 1240 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = commit;
#line 1240 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp2_ != NULL) {
#line 10337 "gitg-commit.c"
		gchar* _tmp3_;
		gchar* _tmp4_;
		gchar* _tmp5_;
		gchar* _tmp6_;
		gchar* _tmp7_;
		const gchar* _tmp8_;
		const gchar* _tmp9_;
		gboolean _tmp10_;
		GitgCommit* _tmp13_;
		GgitSignature* _tmp14_;
		GgitSignature* _tmp15_;
#line 1242 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp3_ = gitg_commit_dialog_get_message (_data17_->dlg);
#line 1242 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = _tmp3_;
#line 1242 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = _tmp4_;
#line 1242 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = string_strip (_tmp5_);
#line 1242 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 1242 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = gitg_commit_dialog_get_default_message (_data17_->dlg);
#line 1242 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = _tmp8_;
#line 1242 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = g_strcmp0 (_tmp7_, _tmp9_) == 0;
#line 1242 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_free0 (_tmp7_);
#line 1242 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_free0 (_tmp5_);
#line 1242 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp10_) {
#line 10371 "gitg-commit.c"
			GitgCommit* _tmp11_;
			const gchar* _tmp12_;
#line 1244 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp11_ = commit;
#line 1244 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp12_ = ggit_commit_get_message ((GgitCommit*) _tmp11_);
#line 1244 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_commit_dialog_set_message (_data17_->dlg, _tmp12_);
#line 10380 "gitg-commit.c"
		}
#line 1247 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp13_ = commit;
#line 1247 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp14_ = ggit_commit_get_author ((GgitCommit*) _tmp13_);
#line 1247 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp15_ = _tmp14_;
#line 1247 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_dialog_set_author (_data17_->dlg, _tmp15_);
#line 1247 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp15_);
#line 10392 "gitg-commit.c"
	}
#line 1237 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (commit);
#line 10396 "gitg-commit.c"
}


static void ____lambda39__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1237 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	___lambda39_ (self, source_object, res);
#line 1237 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block17_data_unref (self);
#line 10405 "gitg-commit.c"
}


static void __lambda38_ (Block17Data* _data17_, GObject* obj, GParamSpec* pspec) {
	GitgCommitActivity* self;
	gboolean _tmp0_;
	gboolean _tmp1_;
#line 1230 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data17_->self;
#line 1230 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (obj != NULL);
#line 1230 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (pspec != NULL);
#line 1231 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = gitg_commit_dialog_get_amend (_data17_->dlg);
#line 1231 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _tmp0_;
#line 1231 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (!_tmp1_) {
#line 10425 "gitg-commit.c"
		GgitSignature* _tmp2_;
#line 1233 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = _data17_->author;
#line 1233 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_dialog_set_author (_data17_->dlg, _tmp2_);
#line 10431 "gitg-commit.c"
	} else {
#line 1237 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_get_head_commit (self, ____lambda39__gasync_ready_callback, block17_data_ref (_data17_));
#line 10435 "gitg-commit.c"
	}
}


static void ___lambda38__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 1230 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__lambda38_ (self, _sender, pspec);
#line 10443 "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_;
	GgitSignature* _tmp1_;
	GgitSignature* _tmp2_;
	GgitSignature* _tmp3_;
	GgitSignature* _tmp4_;
	GitgExtApplication* _tmp5_;
	GitgExtApplication* _tmp6_;
	GitgExtApplication* _tmp7_;
	GitgRepository* _tmp8_;
	GitgRepository* _tmp9_;
	GitgRepository* _tmp10_;
	GgitSignature* _tmp11_;
	GgitDiff* _tmp12_;
	GitgCommitDialog* _tmp13_;
	GitgCommitDialog* _tmp14_;
	GitgCommitPaned* _tmp15_;
	GtkWidget* _tmp16_;
#line 1209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 1209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (author != NULL);
#line 1209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (committer != NULL);
#line 1209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data17_ = g_slice_new0 (Block17Data);
#line 1209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data17_->_ref_count_ = 1;
#line 1209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data17_->self = g_object_ref (self);
#line 1209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = skip_hooks;
#line 1209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data17_->skip_hooks = _tmp0_;
#line 1209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = author;
#line 1209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 1209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data17_->author);
#line 1209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data17_->author = _tmp2_;
#line 1209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = committer;
#line 1209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 1209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data17_->committer);
#line 1209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data17_->committer = _tmp4_;
#line 1214 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1214 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = _tmp5_;
#line 1214 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = _tmp6_;
#line 1214 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = gitg_ext_application_get_repository (_tmp7_);
#line 1214 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = _tmp8_;
#line 1214 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = _tmp9_;
#line 1214 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp11_ = _data17_->author;
#line 1214 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp12_ = diff;
#line 1214 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp13_ = gitg_commit_dialog_new (_tmp10_, _tmp11_, _tmp12_);
#line 1214 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_object_ref_sink (_tmp13_);
#line 1214 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp14_ = _tmp13_;
#line 1214 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp10_);
#line 1214 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp7_);
#line 1214 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data17_->dlg = _tmp14_;
#line 1216 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp15_ = self->priv->d_main;
#line 1216 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp16_ = gtk_widget_get_toplevel ((GtkWidget*) _tmp15_);
#line 1216 "/home/mcatanzaro/Projects/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 1217 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gtk_dialog_set_default_response ((GtkDialog*) _data17_->dlg, (gint) GTK_RESPONSE_OK);
#line 1219 "/home/mcatanzaro/Projects/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 1230 "/home/mcatanzaro/Projects/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 1253 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gtk_widget_show ((GtkWidget*) _data17_->dlg);
#line 1209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block17_data_unref (_data17_);
#line 1209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data17_ = NULL;
#line 10544 "gitg-commit.c"
}


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


static Block18Data* block18_data_ref (Block18Data* _data18_) {
#line 1261 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data18_->_ref_count_);
#line 1261 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return _data18_;
#line 10639 "gitg-commit.c"
}


static void block18_data_unref (void * _userdata_) {
	Block18Data* _data18_;
	_data18_ = (Block18Data*) _userdata_;
#line 1261 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data18_->_ref_count_)) {
#line 10648 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1261 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self = _data18_->self;
#line 1261 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data18_->author);
#line 1261 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data18_->committer);
#line 1261 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1261 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block18Data, _data18_);
#line 10660 "gitg-commit.c"
	}
}


static void ___lambda40_ (Block18Data* _data18_, GObject* obj, GAsyncResult* res) {
	GitgCommitActivity* self;
	GAsyncResult* _tmp0_;
	gboolean _tmp1_;
	GgitSignature* _tmp2_;
	GgitSignature* _tmp3_;
#line 1288 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data18_->self;
#line 1288 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 1289 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = res;
#line 1289 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_activity_pre_commit_finish (self, _tmp0_);
#line 1289 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (!_tmp1_) {
#line 1291 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 10683 "gitg-commit.c"
	}
#line 1294 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _data18_->author;
#line 1294 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _data18_->committer;
#line 1294 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_run_commit_dialog (self, FALSE, _tmp2_, _tmp3_);
#line 10691 "gitg-commit.c"
}


static void ____lambda40__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1288 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	___lambda40_ (self, source_object, res);
#line 1288 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block18_data_unref (self);
#line 10700 "gitg-commit.c"
}


static void gitg_commit_activity_on_commit_clicked (GitgCommitActivity* self) {
	Block18Data* _data18_;
	GitgExtApplication* _tmp0_;
	GitgExtApplication* _tmp1_;
	GitgExtApplication* _tmp2_;
	GgitSignature* _tmp3_;
	GgitSignature* _tmp4_;
	GitgCommitPaned* _tmp23_;
	gboolean _tmp24_;
	gboolean _tmp25_;
	GError * _inner_error_ = NULL;
#line 1261 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 1261 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data18_ = g_slice_new0 (Block18Data);
#line 1261 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data18_->_ref_count_ = 1;
#line 1261 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data18_->self = g_object_ref (self);
#line 1266 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1266 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _tmp0_;
#line 1266 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 1266 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = gitg_ext_application_get_verified_committer (_tmp2_);
#line 1266 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data18_->committer);
#line 1266 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data18_->committer = _tmp3_;
#line 1266 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp2_);
#line 1268 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _data18_->committer;
#line 1268 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp4_ == NULL) {
#line 1270 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		block18_data_unref (_data18_);
#line 1270 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data18_ = NULL;
#line 1270 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 10747 "gitg-commit.c"
	}
	{
		GgitSignature* _tmp5_;
		GitgExtApplication* _tmp6_;
		GitgExtApplication* _tmp7_;
		GitgExtApplication* _tmp8_;
		GitgRepository* _tmp9_;
		GitgRepository* _tmp10_;
		GitgRepository* _tmp11_;
		GitgExtApplication* _tmp12_;
		GitgExtApplication* _tmp13_;
		GitgExtApplication* _tmp14_;
		GeeMap* _tmp15_;
		GeeMap* _tmp16_;
		GeeMap* _tmp17_;
		GgitSignature* _tmp18_;
		GgitSignature* _tmp19_;
		GgitSignature* _tmp20_;
#line 1275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 1275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = _tmp7_;
#line 1275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = gitg_ext_application_get_repository (_tmp8_);
#line 1275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = _tmp9_;
#line 1275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = _tmp10_;
#line 1275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp12_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp13_ = _tmp12_;
#line 1275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp14_ = _tmp13_;
#line 1275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp15_ = gitg_ext_application_get_environment (_tmp14_);
#line 1275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp16_ = _tmp15_;
#line 1275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp17_ = _tmp16_;
#line 1275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp18_ = gitg_repository_get_signature_with_environment (_tmp11_, _tmp17_, "AUTHOR", &_inner_error_);
#line 1275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp19_ = _tmp18_;
#line 1275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp17_);
#line 1275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp14_);
#line 1275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp11_);
#line 1275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp8_);
#line 1275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = _tmp19_;
#line 1275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 10806 "gitg-commit.c"
			goto __catch27_g_error;
		}
#line 1275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp20_ = _tmp5_;
#line 1275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = NULL;
#line 1275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data18_->author);
#line 1275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data18_->author = _tmp20_;
#line 1273 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp5_);
#line 10819 "gitg-commit.c"
	}
	goto __finally27;
	__catch27_g_error:
	{
		GgitSignature* _tmp21_;
		GgitSignature* _tmp22_;
#line 1273 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 1273 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_inner_error_ = NULL;
#line 1279 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp21_ = _data18_->committer;
#line 1279 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp22_ = _g_object_ref0 (_tmp21_);
#line 1279 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data18_->author);
#line 1279 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data18_->author = _tmp22_;
#line 10838 "gitg-commit.c"
	}
	__finally27:
#line 1273 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1273 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		block18_data_unref (_data18_);
#line 1273 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data18_ = NULL;
#line 1273 "/home/mcatanzaro/Projects/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 1273 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 1273 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 10853 "gitg-commit.c"
	}
#line 1282 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp23_ = self->priv->d_main;
#line 1282 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp24_ = gitg_commit_paned_get_skip_hooks (_tmp23_);
#line 1282 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp25_ = _tmp24_;
#line 1282 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp25_) {
#line 10863 "gitg-commit.c"
		GgitSignature* _tmp26_;
		GgitSignature* _tmp27_;
#line 1284 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp26_ = _data18_->author;
#line 1284 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp27_ = _data18_->committer;
#line 1284 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_run_commit_dialog (self, TRUE, _tmp26_, _tmp27_);
#line 10872 "gitg-commit.c"
	} else {
		GgitSignature* _tmp28_;
#line 1288 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp28_ = _data18_->author;
#line 1288 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_pre_commit (self, _tmp28_, ____lambda40__gasync_ready_callback, block18_data_ref (_data18_));
#line 10879 "gitg-commit.c"
	}
#line 1261 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block18_data_unref (_data18_);
#line 1261 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data18_ = NULL;
#line 10885 "gitg-commit.c"
}


static void gitg_commit_activity_stage_unstage_selection_data_free (gpointer _data) {
	GitgCommitActivityStageUnstageSelectionData* _data_;
	_data_ = _data;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_slice_free (GitgCommitActivityStageUnstageSelectionData, _data_);
#line 10896 "gitg-commit.c"
}


static void gitg_commit_activity_stage_unstage_selection (GitgCommitActivity* self, gboolean staging, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgCommitActivityStageUnstageSelectionData* _data_;
	GitgCommitActivity* _tmp0_;
	gboolean _tmp1_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_slice_new0 (GitgCommitActivityStageUnstageSelectionData);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_callback_ == NULL) {
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_task_complete_ = TRUE;
#line 10912 "gitg-commit.c"
	}
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_task_set_task_data (_data_->_async_result, _data_, gitg_commit_activity_stage_unstage_selection_data_free);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->self = _tmp0_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = staging;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->staging = _tmp1_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_stage_unstage_selection_co (_data_);
#line 10926 "gitg-commit.c"
}


static void gitg_commit_activity_stage_unstage_selection_finish (GitgCommitActivity* self, GAsyncResult* _res_, GError** error) {
	GitgCommitActivityStageUnstageSelectionData* _data_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), error);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (NULL == _data_) {
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 10938 "gitg-commit.c"
	}
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_task_complete_ = TRUE;
#line 10942 "gitg-commit.c"
}


static gpointer _gitg_patch_set_ref0 (gpointer self) {
#line 1304 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return self ? gitg_patch_set_ref (self) : NULL;
#line 10949 "gitg-commit.c"
}


static void gitg_commit_activity_stage_unstage_selection_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgCommitActivityStageUnstageSelectionData* _data_;
#line 1308 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = _user_data_;
#line 1308 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_source_object_ = source_object;
#line 1308 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_res_ = _res_;
#line 1308 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_task_complete_ = TRUE;
#line 1308 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_stage_unstage_selection_co (_data_);
#line 10965 "gitg-commit.c"
}


static gboolean gitg_commit_activity_stage_unstage_selection_co (GitgCommitActivityStageUnstageSelectionData* _data_) {
#line 1299 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	switch (_data_->_state_) {
#line 1299 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 0:
#line 10974 "gitg-commit.c"
		goto _state_0;
#line 1299 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 1:
#line 10978 "gitg-commit.c"
		goto _state_1;
#line 1299 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 2:
#line 10982 "gitg-commit.c"
		goto _state_2;
		default:
#line 1299 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_assert_not_reached ();
#line 10987 "gitg-commit.c"
	}
	_state_0:
#line 1301 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = _data_->self->priv->d_main;
#line 1301 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp1_ = gitg_commit_paned_get_diff_view (_data_->_tmp0_);
#line 1301 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 1301 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp3_ = gitg_diff_view_get_selection (_data_->_tmp2_, &_data_->_tmp3__length1);
#line 1301 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 1301 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4__length1 = _data_->_tmp3__length1;
#line 1301 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->selection = _data_->_tmp4_;
#line 1301 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->selection_length1 = _data_->_tmp4__length1;
#line 1301 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_selection_size_ = _data_->selection_length1;
#line 1302 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp5_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 1302 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 1302 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp7_ = _data_->_tmp6_;
#line 1302 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp8_ = gitg_ext_application_get_repository (_data_->_tmp7_);
#line 1302 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9_ = _data_->_tmp8_;
#line 1302 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp10_ = _data_->_tmp9_;
#line 1302 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp11_ = gitg_repository_get_stage (_data_->_tmp10_);
#line 1302 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp12_ = _data_->_tmp11_;
#line 1302 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp13_ = _data_->_tmp12_;
#line 1302 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->_tmp10_);
#line 1302 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->_tmp7_);
#line 1302 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->stage = _data_->_tmp13_;
#line 1304 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp14_ = _data_->selection;
#line 1304 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp14__length1 = _data_->selection_length1;
#line 11036 "gitg-commit.c"
	{
#line 1304 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->pset_collection_length1 = 0;
#line 1304 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_pset_collection_size_ = 0;
#line 1304 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->pset_collection = _data_->_tmp14_;
#line 1304 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->pset_collection_length1 = _data_->_tmp14__length1;
#line 1304 "/home/mcatanzaro/Projects/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 1304 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp15_ = _gitg_patch_set_ref0 (_data_->pset_collection[_data_->pset_it]);
#line 1304 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->pset = _data_->_tmp15_;
#line 11052 "gitg-commit.c"
			{
#line 1306 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp16_ = _data_->staging;
#line 1306 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				if (_data_->_tmp16_) {
#line 1308 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp17_ = _data_->stage;
#line 1308 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp18_ = _data_->pset;
#line 1308 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_data_->_state_ = 1;
#line 1308 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					gitg_stage_stage_patch (_data_->_tmp17_, _data_->_tmp18_, gitg_commit_activity_stage_unstage_selection_ready, _data_);
#line 1308 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					return FALSE;
#line 11068 "gitg-commit.c"
					_state_1:
#line 1308 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					gitg_stage_stage_patch_finish (_data_->_tmp17_, _data_->_res_, &_data_->_inner_error_);
#line 1308 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1308 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						g_task_return_error (_data_->_async_result, _data_->_inner_error_);
#line 1308 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_gitg_patch_set_unref0 (_data_->pset);
#line 1308 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_g_object_unref0 (_data_->stage);
#line 1308 "/home/mcatanzaro/Projects/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/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						g_object_unref (_data_->_async_result);
#line 1308 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						return FALSE;
#line 11086 "gitg-commit.c"
					}
				} else {
#line 1312 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp19_ = _data_->stage;
#line 1312 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp20_ = _data_->pset;
#line 1312 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_data_->_state_ = 2;
#line 1312 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					gitg_stage_unstage_patch (_data_->_tmp19_, _data_->_tmp20_, gitg_commit_activity_stage_unstage_selection_ready, _data_);
#line 1312 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					return FALSE;
#line 11099 "gitg-commit.c"
					_state_2:
#line 1312 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					gitg_stage_unstage_patch_finish (_data_->_tmp19_, _data_->_res_, &_data_->_inner_error_);
#line 1312 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1312 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						g_task_return_error (_data_->_async_result, _data_->_inner_error_);
#line 1312 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_gitg_patch_set_unref0 (_data_->pset);
#line 1312 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_g_object_unref0 (_data_->stage);
#line 1312 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_data_->selection = (_vala_array_free (_data_->selection, _data_->selection_length1, (GDestroyNotify) gitg_patch_set_unref), NULL);
#line 1312 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						g_object_unref (_data_->_async_result);
#line 1312 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						return FALSE;
#line 11117 "gitg-commit.c"
					}
				}
#line 1304 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_gitg_patch_set_unref0 (_data_->pset);
#line 11122 "gitg-commit.c"
			}
		}
	}
#line 1299 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->stage);
#line 1299 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->selection = (_vala_array_free (_data_->selection, _data_->selection_length1, (GDestroyNotify) gitg_patch_set_unref), NULL);
#line 1299 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 1299 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ != 0) {
#line 1299 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 1299 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 11138 "gitg-commit.c"
		}
	}
#line 1299 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 1299 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 11145 "gitg-commit.c"
}


static void gitg_commit_activity_discard_selection_data_free (gpointer _data) {
	GitgCommitActivityDiscardSelectionData* _data_;
	_data_ = _data;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_slice_free (GitgCommitActivityDiscardSelectionData, _data_);
#line 11156 "gitg-commit.c"
}


static void gitg_commit_activity_discard_selection (GitgCommitActivity* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgCommitActivityDiscardSelectionData* _data_;
	GitgCommitActivity* _tmp0_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_slice_new0 (GitgCommitActivityDiscardSelectionData);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_callback_ == NULL) {
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_task_complete_ = TRUE;
#line 11171 "gitg-commit.c"
	}
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_task_set_task_data (_data_->_async_result, _data_, gitg_commit_activity_discard_selection_data_free);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->self = _tmp0_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_discard_selection_co (_data_);
#line 11181 "gitg-commit.c"
}


static void gitg_commit_activity_discard_selection_finish (GitgCommitActivity* self, GAsyncResult* _res_, GError** error) {
	GitgCommitActivityDiscardSelectionData* _data_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), error);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (NULL == _data_) {
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 11193 "gitg-commit.c"
	}
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_task_complete_ = TRUE;
#line 11197 "gitg-commit.c"
}


static void gitg_commit_activity_discard_selection_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgCommitActivityDiscardSelectionData* _data_;
#line 1324 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = _user_data_;
#line 1324 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_source_object_ = source_object;
#line 1324 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_res_ = _res_;
#line 1324 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_task_complete_ = TRUE;
#line 1324 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_discard_selection_co (_data_);
#line 11213 "gitg-commit.c"
}


static gboolean gitg_commit_activity_discard_selection_co (GitgCommitActivityDiscardSelectionData* _data_) {
#line 1317 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	switch (_data_->_state_) {
#line 1317 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 0:
#line 11222 "gitg-commit.c"
		goto _state_0;
#line 1317 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 1:
#line 11226 "gitg-commit.c"
		goto _state_1;
		default:
#line 1317 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_assert_not_reached ();
#line 11231 "gitg-commit.c"
	}
	_state_0:
#line 1319 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = _data_->self->priv->d_main;
#line 1319 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp1_ = gitg_commit_paned_get_diff_view (_data_->_tmp0_);
#line 1319 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 1319 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp3_ = gitg_diff_view_get_selection (_data_->_tmp2_, &_data_->_tmp3__length1);
#line 1319 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 1319 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4__length1 = _data_->_tmp3__length1;
#line 1319 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->selection = _data_->_tmp4_;
#line 1319 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->selection_length1 = _data_->_tmp4__length1;
#line 1319 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_selection_size_ = _data_->selection_length1;
#line 1320 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp5_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 1320 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 1320 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp7_ = _data_->_tmp6_;
#line 1320 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp8_ = gitg_ext_application_get_repository (_data_->_tmp7_);
#line 1320 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9_ = _data_->_tmp8_;
#line 1320 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp10_ = _data_->_tmp9_;
#line 1320 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp11_ = gitg_repository_get_stage (_data_->_tmp10_);
#line 1320 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp12_ = _data_->_tmp11_;
#line 1320 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp13_ = _data_->_tmp12_;
#line 1320 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->_tmp10_);
#line 1320 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->_tmp7_);
#line 1320 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->stage = _data_->_tmp13_;
#line 1322 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp14_ = _data_->selection;
#line 1322 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp14__length1 = _data_->selection_length1;
#line 11280 "gitg-commit.c"
	{
#line 1322 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->pset_collection_length1 = 0;
#line 1322 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_pset_collection_size_ = 0;
#line 1322 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->pset_collection = _data_->_tmp14_;
#line 1322 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->pset_collection_length1 = _data_->_tmp14__length1;
#line 1322 "/home/mcatanzaro/Projects/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 1322 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp15_ = _gitg_patch_set_ref0 (_data_->pset_collection[_data_->pset_it]);
#line 1322 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->pset = _data_->_tmp15_;
#line 11296 "gitg-commit.c"
			{
#line 1324 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp16_ = _data_->stage;
#line 1324 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp17_ = _data_->pset;
#line 1324 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_state_ = 1;
#line 1324 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				gitg_stage_revert_patch (_data_->_tmp16_, _data_->_tmp17_, gitg_commit_activity_discard_selection_ready, _data_);
#line 1324 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				return FALSE;
#line 11308 "gitg-commit.c"
				_state_1:
#line 1324 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				gitg_stage_revert_patch_finish (_data_->_tmp16_, _data_->_res_, &_data_->_inner_error_);
#line 1324 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1324 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					g_task_return_error (_data_->_async_result, _data_->_inner_error_);
#line 1324 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_gitg_patch_set_unref0 (_data_->pset);
#line 1324 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_g_object_unref0 (_data_->stage);
#line 1324 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_data_->selection = (_vala_array_free (_data_->selection, _data_->selection_length1, (GDestroyNotify) gitg_patch_set_unref), NULL);
#line 1324 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					g_object_unref (_data_->_async_result);
#line 1324 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					return FALSE;
#line 11326 "gitg-commit.c"
				}
#line 1322 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_gitg_patch_set_unref0 (_data_->pset);
#line 11330 "gitg-commit.c"
			}
		}
	}
#line 1317 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->stage);
#line 1317 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->selection = (_vala_array_free (_data_->selection, _data_->selection_length1, (GDestroyNotify) gitg_patch_set_unref), NULL);
#line 1317 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 1317 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ != 0) {
#line 1317 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 1317 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 11346 "gitg-commit.c"
		}
	}
#line 1317 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 1317 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 11353 "gitg-commit.c"
}


static Block19Data* block19_data_ref (Block19Data* _data19_) {
#line 1328 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data19_->_ref_count_);
#line 1328 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return _data19_;
#line 11362 "gitg-commit.c"
}


static void block19_data_unref (void * _userdata_) {
	Block19Data* _data19_;
	_data19_ = (Block19Data*) _userdata_;
#line 1328 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data19_->_ref_count_)) {
#line 11371 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1328 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self = _data19_->self;
#line 1328 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data19_->q);
#line 1328 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1328 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block19Data, _data19_);
#line 11381 "gitg-commit.c"
	}
}


static gboolean __lambda41_ (Block19Data* _data19_, GitgExtUserQuery* w, GtkResponseType r) {
	GitgCommitActivity* self;
	gboolean result = FALSE;
	GtkResponseType _tmp0_;
#line 1346 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data19_->self;
#line 1346 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (w != NULL, FALSE);
#line 1347 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = r;
#line 1347 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp0_ == GTK_RESPONSE_OK) {
#line 11398 "gitg-commit.c"
		gboolean _tmp1_;
#line 1349 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = gitg_commit_activity_do_discard_selection (self, _data19_->q);
#line 1349 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		result = _tmp1_;
#line 1349 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return result;
#line 11406 "gitg-commit.c"
	}
#line 1352 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = TRUE;
#line 1352 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 11412 "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 1346 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 11421 "gitg-commit.c"
}


static void gitg_commit_activity_on_discard_clicked (GitgCommitActivity* self) {
	Block19Data* _data19_;
	gchar* primary;
	gchar* _tmp0_;
	gchar* secondary;
	gchar* _tmp1_;
	GitgExtUserQuery* _tmp2_;
	GitgExtUserQueryResponse* _tmp3_;
	GitgExtUserQueryResponse* _tmp4_;
	GitgExtUserQueryResponse** _tmp5_;
	GitgExtUserQueryResponse** _tmp6_;
	gint _tmp6__length1;
	GitgExtApplication* _tmp7_;
	GitgExtApplication* _tmp8_;
	GitgExtApplication* _tmp9_;
#line 1328 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 1328 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data19_ = g_slice_new0 (Block19Data);
#line 1328 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data19_->_ref_count_ = 1;
#line 1328 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data19_->self = g_object_ref (self);
#line 1330 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = g_strdup (_ ("Discard changes"));
#line 1330 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	primary = _tmp0_;
#line 1331 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = g_strdup (_ ("Are you sure you want to permanently discard the selected changes?"));
#line 1331 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	secondary = _tmp1_;
#line 1333 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = gitg_ext_user_query_new ();
#line 1333 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data19_->q = _tmp2_;
#line 1335 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_title (_data19_->q, primary);
#line 1336 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_message (_data19_->q, secondary);
#line 1337 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_message_type (_data19_->q, GTK_MESSAGE_QUESTION);
#line 1339 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = gitg_ext_user_query_response_new (_ ("_Cancel"), GTK_RESPONSE_CANCEL);
#line 1339 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = gitg_ext_user_query_response_new (_ ("Discard"), GTK_RESPONSE_OK);
#line 1339 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = g_new0 (GitgExtUserQueryResponse*, 2 + 1);
#line 1339 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_[0] = _tmp3_;
#line 1339 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_[1] = _tmp4_;
#line 1339 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = _tmp5_;
#line 1339 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp6__length1 = 2;
#line 1339 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_responses (_data19_->q, _tmp6_, 2);
#line 1339 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = (_vala_array_free (_tmp6_, _tmp6__length1, (GDestroyNotify) g_object_unref), NULL);
#line 1344 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_default_response (_data19_->q, GTK_RESPONSE_OK);
#line 1346 "/home/mcatanzaro/Projects/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 1355 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1355 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = _tmp7_;
#line 1355 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = _tmp8_;
#line 1355 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_application_user_query (_tmp9_, _data19_->q);
#line 1355 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp9_);
#line 1328 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (secondary);
#line 1328 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (primary);
#line 1328 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block19_data_unref (_data19_);
#line 1328 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data19_ = NULL;
#line 11506 "gitg-commit.c"
}


static Block20Data* block20_data_ref (Block20Data* _data20_) {
#line 1358 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data20_->_ref_count_);
#line 1358 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return _data20_;
#line 11515 "gitg-commit.c"
}


static void block20_data_unref (void * _userdata_) {
	Block20Data* _data20_;
	_data20_ = (Block20Data*) _userdata_;
#line 1358 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data20_->_ref_count_)) {
#line 11524 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1358 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self = _data20_->self;
#line 1358 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data20_->q);
#line 1358 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1358 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block20Data, _data20_);
#line 11534 "gitg-commit.c"
	}
}


static void __lambda42_ (Block20Data* _data20_, GObject* obj, GAsyncResult* res) {
	GitgCommitActivity* self;
	GitgExtUserQuery* _tmp6_;
	GitgExtApplication* _tmp7_;
	GitgExtApplication* _tmp8_;
	GitgExtApplication* _tmp9_;
	GError * _inner_error_ = NULL;
#line 1363 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data20_->self;
#line 1363 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 11550 "gitg-commit.c"
	{
		GAsyncResult* _tmp0_;
#line 1366 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = res;
#line 1366 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_discard_selection_finish (self, _tmp0_, &_inner_error_);
#line 1366 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 11559 "gitg-commit.c"
			goto __catch28_g_error;
		}
	}
	goto __finally28;
	__catch28_g_error:
	{
		GError* e = NULL;
		GitgExtApplication* _tmp1_;
		GitgExtApplication* _tmp2_;
		GitgExtApplication* _tmp3_;
		GError* _tmp4_;
		const gchar* _tmp5_;
#line 1364 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		e = _inner_error_;
#line 1364 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_inner_error_ = NULL;
#line 1370 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1370 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = _tmp1_;
#line 1370 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp3_ = _tmp2_;
#line 1370 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = e;
#line 1370 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = _tmp4_->message;
#line 1370 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_ext_application_show_infobar (_tmp3_, _ ("Failed to discard selection"), _tmp5_, GTK_MESSAGE_ERROR);
#line 1370 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp3_);
#line 1364 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_error_free0 (e);
#line 11592 "gitg-commit.c"
	}
	__finally28:
#line 1364 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1364 "/home/mcatanzaro/Projects/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 1364 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 1364 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 11603 "gitg-commit.c"
	}
#line 1375 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = _data20_->q;
#line 1375 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_signal_emit_by_name (_tmp6_, "quit");
#line 1376 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1376 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = _tmp7_;
#line 1376 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = _tmp8_;
#line 1376 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_application_set_busy (_tmp9_, FALSE);
#line 1376 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp9_);
#line 1378 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_reload (self);
#line 11621 "gitg-commit.c"
}


static void ___lambda42__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1363 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__lambda42_ (self, source_object, res);
#line 1363 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block20_data_unref (self);
#line 11630 "gitg-commit.c"
}


static gboolean gitg_commit_activity_do_discard_selection (GitgCommitActivity* self, GitgExtUserQuery* q) {
	gboolean result = FALSE;
	Block20Data* _data20_;
	GitgExtUserQuery* _tmp0_;
	GitgExtUserQuery* _tmp1_;
	GitgExtApplication* _tmp2_;
	GitgExtApplication* _tmp3_;
	GitgExtApplication* _tmp4_;
#line 1358 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 1358 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (q != NULL, FALSE);
#line 1358 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data20_ = g_slice_new0 (Block20Data);
#line 1358 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data20_->_ref_count_ = 1;
#line 1358 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data20_->self = g_object_ref (self);
#line 1358 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = q;
#line 1358 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 1358 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data20_->q);
#line 1358 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data20_->q = _tmp1_;
#line 1360 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1360 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _tmp2_;
#line 1360 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _tmp3_;
#line 1360 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_application_set_busy (_tmp4_, TRUE);
#line 1360 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp4_);
#line 1362 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_ignore_external_changes = TRUE;
#line 1363 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_discard_selection (self, ___lambda42__gasync_ready_callback, block20_data_ref (_data20_));
#line 1381 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = FALSE;
#line 1381 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block20_data_unref (_data20_);
#line 1381 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data20_ = NULL;
#line 1381 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 11682 "gitg-commit.c"
}


static Block21Data* block21_data_ref (Block21Data* _data21_) {
#line 1384 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data21_->_ref_count_);
#line 1384 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return _data21_;
#line 11691 "gitg-commit.c"
}


static void block21_data_unref (void * _userdata_) {
	Block21Data* _data21_;
	_data21_ = (Block21Data*) _userdata_;
#line 1384 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data21_->_ref_count_)) {
#line 11700 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1384 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self = _data21_->self;
#line 1384 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1384 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block21Data, _data21_);
#line 11708 "gitg-commit.c"
	}
}


static void __lambda43_ (Block21Data* _data21_, GObject* obj, GAsyncResult* res) {
	GitgCommitActivity* self;
	GError * _inner_error_ = NULL;
#line 1389 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data21_->self;
#line 1389 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 11720 "gitg-commit.c"
	{
		GAsyncResult* _tmp0_;
#line 1392 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = res;
#line 1392 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_stage_unstage_selection_finish (self, _tmp0_, &_inner_error_);
#line 1392 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 11729 "gitg-commit.c"
			goto __catch29_g_error;
		}
	}
	goto __finally29;
	__catch29_g_error:
	{
		GError* e = NULL;
		gchar* msg = NULL;
		GitgExtApplication* _tmp3_;
		GitgExtApplication* _tmp4_;
		GitgExtApplication* _tmp5_;
		const gchar* _tmp6_;
		GError* _tmp7_;
		const gchar* _tmp8_;
#line 1390 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		e = _inner_error_;
#line 1390 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_inner_error_ = NULL;
#line 1398 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (_data21_->staging) {
#line 11750 "gitg-commit.c"
			gchar* _tmp1_;
#line 1400 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp1_ = g_strdup (_ ("Failed to stage selection"));
#line 1400 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (msg);
#line 1400 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			msg = _tmp1_;
#line 11758 "gitg-commit.c"
		} else {
			gchar* _tmp2_;
#line 1404 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp2_ = g_strdup (_ ("Failed to unstage selection"));
#line 1404 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_g_free0 (msg);
#line 1404 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			msg = _tmp2_;
#line 11767 "gitg-commit.c"
		}
#line 1407 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp3_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1407 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = _tmp3_;
#line 1407 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = _tmp4_;
#line 1407 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = msg;
#line 1407 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = e;
#line 1407 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = _tmp7_->message;
#line 1407 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_ext_application_show_infobar (_tmp5_, _tmp6_, _tmp8_, GTK_MESSAGE_ERROR);
#line 1407 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp5_);
#line 1408 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_free0 (msg);
#line 1408 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_error_free0 (e);
#line 1408 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 11791 "gitg-commit.c"
	}
	__finally29:
#line 1390 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1390 "/home/mcatanzaro/Projects/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 1390 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 1390 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 11802 "gitg-commit.c"
	}
#line 1411 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_reload (self);
#line 11806 "gitg-commit.c"
}


static void ___lambda43__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1389 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__lambda43_ (self, source_object, res);
#line 1389 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block21_data_unref (self);
#line 11815 "gitg-commit.c"
}


static void gitg_commit_activity_on_stage_clicked (GitgCommitActivity* self) {
	Block21Data* _data21_;
	GitgCommitPaned* _tmp0_;
	GitgDiffView* _tmp1_;
	GitgDiffView* _tmp2_;
	gboolean _tmp3_;
	gboolean _tmp4_;
#line 1384 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 1384 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data21_ = g_slice_new0 (Block21Data);
#line 1384 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data21_->_ref_count_ = 1;
#line 1384 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data21_->self = g_object_ref (self);
#line 1386 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 1386 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_diff_view (_tmp0_);
#line 1386 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 1386 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = gitg_diff_view_get_unstaged (_tmp2_);
#line 1386 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _tmp3_;
#line 1386 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data21_->staging = _tmp4_;
#line 1388 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_ignore_external_changes = TRUE;
#line 1389 "/home/mcatanzaro/Projects/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 1384 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block21_data_unref (_data21_);
#line 1384 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data21_ = NULL;
#line 11854 "gitg-commit.c"
}


static void gitg_commit_activity_revert_paths_data_free (gpointer _data) {
	GitgCommitActivityRevertPathsData* _data_;
	_data_ = _data;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->paths = (_vala_array_free (_data_->paths, _data_->paths_length1, (GDestroyNotify) g_free), NULL);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_slice_free (GitgCommitActivityRevertPathsData, _data_);
#line 11867 "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_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_slice_new0 (GitgCommitActivityRevertPathsData);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_callback_ == NULL) {
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_task_complete_ = TRUE;
#line 11882 "gitg-commit.c"
	}
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_task_set_task_data (_data_->_async_result, _data_, gitg_commit_activity_revert_paths_data_free);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->self = _tmp0_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->paths = (_vala_array_free (_data_->paths, _data_->paths_length1, (GDestroyNotify) g_free), NULL);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->paths = paths;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->paths_length1 = paths_length1;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_revert_paths_co (_data_);
#line 11898 "gitg-commit.c"
}


static void gitg_commit_activity_revert_paths_finish (GitgCommitActivity* self, GAsyncResult* _res_, GError** error) {
	GitgCommitActivityRevertPathsData* _data_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), error);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (NULL == _data_) {
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 11910 "gitg-commit.c"
	}
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_task_complete_ = TRUE;
#line 11914 "gitg-commit.c"
}


static void gitg_commit_activity_revert_paths_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgCommitActivityRevertPathsData* _data_;
#line 1421 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = _user_data_;
#line 1421 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_source_object_ = source_object;
#line 1421 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_res_ = _res_;
#line 1421 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_task_complete_ = TRUE;
#line 1421 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_revert_paths_co (_data_);
#line 11930 "gitg-commit.c"
}


static gboolean gitg_commit_activity_revert_paths_co (GitgCommitActivityRevertPathsData* _data_) {
#line 1415 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	switch (_data_->_state_) {
#line 1415 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 0:
#line 11939 "gitg-commit.c"
		goto _state_0;
#line 1415 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 1:
#line 11943 "gitg-commit.c"
		goto _state_1;
		default:
#line 1415 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_assert_not_reached ();
#line 11948 "gitg-commit.c"
	}
	_state_0:
#line 1417 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) _data_->self);
#line 1417 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 1417 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 1417 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp3_ = gitg_ext_application_get_repository (_data_->_tmp2_);
#line 1417 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 1417 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp5_ = _data_->_tmp4_;
#line 1417 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp6_ = gitg_repository_get_stage (_data_->_tmp5_);
#line 1417 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp7_ = _data_->_tmp6_;
#line 1417 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp8_ = _data_->_tmp7_;
#line 1417 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->_tmp5_);
#line 1417 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->_tmp2_);
#line 1417 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->stage = _data_->_tmp8_;
#line 1419 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9_ = _data_->paths;
#line 1419 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp9__length1 = _data_->paths_length1;
#line 11979 "gitg-commit.c"
	{
#line 1419 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->path_collection_length1 = 0;
#line 1419 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_path_collection_size_ = 0;
#line 1419 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->path_collection = _data_->_tmp9_;
#line 1419 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->path_collection_length1 = _data_->_tmp9__length1;
#line 1419 "/home/mcatanzaro/Projects/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 1419 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp10_ = g_strdup (_data_->path_collection[_data_->path_it]);
#line 1419 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->path = _data_->_tmp10_;
#line 11995 "gitg-commit.c"
			{
#line 1421 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp11_ = _data_->stage;
#line 1421 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp12_ = _data_->path;
#line 1421 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_state_ = 1;
#line 1421 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				gitg_stage_revert_path (_data_->_tmp11_, _data_->_tmp12_, gitg_commit_activity_revert_paths_ready, _data_);
#line 1421 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				return FALSE;
#line 12007 "gitg-commit.c"
				_state_1:
#line 1421 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				gitg_stage_revert_path_finish (_data_->_tmp11_, _data_->_res_, &_data_->_inner_error_);
#line 1421 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1421 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					g_task_return_error (_data_->_async_result, _data_->_inner_error_);
#line 1421 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_g_free0 (_data_->path);
#line 1421 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_g_object_unref0 (_data_->stage);
#line 1421 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_data_->paths = (_vala_array_free (_data_->paths, _data_->paths_length1, (GDestroyNotify) g_free), NULL);
#line 1421 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					g_object_unref (_data_->_async_result);
#line 1421 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					return FALSE;
#line 12025 "gitg-commit.c"
				}
#line 1419 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_free0 (_data_->path);
#line 12029 "gitg-commit.c"
			}
		}
	}
#line 1415 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->stage);
#line 1415 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->paths = (_vala_array_free (_data_->paths, _data_->paths_length1, (GDestroyNotify) g_free), NULL);
#line 1415 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 1415 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ != 0) {
#line 1415 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 1415 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 12045 "gitg-commit.c"
		}
	}
#line 1415 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 1415 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 12052 "gitg-commit.c"
}


static void gitg_commit_activity_do_edit_items (GitgCommitActivity* self, GitgStageStatusItem** items, int items_length1) {
	GdkScreen* screen;
	GitgCommitPaned* _tmp0_;
	GdkScreen* _tmp1_;
	GdkScreen* _tmp2_;
	GFile* root;
	GitgExtApplication* _tmp3_;
	GitgExtApplication* _tmp4_;
	GitgExtApplication* _tmp5_;
	GitgRepository* _tmp6_;
	GitgRepository* _tmp7_;
	GitgRepository* _tmp8_;
	GFile* _tmp9_;
	GFile* _tmp10_;
	GitgStageStatusItem** _tmp11_;
	gint _tmp11__length1;
	GError * _inner_error_ = NULL;
#line 1425 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 1427 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 1427 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gtk_widget_get_screen ((GtkWidget*) _tmp0_);
#line 1427 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 1427 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	screen = _tmp2_;
#line 1428 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1428 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _tmp3_;
#line 1428 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = _tmp4_;
#line 1428 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = gitg_ext_application_get_repository (_tmp5_);
#line 1428 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = _tmp6_;
#line 1428 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = _tmp7_;
#line 1428 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = ggit_repository_get_workdir ((GgitRepository*) _tmp8_);
#line 1428 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = _tmp9_;
#line 1428 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp8_);
#line 1428 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp5_);
#line 1428 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	root = _tmp10_;
#line 1430 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp11_ = items;
#line 1430 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp11__length1 = items_length1;
#line 12109 "gitg-commit.c"
	{
		GitgStageStatusItem** item_collection = NULL;
		gint item_collection_length1 = 0;
		gint _item_collection_size_ = 0;
		gint item_it = 0;
#line 1430 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		item_collection = _tmp11_;
#line 1430 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		item_collection_length1 = _tmp11__length1;
#line 1430 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		for (item_it = 0; item_it < _tmp11__length1; item_it = item_it + 1) {
#line 12121 "gitg-commit.c"
			GitgStageStatusItem* _tmp12_;
			GitgStageStatusItem* item = NULL;
#line 1430 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp12_ = _g_object_ref0 (item_collection[item_it]);
#line 1430 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			item = _tmp12_;
#line 12128 "gitg-commit.c"
			{
				GFile* file;
				GFile* _tmp13_;
				GitgStageStatusItem* _tmp14_;
				gchar* _tmp15_;
				gchar* _tmp16_;
				gchar* _tmp17_;
				GFile* _tmp18_;
				GFile* _tmp19_;
#line 1432 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp13_ = root;
#line 1432 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp14_ = item;
#line 1432 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp15_ = gitg_stage_status_item_get_path (_tmp14_);
#line 1432 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp16_ = _tmp15_;
#line 1432 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp17_ = _tmp16_;
#line 1432 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp18_ = g_file_get_child (_tmp13_, _tmp17_);
#line 1432 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp19_ = _tmp18_;
#line 1432 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_free0 (_tmp17_);
#line 1432 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				file = _tmp19_;
#line 12156 "gitg-commit.c"
				{
					GdkScreen* _tmp20_;
					GFile* _tmp21_;
					gchar* _tmp22_;
					gchar* _tmp23_;
#line 1436 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp20_ = screen;
#line 1436 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp21_ = file;
#line 1436 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp22_ = g_file_get_uri (_tmp21_);
#line 1436 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp23_ = _tmp22_;
#line 1436 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					gtk_show_uri (_tmp20_, _tmp23_, (guint32) GDK_CURRENT_TIME, &_inner_error_);
#line 1436 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_g_free0 (_tmp23_);
#line 1436 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 12176 "gitg-commit.c"
						goto __catch30_g_error;
					}
				}
				goto __finally30;
				__catch30_g_error:
				{
					GError* e = NULL;
					FILE* _tmp24_;
					GitgStageStatusItem* _tmp25_;
					gchar* _tmp26_;
					gchar* _tmp27_;
					gchar* _tmp28_;
					GError* _tmp29_;
					const gchar* _tmp30_;
#line 1434 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					e = _inner_error_;
#line 1434 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_inner_error_ = NULL;
#line 1440 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp24_ = stderr;
#line 1440 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp25_ = item;
#line 1440 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp26_ = gitg_stage_status_item_get_path (_tmp25_);
#line 1440 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp27_ = _tmp26_;
#line 1440 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp28_ = _tmp27_;
#line 1440 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp29_ = e;
#line 1440 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp30_ = _tmp29_->message;
#line 1440 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					fprintf (_tmp24_, "Failed to launch application for %s: %s\n", _tmp28_, _tmp30_);
#line 1440 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_g_free0 (_tmp28_);
#line 1434 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_g_error_free0 (e);
#line 12215 "gitg-commit.c"
				}
				__finally30:
#line 1434 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1434 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_g_object_unref0 (file);
#line 1434 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_g_object_unref0 (item);
#line 1434 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_g_object_unref0 (root);
#line 1434 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_g_object_unref0 (screen);
#line 1434 "/home/mcatanzaro/Projects/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 1434 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					g_clear_error (&_inner_error_);
#line 1434 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					return;
#line 12234 "gitg-commit.c"
				}
#line 1430 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (file);
#line 1430 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (item);
#line 12240 "gitg-commit.c"
			}
		}
	}
#line 1425 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (root);
#line 1425 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (screen);
#line 12248 "gitg-commit.c"
}


static Block22Data* block22_data_ref (Block22Data* _data22_) {
#line 1445 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data22_->_ref_count_);
#line 1445 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return _data22_;
#line 12257 "gitg-commit.c"
}


static void block22_data_unref (void * _userdata_) {
	Block22Data* _data22_;
	_data22_ = (Block22Data*) _userdata_;
#line 1445 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data22_->_ref_count_)) {
#line 12266 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1445 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self = _data22_->self;
#line 1445 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data22_->q);
#line 1445 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1445 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block22Data, _data22_);
#line 12276 "gitg-commit.c"
	}
}


static gchar** _vala_array_dup15 (gchar** self, int length) {
	gchar** result;
	int i;
#line 1457 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = g_new0 (gchar*, length + 1);
#line 1457 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	for (i = 0; i < length; i++) {
#line 12288 "gitg-commit.c"
		gchar* _tmp0_;
#line 1457 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = g_strdup (self[i]);
#line 1457 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		result[i] = _tmp0_;
#line 12294 "gitg-commit.c"
	}
#line 1457 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 12298 "gitg-commit.c"
}


static void __lambda44_ (Block22Data* _data22_, GObject* o, GAsyncResult* ret) {
	GitgCommitActivity* self;
	GitgExtApplication* _tmp6_;
	GitgExtApplication* _tmp7_;
	GitgExtApplication* _tmp8_;
	GitgExtUserQuery* _tmp9_;
	GError * _inner_error_ = NULL;
#line 1457 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data22_->self;
#line 1457 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (ret != NULL);
#line 12313 "gitg-commit.c"
	{
		GAsyncResult* _tmp0_;
#line 1460 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = ret;
#line 1460 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_revert_paths_finish (self, _tmp0_, &_inner_error_);
#line 1460 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 12322 "gitg-commit.c"
			goto __catch31_g_error;
		}
	}
	goto __finally31;
	__catch31_g_error:
	{
		GError* e = NULL;
		GitgExtApplication* _tmp1_;
		GitgExtApplication* _tmp2_;
		GitgExtApplication* _tmp3_;
		GError* _tmp4_;
		const gchar* _tmp5_;
#line 1458 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		e = _inner_error_;
#line 1458 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_inner_error_ = NULL;
#line 1464 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1464 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = _tmp1_;
#line 1464 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp3_ = _tmp2_;
#line 1464 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = e;
#line 1464 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = _tmp4_->message;
#line 1464 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_ext_application_show_infobar (_tmp3_, _ ("Failed to discard changes"), _tmp5_, GTK_MESSAGE_ERROR);
#line 1464 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp3_);
#line 1458 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_error_free0 (e);
#line 12355 "gitg-commit.c"
	}
	__finally31:
#line 1458 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1458 "/home/mcatanzaro/Projects/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 1458 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 1458 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 12366 "gitg-commit.c"
	}
#line 1469 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1469 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = _tmp6_;
#line 1469 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = _tmp7_;
#line 1469 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_application_set_busy (_tmp8_, FALSE);
#line 1469 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp8_);
#line 1470 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = _data22_->q;
#line 1470 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_signal_emit_by_name (_tmp9_, "quit");
#line 1472 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_reload (self);
#line 12384 "gitg-commit.c"
}


static void ___lambda44__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1457 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__lambda44_ (self, source_object, res);
#line 1457 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block22_data_unref (self);
#line 12393 "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_;
	GitgExtUserQuery* _tmp1_;
	GitgExtApplication* _tmp2_;
	GitgExtApplication* _tmp3_;
	GitgExtApplication* _tmp4_;
	gchar** paths;
	GitgStageStatusItem** _tmp5_;
	gint _tmp5__length1;
	gchar** _tmp6_;
	gint paths_length1;
	gint _paths_size_;
	gchar** _tmp19_;
	gint _tmp19__length1;
	gchar** _tmp20_;
	gint _tmp20__length1;
#line 1445 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 1445 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (q != NULL, FALSE);
#line 1445 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data22_ = g_slice_new0 (Block22Data);
#line 1445 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data22_->_ref_count_ = 1;
#line 1445 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data22_->self = g_object_ref (self);
#line 1445 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = q;
#line 1445 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 1445 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data22_->q);
#line 1445 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data22_->q = _tmp1_;
#line 1447 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1447 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _tmp2_;
#line 1447 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _tmp3_;
#line 1447 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_application_set_busy (_tmp4_, TRUE);
#line 1447 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp4_);
#line 1449 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = items;
#line 1449 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5__length1 = items_length1;
#line 1449 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = g_new0 (gchar*, _tmp5__length1 + 1);
#line 1449 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	paths = _tmp6_;
#line 1449 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	paths_length1 = _tmp5__length1;
#line 1449 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_paths_size_ = paths_length1;
#line 12455 "gitg-commit.c"
	{
		gint i;
#line 1451 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		i = 0;
#line 12460 "gitg-commit.c"
		{
			gboolean _tmp7_;
#line 1451 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp7_ = TRUE;
#line 1451 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			while (TRUE) {
#line 12467 "gitg-commit.c"
				gint _tmp9_;
				GitgStageStatusItem** _tmp10_;
				gint _tmp10__length1;
				gchar** _tmp11_;
				gint _tmp11__length1;
				gint _tmp12_;
				GitgStageStatusItem** _tmp13_;
				gint _tmp13__length1;
				gint _tmp14_;
				GitgStageStatusItem* _tmp15_;
				gchar* _tmp16_;
				gchar* _tmp17_;
				gchar* _tmp18_;
#line 1451 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				if (!_tmp7_) {
#line 12483 "gitg-commit.c"
					gint _tmp8_;
#line 1451 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp8_ = i;
#line 1451 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					i = _tmp8_ + 1;
#line 12489 "gitg-commit.c"
				}
#line 1451 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp7_ = FALSE;
#line 1451 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp9_ = i;
#line 1451 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp10_ = items;
#line 1451 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp10__length1 = items_length1;
#line 1451 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				if (!(_tmp9_ < _tmp10__length1)) {
#line 1451 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					break;
#line 12503 "gitg-commit.c"
				}
#line 1453 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp11_ = paths;
#line 1453 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp11__length1 = paths_length1;
#line 1453 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp12_ = i;
#line 1453 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp13_ = items;
#line 1453 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp13__length1 = items_length1;
#line 1453 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp14_ = i;
#line 1453 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp15_ = _tmp13_[_tmp14_];
#line 1453 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp16_ = gitg_stage_status_item_get_path (_tmp15_);
#line 1453 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp17_ = _tmp16_;
#line 1453 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_free0 (_tmp11_[_tmp12_]);
#line 1453 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp11_[_tmp12_] = _tmp17_;
#line 1453 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp18_ = _tmp11_[_tmp12_];
#line 12529 "gitg-commit.c"
			}
		}
	}
#line 1456 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_ignore_external_changes = TRUE;
#line 1457 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp19_ = paths;
#line 1457 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp19__length1 = paths_length1;
#line 1457 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp20_ = (_tmp19_ != NULL) ? _vala_array_dup15 (_tmp19_, _tmp19__length1) : ((gpointer) _tmp19_);
#line 1457 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp20__length1 = _tmp19__length1;
#line 1457 "/home/mcatanzaro/Projects/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 1475 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = FALSE;
#line 1475 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	paths = (_vala_array_free (paths, paths_length1, (GDestroyNotify) g_free), NULL);
#line 1475 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block22_data_unref (_data22_);
#line 1475 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data22_ = NULL;
#line 1475 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 12555 "gitg-commit.c"
}


static Block23Data* block23_data_ref (Block23Data* _data23_) {
#line 1478 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data23_->_ref_count_);
#line 1478 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return _data23_;
#line 12564 "gitg-commit.c"
}


static void block23_data_unref (void * _userdata_) {
	Block23Data* _data23_;
	_data23_ = (Block23Data*) _userdata_;
#line 1478 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data23_->_ref_count_)) {
#line 12573 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1478 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self = _data23_->self;
#line 1478 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data23_->q);
#line 1478 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1478 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block23Data, _data23_);
#line 12583 "gitg-commit.c"
	}
}


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


static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int str_array_length1) {
	gchar* result = NULL;
	const gchar* _tmp0_;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
	gchar** _tmp3_;
	gint _tmp3__length1;
#line 1070 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp0_ = separator;
#line 1070 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp0_ == NULL) {
#line 1071 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		separator = "";
#line 12613 "gitg-commit.c"
	}
#line 1073 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp3_ = str_array;
#line 1073 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp3__length1 = str_array_length1;
#line 1073 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp3_ != NULL) {
#line 1073 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp2_ = TRUE;
#line 12623 "gitg-commit.c"
	} else {
		gchar** _tmp4_;
		gint _tmp4__length1;
#line 1073 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp4_ = str_array;
#line 1073 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp4__length1 = str_array_length1;
#line 1073 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp2_ = _tmp4__length1 > 0;
#line 12633 "gitg-commit.c"
	}
#line 1073 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp2_) {
#line 1073 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp1_ = TRUE;
#line 12639 "gitg-commit.c"
	} else {
		gboolean _tmp5_ = FALSE;
		gchar** _tmp6_;
		gint _tmp6__length1;
#line 1073 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp6_ = str_array;
#line 1073 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp6__length1 = str_array_length1;
#line 1073 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		if (_tmp6__length1 == -1) {
#line 12650 "gitg-commit.c"
			gchar** _tmp7_;
			gint _tmp7__length1;
			const gchar* _tmp8_;
#line 1073 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
			_tmp7_ = str_array;
#line 1073 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
			_tmp7__length1 = str_array_length1;
#line 1073 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
			_tmp8_ = _tmp7_[0];
#line 1073 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
			_tmp5_ = _tmp8_ != NULL;
#line 12662 "gitg-commit.c"
		} else {
#line 1073 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
			_tmp5_ = FALSE;
#line 12666 "gitg-commit.c"
		}
#line 1073 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp1_ = _tmp5_;
#line 12670 "gitg-commit.c"
	}
#line 1073 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp1_) {
#line 12674 "gitg-commit.c"
		gint i = 0;
		gsize len;
		gint _tmp31_;
		gint _tmp33_;
		gint _tmp34_;
		gsize _tmp35_;
		const gchar* _tmp36_;
		gint _tmp37_;
		gint _tmp38_;
		gint _tmp39_;
		const gchar* res;
		gsize _tmp40_;
		void* _tmp41_;
		void* ptr;
		const gchar* _tmp42_;
		gchar** _tmp43_;
		gint _tmp43__length1;
		const gchar* _tmp44_;
		void* _tmp45_;
		const gchar* _tmp62_;
#line 1075 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		len = (gsize) 1;
#line 12697 "gitg-commit.c"
		{
			gboolean _tmp9_;
#line 1076 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
			i = 0;
#line 1076 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
			_tmp9_ = TRUE;
#line 1076 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
			while (TRUE) {
#line 12706 "gitg-commit.c"
				gboolean _tmp11_ = FALSE;
				gboolean _tmp12_ = FALSE;
				gchar** _tmp13_;
				gint _tmp13__length1;
				gint _tmp21_ = 0;
				gchar** _tmp22_;
				gint _tmp22__length1;
				gint _tmp23_;
				const gchar* _tmp24_;
				gsize _tmp30_;
#line 1076 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				if (!_tmp9_) {
#line 12719 "gitg-commit.c"
					gint _tmp10_;
#line 1076 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp10_ = i;
#line 1076 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					i = _tmp10_ + 1;
#line 12725 "gitg-commit.c"
				}
#line 1076 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp9_ = FALSE;
#line 1076 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp13_ = str_array;
#line 1076 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp13__length1 = str_array_length1;
#line 1076 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				if (_tmp13__length1 != -1) {
#line 12735 "gitg-commit.c"
					gint _tmp14_;
					gchar** _tmp15_;
					gint _tmp15__length1;
#line 1076 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp14_ = i;
#line 1076 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp15_ = str_array;
#line 1076 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp15__length1 = str_array_length1;
#line 1076 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp12_ = _tmp14_ < _tmp15__length1;
#line 12747 "gitg-commit.c"
				} else {
#line 1076 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp12_ = FALSE;
#line 12751 "gitg-commit.c"
				}
#line 1076 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				if (_tmp12_) {
#line 1076 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp11_ = TRUE;
#line 12757 "gitg-commit.c"
				} else {
					gboolean _tmp16_ = FALSE;
					gchar** _tmp17_;
					gint _tmp17__length1;
#line 1076 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp17_ = str_array;
#line 1076 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp17__length1 = str_array_length1;
#line 1076 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					if (_tmp17__length1 == -1) {
#line 12768 "gitg-commit.c"
						gchar** _tmp18_;
						gint _tmp18__length1;
						gint _tmp19_;
						const gchar* _tmp20_;
#line 1076 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
						_tmp18_ = str_array;
#line 1076 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
						_tmp18__length1 = str_array_length1;
#line 1076 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
						_tmp19_ = i;
#line 1076 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
						_tmp20_ = _tmp18_[_tmp19_];
#line 1076 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
						_tmp16_ = _tmp20_ != NULL;
#line 12783 "gitg-commit.c"
					} else {
#line 1076 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
						_tmp16_ = FALSE;
#line 12787 "gitg-commit.c"
					}
#line 1076 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp11_ = _tmp16_;
#line 12791 "gitg-commit.c"
				}
#line 1076 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				if (!_tmp11_) {
#line 1076 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					break;
#line 12797 "gitg-commit.c"
				}
#line 1077 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp22_ = str_array;
#line 1077 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp22__length1 = str_array_length1;
#line 1077 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp23_ = i;
#line 1077 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp24_ = _tmp22_[_tmp23_];
#line 1077 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				if (_tmp24_ != NULL) {
#line 12809 "gitg-commit.c"
					gchar** _tmp25_;
					gint _tmp25__length1;
					gint _tmp26_;
					const gchar* _tmp27_;
					gint _tmp28_;
					gint _tmp29_;
#line 1077 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp25_ = str_array;
#line 1077 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp25__length1 = str_array_length1;
#line 1077 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp26_ = i;
#line 1077 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp27_ = _tmp25_[_tmp26_];
#line 1077 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp28_ = strlen ((const gchar*) _tmp27_);
#line 1077 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp29_ = _tmp28_;
#line 1077 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp21_ = _tmp29_;
#line 12830 "gitg-commit.c"
				} else {
#line 1077 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp21_ = 0;
#line 12834 "gitg-commit.c"
				}
#line 1077 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp30_ = len;
#line 1077 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				len = _tmp30_ + _tmp21_;
#line 12840 "gitg-commit.c"
			}
		}
#line 1079 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp31_ = i;
#line 1079 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		if (_tmp31_ == 0) {
#line 12847 "gitg-commit.c"
			gchar* _tmp32_;
#line 1080 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
			_tmp32_ = g_strdup ("");
#line 1080 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
			result = _tmp32_;
#line 1080 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
			return result;
#line 12855 "gitg-commit.c"
		}
#line 1082 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp33_ = i;
#line 1082 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		str_array_length1 = _tmp33_;
#line 1082 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp34_ = str_array_length1;
#line 1083 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp35_ = len;
#line 1083 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp36_ = separator;
#line 1083 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp37_ = strlen ((const gchar*) _tmp36_);
#line 1083 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp38_ = _tmp37_;
#line 1083 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp39_ = i;
#line 1083 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		len = _tmp35_ + (_tmp38_ * (_tmp39_ - 1));
#line 1085 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp40_ = len;
#line 1085 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp41_ = g_malloc (_tmp40_);
#line 1085 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		res = _tmp41_;
#line 1086 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp42_ = res;
#line 1086 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp43_ = str_array;
#line 1086 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp43__length1 = str_array_length1;
#line 1086 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp44_ = _tmp43_[0];
#line 1086 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp45_ = g_stpcpy ((void*) _tmp42_, (const gchar*) _tmp44_);
#line 1086 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		ptr = _tmp45_;
#line 12893 "gitg-commit.c"
		{
			gboolean _tmp46_;
#line 1087 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
			i = 1;
#line 1087 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
			_tmp46_ = TRUE;
#line 1087 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
			while (TRUE) {
#line 12902 "gitg-commit.c"
				gint _tmp48_;
				gchar** _tmp49_;
				gint _tmp49__length1;
				void* _tmp50_;
				const gchar* _tmp51_;
				void* _tmp52_;
				const gchar* _tmp53_ = NULL;
				gchar** _tmp54_;
				gint _tmp54__length1;
				gint _tmp55_;
				const gchar* _tmp56_;
				void* _tmp60_;
				void* _tmp61_;
#line 1087 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				if (!_tmp46_) {
#line 12918 "gitg-commit.c"
					gint _tmp47_;
#line 1087 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp47_ = i;
#line 1087 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					i = _tmp47_ + 1;
#line 12924 "gitg-commit.c"
				}
#line 1087 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp46_ = FALSE;
#line 1087 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp48_ = i;
#line 1087 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp49_ = str_array;
#line 1087 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp49__length1 = str_array_length1;
#line 1087 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				if (!(_tmp48_ < _tmp49__length1)) {
#line 1087 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					break;
#line 12938 "gitg-commit.c"
				}
#line 1088 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp50_ = ptr;
#line 1088 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp51_ = separator;
#line 1088 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp52_ = g_stpcpy (_tmp50_, (const gchar*) _tmp51_);
#line 1088 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				ptr = _tmp52_;
#line 1089 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp54_ = str_array;
#line 1089 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp54__length1 = str_array_length1;
#line 1089 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp55_ = i;
#line 1089 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp56_ = _tmp54_[_tmp55_];
#line 1089 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				if (_tmp56_ != NULL) {
#line 12958 "gitg-commit.c"
					gchar** _tmp57_;
					gint _tmp57__length1;
					gint _tmp58_;
					const gchar* _tmp59_;
#line 1089 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp57_ = str_array;
#line 1089 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp57__length1 = str_array_length1;
#line 1089 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp58_ = i;
#line 1089 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp59_ = _tmp57_[_tmp58_];
#line 1089 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp53_ = (const gchar*) _tmp59_;
#line 12973 "gitg-commit.c"
				} else {
#line 1089 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp53_ = "";
#line 12977 "gitg-commit.c"
				}
#line 1089 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp60_ = ptr;
#line 1089 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp61_ = g_stpcpy (_tmp60_, _tmp53_);
#line 1089 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
				ptr = _tmp61_;
#line 12985 "gitg-commit.c"
			}
		}
#line 1092 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp62_ = res;
#line 1092 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		res = NULL;
#line 1092 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		result = (gchar*) _tmp62_;
#line 1092 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		return result;
#line 12996 "gitg-commit.c"
	} else {
		gchar* _tmp63_;
#line 1094 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp63_ = g_strdup ("");
#line 1094 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		result = _tmp63_;
#line 1094 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
		return result;
#line 13005 "gitg-commit.c"
	}
}


static gboolean __lambda45_ (Block23Data* _data23_, GitgExtUserQuery* w, GtkResponseType r) {
	GitgCommitActivity* self;
	gboolean result = FALSE;
	GtkResponseType _tmp0_;
#line 1512 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data23_->self;
#line 1512 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (w != NULL, FALSE);
#line 1513 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = r;
#line 1513 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp0_ == GTK_RESPONSE_OK) {
#line 13022 "gitg-commit.c"
		GitgStageStatusItem** _tmp1_;
		gint _tmp1__length1;
		gboolean _tmp2_;
#line 1515 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = _data23_->items;
#line 1515 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp1__length1 = _data23_->items_length1;
#line 1515 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = gitg_commit_activity_do_discard_items (self, _data23_->q, _tmp1_, _tmp1__length1);
#line 1515 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		result = _tmp2_;
#line 1515 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return result;
#line 13036 "gitg-commit.c"
	}
#line 1518 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = TRUE;
#line 1518 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 13042 "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 1512 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 13051 "gitg-commit.c"
}


static void gitg_commit_activity_on_discard_menu_activated (GitgCommitActivity* self, GitgStageStatusItem** items, int items_length1) {
	Block23Data* _data23_;
	GitgStageStatusItem** _tmp0_;
	gint _tmp0__length1;
	gchar* primary;
	gchar* _tmp1_;
	gchar* secondary = NULL;
	GitgStageStatusItem** _tmp2_;
	gint _tmp2__length1;
	GitgExtUserQuery* _tmp36_;
	const gchar* _tmp37_;
	const gchar* _tmp38_;
	GitgExtUserQueryResponse* _tmp39_;
	GitgExtUserQueryResponse* _tmp40_;
	GitgExtUserQueryResponse** _tmp41_;
	GitgExtUserQueryResponse** _tmp42_;
	gint _tmp42__length1;
	GitgExtApplication* _tmp43_;
	GitgExtApplication* _tmp44_;
	GitgExtApplication* _tmp45_;
#line 1478 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 1478 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data23_ = g_slice_new0 (Block23Data);
#line 1478 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data23_->_ref_count_ = 1;
#line 1478 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data23_->self = g_object_ref (self);
#line 1478 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = items;
#line 1478 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__length1 = items_length1;
#line 1478 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data23_->items = _tmp0_;
#line 1478 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data23_->items_length1 = _tmp0__length1;
#line 1480 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = g_strdup (_ ("Discard changes"));
#line 1480 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	primary = _tmp1_;
#line 1483 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _data23_->items;
#line 1483 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2__length1 = _data23_->items_length1;
#line 1483 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp2__length1 == 1) {
#line 13101 "gitg-commit.c"
		GitgStageStatusItem** _tmp3_;
		gint _tmp3__length1;
		GitgStageStatusItem* _tmp4_;
		gchar* _tmp5_;
		gchar* _tmp6_;
		gchar* _tmp7_;
		gchar* _tmp8_;
#line 1485 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp3_ = _data23_->items;
#line 1485 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp3__length1 = _data23_->items_length1;
#line 1485 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = _tmp3_[0];
#line 1485 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = gitg_stage_status_item_get_path (_tmp4_);
#line 1485 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = _tmp5_;
#line 1485 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 1485 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = g_strdup_printf (_ ("Are you sure you want to permanently discard all changes made to the f" \
"ile `%s'?"), _tmp7_);
#line 1485 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_free0 (secondary);
#line 1485 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		secondary = _tmp8_;
#line 1485 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_free0 (_tmp7_);
#line 13129 "gitg-commit.c"
	} else {
		gchar** paths;
		GitgStageStatusItem** _tmp9_;
		gint _tmp9__length1;
		gchar** _tmp10_;
		gint paths_length1;
		gint _paths_size_;
		gchar** _tmp26_;
		gint _tmp26__length1;
		gchar* _tmp27_;
		gchar* _tmp28_;
		GitgStageStatusItem** _tmp29_;
		gint _tmp29__length1;
		GitgStageStatusItem** _tmp30_;
		gint _tmp30__length1;
		GitgStageStatusItem* _tmp31_;
		gchar* _tmp32_;
		gchar* _tmp33_;
		gchar* _tmp34_;
		gchar* _tmp35_;
#line 1489 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = _data23_->items;
#line 1489 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9__length1 = _data23_->items_length1;
#line 1489 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = g_new0 (gchar*, (_tmp9__length1 - 1) + 1);
#line 1489 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		paths = _tmp10_;
#line 1489 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		paths_length1 = _tmp9__length1 - 1;
#line 1489 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_paths_size_ = paths_length1;
#line 13162 "gitg-commit.c"
		{
			gint i;
#line 1491 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			i = 0;
#line 13167 "gitg-commit.c"
			{
				gboolean _tmp11_;
#line 1491 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp11_ = TRUE;
#line 1491 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				while (TRUE) {
#line 13174 "gitg-commit.c"
					gint _tmp13_;
					GitgStageStatusItem** _tmp14_;
					gint _tmp14__length1;
					gchar** _tmp15_;
					gint _tmp15__length1;
					gint _tmp16_;
					GitgStageStatusItem** _tmp17_;
					gint _tmp17__length1;
					gint _tmp18_;
					GitgStageStatusItem* _tmp19_;
					gchar* _tmp20_;
					gchar* _tmp21_;
					gchar* _tmp22_;
					const gchar* _tmp23_;
					gchar* _tmp24_;
					gchar* _tmp25_;
#line 1491 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					if (!_tmp11_) {
#line 13193 "gitg-commit.c"
						gint _tmp12_;
#line 1491 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_tmp12_ = i;
#line 1491 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						i = _tmp12_ + 1;
#line 13199 "gitg-commit.c"
					}
#line 1491 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp11_ = FALSE;
#line 1491 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp13_ = i;
#line 1491 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp14_ = _data23_->items;
#line 1491 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp14__length1 = _data23_->items_length1;
#line 1491 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					if (!(_tmp13_ < (_tmp14__length1 - 1))) {
#line 1491 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						break;
#line 13213 "gitg-commit.c"
					}
#line 1493 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp15_ = paths;
#line 1493 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp15__length1 = paths_length1;
#line 1493 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp16_ = i;
#line 1493 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp17_ = _data23_->items;
#line 1493 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp17__length1 = _data23_->items_length1;
#line 1493 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp18_ = i;
#line 1493 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp19_ = _tmp17_[_tmp18_];
#line 1493 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp20_ = gitg_stage_status_item_get_path (_tmp19_);
#line 1493 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp21_ = _tmp20_;
#line 1493 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp22_ = _tmp21_;
#line 1493 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp23_ = string_to_string (_tmp22_);
#line 1493 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp24_ = g_strconcat ("`", _tmp23_, "'", NULL);
#line 1493 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_g_free0 (_tmp15_[_tmp16_]);
#line 1493 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp15_[_tmp16_] = _tmp24_;
#line 1493 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp25_ = _tmp15_[_tmp16_];
#line 1493 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_g_free0 (_tmp22_);
#line 13247 "gitg-commit.c"
				}
			}
		}
#line 1496 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp26_ = paths;
#line 1496 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp26__length1 = paths_length1;
#line 1496 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp27_ = _vala_g_strjoinv (", ", _tmp26_, _tmp26__length1);
#line 1496 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp28_ = _tmp27_;
#line 1496 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp29_ = _data23_->items;
#line 1496 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp29__length1 = _data23_->items_length1;
#line 1496 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp30_ = _data23_->items;
#line 1496 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp30__length1 = _data23_->items_length1;
#line 1496 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp31_ = _tmp29_[_tmp30__length1 - 1];
#line 1496 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp32_ = gitg_stage_status_item_get_path (_tmp31_);
#line 1496 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp33_ = _tmp32_;
#line 1496 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp34_ = _tmp33_;
#line 1496 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp35_ = g_strdup_printf (_ ("Are you sure you want to permanently discard all changes made to the f" \
"iles %s and `%s'?"), _tmp28_, _tmp34_);
#line 1496 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_free0 (secondary);
#line 1496 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		secondary = _tmp35_;
#line 1496 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_free0 (_tmp34_);
#line 1496 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_free0 (_tmp28_);
#line 1483 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		paths = (_vala_array_free (paths, paths_length1, (GDestroyNotify) g_free), NULL);
#line 13287 "gitg-commit.c"
	}
#line 1499 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp36_ = gitg_ext_user_query_new ();
#line 1499 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data23_->q = _tmp36_;
#line 1501 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp37_ = primary;
#line 1501 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_title (_data23_->q, _tmp37_);
#line 1502 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp38_ = secondary;
#line 1502 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_message (_data23_->q, _tmp38_);
#line 1503 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_message_type (_data23_->q, GTK_MESSAGE_QUESTION);
#line 1505 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp39_ = gitg_ext_user_query_response_new (_ ("_Cancel"), GTK_RESPONSE_CANCEL);
#line 1505 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp40_ = gitg_ext_user_query_response_new (_ ("Discard"), GTK_RESPONSE_OK);
#line 1505 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp41_ = g_new0 (GitgExtUserQueryResponse*, 2 + 1);
#line 1505 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp41_[0] = _tmp39_;
#line 1505 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp41_[1] = _tmp40_;
#line 1505 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp42_ = _tmp41_;
#line 1505 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp42__length1 = 2;
#line 1505 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_responses (_data23_->q, _tmp42_, 2);
#line 1505 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp42_ = (_vala_array_free (_tmp42_, _tmp42__length1, (GDestroyNotify) g_object_unref), NULL);
#line 1510 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_default_response (_data23_->q, GTK_RESPONSE_OK);
#line 1512 "/home/mcatanzaro/Projects/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 1521 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp43_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1521 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp44_ = _tmp43_;
#line 1521 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp45_ = _tmp44_;
#line 1521 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_application_user_query (_tmp45_, _data23_->q);
#line 1521 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp45_);
#line 1478 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (secondary);
#line 1478 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (primary);
#line 1478 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block23_data_unref (_data23_);
#line 1478 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data23_ = NULL;
#line 13343 "gitg-commit.c"
}


static void gitg_commit_activity_delete_files_data_free (gpointer _data) {
	GitgCommitActivityDeleteFilesData* _data_;
	_data_ = _data;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_slice_free (GitgCommitActivityDeleteFilesData, _data_);
#line 13354 "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_;
	GFile** _tmp1_;
	gint _tmp1__length1;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_slice_new0 (GitgCommitActivityDeleteFilesData);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_callback_ == NULL) {
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_task_complete_ = TRUE;
#line 13371 "gitg-commit.c"
	}
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_task_set_task_data (_data_->_async_result, _data_, gitg_commit_activity_delete_files_data_free);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->self = _tmp0_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = files;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1__length1 = files_length1;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->files = _tmp1_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->files_length1 = _tmp1__length1;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_delete_files_co (_data_);
#line 13389 "gitg-commit.c"
}


static void gitg_commit_activity_delete_files_finish (GitgCommitActivity* self, GAsyncResult* _res_, GError** error) {
	GitgCommitActivityDeleteFilesData* _data_;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), error);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (NULL == _data_) {
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 13401 "gitg-commit.c"
	}
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_task_complete_ = TRUE;
#line 13405 "gitg-commit.c"
}


static Block24Data* block24_data_ref (Block24Data* _data24_) {
#line 1524 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data24_->_ref_count_);
#line 1524 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return _data24_;
#line 13414 "gitg-commit.c"
}


static void block24_data_unref (void * _userdata_) {
	Block24Data* _data24_;
	_data24_ = (Block24Data*) _userdata_;
#line 1524 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data24_->_ref_count_)) {
#line 13423 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1524 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self = _data24_->self;
#line 1524 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_error_free0 (_data24_->_error_);
#line 1524 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		(_data24_->cb_target_destroy_notify == NULL) ? NULL : (_data24_->cb_target_destroy_notify (_data24_->cb_target), NULL);
#line 1524 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data24_->cb = NULL;
#line 1524 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data24_->cb_target = NULL;
#line 1524 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data24_->cb_target_destroy_notify = NULL;
#line 1524 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1524 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block24Data, _data24_);
#line 13441 "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 1526 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 13451 "gitg-commit.c"
}


static Block25Data* block25_data_ref (Block25Data* _data25_) {
#line 1531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data25_->_ref_count_);
#line 1531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return _data25_;
#line 13460 "gitg-commit.c"
}


static void block25_data_unref (void * _userdata_) {
	Block25Data* _data25_;
	_data25_ = (Block25Data*) _userdata_;
#line 1531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data25_->_ref_count_)) {
#line 13469 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self = _data25_->_data24_->self;
#line 1531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data25_->file);
#line 1531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		block24_data_unref (_data25_->_data24_);
#line 1531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data25_->_data24_ = NULL;
#line 1531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block25Data, _data25_);
#line 13481 "gitg-commit.c"
	}
}


static gpointer _g_error_copy0 (gpointer self) {
#line 1542 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return self ? g_error_copy (self) : NULL;
#line 13489 "gitg-commit.c"
}


static void _____lambda46_ (Block25Data* _data25_, GObject* o, GAsyncResult* res) {
	Block24Data* _data24_;
	GitgCommitActivity* self;
	gint _tmp4_;
	gint _tmp5_;
	GError * _inner_error_ = NULL;
#line 1535 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data24_ = _data25_->_data24_;
#line 1535 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data24_->self;
#line 1535 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (res != NULL);
#line 13505 "gitg-commit.c"
	{
		GFile* _tmp0_;
		GAsyncResult* _tmp1_;
#line 1538 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _data25_->file;
#line 1538 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = res;
#line 1538 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_file_delete_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 1538 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 13517 "gitg-commit.c"
			goto __catch32_g_error;
		}
	}
	goto __finally32;
	__catch32_g_error:
	{
		GError* e = NULL;
		GError* _tmp2_;
		GError* _tmp3_;
#line 1536 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		e = _inner_error_;
#line 1536 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_inner_error_ = NULL;
#line 1542 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = e;
#line 1542 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp3_ = _g_error_copy0 (_tmp2_);
#line 1542 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_error_free0 (_data24_->_error_);
#line 1542 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data24_->_error_ = _tmp3_;
#line 1536 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_error_free0 (e);
#line 13541 "gitg-commit.c"
	}
	__finally32:
#line 1536 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1536 "/home/mcatanzaro/Projects/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 1536 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 1536 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 13552 "gitg-commit.c"
	}
#line 1545 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _data24_->n;
#line 1545 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data24_->n = _tmp4_ - 1;
#line 1545 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = _data24_->n;
#line 1545 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp5_ == 0) {
#line 13562 "gitg-commit.c"
		GSourceFunc _tmp6_;
		void* _tmp6__target;
#line 1547 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = _data24_->cb;
#line 1547 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp6__target = _data24_->cb_target;
#line 1547 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ (_tmp6__target);
#line 13571 "gitg-commit.c"
	}
}


static void ______lambda46__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1535 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_____lambda46_ (self, source_object, res);
#line 1535 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block25_data_unref (self);
#line 13581 "gitg-commit.c"
}


static gboolean gitg_commit_activity_delete_files_co (GitgCommitActivityDeleteFilesData* _data_) {
#line 1524 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	switch (_data_->_state_) {
#line 1524 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 0:
#line 13590 "gitg-commit.c"
		goto _state_0;
#line 1524 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case 1:
#line 13594 "gitg-commit.c"
		goto _state_1;
		default:
#line 1524 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_assert_not_reached ();
#line 13599 "gitg-commit.c"
	}
	_state_0:
#line 1524 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data24_ = g_slice_new0 (Block24Data);
#line 1524 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data24_->_ref_count_ = 1;
#line 1524 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data24_->self = g_object_ref (_data_->self);
#line 1524 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data24_->_async_data_ = _data_;
#line 1526 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data24_->cb = _gitg_commit_activity_delete_files_co_gsource_func;
#line 1526 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data24_->cb_target = _data_;
#line 1526 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data24_->cb_target_destroy_notify = NULL;
#line 1527 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data24_->_error_ = NULL;
#line 1529 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0_ = _data_->files;
#line 1529 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp0__length1 = _data_->files_length1;
#line 1529 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data24_->n = _data_->_tmp0__length1;
#line 13624 "gitg-commit.c"
	{
#line 1531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->i = 0;
#line 13628 "gitg-commit.c"
		{
#line 1531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_data_->_tmp1_ = TRUE;
#line 1531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			while (TRUE) {
#line 1531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_data25_ = g_slice_new0 (Block25Data);
#line 1531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_data25_->_ref_count_ = 1;
#line 1531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_data25_->_data24_ = block24_data_ref (_data_->_data24_);
#line 1531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				if (!_data_->_tmp1_) {
#line 1531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_data_->_tmp2_ = _data_->i;
#line 1531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_data_->i = _data_->_tmp2_ + 1;
#line 13646 "gitg-commit.c"
				}
#line 1531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp1_ = FALSE;
#line 1531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp3_ = _data_->i;
#line 1531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp4_ = _data_->files;
#line 1531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp4__length1 = _data_->files_length1;
#line 1531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				if (!(_data_->_tmp3_ < _data_->_tmp4__length1)) {
#line 1531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					block25_data_unref (_data_->_data25_);
#line 1531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_data_->_data25_ = NULL;
#line 1531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					break;
#line 13664 "gitg-commit.c"
				}
#line 1533 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp5_ = _data_->files;
#line 1533 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp5__length1 = _data_->files_length1;
#line 1533 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp6_ = _data_->i;
#line 1533 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp7_ = _data_->_tmp5_[_data_->_tmp6_];
#line 1533 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp8_ = _g_object_ref0 (_data_->_tmp7_);
#line 1533 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_data25_->file = _data_->_tmp8_;
#line 1535 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_tmp9_ = _data_->_data25_->file;
#line 1535 "/home/mcatanzaro/Projects/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 1531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				block25_data_unref (_data_->_data25_);
#line 1531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_data_->_data25_ = NULL;
#line 13686 "gitg-commit.c"
			}
		}
	}
#line 1552 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_state_ = 1;
#line 1552 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 13694 "gitg-commit.c"
	_state_1:
	;
#line 1554 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_tmp10_ = _data_->_data24_->_error_;
#line 1554 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_tmp10_ != NULL) {
#line 1556 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp11_ = _data_->_data24_->_error_;
#line 1556 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_tmp12_ = _g_error_copy0 (_data_->_tmp11_);
#line 1556 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_inner_error_ = _data_->_tmp12_;
#line 1556 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_task_return_error (_data_->_async_result, _data_->_inner_error_);
#line 1556 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		block24_data_unref (_data_->_data24_);
#line 1556 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data_->_data24_ = NULL;
#line 1556 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_object_unref (_data_->_async_result);
#line 1556 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return FALSE;
#line 13717 "gitg-commit.c"
	}
#line 1524 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block24_data_unref (_data_->_data24_);
#line 1524 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data_->_data24_ = NULL;
#line 1524 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 1524 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_data_->_state_ != 0) {
#line 1524 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 1524 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 13731 "gitg-commit.c"
		}
	}
#line 1524 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_object_unref (_data_->_async_result);
#line 1524 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return FALSE;
#line 13738 "gitg-commit.c"
}


static Block26Data* block26_data_ref (Block26Data* _data26_) {
#line 1560 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data26_->_ref_count_);
#line 1560 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return _data26_;
#line 13747 "gitg-commit.c"
}


static void block26_data_unref (void * _userdata_) {
	Block26Data* _data26_;
	_data26_ = (Block26Data*) _userdata_;
#line 1560 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data26_->_ref_count_)) {
#line 13756 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1560 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self = _data26_->self;
#line 1560 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data26_->q);
#line 1560 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1560 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block26Data, _data26_);
#line 13766 "gitg-commit.c"
	}
}


static void __lambda47_ (Block26Data* _data26_, GObject* o, GAsyncResult* ret) {
	GitgCommitActivity* self;
	GitgExtApplication* _tmp6_;
	GitgExtApplication* _tmp7_;
	GitgExtApplication* _tmp8_;
	GitgExtUserQuery* _tmp9_;
	GError * _inner_error_ = NULL;
#line 1572 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data26_->self;
#line 1572 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (ret != NULL);
#line 13782 "gitg-commit.c"
	{
		GAsyncResult* _tmp0_;
#line 1575 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = ret;
#line 1575 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_delete_files_finish (self, _tmp0_, &_inner_error_);
#line 1575 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 13791 "gitg-commit.c"
			goto __catch33_g_error;
		}
	}
	goto __finally33;
	__catch33_g_error:
	{
		GError* e = NULL;
		GitgExtApplication* _tmp1_;
		GitgExtApplication* _tmp2_;
		GitgExtApplication* _tmp3_;
		GError* _tmp4_;
		const gchar* _tmp5_;
#line 1573 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		e = _inner_error_;
#line 1573 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_inner_error_ = NULL;
#line 1579 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1579 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = _tmp1_;
#line 1579 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp3_ = _tmp2_;
#line 1579 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = e;
#line 1579 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = _tmp4_->message;
#line 1579 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_ext_application_show_infobar (_tmp3_, _ ("Failed to delete files"), _tmp5_, GTK_MESSAGE_ERROR);
#line 1579 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp3_);
#line 1573 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_error_free0 (e);
#line 13824 "gitg-commit.c"
	}
	__finally33:
#line 1573 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1573 "/home/mcatanzaro/Projects/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 1573 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 1573 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 13835 "gitg-commit.c"
	}
#line 1584 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1584 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = _tmp6_;
#line 1584 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = _tmp7_;
#line 1584 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_application_set_busy (_tmp8_, FALSE);
#line 1584 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp8_);
#line 1585 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = _data26_->q;
#line 1585 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_signal_emit_by_name (_tmp9_, "quit");
#line 1587 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_reload (self);
#line 13853 "gitg-commit.c"
}


static void ___lambda47__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 1572 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__lambda47_ (self, source_object, res);
#line 1572 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block26_data_unref (self);
#line 13862 "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_;
	GitgExtUserQuery* _tmp1_;
	GitgExtApplication* _tmp2_;
	GitgExtApplication* _tmp3_;
	GitgExtApplication* _tmp4_;
	GFile** files;
	GitgStageStatusItem** _tmp5_;
	gint _tmp5__length1;
	GFile** _tmp6_;
	gint files_length1;
	gint _files_size_;
	GFile** _tmp29_;
	gint _tmp29__length1;
#line 1560 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 1560 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (q != NULL, FALSE);
#line 1560 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data26_ = g_slice_new0 (Block26Data);
#line 1560 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data26_->_ref_count_ = 1;
#line 1560 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data26_->self = g_object_ref (self);
#line 1560 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = q;
#line 1560 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 1560 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_data26_->q);
#line 1560 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data26_->q = _tmp1_;
#line 1562 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1562 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _tmp2_;
#line 1562 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _tmp3_;
#line 1562 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_application_set_busy (_tmp4_, TRUE);
#line 1562 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp4_);
#line 1564 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = items;
#line 1564 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5__length1 = items_length1;
#line 1564 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = g_new0 (GFile*, _tmp5__length1 + 1);
#line 1564 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	files = _tmp6_;
#line 1564 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	files_length1 = _tmp5__length1;
#line 1564 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_files_size_ = files_length1;
#line 13922 "gitg-commit.c"
	{
		gint i;
#line 1566 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		i = 0;
#line 13927 "gitg-commit.c"
		{
			gboolean _tmp7_;
#line 1566 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp7_ = TRUE;
#line 1566 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			while (TRUE) {
#line 13934 "gitg-commit.c"
				gint _tmp9_;
				GitgStageStatusItem** _tmp10_;
				gint _tmp10__length1;
				GFile** _tmp11_;
				gint _tmp11__length1;
				gint _tmp12_;
				GitgExtApplication* _tmp13_;
				GitgExtApplication* _tmp14_;
				GitgExtApplication* _tmp15_;
				GitgRepository* _tmp16_;
				GitgRepository* _tmp17_;
				GitgRepository* _tmp18_;
				GFile* _tmp19_;
				GFile* _tmp20_;
				GitgStageStatusItem** _tmp21_;
				gint _tmp21__length1;
				gint _tmp22_;
				GitgStageStatusItem* _tmp23_;
				gchar* _tmp24_;
				gchar* _tmp25_;
				gchar* _tmp26_;
				GFile* _tmp27_;
				GFile* _tmp28_;
#line 1566 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				if (!_tmp7_) {
#line 13960 "gitg-commit.c"
					gint _tmp8_;
#line 1566 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp8_ = i;
#line 1566 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					i = _tmp8_ + 1;
#line 13966 "gitg-commit.c"
				}
#line 1566 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp7_ = FALSE;
#line 1566 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp9_ = i;
#line 1566 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp10_ = items;
#line 1566 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp10__length1 = items_length1;
#line 1566 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				if (!(_tmp9_ < _tmp10__length1)) {
#line 1566 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					break;
#line 13980 "gitg-commit.c"
				}
#line 1568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp11_ = files;
#line 1568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp11__length1 = files_length1;
#line 1568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp12_ = i;
#line 1568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp13_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp14_ = _tmp13_;
#line 1568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp15_ = _tmp14_;
#line 1568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp16_ = gitg_ext_application_get_repository (_tmp15_);
#line 1568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp17_ = _tmp16_;
#line 1568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp18_ = _tmp17_;
#line 1568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp19_ = ggit_repository_get_workdir ((GgitRepository*) _tmp18_);
#line 1568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp20_ = _tmp19_;
#line 1568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp21_ = items;
#line 1568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp21__length1 = items_length1;
#line 1568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp22_ = i;
#line 1568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp23_ = _tmp21_[_tmp22_];
#line 1568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp24_ = gitg_stage_status_item_get_path (_tmp23_);
#line 1568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp25_ = _tmp24_;
#line 1568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp26_ = _tmp25_;
#line 1568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp27_ = g_file_get_child (_tmp20_, _tmp26_);
#line 1568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_tmp11_[_tmp12_]);
#line 1568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp11_[_tmp12_] = _tmp27_;
#line 1568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp28_ = _tmp11_[_tmp12_];
#line 1568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_free0 (_tmp26_);
#line 1568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_tmp20_);
#line 1568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_tmp18_);
#line 1568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_tmp15_);
#line 14034 "gitg-commit.c"
			}
		}
	}
#line 1571 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_ignore_external_changes = TRUE;
#line 1572 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp29_ = files;
#line 1572 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp29__length1 = files_length1;
#line 1572 "/home/mcatanzaro/Projects/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 1590 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = FALSE;
#line 1590 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	files = (_vala_array_free (files, files_length1, (GDestroyNotify) g_object_unref), NULL);
#line 1590 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block26_data_unref (_data26_);
#line 1590 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data26_ = NULL;
#line 1590 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 14056 "gitg-commit.c"
}


static Block27Data* block27_data_ref (Block27Data* _data27_) {
#line 1593 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data27_->_ref_count_);
#line 1593 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return _data27_;
#line 14065 "gitg-commit.c"
}


static void block27_data_unref (void * _userdata_) {
	Block27Data* _data27_;
	_data27_ = (Block27Data*) _userdata_;
#line 1593 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data27_->_ref_count_)) {
#line 14074 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1593 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self = _data27_->self;
#line 1593 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data27_->q);
#line 1593 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1593 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block27Data, _data27_);
#line 14084 "gitg-commit.c"
	}
}


static gboolean __lambda48_ (Block27Data* _data27_, GitgExtUserQuery* w, GtkResponseType r) {
	GitgCommitActivity* self;
	gboolean result = FALSE;
	GtkResponseType _tmp0_;
#line 1628 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data27_->self;
#line 1628 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (w != NULL, FALSE);
#line 1629 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = r;
#line 1629 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp0_ == GTK_RESPONSE_OK) {
#line 14101 "gitg-commit.c"
		GitgStageStatusItem** _tmp1_;
		gint _tmp1__length1;
		gboolean _tmp2_;
#line 1631 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = _data27_->items;
#line 1631 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp1__length1 = _data27_->items_length1;
#line 1631 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = gitg_commit_activity_do_delete_items (self, _data27_->q, _tmp1_, _tmp1__length1);
#line 1631 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		result = _tmp2_;
#line 1631 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return result;
#line 14115 "gitg-commit.c"
	}
#line 1634 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = TRUE;
#line 1634 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 14121 "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 1628 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 14130 "gitg-commit.c"
}


static void gitg_commit_activity_on_delete_menu_activated (GitgCommitActivity* self, GitgStageStatusItem** items, int items_length1) {
	Block27Data* _data27_;
	GitgStageStatusItem** _tmp0_;
	gint _tmp0__length1;
	gchar* primary;
	GitgStageStatusItem** _tmp1_;
	gint _tmp1__length1;
	gchar* _tmp2_;
	gchar* secondary = NULL;
	GitgStageStatusItem** _tmp3_;
	gint _tmp3__length1;
	GitgExtUserQuery* _tmp37_;
	const gchar* _tmp38_;
	const gchar* _tmp39_;
	GitgExtUserQueryResponse* _tmp40_;
	const gchar* _tmp41_;
	GitgExtUserQueryResponse* _tmp42_;
	GitgExtUserQueryResponse** _tmp43_;
	GitgExtUserQueryResponse** _tmp44_;
	gint _tmp44__length1;
	GitgExtApplication* _tmp45_;
	GitgExtApplication* _tmp46_;
	GitgExtApplication* _tmp47_;
#line 1593 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 1593 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data27_ = g_slice_new0 (Block27Data);
#line 1593 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data27_->_ref_count_ = 1;
#line 1593 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data27_->self = g_object_ref (self);
#line 1593 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = items;
#line 1593 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__length1 = items_length1;
#line 1593 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data27_->items = _tmp0_;
#line 1593 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data27_->items_length1 = _tmp0__length1;
#line 1595 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _data27_->items;
#line 1595 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1__length1 = _data27_->items_length1;
#line 1595 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = g_strdup (g_dngettext (NULL, "Delete file", "Delete files", (gulong) _tmp1__length1));
#line 1595 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	primary = _tmp2_;
#line 1598 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _data27_->items;
#line 1598 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3__length1 = _data27_->items_length1;
#line 1598 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp3__length1 == 1) {
#line 14187 "gitg-commit.c"
		GitgStageStatusItem** _tmp4_;
		gint _tmp4__length1;
		GitgStageStatusItem* _tmp5_;
		gchar* _tmp6_;
		gchar* _tmp7_;
		gchar* _tmp8_;
		gchar* _tmp9_;
#line 1600 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = _data27_->items;
#line 1600 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp4__length1 = _data27_->items_length1;
#line 1600 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = _tmp4_[0];
#line 1600 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = gitg_stage_status_item_get_path (_tmp5_);
#line 1600 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 1600 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = _tmp7_;
#line 1600 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = g_strdup_printf (_ ("Are you sure you want to permanently delete the file `%s'?"), _tmp8_);
#line 1600 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_free0 (secondary);
#line 1600 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		secondary = _tmp9_;
#line 1600 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_free0 (_tmp8_);
#line 14215 "gitg-commit.c"
	} else {
		gchar** paths;
		GitgStageStatusItem** _tmp10_;
		gint _tmp10__length1;
		gchar** _tmp11_;
		gint paths_length1;
		gint _paths_size_;
		gchar** _tmp27_;
		gint _tmp27__length1;
		gchar* _tmp28_;
		gchar* _tmp29_;
		GitgStageStatusItem** _tmp30_;
		gint _tmp30__length1;
		GitgStageStatusItem** _tmp31_;
		gint _tmp31__length1;
		GitgStageStatusItem* _tmp32_;
		gchar* _tmp33_;
		gchar* _tmp34_;
		gchar* _tmp35_;
		gchar* _tmp36_;
#line 1604 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = _data27_->items;
#line 1604 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10__length1 = _data27_->items_length1;
#line 1604 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = g_new0 (gchar*, (_tmp10__length1 - 1) + 1);
#line 1604 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		paths = _tmp11_;
#line 1604 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		paths_length1 = _tmp10__length1 - 1;
#line 1604 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_paths_size_ = paths_length1;
#line 14248 "gitg-commit.c"
		{
			gint i;
#line 1606 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			i = 0;
#line 14253 "gitg-commit.c"
			{
				gboolean _tmp12_;
#line 1606 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp12_ = TRUE;
#line 1606 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				while (TRUE) {
#line 14260 "gitg-commit.c"
					gint _tmp14_;
					GitgStageStatusItem** _tmp15_;
					gint _tmp15__length1;
					gchar** _tmp16_;
					gint _tmp16__length1;
					gint _tmp17_;
					GitgStageStatusItem** _tmp18_;
					gint _tmp18__length1;
					gint _tmp19_;
					GitgStageStatusItem* _tmp20_;
					gchar* _tmp21_;
					gchar* _tmp22_;
					gchar* _tmp23_;
					const gchar* _tmp24_;
					gchar* _tmp25_;
					gchar* _tmp26_;
#line 1606 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					if (!_tmp12_) {
#line 14279 "gitg-commit.c"
						gint _tmp13_;
#line 1606 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_tmp13_ = i;
#line 1606 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						i = _tmp13_ + 1;
#line 14285 "gitg-commit.c"
					}
#line 1606 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp12_ = FALSE;
#line 1606 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp14_ = i;
#line 1606 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp15_ = _data27_->items;
#line 1606 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp15__length1 = _data27_->items_length1;
#line 1606 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					if (!(_tmp14_ < (_tmp15__length1 - 1))) {
#line 1606 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						break;
#line 14299 "gitg-commit.c"
					}
#line 1608 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp16_ = paths;
#line 1608 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp16__length1 = paths_length1;
#line 1608 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp17_ = i;
#line 1608 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp18_ = _data27_->items;
#line 1608 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp18__length1 = _data27_->items_length1;
#line 1608 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp19_ = i;
#line 1608 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp20_ = _tmp18_[_tmp19_];
#line 1608 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp21_ = gitg_stage_status_item_get_path (_tmp20_);
#line 1608 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp22_ = _tmp21_;
#line 1608 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp23_ = _tmp22_;
#line 1608 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp24_ = string_to_string (_tmp23_);
#line 1608 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp25_ = g_strconcat ("`", _tmp24_, "'", NULL);
#line 1608 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_g_free0 (_tmp16_[_tmp17_]);
#line 1608 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp16_[_tmp17_] = _tmp25_;
#line 1608 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp26_ = _tmp16_[_tmp17_];
#line 1608 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_g_free0 (_tmp23_);
#line 14333 "gitg-commit.c"
				}
			}
		}
#line 1611 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp27_ = paths;
#line 1611 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp27__length1 = paths_length1;
#line 1611 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp28_ = _vala_g_strjoinv (", ", _tmp27_, _tmp27__length1);
#line 1611 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp29_ = _tmp28_;
#line 1611 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp30_ = _data27_->items;
#line 1611 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp30__length1 = _data27_->items_length1;
#line 1611 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp31_ = _data27_->items;
#line 1611 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp31__length1 = _data27_->items_length1;
#line 1611 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp32_ = _tmp30_[_tmp31__length1 - 1];
#line 1611 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp33_ = gitg_stage_status_item_get_path (_tmp32_);
#line 1611 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp34_ = _tmp33_;
#line 1611 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp35_ = _tmp34_;
#line 1611 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp36_ = g_strdup_printf (_ ("Are you sure you want to permanently delete the files %s and `%s'?"), _tmp29_, _tmp35_);
#line 1611 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_free0 (secondary);
#line 1611 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		secondary = _tmp36_;
#line 1611 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_free0 (_tmp35_);
#line 1611 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_free0 (_tmp29_);
#line 1598 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		paths = (_vala_array_free (paths, paths_length1, (GDestroyNotify) g_free), NULL);
#line 14373 "gitg-commit.c"
	}
#line 1614 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp37_ = gitg_ext_user_query_new ();
#line 1614 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data27_->q = _tmp37_;
#line 1616 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp38_ = primary;
#line 1616 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_title (_data27_->q, _tmp38_);
#line 1617 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp39_ = secondary;
#line 1617 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_message (_data27_->q, _tmp39_);
#line 1618 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_message_type (_data27_->q, GTK_MESSAGE_QUESTION);
#line 1620 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp40_ = gitg_ext_user_query_response_new (_ ("_Cancel"), GTK_RESPONSE_CANCEL);
#line 1620 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp41_ = primary;
#line 1620 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp42_ = gitg_ext_user_query_response_new (_tmp41_, GTK_RESPONSE_OK);
#line 1620 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp43_ = g_new0 (GitgExtUserQueryResponse*, 2 + 1);
#line 1620 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp43_[0] = _tmp40_;
#line 1620 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp43_[1] = _tmp42_;
#line 1620 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp44_ = _tmp43_;
#line 1620 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp44__length1 = 2;
#line 1620 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_responses (_data27_->q, _tmp44_, 2);
#line 1620 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp44_ = (_vala_array_free (_tmp44_, _tmp44__length1, (GDestroyNotify) g_object_unref), NULL);
#line 1625 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_default_response (_data27_->q, GTK_RESPONSE_OK);
#line 1626 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_user_query_set_default_is_destructive (_data27_->q, TRUE);
#line 1628 "/home/mcatanzaro/Projects/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 1637 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp45_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1637 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp46_ = _tmp45_;
#line 1637 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp47_ = _tmp46_;
#line 1637 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_ext_application_user_query (_tmp47_, _data27_->q);
#line 1637 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp47_);
#line 1593 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (secondary);
#line 1593 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_free0 (primary);
#line 1593 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block27_data_unref (_data27_);
#line 1593 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data27_ = NULL;
#line 14433 "gitg-commit.c"
}


static Block28Data* block28_data_ref (Block28Data* _data28_) {
#line 1640 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data28_->_ref_count_);
#line 1640 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return _data28_;
#line 14442 "gitg-commit.c"
}


static void block28_data_unref (void * _userdata_) {
	Block28Data* _data28_;
	_data28_ = (Block28Data*) _userdata_;
#line 1640 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data28_->_ref_count_)) {
#line 14451 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1640 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self = _data28_->self;
#line 1640 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data28_->sitems = (_vala_array_free (_data28_->sitems, _data28_->sitems_length1, (GDestroyNotify) g_object_unref), NULL);
#line 1640 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1640 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block28Data, _data28_);
#line 14461 "gitg-commit.c"
	}
}


static void ___lambda49_ (Block28Data* _data28_) {
	GitgCommitActivity* self;
	GitgStageStatusItem** _tmp0_;
	gint _tmp0__length1;
#line 1662 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data28_->self;
#line 1663 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _data28_->sitems;
#line 1663 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__length1 = _data28_->sitems_length1;
#line 1663 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_on_unstaged_activated (self, _tmp0_, _tmp0__length1);
#line 14478 "gitg-commit.c"
}


static void ____lambda49__gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) {
#line 1662 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	___lambda49_ (self);
#line 14485 "gitg-commit.c"
}


static void ___lambda50_ (Block28Data* _data28_) {
	GitgCommitActivity* self;
	GitgStageStatusItem** _tmp0_;
	gint _tmp0__length1;
#line 1674 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data28_->self;
#line 1675 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _data28_->sitems;
#line 1675 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__length1 = _data28_->sitems_length1;
#line 1675 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_on_staged_activated (self, _tmp0_, _tmp0__length1);
#line 14501 "gitg-commit.c"
}


static void ____lambda50__gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) {
#line 1674 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	___lambda50_ (self);
#line 14508 "gitg-commit.c"
}


static void ___lambda51_ (Block28Data* _data28_) {
	GitgCommitActivity* self;
	GitgStageStatusItem** _tmp0_;
	gint _tmp0__length1;
#line 1686 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data28_->self;
#line 1687 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _data28_->sitems;
#line 1687 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__length1 = _data28_->sitems_length1;
#line 1687 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_on_discard_menu_activated (self, _tmp0_, _tmp0__length1);
#line 14524 "gitg-commit.c"
}


static void ____lambda51__gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) {
#line 1686 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	___lambda51_ (self);
#line 14531 "gitg-commit.c"
}


static void ___lambda52_ (Block28Data* _data28_) {
	GitgCommitActivity* self;
	GitgStageStatusItem** _tmp0_;
	gint _tmp0__length1;
#line 1698 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data28_->self;
#line 1699 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _data28_->sitems;
#line 1699 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__length1 = _data28_->sitems_length1;
#line 1699 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_on_delete_menu_activated (self, _tmp0_, _tmp0__length1);
#line 14547 "gitg-commit.c"
}


static void ____lambda52__gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) {
#line 1698 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	___lambda52_ (self);
#line 14554 "gitg-commit.c"
}


static void ___lambda53_ (Block28Data* _data28_) {
	GitgCommitActivity* self;
	GitgStageStatusItem** _tmp0_;
	gint _tmp0__length1;
#line 1726 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data28_->self;
#line 1727 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = _data28_->sitems;
#line 1727 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__length1 = _data28_->sitems_length1;
#line 1727 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_do_edit_items (self, _tmp0_, _tmp0__length1);
#line 14570 "gitg-commit.c"
}


static void ____lambda53__gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) {
#line 1726 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	___lambda53_ (self);
#line 14577 "gitg-commit.c"
}


static void gitg_commit_activity_do_populate_menu (GitgCommitActivity* self, GtkMenu* menu) {
	Block28Data* _data28_;
	GitgSidebarItem** items;
	GitgCommitPaned* _tmp0_;
	GitgCommitSidebar* _tmp1_;
	GitgCommitSidebar* _tmp2_;
	gint _tmp3_;
	gpointer* _tmp4_;
	gint items_length1;
	gint _items_size_;
	GitgSidebarItem** _tmp5_;
	gint _tmp5__length1;
	GitgCommitSidebarItemType type = 0;
	GitgSidebarItem** _tmp6_;
	gint _tmp6__length1;
	GitgCommitSidebarItemType _tmp7_ = 0;
	gint _tmp8_;
	GitgStageStatusItem** _tmp9_;
	gboolean hasitems;
	GitgStageStatusItem** _tmp10_;
	gint _tmp10__length1;
	gboolean _tmp11_ = FALSE;
	GitgCommitSidebarItemType _tmp12_;
	GitgCommitSidebarItemType _tmp20_;
	GitgCommitSidebarItemType _tmp27_;
	GitgCommitSidebarItemType _tmp34_;
	gboolean canedit;
	gboolean _tmp42_;
	gboolean _tmp52_;
#line 1640 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 1640 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (menu != NULL);
#line 1640 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data28_ = g_slice_new0 (Block28Data);
#line 1640 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data28_->_ref_count_ = 1;
#line 1640 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data28_->self = g_object_ref (self);
#line 1642 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 1642 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_sidebar (_tmp0_);
#line 1642 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 1642 "/home/mcatanzaro/Projects/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 1642 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	items = _tmp4_;
#line 1642 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	items_length1 = _tmp3_;
#line 1642 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_items_size_ = items_length1;
#line 1644 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = items;
#line 1644 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5__length1 = items_length1;
#line 1644 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp5__length1 == 0) {
#line 1646 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		items = (_vala_array_free (items, items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 1646 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		block28_data_unref (_data28_);
#line 1646 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_data28_ = NULL;
#line 1646 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 14648 "gitg-commit.c"
	}
#line 1651 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = items;
#line 1651 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp6__length1 = items_length1;
#line 1651 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = gitg_commit_activity_items_for_items (self, _tmp6_, _tmp6__length1, &_tmp7_, &_tmp8_);
#line 1651 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	type = _tmp7_;
#line 1651 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data28_->sitems = _tmp9_;
#line 1651 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data28_->sitems_length1 = _tmp8_;
#line 1651 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data28_->_sitems_size_ = _data28_->sitems_length1;
#line 1652 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = _data28_->sitems;
#line 1652 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp10__length1 = _data28_->sitems_length1;
#line 1652 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	hasitems = _tmp10__length1 > 0;
#line 1654 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp12_ = type;
#line 1654 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp12_ == GITG_COMMIT_SIDEBAR_ITEM_TYPE_UNSTAGED) {
#line 1654 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = TRUE;
#line 14676 "gitg-commit.c"
	} else {
		GitgCommitSidebarItemType _tmp13_;
#line 1655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp13_ = type;
#line 1655 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = _tmp13_ == GITG_COMMIT_SIDEBAR_ITEM_TYPE_UNTRACKED;
#line 14683 "gitg-commit.c"
	}
#line 1654 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp11_) {
#line 14687 "gitg-commit.c"
		GtkMenuItem* stage;
		GtkMenuItem* _tmp14_;
		GtkMenuItem* _tmp15_;
		gboolean _tmp16_;
		GtkMenu* _tmp17_;
		GtkMenuItem* _tmp18_;
		GtkMenuItem* _tmp19_;
#line 1657 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp14_ = (GtkMenuItem*) gtk_menu_item_new_with_mnemonic (_ ("_Stage changes"));
#line 1657 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_object_ref_sink (_tmp14_);
#line 1657 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		stage = _tmp14_;
#line 1658 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp15_ = stage;
#line 1658 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp16_ = hasitems;
#line 1658 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gtk_widget_set_sensitive ((GtkWidget*) _tmp15_, _tmp16_);
#line 1660 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp17_ = menu;
#line 1660 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp18_ = stage;
#line 1660 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gtk_menu_shell_append ((GtkMenuShell*) _tmp17_, (GtkWidget*) _tmp18_);
#line 1662 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp19_ = stage;
#line 1662 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_signal_connect_data (_tmp19_, "activate", (GCallback) ____lambda49__gtk_menu_item_activate, block28_data_ref (_data28_), (GClosureNotify) block28_data_unref, 0);
#line 1654 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (stage);
#line 14719 "gitg-commit.c"
	}
#line 1667 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp20_ = type;
#line 1667 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp20_ == GITG_COMMIT_SIDEBAR_ITEM_TYPE_STAGED) {
#line 14725 "gitg-commit.c"
		GtkMenuItem* stage;
		GtkMenuItem* _tmp21_;
		GtkMenuItem* _tmp22_;
		gboolean _tmp23_;
		GtkMenu* _tmp24_;
		GtkMenuItem* _tmp25_;
		GtkMenuItem* _tmp26_;
#line 1669 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp21_ = (GtkMenuItem*) gtk_menu_item_new_with_mnemonic (_ ("_Unstage changes"));
#line 1669 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_object_ref_sink (_tmp21_);
#line 1669 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		stage = _tmp21_;
#line 1670 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp22_ = stage;
#line 1670 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp23_ = hasitems;
#line 1670 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gtk_widget_set_sensitive ((GtkWidget*) _tmp22_, _tmp23_);
#line 1672 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp24_ = menu;
#line 1672 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp25_ = stage;
#line 1672 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gtk_menu_shell_append ((GtkMenuShell*) _tmp24_, (GtkWidget*) _tmp25_);
#line 1674 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp26_ = stage;
#line 1674 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_signal_connect_data (_tmp26_, "activate", (GCallback) ____lambda50__gtk_menu_item_activate, block28_data_ref (_data28_), (GClosureNotify) block28_data_unref, 0);
#line 1667 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (stage);
#line 14757 "gitg-commit.c"
	}
#line 1679 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp27_ = type;
#line 1679 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp27_ == GITG_COMMIT_SIDEBAR_ITEM_TYPE_UNSTAGED) {
#line 14763 "gitg-commit.c"
		GtkMenuItem* discard;
		GtkMenuItem* _tmp28_;
		GtkMenuItem* _tmp29_;
		gboolean _tmp30_;
		GtkMenu* _tmp31_;
		GtkMenuItem* _tmp32_;
		GtkMenuItem* _tmp33_;
#line 1681 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp28_ = (GtkMenuItem*) gtk_menu_item_new_with_mnemonic (_ ("_Discard changes"));
#line 1681 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_object_ref_sink (_tmp28_);
#line 1681 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		discard = _tmp28_;
#line 1682 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp29_ = discard;
#line 1682 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp30_ = hasitems;
#line 1682 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gtk_widget_set_sensitive ((GtkWidget*) _tmp29_, _tmp30_);
#line 1684 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp31_ = menu;
#line 1684 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp32_ = discard;
#line 1684 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gtk_menu_shell_append ((GtkMenuShell*) _tmp31_, (GtkWidget*) _tmp32_);
#line 1686 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp33_ = discard;
#line 1686 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_signal_connect_data (_tmp33_, "activate", (GCallback) ____lambda51__gtk_menu_item_activate, block28_data_ref (_data28_), (GClosureNotify) block28_data_unref, 0);
#line 1679 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (discard);
#line 14795 "gitg-commit.c"
	}
#line 1691 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp34_ = type;
#line 1691 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp34_ == GITG_COMMIT_SIDEBAR_ITEM_TYPE_UNTRACKED) {
#line 14801 "gitg-commit.c"
		GtkMenuItem* del;
		GitgStageStatusItem** _tmp35_;
		gint _tmp35__length1;
		GtkMenuItem* _tmp36_;
		GtkMenuItem* _tmp37_;
		gboolean _tmp38_;
		GtkMenu* _tmp39_;
		GtkMenuItem* _tmp40_;
		GtkMenuItem* _tmp41_;
#line 1693 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp35_ = _data28_->sitems;
#line 1693 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp35__length1 = _data28_->sitems_length1;
#line 1693 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp36_ = (GtkMenuItem*) gtk_menu_item_new_with_mnemonic (g_dngettext (NULL, "D_elete file", "D_elete files", (gulong) _tmp35__length1));
#line 1693 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_object_ref_sink (_tmp36_);
#line 1693 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		del = _tmp36_;
#line 1694 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp37_ = del;
#line 1694 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp38_ = hasitems;
#line 1694 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gtk_widget_set_sensitive ((GtkWidget*) _tmp37_, _tmp38_);
#line 1696 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp39_ = menu;
#line 1696 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp40_ = del;
#line 1696 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gtk_menu_shell_append ((GtkMenuShell*) _tmp39_, (GtkWidget*) _tmp40_);
#line 1698 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp41_ = del;
#line 1698 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_signal_connect_data (_tmp41_, "activate", (GCallback) ____lambda52__gtk_menu_item_activate, block28_data_ref (_data28_), (GClosureNotify) block28_data_unref, 0);
#line 1691 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (del);
#line 14839 "gitg-commit.c"
	}
#line 1703 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	canedit = FALSE;
#line 1705 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp42_ = hasitems;
#line 1705 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp42_) {
#line 14847 "gitg-commit.c"
		GitgStageStatusItem** _tmp43_;
		gint _tmp43__length1;
#line 1707 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		canedit = TRUE;
#line 1709 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp43_ = _data28_->sitems;
#line 1709 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp43__length1 = _data28_->sitems_length1;
#line 14856 "gitg-commit.c"
		{
			GitgStageStatusItem** item_collection = NULL;
			gint item_collection_length1 = 0;
			gint _item_collection_size_ = 0;
			gint item_it = 0;
#line 1709 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			item_collection = _tmp43_;
#line 1709 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			item_collection_length1 = _tmp43__length1;
#line 1709 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			for (item_it = 0; item_it < _tmp43__length1; item_it = item_it + 1) {
#line 14868 "gitg-commit.c"
				GitgStageStatusItem* _tmp44_;
				GitgStageStatusItem* item = NULL;
#line 1709 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp44_ = _g_object_ref0 (item_collection[item_it]);
#line 1709 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				item = _tmp44_;
#line 14875 "gitg-commit.c"
				{
					GitgStageStatusFile* file;
					GitgStageStatusItem* _tmp45_;
					GitgStageStatusFile* _tmp46_;
					gboolean _tmp47_ = FALSE;
					GitgStageStatusFile* _tmp48_;
#line 1711 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp45_ = item;
#line 1711 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp46_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp45_, GITG_TYPE_STAGE_STATUS_FILE) ? ((GitgStageStatusFile*) _tmp45_) : NULL);
#line 1711 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					file = _tmp46_;
#line 1713 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp48_ = file;
#line 1713 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					if (_tmp48_ == NULL) {
#line 1713 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_tmp47_ = TRUE;
#line 14894 "gitg-commit.c"
					} else {
						GitgStageStatusFile* _tmp49_;
						GgitStatusFlags _tmp50_;
						GgitStatusFlags _tmp51_;
#line 1713 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_tmp49_ = file;
#line 1713 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_tmp50_ = gitg_stage_status_file_get_flags (_tmp49_);
#line 1713 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_tmp51_ = _tmp50_;
#line 1713 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_tmp47_ = (_tmp51_ & GGIT_STATUS_WORKING_TREE_DELETED) != 0;
#line 14907 "gitg-commit.c"
					}
#line 1713 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					if (_tmp47_) {
#line 1715 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						canedit = FALSE;
#line 1716 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_g_object_unref0 (file);
#line 1716 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						_g_object_unref0 (item);
#line 1716 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						break;
#line 14919 "gitg-commit.c"
					}
#line 1709 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_g_object_unref0 (file);
#line 1709 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_g_object_unref0 (item);
#line 14925 "gitg-commit.c"
				}
			}
		}
	}
#line 1721 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp52_ = canedit;
#line 1721 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp52_) {
#line 14934 "gitg-commit.c"
		GtkMenuItem* edit;
		GtkMenuItem* _tmp53_;
		GtkMenu* _tmp54_;
		GtkMenuItem* _tmp55_;
		GtkMenuItem* _tmp56_;
#line 1723 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp53_ = (GtkMenuItem*) gtk_menu_item_new_with_mnemonic (_ ("_Edit file"));
#line 1723 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_object_ref_sink (_tmp53_);
#line 1723 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		edit = _tmp53_;
#line 1724 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp54_ = menu;
#line 1724 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp55_ = edit;
#line 1724 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gtk_menu_shell_append ((GtkMenuShell*) _tmp54_, (GtkWidget*) _tmp55_);
#line 1726 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp56_ = edit;
#line 1726 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_signal_connect_data (_tmp56_, "activate", (GCallback) ____lambda53__gtk_menu_item_activate, block28_data_ref (_data28_), (GClosureNotify) block28_data_unref, 0);
#line 1721 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (edit);
#line 14958 "gitg-commit.c"
	}
#line 1640 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	items = (_vala_array_free (items, items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 1640 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block28_data_unref (_data28_);
#line 1640 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data28_ = NULL;
#line 14966 "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;
	GitgCommitSidebarItem** _tmp0_;
	gint _tmp0__length1;
	GitgStageStatusItem** _tmp1_;
	gint ret_length1;
	gint _ret_size_;
	GitgStageStatusItem** _tmp15_;
	gint _tmp15__length1;
#line 1732 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 1734 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = items;
#line 1734 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__length1 = items_length1;
#line 1734 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = g_new0 (GitgStageStatusItem*, _tmp0__length1 + 1);
#line 1734 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	ret = _tmp1_;
#line 1734 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	ret_length1 = _tmp0__length1;
#line 1734 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_ret_size_ = ret_length1;
#line 14994 "gitg-commit.c"
	{
		gint i;
#line 1736 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		i = 0;
#line 14999 "gitg-commit.c"
		{
			gboolean _tmp2_;
#line 1736 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp2_ = TRUE;
#line 1736 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			while (TRUE) {
#line 15006 "gitg-commit.c"
				gint _tmp4_;
				GitgStageStatusItem** _tmp5_;
				gint _tmp5__length1;
				GitgStageStatusItem** _tmp6_;
				gint _tmp6__length1;
				gint _tmp7_;
				GitgCommitSidebarItem** _tmp8_;
				gint _tmp8__length1;
				gint _tmp9_;
				GitgCommitSidebarItem* _tmp10_;
				GitgStageStatusItem* _tmp11_;
				GitgStageStatusItem* _tmp12_;
				GitgStageStatusItem* _tmp13_;
				GitgStageStatusItem* _tmp14_;
#line 1736 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				if (!_tmp2_) {
#line 15023 "gitg-commit.c"
					gint _tmp3_;
#line 1736 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp3_ = i;
#line 1736 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					i = _tmp3_ + 1;
#line 15029 "gitg-commit.c"
				}
#line 1736 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp2_ = FALSE;
#line 1736 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp4_ = i;
#line 1736 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp5_ = ret;
#line 1736 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp5__length1 = ret_length1;
#line 1736 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				if (!(_tmp4_ < _tmp5__length1)) {
#line 1736 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					break;
#line 15043 "gitg-commit.c"
				}
#line 1738 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp6_ = ret;
#line 1738 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp6__length1 = ret_length1;
#line 1738 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp7_ = i;
#line 1738 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp8_ = items;
#line 1738 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp8__length1 = items_length1;
#line 1738 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp9_ = i;
#line 1738 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp10_ = _tmp8_[_tmp9_];
#line 1738 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp11_ = gitg_commit_sidebar_item_get_item (_tmp10_);
#line 1738 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp12_ = _tmp11_;
#line 1738 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp13_ = _g_object_ref0 (_tmp12_);
#line 1738 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (_tmp6_[_tmp7_]);
#line 1738 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp6_[_tmp7_] = _tmp13_;
#line 1738 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp14_ = _tmp6_[_tmp7_];
#line 15071 "gitg-commit.c"
			}
		}
	}
#line 1741 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp15_ = ret;
#line 1741 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp15__length1 = ret_length1;
#line 1741 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (result_length1) {
#line 1741 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		*result_length1 = _tmp15__length1;
#line 15083 "gitg-commit.c"
	}
#line 1741 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = _tmp15_;
#line 1741 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 15089 "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_;
	GitgCommitSidebar* _tmp1_;
	GitgCommitSidebar* _tmp2_;
	GitgCommitSidebarItemType _tmp3_;
	gint _tmp4_;
	GitgCommitSidebarItem** _tmp5_;
	GitgCommitSidebarItem** _tmp6_;
	gint _tmp6__length1;
	gint _tmp7_;
	GitgStageStatusItem** _tmp8_;
	GitgStageStatusItem** _tmp9_;
	gint _tmp9__length1;
	GitgStageStatusItem** _tmp10_;
	gint _tmp10__length1;
#line 1744 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 1746 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 1746 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_sidebar (_tmp0_);
#line 1746 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 1746 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = type;
#line 1746 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = gitg_commit_sidebar_items_of_type (_tmp2_, _tmp3_, &_tmp4_);
#line 1746 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = _tmp5_;
#line 1746 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp6__length1 = _tmp4_;
#line 1746 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = gitg_commit_activity_items_to_stage_items (self, _tmp6_, _tmp4_, &_tmp7_);
#line 1746 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = _tmp8_;
#line 1746 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp9__length1 = _tmp7_;
#line 1746 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = (_vala_array_free (_tmp6_, _tmp6__length1, (GDestroyNotify) g_object_unref), NULL);
#line 1746 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = _tmp9_;
#line 1746 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp10__length1 = _tmp9__length1;
#line 1746 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (result_length1) {
#line 1746 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		*result_length1 = _tmp10__length1;
#line 15141 "gitg-commit.c"
	}
#line 1746 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = _tmp10_;
#line 1746 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 15147 "gitg-commit.c"
}


static void _vala_array_add7 (GitgStageStatusItem** * array, int* length, int* size, GitgStageStatusItem* value) {
#line 1770 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if ((*length) == (*size)) {
#line 1770 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 1770 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		*array = g_renew (GitgStageStatusItem*, *array, (*size) + 1);
#line 15158 "gitg-commit.c"
	}
#line 1770 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	(*array)[(*length)++] = value;
#line 1770 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	(*array)[*length] = NULL;
#line 15164 "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;
	GitgSidebarItem** _tmp0_;
	gint _tmp0__length1;
	GitgStageStatusItem** _tmp1_;
	gint ret_length1;
	gint _ret_size_;
	gint _tmp2_;
	GitgSidebarItem** _tmp3_;
	gint _tmp3__length1;
	GitgStageStatusItem** _tmp26_;
	gint _tmp26__length1;
#line 1749 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 1751 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = items;
#line 1751 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__length1 = items_length1;
#line 1751 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = g_new0 (GitgStageStatusItem*, _tmp0__length1 + 1);
#line 1751 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	ret = _tmp1_;
#line 1751 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	ret_length1 = _tmp0__length1;
#line 1751 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_ret_size_ = ret_length1;
#line 1752 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	ret_length1 = 0;
#line 1752 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = ret_length1;
#line 1754 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_vala_type = GITG_COMMIT_SIDEBAR_ITEM_TYPE_NONE;
#line 1756 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = items;
#line 1756 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3__length1 = items_length1;
#line 15206 "gitg-commit.c"
	{
		GitgSidebarItem** item_collection = NULL;
		gint item_collection_length1 = 0;
		gint _item_collection_size_ = 0;
		gint item_it = 0;
#line 1756 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		item_collection = _tmp3_;
#line 1756 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		item_collection_length1 = _tmp3__length1;
#line 1756 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		for (item_it = 0; item_it < _tmp3__length1; item_it = item_it + 1) {
#line 15218 "gitg-commit.c"
			GitgSidebarItem* _tmp4_;
			GitgSidebarItem* item = NULL;
#line 1756 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp4_ = _g_object_ref0 (item_collection[item_it]);
#line 1756 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			item = _tmp4_;
#line 15225 "gitg-commit.c"
			{
				GitgSidebarStoreSidebarHeader* header;
				GitgSidebarItem* _tmp5_;
				GitgSidebarStoreSidebarHeader* _tmp6_;
				GitgSidebarStoreSidebarHeader* _tmp7_;
				GitgCommitSidebarItem* sitem;
				GitgSidebarItem* _tmp15_;
				GitgCommitSidebarItem* _tmp16_;
				GitgCommitSidebarItem* _tmp17_;
#line 1758 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp5_ = item;
#line 1758 "/home/mcatanzaro/Projects/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 1758 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				header = _tmp6_;
#line 1760 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp7_ = header;
#line 1760 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				if (_tmp7_ != NULL) {
#line 15245 "gitg-commit.c"
					GitgSidebarStoreSidebarHeader* _tmp8_;
					guint _tmp9_;
					guint _tmp10_;
					GitgCommitSidebarItemType _tmp11_;
					gint _tmp12_;
					GitgStageStatusItem** _tmp13_;
					GitgStageStatusItem** _tmp14_;
					gint _tmp14__length1;
#line 1762 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp8_ = header;
#line 1762 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp9_ = gitg_sidebar_store_sidebar_header_get_id (_tmp8_);
#line 1762 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp10_ = _tmp9_;
#line 1762 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_vala_type = (GitgCommitSidebarItemType) _tmp10_;
#line 1763 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp11_ = _vala_type;
#line 1763 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp13_ = gitg_commit_activity_stage_status_items_of_type (self, _tmp11_, &_tmp12_);
#line 1763 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp14_ = _tmp13_;
#line 1763 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp14__length1 = _tmp12_;
#line 1763 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					if (result_length1) {
#line 1763 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						*result_length1 = _tmp14__length1;
#line 15274 "gitg-commit.c"
					}
#line 1763 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					result = _tmp14_;
#line 1763 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_g_object_unref0 (header);
#line 1763 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_g_object_unref0 (item);
#line 1763 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					ret = (_vala_array_free (ret, ret_length1, (GDestroyNotify) g_object_unref), NULL);
#line 1763 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					if (type) {
#line 1763 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
						*type = _vala_type;
#line 15288 "gitg-commit.c"
					}
#line 1763 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					return result;
#line 15292 "gitg-commit.c"
				}
#line 1766 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp15_ = item;
#line 1766 "/home/mcatanzaro/Projects/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 1766 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				sitem = _tmp16_;
#line 1768 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_tmp17_ = sitem;
#line 1768 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				if (_tmp17_ != NULL) {
#line 15304 "gitg-commit.c"
					GitgStageStatusItem** _tmp18_;
					gint _tmp18__length1;
					GitgCommitSidebarItem* _tmp19_;
					GitgStageStatusItem* _tmp20_;
					GitgStageStatusItem* _tmp21_;
					GitgStageStatusItem* _tmp22_;
					GitgCommitSidebarItem* _tmp23_;
					GitgCommitSidebarItemType _tmp24_;
					GitgCommitSidebarItemType _tmp25_;
#line 1770 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp18_ = ret;
#line 1770 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp18__length1 = ret_length1;
#line 1770 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp19_ = sitem;
#line 1770 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp20_ = gitg_commit_sidebar_item_get_item (_tmp19_);
#line 1770 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp21_ = _tmp20_;
#line 1770 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp22_ = _g_object_ref0 (_tmp21_);
#line 1770 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_vala_array_add7 (&ret, &ret_length1, &_ret_size_, _tmp22_);
#line 1771 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp23_ = sitem;
#line 1771 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp24_ = gitg_commit_sidebar_item_get_stage_type (_tmp23_);
#line 1771 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_tmp25_ = _tmp24_;
#line 1771 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
					_vala_type = _tmp25_;
#line 15336 "gitg-commit.c"
				}
#line 1756 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (sitem);
#line 1756 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (header);
#line 1756 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
				_g_object_unref0 (item);
#line 15344 "gitg-commit.c"
			}
		}
	}
#line 1775 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp26_ = ret;
#line 1775 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp26__length1 = ret_length1;
#line 1775 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (result_length1) {
#line 1775 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		*result_length1 = _tmp26__length1;
#line 15356 "gitg-commit.c"
	}
#line 1775 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = _tmp26_;
#line 1775 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (type) {
#line 1775 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		*type = _vala_type;
#line 15364 "gitg-commit.c"
	}
#line 1775 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 15368 "gitg-commit.c"
}


static void gitg_commit_activity_sidebar_selection_changed (GitgCommitActivity* self, GitgSidebarItem** items, int items_length1) {
	GitgCommitSidebarItemType type = 0;
	GitgStageStatusItem** sitems;
	GitgSidebarItem** _tmp0_;
	gint _tmp0__length1;
	GitgCommitSidebarItemType _tmp1_ = 0;
	gint _tmp2_;
	GitgStageStatusItem** _tmp3_;
	gint sitems_length1;
	gint _sitems_size_;
	GitgStageStatusItem** _tmp4_;
	gint _tmp4__length1;
	GitgCommitSidebarItemType _tmp8_;
#line 1778 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 1782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = items;
#line 1782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__length1 = items_length1;
#line 1782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = gitg_commit_activity_items_for_items (self, _tmp0_, _tmp0__length1, &_tmp1_, &_tmp2_);
#line 1782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	type = _tmp1_;
#line 1782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	sitems = _tmp3_;
#line 1782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	sitems_length1 = _tmp2_;
#line 1782 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_sitems_size_ = sitems_length1;
#line 1784 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = sitems;
#line 1784 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4__length1 = sitems_length1;
#line 1784 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp4__length1 == 0) {
#line 15407 "gitg-commit.c"
		GitgCommitPaned* _tmp5_;
		GitgDiffView* _tmp6_;
		GitgDiffView* _tmp7_;
#line 1786 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_show_ui (self, GITG_COMMIT_ACTIVITY_UI_TYPE_DIFF);
#line 1787 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = self->priv->d_main;
#line 1787 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = gitg_commit_paned_get_diff_view (_tmp5_);
#line 1787 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 1787 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_diff_view_set_diff (_tmp7_, NULL);
#line 1788 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		sitems = (_vala_array_free (sitems, sitems_length1, (GDestroyNotify) g_object_unref), NULL);
#line 1788 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 15425 "gitg-commit.c"
	}
#line 1791 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = type;
#line 1791 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp8_ == GITG_COMMIT_SIDEBAR_ITEM_TYPE_SUBMODULE) {
#line 15431 "gitg-commit.c"
		GitgStageStatusItem** _tmp9_;
		gint _tmp9__length1;
		GitgStageStatusItem* _tmp10_;
#line 1793 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = sitems;
#line 1793 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9__length1 = sitems_length1;
#line 1793 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = _tmp9_[0];
#line 1793 "/home/mcatanzaro/Projects/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 15443 "gitg-commit.c"
	} else {
		GitgCommitSidebarItemType _tmp11_;
#line 1795 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = type;
#line 1795 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp11_ == GITG_COMMIT_SIDEBAR_ITEM_TYPE_STAGED) {
#line 15450 "gitg-commit.c"
			GitgStageStatusItem** _tmp12_;
			gint _tmp12__length1;
#line 1797 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp12_ = sitems;
#line 1797 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp12__length1 = sitems_length1;
#line 1797 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_commit_activity_show_staged_diff (self, _tmp12_, _tmp12__length1);
#line 15459 "gitg-commit.c"
		} else {
			GitgStageStatusItem** _tmp13_;
			gint _tmp13__length1;
#line 1801 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp13_ = sitems;
#line 1801 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp13__length1 = sitems_length1;
#line 1801 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			gitg_commit_activity_show_unstaged_diff (self, _tmp13_, _tmp13__length1);
#line 15469 "gitg-commit.c"
		}
	}
#line 1778 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	sitems = (_vala_array_free (sitems, sitems_length1, (GDestroyNotify) g_object_unref), NULL);
#line 15474 "gitg-commit.c"
}


static void gitg_commit_activity_on_stage_selected_items (GitgCommitActivity* self) {
	GitgSidebarItem** sel;
	GitgCommitPaned* _tmp0_;
	GitgCommitSidebar* _tmp1_;
	GitgCommitSidebar* _tmp2_;
	gint _tmp3_;
	gpointer* _tmp4_;
	gint sel_length1;
	gint _sel_size_;
	GitgCommitSidebarItemType type = 0;
	GitgStageStatusItem** sitems;
	GitgSidebarItem** _tmp5_;
	gint _tmp5__length1;
	GitgCommitSidebarItemType _tmp6_ = 0;
	gint _tmp7_;
	GitgStageStatusItem** _tmp8_;
	gint sitems_length1;
	gint _sitems_size_;
	gboolean _tmp9_ = FALSE;
	GitgStageStatusItem** _tmp10_;
	gint _tmp10__length1;
#line 1805 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 1807 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 1807 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_sidebar (_tmp0_);
#line 1807 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 1807 "/home/mcatanzaro/Projects/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 1807 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	sel = _tmp4_;
#line 1807 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	sel_length1 = _tmp3_;
#line 1807 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_sel_size_ = sel_length1;
#line 1810 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = sel;
#line 1810 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5__length1 = sel_length1;
#line 1810 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = gitg_commit_activity_items_for_items (self, _tmp5_, _tmp5__length1, &_tmp6_, &_tmp7_);
#line 1810 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	type = _tmp6_;
#line 1810 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	sitems = _tmp8_;
#line 1810 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	sitems_length1 = _tmp7_;
#line 1810 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_sitems_size_ = sitems_length1;
#line 1812 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = sitems;
#line 1812 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp10__length1 = sitems_length1;
#line 1812 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp10__length1 != 0) {
#line 15535 "gitg-commit.c"
		gboolean _tmp11_ = FALSE;
		GitgCommitSidebarItemType _tmp12_;
#line 1812 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp12_ = type;
#line 1812 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (_tmp12_ == GITG_COMMIT_SIDEBAR_ITEM_TYPE_UNSTAGED) {
#line 1812 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp11_ = TRUE;
#line 15544 "gitg-commit.c"
		} else {
			GitgCommitSidebarItemType _tmp13_;
#line 1813 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp13_ = type;
#line 1813 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
			_tmp11_ = _tmp13_ == GITG_COMMIT_SIDEBAR_ITEM_TYPE_UNTRACKED;
#line 15551 "gitg-commit.c"
		}
#line 1812 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = _tmp11_;
#line 15555 "gitg-commit.c"
	} else {
#line 1812 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = FALSE;
#line 15559 "gitg-commit.c"
	}
#line 1812 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp9_) {
#line 15563 "gitg-commit.c"
		GitgStageStatusItem** _tmp14_;
		gint _tmp14__length1;
#line 1815 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp14_ = sitems;
#line 1815 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp14__length1 = sitems_length1;
#line 1815 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_on_unstaged_activated (self, _tmp14_, _tmp14__length1);
#line 15572 "gitg-commit.c"
	}
#line 1805 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	sitems = (_vala_array_free (sitems, sitems_length1, (GDestroyNotify) g_object_unref), NULL);
#line 1805 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	sel = (_vala_array_free (sel, sel_length1, (GDestroyNotify) g_object_unref), NULL);
#line 15578 "gitg-commit.c"
}


static void gitg_commit_activity_on_unstage_selected_items (GitgCommitActivity* self) {
	GitgSidebarItem** sel;
	GitgCommitPaned* _tmp0_;
	GitgCommitSidebar* _tmp1_;
	GitgCommitSidebar* _tmp2_;
	gint _tmp3_;
	gpointer* _tmp4_;
	gint sel_length1;
	gint _sel_size_;
	GitgCommitSidebarItemType type = 0;
	GitgStageStatusItem** sitems;
	GitgSidebarItem** _tmp5_;
	gint _tmp5__length1;
	GitgCommitSidebarItemType _tmp6_ = 0;
	gint _tmp7_;
	GitgStageStatusItem** _tmp8_;
	gint sitems_length1;
	gint _sitems_size_;
	gboolean _tmp9_ = FALSE;
	GitgStageStatusItem** _tmp10_;
	gint _tmp10__length1;
#line 1819 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 1821 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 1821 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_sidebar (_tmp0_);
#line 1821 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 1821 "/home/mcatanzaro/Projects/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 1821 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	sel = _tmp4_;
#line 1821 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	sel_length1 = _tmp3_;
#line 1821 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_sel_size_ = sel_length1;
#line 1824 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = sel;
#line 1824 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5__length1 = sel_length1;
#line 1824 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = gitg_commit_activity_items_for_items (self, _tmp5_, _tmp5__length1, &_tmp6_, &_tmp7_);
#line 1824 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	type = _tmp6_;
#line 1824 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	sitems = _tmp8_;
#line 1824 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	sitems_length1 = _tmp7_;
#line 1824 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_sitems_size_ = sitems_length1;
#line 1826 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = sitems;
#line 1826 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp10__length1 = sitems_length1;
#line 1826 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp10__length1 != 0) {
#line 15639 "gitg-commit.c"
		GitgCommitSidebarItemType _tmp11_;
#line 1826 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = type;
#line 1826 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = _tmp11_ == GITG_COMMIT_SIDEBAR_ITEM_TYPE_STAGED;
#line 15645 "gitg-commit.c"
	} else {
#line 1826 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = FALSE;
#line 15649 "gitg-commit.c"
	}
#line 1826 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp9_) {
#line 15653 "gitg-commit.c"
		GitgStageStatusItem** _tmp12_;
		gint _tmp12__length1;
#line 1828 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp12_ = sitems;
#line 1828 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp12__length1 = sitems_length1;
#line 1828 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_on_staged_activated (self, _tmp12_, _tmp12__length1);
#line 15662 "gitg-commit.c"
	}
#line 1819 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	sitems = (_vala_array_free (sitems, sitems_length1, (GDestroyNotify) g_object_unref), NULL);
#line 1819 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	sel = (_vala_array_free (sel, sel_length1, (GDestroyNotify) g_object_unref), NULL);
#line 15668 "gitg-commit.c"
}


static Block29Data* block29_data_ref (Block29Data* _data29_) {
#line 1832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_atomic_int_inc (&_data29_->_ref_count_);
#line 1832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return _data29_;
#line 15677 "gitg-commit.c"
}


static void block29_data_unref (void * _userdata_) {
	Block29Data* _data29_;
	_data29_ = (Block29Data*) _userdata_;
#line 1832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (g_atomic_int_dec_and_test (&_data29_->_ref_count_)) {
#line 15686 "gitg-commit.c"
		GitgCommitActivity* self;
#line 1832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self = _data29_->self;
#line 1832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data29_->model);
#line 1832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_data29_->view);
#line 1832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self);
#line 1832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_slice_free (Block29Data, _data29_);
#line 15698 "gitg-commit.c"
	}
}


static void __lambda54_ (GitgCommitActivity* self) {
	GitgCommitActivityUpdateDiffCallback _tmp0_;
	void* _tmp0__target;
#line 1837 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_update_diff_callback;
#line 1837 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0__target = self->priv->d_update_diff_callback_target;
#line 1837 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp0_ != NULL) {
#line 15712 "gitg-commit.c"
		GitgCommitActivityUpdateDiffCallback _tmp1_;
		void* _tmp1__target;
#line 1839 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = self->priv->d_update_diff_callback;
#line 1839 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp1__target = self->priv->d_update_diff_callback_target;
#line 1839 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ (_tmp1__target);
#line 15721 "gitg-commit.c"
	}
}


static void ___lambda54__gitg_diff_view_options_changed (GitgDiffView* _sender, gpointer self) {
#line 1836 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__lambda54_ ((GitgCommitActivity*) self);
#line 15729 "gitg-commit.c"
}


static void __lambda55_ (GitgCommitActivity* self) {
	GitgCommitPaned* _tmp0_;
	GitgDiffView* _tmp1_;
	GitgDiffView* _tmp2_;
#line 1847 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 1847 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_diff_view (_tmp0_);
#line 1847 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 1847 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_diff_view_set_diff (_tmp2_, NULL);
#line 15745 "gitg-commit.c"
}


static void ___lambda55__gitg_sidebar_deselected (GitgSidebar* _sender, gpointer self) {
#line 1846 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__lambda55_ ((GitgCommitActivity*) self);
#line 15752 "gitg-commit.c"
}


static void _gitg_commit_activity_on_stage_selected_items_gitg_commit_sidebar_stage_selection (GitgCommitSidebar* _sender, gpointer self) {
#line 1850 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_on_stage_selected_items ((GitgCommitActivity*) self);
#line 15759 "gitg-commit.c"
}


static void _gitg_commit_activity_on_unstage_selected_items_gitg_commit_sidebar_unstage_selection (GitgCommitSidebar* _sender, gpointer self) {
#line 1851 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_on_unstage_selected_items ((GitgCommitActivity*) self);
#line 15766 "gitg-commit.c"
}


static void __lambda56_ (GitgCommitActivity* self) {
	GitgSidebarItem** sel;
	GitgCommitPaned* _tmp0_;
	GitgCommitSidebar* _tmp1_;
	GitgCommitSidebar* _tmp2_;
	gint _tmp3_;
	gpointer* _tmp4_;
	gint sel_length1;
	gint _sel_size_;
	GitgCommitSidebarItemType type = 0;
	GitgStageStatusItem** sitems;
	GitgSidebarItem** _tmp5_;
	gint _tmp5__length1;
	GitgCommitSidebarItemType _tmp6_ = 0;
	gint _tmp7_;
	GitgStageStatusItem** _tmp8_;
	gint sitems_length1;
	gint _sitems_size_;
	gboolean _tmp9_ = FALSE;
	GitgStageStatusItem** _tmp10_;
	gint _tmp10__length1;
#line 1854 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 1854 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_sidebar (_tmp0_);
#line 1854 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 1854 "/home/mcatanzaro/Projects/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 1854 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	sel = _tmp4_;
#line 1854 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	sel_length1 = _tmp3_;
#line 1854 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_sel_size_ = sel_length1;
#line 1857 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = sel;
#line 1857 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5__length1 = sel_length1;
#line 1857 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = gitg_commit_activity_items_for_items (self, _tmp5_, _tmp5__length1, &_tmp6_, &_tmp7_);
#line 1857 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	type = _tmp6_;
#line 1857 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	sitems = _tmp8_;
#line 1857 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	sitems_length1 = _tmp7_;
#line 1857 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_sitems_size_ = sitems_length1;
#line 1859 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = sitems;
#line 1859 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp10__length1 = sitems_length1;
#line 1859 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp10__length1 != 0) {
#line 15825 "gitg-commit.c"
		GitgCommitSidebarItemType _tmp11_;
#line 1859 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = type;
#line 1859 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = _tmp11_ == GITG_COMMIT_SIDEBAR_ITEM_TYPE_UNSTAGED;
#line 15831 "gitg-commit.c"
	} else {
#line 1859 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = FALSE;
#line 15835 "gitg-commit.c"
	}
#line 1859 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp9_) {
#line 15839 "gitg-commit.c"
		GitgStageStatusItem** _tmp12_;
		gint _tmp12__length1;
#line 1861 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp12_ = sitems;
#line 1861 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp12__length1 = sitems_length1;
#line 1861 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_on_discard_menu_activated (self, _tmp12_, _tmp12__length1);
#line 15848 "gitg-commit.c"
	}
#line 1853 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	sitems = (_vala_array_free (sitems, sitems_length1, (GDestroyNotify) g_object_unref), NULL);
#line 1853 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	sel = (_vala_array_free (sel, sel_length1, (GDestroyNotify) g_object_unref), NULL);
#line 15854 "gitg-commit.c"
}


static void ___lambda56__gitg_commit_sidebar_discard_selection (GitgCommitSidebar* _sender, gpointer self) {
#line 1853 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__lambda56_ ((GitgCommitActivity*) self);
#line 15861 "gitg-commit.c"
}


static void __lambda57_ (GitgCommitActivity* self) {
	GitgSidebarItem** sel;
	GitgCommitPaned* _tmp0_;
	GitgCommitSidebar* _tmp1_;
	GitgCommitSidebar* _tmp2_;
	gint _tmp3_;
	gpointer* _tmp4_;
	gint sel_length1;
	gint _sel_size_;
	GitgCommitSidebarItemType type = 0;
	GitgStageStatusItem** sitems;
	GitgCommitSidebarItemType _tmp5_ = 0;
	gint _tmp6_;
	GitgStageStatusItem** _tmp7_;
	gint sitems_length1;
	gint _sitems_size_;
#line 1866 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 1866 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_commit_paned_get_sidebar (_tmp0_);
#line 1866 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 1866 "/home/mcatanzaro/Projects/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 1866 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	sel = _tmp4_;
#line 1866 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	sel_length1 = _tmp3_;
#line 1866 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_sel_size_ = sel_length1;
#line 1869 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = gitg_commit_activity_items_for_items (self, sel, sel_length1, &_tmp5_, &_tmp6_);
#line 1869 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	type = _tmp5_;
#line 1869 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	sitems = _tmp7_;
#line 1869 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	sitems_length1 = _tmp6_;
#line 1869 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_sitems_size_ = sitems_length1;
#line 1870 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_do_edit_items (self, sitems, sitems_length1);
#line 1865 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	sitems = (_vala_array_free (sitems, sitems_length1, (GDestroyNotify) g_object_unref), NULL);
#line 1865 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	sel = (_vala_array_free (sel, sel_length1, (GDestroyNotify) g_object_unref), NULL);
#line 15911 "gitg-commit.c"
}


static void ___lambda57__gitg_commit_sidebar_edit_selection (GitgCommitSidebar* _sender, gpointer self) {
#line 1865 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__lambda57_ ((GitgCommitActivity*) self);
#line 15918 "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 1873 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_sidebar_selection_changed ((GitgCommitActivity*) self, items, items_length1);
#line 15925 "gitg-commit.c"
}


static void __lambda58_ (GitgCommitActivity* self) {
#line 1876 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_on_commit_clicked (self);
#line 15932 "gitg-commit.c"
}


static void ___lambda58__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 1875 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__lambda58_ ((GitgCommitActivity*) self);
#line 15939 "gitg-commit.c"
}


static void __lambda59_ (GitgCommitActivity* self) {
#line 1880 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_on_stage_clicked (self);
#line 15946 "gitg-commit.c"
}


static void ___lambda59__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 1879 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__lambda59_ ((GitgCommitActivity*) self);
#line 15953 "gitg-commit.c"
}


static void __lambda60_ (GitgCommitActivity* self) {
#line 1884 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_on_discard_clicked (self);
#line 15960 "gitg-commit.c"
}


static void ___lambda60__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 1883 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__lambda60_ ((GitgCommitActivity*) self);
#line 15967 "gitg-commit.c"
}


static gboolean ___lambda62_ (GitgCommitActivity* self) {
	gboolean result = FALSE;
#line 1893 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_reload (self);
#line 1894 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = FALSE;
#line 1894 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 15979 "gitg-commit.c"
}


static gboolean ____lambda62__gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self) {
	gboolean result;
	result = ___lambda62_ ((GitgCommitActivity*) self);
#line 1892 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 15988 "gitg-commit.c"
}


static void __lambda61_ (GitgCommitActivity* self, GgitSubmodule* submodule) {
	GError * _inner_error_ = NULL;
#line 1887 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (submodule != NULL);
#line 15996 "gitg-commit.c"
	{
		GgitRepository* _tmp0_;
		GgitSubmodule* _tmp1_;
		GgitRepository* _tmp2_;
		GitgExtApplication* app;
		GitgExtApplication* _tmp3_;
		GitgExtApplication* _tmp4_;
		GitgExtApplication* _tmp5_;
		GitgExtApplication* _tmp6_;
		GitgExtApplication* _tmp7_;
		GitgExtApplication* _tmp8_;
#line 1890 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = submodule;
#line 1890 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = ggit_submodule_open (_tmp1_, &_inner_error_);
#line 1890 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = _tmp2_;
#line 1890 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 16016 "gitg-commit.c"
			goto __catch34_g_error;
		}
#line 1890 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp3_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1890 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp4_ = _tmp3_;
#line 1890 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = _tmp4_;
#line 1890 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = gitg_ext_application_open_new (_tmp5_, _tmp0_, "commit");
#line 1890 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 1890 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp5_);
#line 1890 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		app = _tmp7_;
#line 1892 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = app;
#line 1892 "/home/mcatanzaro/Projects/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 1888 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (app);
#line 1888 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp0_);
#line 16041 "gitg-commit.c"
	}
	goto __finally34;
	__catch34_g_error:
	{
		GError* e = NULL;
		FILE* _tmp9_;
		GError* _tmp10_;
		const gchar* _tmp11_;
#line 1888 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		e = _inner_error_;
#line 1888 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_inner_error_ = NULL;
#line 1900 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = stderr;
#line 1900 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = e;
#line 1900 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = _tmp10_->message;
#line 1900 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		fprintf (_tmp9_, "Failed to open submodule repository: %s\n", _tmp11_);
#line 1888 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_error_free0 (e);
#line 16064 "gitg-commit.c"
	}
	__finally34:
#line 1888 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1888 "/home/mcatanzaro/Projects/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 1888 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_clear_error (&_inner_error_);
#line 1888 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		return;
#line 16075 "gitg-commit.c"
	}
}


static void ___lambda61__gitg_commit_submodule_info_request_open_repository (GitgCommitSubmoduleInfo* _sender, GgitSubmodule* submodule, gpointer self) {
#line 1887 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__lambda61_ ((GitgCommitActivity*) self, submodule);
#line 16083 "gitg-commit.c"
}


static void _gitg_commit_activity_do_populate_menu_gitg_sidebar_populate_popup (GitgSidebar* _sender, GtkMenu* menu, gpointer self) {
#line 1904 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_do_populate_menu ((GitgCommitActivity*) self, menu);
#line 16090 "gitg-commit.c"
}


static void __lambda63_ (Block29Data* _data29_, GtkTreeModel* model, GtkTreePath* path, GtkTreeIter* iter) {
	GitgCommitActivity* self;
	gboolean _tmp0_;
#line 1910 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data29_->self;
#line 1910 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (model != NULL);
#line 1910 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (path != NULL);
#line 1910 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (iter != NULL);
#line 1911 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_submodule_history_select_first;
#line 1911 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp0_) {
#line 16109 "gitg-commit.c"
		GtkTreeSelection* _tmp1_;
		GtkTreePath* _tmp2_;
#line 1913 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self->priv->d_submodule_history_select_first = FALSE;
#line 1914 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = gtk_tree_view_get_selection ((GtkTreeView*) _data29_->view);
#line 1914 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp2_ = path;
#line 1914 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gtk_tree_selection_select_path (_tmp1_, _tmp2_);
#line 16120 "gitg-commit.c"
	}
}


static void ___lambda63__gtk_tree_model_row_inserted (GtkTreeModel* _sender, GtkTreePath* path, GtkTreeIter* iter, gpointer self) {
#line 1910 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__lambda63_ (self, _sender, path, iter);
#line 16128 "gitg-commit.c"
}


static void __lambda64_ (Block29Data* _data29_, GtkTreeSelection* selection) {
	GitgCommitActivity* self;
	GtkTreeModel* m = NULL;
	GtkTreeIter iter = {0};
	GtkTreeSelection* _tmp0_;
	GtkTreeModel* _tmp1_ = NULL;
	GtkTreeIter _tmp2_ = {0};
	gboolean _tmp3_;
	GtkTreeModel* _tmp4_;
#line 1918 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = _data29_->self;
#line 1918 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (selection != NULL);
#line 1922 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = selection;
#line 1922 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = gtk_tree_selection_get_selected (_tmp0_, &_tmp1_, &_tmp2_);
#line 1922 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (m);
#line 1922 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _g_object_ref0 (_tmp1_);
#line 1922 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	m = _tmp4_;
#line 1922 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	iter = _tmp2_;
#line 1922 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp3_) {
#line 16159 "gitg-commit.c"
		GtkTreeIter _tmp5_;
		GitgCommit* _tmp6_;
		GitgCommit* _tmp7_;
#line 1924 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp5_ = iter;
#line 1924 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp6_ = gitg_commit_model_commit_from_iter (_data29_->model, &_tmp5_);
#line 1924 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp7_ = _tmp6_;
#line 1924 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_submodule_history_selection_changed (self, _tmp7_);
#line 1924 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp7_);
#line 16173 "gitg-commit.c"
	} else {
#line 1928 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_submodule_history_selection_changed (self, NULL);
#line 16177 "gitg-commit.c"
	}
#line 1918 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (m);
#line 16181 "gitg-commit.c"
}


static void ___lambda64__gtk_tree_selection_changed (GtkTreeSelection* _sender, gpointer self) {
#line 1918 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__lambda64_ (self, _sender);
#line 16188 "gitg-commit.c"
}


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


static void ___lambda65__gtk_tree_view_row_activated (GtkTreeView* _sender, GtkTreePath* path, GtkTreeViewColumn* column, gpointer self) {
#line 1932 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	__lambda65_ (self, _sender, path, column);
#line 16228 "gitg-commit.c"
}


static void gitg_commit_activity_build_ui (GitgCommitActivity* self) {
	Block29Data* _data29_;
	GitgCommitPaned* _tmp0_;
	GitgCommitPaned* _tmp1_;
	GitgDiffView* _tmp2_;
	GitgDiffView* _tmp3_;
	GitgCommitPaned* _tmp4_;
	GitgDiffView* _tmp5_;
	GitgDiffView* _tmp6_;
	GitgExtApplication* _tmp7_;
	GitgExtApplication* _tmp8_;
	GitgExtApplication* _tmp9_;
	GitgRepository* _tmp10_;
	GitgRepository* _tmp11_;
	GitgRepository* _tmp12_;
	GitgCommitPaned* _tmp13_;
	GitgDiffView* _tmp14_;
	GitgDiffView* _tmp15_;
	GitgCommitPaned* _tmp16_;
	GitgCommitSidebar* _tmp17_;
	GitgCommitSidebar* _tmp18_;
	GitgCommitPaned* _tmp19_;
	GitgCommitSidebar* _tmp20_;
	GitgCommitSidebar* _tmp21_;
	GitgCommitPaned* _tmp22_;
	GitgCommitSidebar* _tmp23_;
	GitgCommitSidebar* _tmp24_;
	GitgCommitPaned* _tmp25_;
	GitgCommitSidebar* _tmp26_;
	GitgCommitSidebar* _tmp27_;
	GitgCommitPaned* _tmp28_;
	GitgCommitSidebar* _tmp29_;
	GitgCommitSidebar* _tmp30_;
	GitgCommitPaned* _tmp31_;
	GitgCommitSidebar* _tmp32_;
	GitgCommitSidebar* _tmp33_;
	GitgCommitPaned* _tmp34_;
	GtkButton* _tmp35_;
	GtkButton* _tmp36_;
	GitgCommitPaned* _tmp37_;
	GtkButton* _tmp38_;
	GtkButton* _tmp39_;
	GitgCommitPaned* _tmp40_;
	GtkButton* _tmp41_;
	GtkButton* _tmp42_;
	GitgCommitPaned* _tmp43_;
	GitgCommitSubmoduleDiffView* _tmp44_;
	GitgCommitSubmoduleDiffView* _tmp45_;
	GitgCommitSubmoduleInfo* _tmp46_;
	GitgCommitSubmoduleInfo* _tmp47_;
	GitgCommitPaned* _tmp48_;
	GitgCommitSidebar* _tmp49_;
	GitgCommitSidebar* _tmp50_;
	GitgCommitPaned* _tmp51_;
	GitgCommitSubmoduleHistoryView* _tmp52_;
	GitgCommitSubmoduleHistoryView* _tmp53_;
	GitgCommitListView* _tmp54_;
	GitgCommitListView* _tmp55_;
	GitgCommitListView* _tmp56_;
	GitgCommitModel* _tmp57_;
	GtkTreeSelection* _tmp58_;
	GSettings* settings;
	GSettings* _tmp59_;
	GSettings* _tmp60_;
	GitgCommitPaned* _tmp61_;
	GitgDiffView* _tmp62_;
	GitgDiffView* _tmp63_;
	GSettings* _tmp64_;
	GitgCommitPaned* _tmp65_;
	GitgDiffView* _tmp66_;
	GitgDiffView* _tmp67_;
	GSettings* _tmp68_;
	GSettings* _tmp69_;
	GitgCommitPaned* _tmp70_;
	GitgDiffView* _tmp71_;
	GitgDiffView* _tmp72_;
	GSettings* _tmp73_;
	GitgCommitPaned* _tmp74_;
	GitgDiffView* _tmp75_;
	GitgDiffView* _tmp76_;
	GitgCommitPaned* _tmp77_;
	GitgDiffView* _tmp78_;
	GitgDiffView* _tmp79_;
	GitgCommitPaned* _tmp80_;
	GtkButton* _tmp81_;
	GtkButton* _tmp82_;
	GitgCommitPaned* _tmp83_;
	GitgDiffView* _tmp84_;
	GitgDiffView* _tmp85_;
	GitgCommitPaned* _tmp86_;
	GtkButton* _tmp87_;
	GtkButton* _tmp88_;
	GitgExtApplication* _tmp89_;
	GitgExtApplication* _tmp90_;
	GitgExtApplication* _tmp91_;
	GitgCommitPaned* _tmp92_;
	GitgDiffView* _tmp93_;
	GitgDiffView* _tmp94_;
#line 1832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 1832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data29_ = g_slice_new0 (Block29Data);
#line 1832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data29_->_ref_count_ = 1;
#line 1832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data29_->self = g_object_ref (self);
#line 1834 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = gitg_commit_paned_new ();
#line 1834 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_object_ref_sink (_tmp0_);
#line 1834 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (self->priv->d_main);
#line 1834 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_main = _tmp0_;
#line 1836 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = self->priv->d_main;
#line 1836 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = gitg_commit_paned_get_diff_view (_tmp1_);
#line 1836 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _tmp2_;
#line 1836 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_object (_tmp3_, "options-changed", (GCallback) ___lambda54__gitg_diff_view_options_changed, self, 0);
#line 1843 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = self->priv->d_main;
#line 1843 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = gitg_commit_paned_get_diff_view (_tmp4_);
#line 1843 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = _tmp5_;
#line 1843 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1843 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp8_ = _tmp7_;
#line 1843 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp9_ = _tmp8_;
#line 1843 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp10_ = gitg_ext_application_get_repository (_tmp9_);
#line 1843 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp11_ = _tmp10_;
#line 1843 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp12_ = _tmp11_;
#line 1843 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_diff_view_set_repository (_tmp6_, _tmp12_);
#line 1843 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp12_);
#line 1843 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp9_);
#line 1844 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp13_ = self->priv->d_main;
#line 1844 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp14_ = gitg_commit_paned_get_diff_view (_tmp13_);
#line 1844 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp15_ = _tmp14_;
#line 1844 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_diff_view_set_default_collapse_all (_tmp15_, FALSE);
#line 1846 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp16_ = self->priv->d_main;
#line 1846 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp17_ = gitg_commit_paned_get_sidebar (_tmp16_);
#line 1846 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp18_ = _tmp17_;
#line 1846 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_object ((GitgSidebar*) _tmp18_, "deselected", (GCallback) ___lambda55__gitg_sidebar_deselected, self, 0);
#line 1850 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp19_ = self->priv->d_main;
#line 1850 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp20_ = gitg_commit_paned_get_sidebar (_tmp19_);
#line 1850 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp21_ = _tmp20_;
#line 1850 "/home/mcatanzaro/Projects/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 1851 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp22_ = self->priv->d_main;
#line 1851 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp23_ = gitg_commit_paned_get_sidebar (_tmp22_);
#line 1851 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp24_ = _tmp23_;
#line 1851 "/home/mcatanzaro/Projects/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 1853 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp25_ = self->priv->d_main;
#line 1853 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp26_ = gitg_commit_paned_get_sidebar (_tmp25_);
#line 1853 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp27_ = _tmp26_;
#line 1853 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_object (_tmp27_, "discard-selection", (GCallback) ___lambda56__gitg_commit_sidebar_discard_selection, self, 0);
#line 1865 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp28_ = self->priv->d_main;
#line 1865 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp29_ = gitg_commit_paned_get_sidebar (_tmp28_);
#line 1865 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp30_ = _tmp29_;
#line 1865 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_object (_tmp30_, "edit-selection", (GCallback) ___lambda57__gitg_commit_sidebar_edit_selection, self, 0);
#line 1873 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp31_ = self->priv->d_main;
#line 1873 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp32_ = gitg_commit_paned_get_sidebar (_tmp31_);
#line 1873 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp33_ = _tmp32_;
#line 1873 "/home/mcatanzaro/Projects/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 1875 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp34_ = self->priv->d_main;
#line 1875 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp35_ = gitg_commit_paned_get_button_commit (_tmp34_);
#line 1875 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp36_ = _tmp35_;
#line 1875 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_object (_tmp36_, "clicked", (GCallback) ___lambda58__gtk_button_clicked, self, 0);
#line 1879 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp37_ = self->priv->d_main;
#line 1879 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp38_ = gitg_commit_paned_get_button_stage (_tmp37_);
#line 1879 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp39_ = _tmp38_;
#line 1879 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_object (_tmp39_, "clicked", (GCallback) ___lambda59__gtk_button_clicked, self, 0);
#line 1883 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp40_ = self->priv->d_main;
#line 1883 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp41_ = gitg_commit_paned_get_button_discard (_tmp40_);
#line 1883 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp42_ = _tmp41_;
#line 1883 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_signal_connect_object (_tmp42_, "clicked", (GCallback) ___lambda60__gtk_button_clicked, self, 0);
#line 1887 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp43_ = self->priv->d_main;
#line 1887 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp44_ = gitg_commit_paned_get_submodule_diff_view (_tmp43_);
#line 1887 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp45_ = _tmp44_;
#line 1887 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp46_ = gitg_commit_submodule_diff_view_get_info (_tmp45_);
#line 1887 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp47_ = _tmp46_;
#line 1887 "/home/mcatanzaro/Projects/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 1904 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp48_ = self->priv->d_main;
#line 1904 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp49_ = gitg_commit_paned_get_sidebar (_tmp48_);
#line 1904 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp50_ = _tmp49_;
#line 1904 "/home/mcatanzaro/Projects/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 1906 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp51_ = self->priv->d_main;
#line 1906 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp52_ = gitg_commit_paned_get_submodule_history_view (_tmp51_);
#line 1906 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp53_ = _tmp52_;
#line 1906 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp54_ = gitg_commit_submodule_history_view_get_commit_list_view (_tmp53_);
#line 1906 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp55_ = _tmp54_;
#line 1906 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp56_ = _g_object_ref0 (_tmp55_);
#line 1906 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data29_->view = _tmp56_;
#line 1907 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp57_ = gitg_commit_model_new (NULL);
#line 1907 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data29_->model = _tmp57_;
#line 1908 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gtk_tree_view_set_model ((GtkTreeView*) _data29_->view, (GtkTreeModel*) _data29_->model);
#line 1910 "/home/mcatanzaro/Projects/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 1918 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp58_ = gtk_tree_view_get_selection ((GtkTreeView*) _data29_->view);
#line 1918 "/home/mcatanzaro/Projects/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 1932 "/home/mcatanzaro/Projects/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 1936 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp59_ = g_settings_new ("org.gnome.gitg.preferences.commit.diff");
#line 1936 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	settings = _tmp59_;
#line 1938 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp60_ = settings;
#line 1938 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp61_ = self->priv->d_main;
#line 1938 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp62_ = gitg_commit_paned_get_diff_view (_tmp61_);
#line 1938 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp63_ = _tmp62_;
#line 1938 "/home/mcatanzaro/Projects/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 1943 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp64_ = settings;
#line 1943 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp65_ = self->priv->d_main;
#line 1943 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp66_ = gitg_commit_paned_get_diff_view (_tmp65_);
#line 1943 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp67_ = _tmp66_;
#line 1943 "/home/mcatanzaro/Projects/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 1948 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp68_ = g_settings_new ("org.gnome.gitg.preferences.interface");
#line 1948 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (settings);
#line 1948 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	settings = _tmp68_;
#line 1950 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp69_ = settings;
#line 1950 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp70_ = self->priv->d_main;
#line 1950 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp71_ = gitg_commit_paned_get_diff_view (_tmp70_);
#line 1950 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp72_ = _tmp71_;
#line 1950 "/home/mcatanzaro/Projects/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 1955 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp73_ = settings;
#line 1955 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp74_ = self->priv->d_main;
#line 1955 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp75_ = gitg_commit_paned_get_diff_view (_tmp74_);
#line 1955 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp76_ = _tmp75_;
#line 1955 "/home/mcatanzaro/Projects/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 1960 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp77_ = self->priv->d_main;
#line 1960 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp78_ = gitg_commit_paned_get_diff_view (_tmp77_);
#line 1960 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp79_ = _tmp78_;
#line 1960 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp80_ = self->priv->d_main;
#line 1960 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp81_ = gitg_commit_paned_get_button_stage (_tmp80_);
#line 1960 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp82_ = _tmp81_;
#line 1960 "/home/mcatanzaro/Projects/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 1965 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp83_ = self->priv->d_main;
#line 1965 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp84_ = gitg_commit_paned_get_diff_view (_tmp83_);
#line 1965 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp85_ = _tmp84_;
#line 1965 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp86_ = self->priv->d_main;
#line 1965 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp87_ = gitg_commit_paned_get_button_discard (_tmp86_);
#line 1965 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp88_ = _tmp87_;
#line 1965 "/home/mcatanzaro/Projects/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 1970 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp89_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 1970 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp90_ = _tmp89_;
#line 1970 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp91_ = _tmp90_;
#line 1970 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp92_ = self->priv->d_main;
#line 1970 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp93_ = gitg_commit_paned_get_diff_view (_tmp92_);
#line 1970 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp94_ = _tmp93_;
#line 1970 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp91_, "repository", (GObject*) _tmp94_, "repository", G_BINDING_SYNC_CREATE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 1970 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp91_);
#line 1832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (settings);
#line 1832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	block29_data_unref (_data29_);
#line 1832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_data29_ = NULL;
#line 16606 "gitg-commit.c"
}


static GitgExtApplication* gitg_commit_activity_real_get_application (GitgExtUIElement* base) {
	GitgExtApplication* result;
	GitgCommitActivity* self;
	GitgExtApplication* _tmp0_;
	GitgExtApplication* _tmp1_;
#line 46 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = (GitgCommitActivity*) base;
#line 46 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->_application;
#line 46 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 46 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = _tmp1_;
#line 46 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 16625 "gitg-commit.c"
}


static void gitg_commit_activity_real_set_application (GitgExtUIElement* base, GitgExtApplication* value) {
	GitgCommitActivity* self;
#line 46 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = (GitgCommitActivity*) base;
#line 46 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (gitg_commit_activity_real_get_application (self) != value) {
#line 16635 "gitg-commit.c"
		GitgExtApplication* _tmp0_;
		GitgExtApplication* _tmp1_;
#line 46 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = value;
#line 46 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 46 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (self->priv->_application);
#line 46 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		self->priv->_application = _tmp1_;
#line 46 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_object_notify ((GObject *) self, "application");
#line 16648 "gitg-commit.c"
	}
}


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


void gitg_commit_activity_set_repository (GitgCommitActivity* self, GitgRepository* value) {
#line 60 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_return_if_fail (self != NULL);
#line 62 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_reload (self);
#line 63 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_object_notify ((GObject*) self, "enabled");
#line 60 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_object_notify ((GObject *) self, "repository");
#line 16678 "gitg-commit.c"
}


static gboolean gitg_commit_activity_real_get_enabled (GitgExtUIElement* base) {
	gboolean result;
	GitgCommitActivity* self;
	gboolean _tmp0_ = FALSE;
	GitgExtApplication* _tmp1_;
	GitgExtApplication* _tmp2_;
	GitgExtApplication* _tmp3_;
	GitgRepository* _tmp4_;
	GitgRepository* _tmp5_;
	GitgRepository* _tmp6_;
	gboolean _tmp7_;
#line 77 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = (GitgCommitActivity*) base;
#line 79 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 79 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 79 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = _tmp2_;
#line 79 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = gitg_ext_application_get_repository (_tmp3_);
#line 79 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = _tmp4_;
#line 79 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp6_ = _tmp5_;
#line 79 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp7_ = _tmp6_ != NULL;
#line 79 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp6_);
#line 79 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp3_);
#line 79 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp7_) {
#line 16715 "gitg-commit.c"
		GitgExtApplication* _tmp8_;
		GitgExtApplication* _tmp9_;
		GitgExtApplication* _tmp10_;
		GitgRepository* _tmp11_;
		GitgRepository* _tmp12_;
		GitgRepository* _tmp13_;
		gboolean _tmp14_;
		gboolean _tmp15_;
#line 79 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp8_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 79 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp9_ = _tmp8_;
#line 79 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp10_ = _tmp9_;
#line 79 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp11_ = gitg_ext_application_get_repository (_tmp10_);
#line 79 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp12_ = _tmp11_;
#line 79 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp13_ = _tmp12_;
#line 79 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_object_get ((GgitRepository*) _tmp13_, "is-bare", &_tmp14_, NULL);
#line 79 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp15_ = _tmp14_;
#line 79 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = !_tmp15_;
#line 79 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp13_);
#line 79 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_g_object_unref0 (_tmp10_);
#line 16746 "gitg-commit.c"
	} else {
#line 79 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		_tmp0_ = FALSE;
#line 16750 "gitg-commit.c"
	}
#line 79 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = _tmp0_;
#line 79 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 16756 "gitg-commit.c"
}


static gchar* gitg_commit_activity_real_get_display_name (GitgExtUIElement* base) {
	gchar* result;
	GitgCommitActivity* self;
	gchar* _tmp0_;
#line 113 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = (GitgCommitActivity*) base;
#line 113 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = g_strdup (C_ ("Activity", "Commit"));
#line 113 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = _tmp0_;
#line 113 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 16772 "gitg-commit.c"
}


static gchar* gitg_commit_activity_real_get_description (GitgExtUIElement* base) {
	gchar* result;
	GitgCommitActivity* self;
	gchar* _tmp0_;
#line 118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = (GitgCommitActivity*) base;
#line 118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = g_strdup (_ ("Create new commits and manage the staging area"));
#line 118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = _tmp0_;
#line 118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 16788 "gitg-commit.c"
}


static gchar* gitg_commit_activity_real_get_icon (GitgExtUIElement* base) {
	gchar* result;
	GitgCommitActivity* self;
	gchar* _tmp0_;
#line 123 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = (GitgCommitActivity*) base;
#line 123 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = g_strdup ("document-save-symbolic");
#line 123 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = _tmp0_;
#line 123 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 16804 "gitg-commit.c"
}


static GtkWidget* gitg_commit_activity_real_get_widget (GitgExtUIElement* base) {
	GtkWidget* result;
	GitgCommitActivity* self;
	GitgCommitPaned* _tmp0_;
	GitgCommitPaned* _tmp1_;
	GtkWidget* _tmp2_;
#line 128 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = (GitgCommitActivity*) base;
#line 130 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = self->priv->d_main;
#line 130 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	if (_tmp0_ == NULL) {
#line 132 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_build_ui (self);
#line 16822 "gitg-commit.c"
	}
#line 135 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = self->priv->d_main;
#line 135 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _g_object_ref0 ((GtkWidget*) _tmp1_);
#line 135 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	result = _tmp2_;
#line 135 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return result;
#line 16832 "gitg-commit.c"
}


static void _gitg_commit_activity_repository_changed_externally_gitg_ext_application_repository_changed_externally (GitgExtApplication* _sender, GitgExtExternalChangeHint hint, gpointer self) {
#line 72 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_repository_changed_externally ((GitgCommitActivity*) self, hint);
#line 16839 "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_;
	GitgExtApplication* _tmp1_;
	GitgExtApplication* _tmp2_;
	GitgExtApplication* _tmp3_;
	GitgExtApplication* _tmp4_;
	GitgExtApplication* _tmp5_;
	gulong _tmp6_;
#line 67 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	parent_class = G_OBJECT_CLASS (gitg_commit_activity_parent_class);
#line 67 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 67 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_COMMIT_TYPE_ACTIVITY, GitgCommitActivity);
#line 69 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 69 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp1_ = _tmp0_;
#line 69 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp2_ = _tmp1_;
#line 69 "/home/mcatanzaro/Projects/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 69 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp2_);
#line 72 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp3_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 72 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp4_ = _tmp3_;
#line 72 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_tmp5_ = _tmp4_;
#line 72 "/home/mcatanzaro/Projects/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 72 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_externally_changed_id = _tmp6_;
#line 72 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (_tmp5_);
#line 67 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	return obj;
#line 16884 "gitg-commit.c"
}


static void gitg_commit_activity_class_init (GitgCommitActivityClass * klass) {
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	gitg_commit_activity_parent_class = g_type_class_peek_parent (klass);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_type_class_add_private (klass, sizeof (GitgCommitActivityPrivate));
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	((GObjectClass *) klass)->dispose = gitg_commit_activity_real_dispose;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_commit_activity_get_property;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_commit_activity_set_property;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	G_OBJECT_CLASS (klass)->constructor = gitg_commit_activity_constructor;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_commit_activity_finalize;
#line 22 "/home/mcatanzaro/Projects/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/mcatanzaro/Projects/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/mcatanzaro/Projects/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/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_ACTIVITY_ENABLED, g_param_spec_boolean ("enabled", "enabled", "enabled", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 22 "/home/mcatanzaro/Projects/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/mcatanzaro/Projects/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/mcatanzaro/Projects/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/mcatanzaro/Projects/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 16919 "gitg-commit.c"
}


static void gitg_commit_activity_gitg_ext_ui_element_interface_init (GitgExtUIElementIface * iface) {
#line 22 "/home/mcatanzaro/Projects/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/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	iface->activate = (void (*) (GitgExtUIElement *)) gitg_commit_activity_real_activate;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	iface->get_application = gitg_commit_activity_real_get_application;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	iface->set_application = gitg_commit_activity_real_set_application;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	iface->get_id = gitg_commit_activity_real_get_id;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	iface->get_enabled = gitg_commit_activity_real_get_enabled;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	iface->get_display_name = gitg_commit_activity_real_get_display_name;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	iface->get_description = gitg_commit_activity_real_get_description;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	iface->get_icon = gitg_commit_activity_real_get_icon;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	iface->get_widget = gitg_commit_activity_real_get_widget;
#line 16944 "gitg-commit.c"
}


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


static void gitg_commit_activity_instance_init (GitgCommitActivity * self) {
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv = GITG_COMMIT_ACTIVITY_GET_PRIVATE (self);
#line 16960 "gitg-commit.c"
}


static void gitg_commit_activity_finalize (GObject * obj) {
	GitgCommitActivity * self;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_COMMIT_TYPE_ACTIVITY, GitgCommitActivity);
#line 26 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (self->priv->d_main);
#line 31 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_gitg_when_mapped_unref0 (self->priv->d_reload_when_mapped);
#line 46 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (self->priv->_application);
#line 148 "/home/mcatanzaro/Projects/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 148 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback = NULL;
#line 148 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback_target = NULL;
#line 148 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_update_diff_callback_target_destroy_notify = NULL;
#line 151 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (self->priv->d_current_submodule);
#line 152 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	_g_object_unref0 (self->priv->d_current_submodule_repository);
#line 153 "/home/mcatanzaro/Projects/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 153 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_stage_unstage_submodule_commit_callback = NULL;
#line 153 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_stage_unstage_submodule_commit_callback_target = NULL;
#line 153 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	self->priv->d_stage_unstage_submodule_commit_callback_target_destroy_notify = NULL;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	G_OBJECT_CLASS (gitg_commit_activity_parent_class)->finalize (obj);
#line 16996 "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/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	switch (property_id) {
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case GITG_COMMIT_ACTIVITY_APPLICATION:
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_value_take_object (value, gitg_ext_ui_element_get_application ((GitgExtUIElement*) self));
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		break;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case GITG_COMMIT_ACTIVITY_ID:
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_value_take_string (value, gitg_ext_ui_element_get_id ((GitgExtUIElement*) self));
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		break;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case GITG_COMMIT_ACTIVITY_ENABLED:
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_value_set_boolean (value, gitg_ext_ui_element_get_enabled ((GitgExtUIElement*) self));
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		break;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case GITG_COMMIT_ACTIVITY_DISPLAY_NAME:
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_value_take_string (value, gitg_ext_ui_element_get_display_name ((GitgExtUIElement*) self));
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		break;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case GITG_COMMIT_ACTIVITY_DESCRIPTION:
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_value_take_string (value, gitg_ext_ui_element_get_description ((GitgExtUIElement*) self));
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		break;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case GITG_COMMIT_ACTIVITY_ICON:
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_value_take_string (value, gitg_ext_ui_element_get_icon ((GitgExtUIElement*) self));
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		break;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case GITG_COMMIT_ACTIVITY_WIDGET:
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		g_value_take_object (value, gitg_ext_ui_element_get_widget ((GitgExtUIElement*) self));
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		break;
#line 17063 "gitg-commit.c"
		default:
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		break;
#line 17069 "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/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
	switch (property_id) {
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case GITG_COMMIT_ACTIVITY_APPLICATION:
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_ext_ui_element_set_application ((GitgExtUIElement*) self, g_value_get_object (value));
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		break;
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		case GITG_COMMIT_ACTIVITY_REPOSITORY:
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		gitg_commit_activity_set_repository (self, g_value_get_object (value));
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		break;
#line 17091 "gitg-commit.c"
		default:
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/commit/gitg-commit.vala"
		break;
#line 17097 "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);
}



