/* gitg-history.c generated by valac 0.27.1.26-9b1a5-dirty, the Vala compiler
 * generated from gitg-history.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 "libgitg/libgitg.h"
#include <gee.h>
#include <libgit2-glib/ggit.h>
#include <float.h>
#include <math.h>
#include <gio/gio.h>
#include <gtk/gtk.h>
#include <stdlib.h>
#include <string.h>
#include <config.h>
#include <stdio.h>
#include <gdk/gdk.h>
#include <cairo.h>
#include <libpeas/peas.h>
#include <glib/gi18n-lib.h>


#define GITG_HISTORY_TYPE_ACTIVITY (gitg_history_activity_get_type ())
#define GITG_HISTORY_ACTIVITY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_HISTORY_TYPE_ACTIVITY, GitgHistoryActivity))
#define GITG_HISTORY_ACTIVITY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_HISTORY_TYPE_ACTIVITY, GitgHistoryActivityClass))
#define GITG_HISTORY_IS_ACTIVITY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_HISTORY_TYPE_ACTIVITY))
#define GITG_HISTORY_IS_ACTIVITY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_HISTORY_TYPE_ACTIVITY))
#define GITG_HISTORY_ACTIVITY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_HISTORY_TYPE_ACTIVITY, GitgHistoryActivityClass))

typedef struct _GitgHistoryActivity GitgHistoryActivity;
typedef struct _GitgHistoryActivityClass GitgHistoryActivityClass;
typedef struct _GitgHistoryActivityPrivate GitgHistoryActivityPrivate;

#define GITG_TYPE_ANIMATED_PANED (gitg_animated_paned_get_type ())
#define GITG_ANIMATED_PANED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_ANIMATED_PANED, GitgAnimatedPaned))
#define GITG_ANIMATED_PANED_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_ANIMATED_PANED, GitgAnimatedPanedClass))
#define GITG_IS_ANIMATED_PANED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_ANIMATED_PANED))
#define GITG_IS_ANIMATED_PANED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_ANIMATED_PANED))
#define GITG_ANIMATED_PANED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_ANIMATED_PANED, GitgAnimatedPanedClass))

typedef struct _GitgAnimatedPaned GitgAnimatedPaned;
typedef struct _GitgAnimatedPanedClass GitgAnimatedPanedClass;

#define GITG_HISTORY_TYPE_PANED (gitg_history_paned_get_type ())
#define GITG_HISTORY_PANED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_HISTORY_TYPE_PANED, GitgHistoryPaned))
#define GITG_HISTORY_PANED_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_HISTORY_TYPE_PANED, GitgHistoryPanedClass))
#define GITG_HISTORY_IS_PANED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_HISTORY_TYPE_PANED))
#define GITG_HISTORY_IS_PANED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_HISTORY_TYPE_PANED))
#define GITG_HISTORY_PANED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_HISTORY_TYPE_PANED, GitgHistoryPanedClass))

typedef struct _GitgHistoryPaned GitgHistoryPaned;
typedef struct _GitgHistoryPanedClass GitgHistoryPanedClass;

#define GITG_TYPE_POPUP_MENU (gitg_popup_menu_get_type ())
#define GITG_POPUP_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_POPUP_MENU, GitgPopupMenu))
#define GITG_POPUP_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_POPUP_MENU, GitgPopupMenuClass))
#define GITG_IS_POPUP_MENU(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_POPUP_MENU))
#define GITG_IS_POPUP_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_POPUP_MENU))
#define GITG_POPUP_MENU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_POPUP_MENU, GitgPopupMenuClass))

typedef struct _GitgPopupMenu GitgPopupMenu;
typedef struct _GitgPopupMenuClass GitgPopupMenuClass;

#define GITG_TYPE_UI_ELEMENTS (gitg_ui_elements_get_type ())
#define GITG_UI_ELEMENTS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_UI_ELEMENTS, GitgUIElements))
#define GITG_UI_ELEMENTS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_UI_ELEMENTS, GitgUIElementsClass))
#define GITG_IS_UI_ELEMENTS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_UI_ELEMENTS))
#define GITG_IS_UI_ELEMENTS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_UI_ELEMENTS))
#define GITG_UI_ELEMENTS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_UI_ELEMENTS, GitgUIElementsClass))

typedef struct _GitgUIElements GitgUIElements;
typedef struct _GitgUIElementsClass GitgUIElementsClass;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define __vala_GgitOId_free0(var) ((var == NULL) ? NULL : (var = (_vala_GgitOId_free (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
typedef struct _Block43Data Block43Data;
#define _gtk_tree_path_free0(var) ((var == NULL) ? NULL : (var = (gtk_tree_path_free (var), NULL)))
#define __g_list_free__gtk_tree_path_free0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__gtk_tree_path_free0_ (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
typedef struct _Block44Data Block44Data;

#define GITG_HISTORY_TYPE_REFS_LIST (gitg_history_refs_list_get_type ())
#define GITG_HISTORY_REFS_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_HISTORY_TYPE_REFS_LIST, GitgHistoryRefsList))
#define GITG_HISTORY_REFS_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_HISTORY_TYPE_REFS_LIST, GitgHistoryRefsListClass))
#define GITG_HISTORY_IS_REFS_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_HISTORY_TYPE_REFS_LIST))
#define GITG_HISTORY_IS_REFS_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_HISTORY_TYPE_REFS_LIST))
#define GITG_HISTORY_REFS_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_HISTORY_TYPE_REFS_LIST, GitgHistoryRefsListClass))

typedef struct _GitgHistoryRefsList GitgHistoryRefsList;
typedef struct _GitgHistoryRefsListClass GitgHistoryRefsListClass;
typedef struct _Block45Data Block45Data;

#define GITG_TYPE_PLUGINS_ENGINE (gitg_plugins_engine_get_type ())
#define GITG_PLUGINS_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_PLUGINS_ENGINE, GitgPluginsEngine))
#define GITG_PLUGINS_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_PLUGINS_ENGINE, GitgPluginsEngineClass))
#define GITG_IS_PLUGINS_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_PLUGINS_ENGINE))
#define GITG_IS_PLUGINS_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_PLUGINS_ENGINE))
#define GITG_PLUGINS_ENGINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_PLUGINS_ENGINE, GitgPluginsEngineClass))

typedef struct _GitgPluginsEngine GitgPluginsEngine;
typedef struct _GitgPluginsEngineClass GitgPluginsEngineClass;
typedef struct _Block46Data Block46Data;

#define GITG_HISTORY_TYPE_ACTION_INTERFACE (gitg_history_action_interface_get_type ())
#define GITG_HISTORY_ACTION_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_HISTORY_TYPE_ACTION_INTERFACE, GitgHistoryActionInterface))
#define GITG_HISTORY_ACTION_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_HISTORY_TYPE_ACTION_INTERFACE, GitgHistoryActionInterfaceClass))
#define GITG_HISTORY_IS_ACTION_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_HISTORY_TYPE_ACTION_INTERFACE))
#define GITG_HISTORY_IS_ACTION_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_HISTORY_TYPE_ACTION_INTERFACE))
#define GITG_HISTORY_ACTION_INTERFACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_HISTORY_TYPE_ACTION_INTERFACE, GitgHistoryActionInterfaceClass))

typedef struct _GitgHistoryActionInterface GitgHistoryActionInterface;
typedef struct _GitgHistoryActionInterfaceClass GitgHistoryActionInterfaceClass;

#define GITG_TYPE_REF_ACTION_RENAME (gitg_ref_action_rename_get_type ())
#define GITG_REF_ACTION_RENAME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_REF_ACTION_RENAME, GitgRefActionRename))
#define GITG_REF_ACTION_RENAME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_REF_ACTION_RENAME, GitgRefActionRenameClass))
#define GITG_IS_REF_ACTION_RENAME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_REF_ACTION_RENAME))
#define GITG_IS_REF_ACTION_RENAME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_REF_ACTION_RENAME))
#define GITG_REF_ACTION_RENAME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_REF_ACTION_RENAME, GitgRefActionRenameClass))

typedef struct _GitgRefActionRename GitgRefActionRename;
typedef struct _GitgRefActionRenameClass GitgRefActionRenameClass;

#define GITG_TYPE_REF_ACTION_DELETE (gitg_ref_action_delete_get_type ())
#define GITG_REF_ACTION_DELETE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_REF_ACTION_DELETE, GitgRefActionDelete))
#define GITG_REF_ACTION_DELETE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_REF_ACTION_DELETE, GitgRefActionDeleteClass))
#define GITG_IS_REF_ACTION_DELETE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_REF_ACTION_DELETE))
#define GITG_IS_REF_ACTION_DELETE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_REF_ACTION_DELETE))
#define GITG_REF_ACTION_DELETE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_REF_ACTION_DELETE, GitgRefActionDeleteClass))

typedef struct _GitgRefActionDelete GitgRefActionDelete;
typedef struct _GitgRefActionDeleteClass GitgRefActionDeleteClass;

#define GITG_TYPE_REF_ACTION_COPY_NAME (gitg_ref_action_copy_name_get_type ())
#define GITG_REF_ACTION_COPY_NAME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_REF_ACTION_COPY_NAME, GitgRefActionCopyName))
#define GITG_REF_ACTION_COPY_NAME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_REF_ACTION_COPY_NAME, GitgRefActionCopyNameClass))
#define GITG_IS_REF_ACTION_COPY_NAME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_REF_ACTION_COPY_NAME))
#define GITG_IS_REF_ACTION_COPY_NAME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_REF_ACTION_COPY_NAME))
#define GITG_REF_ACTION_COPY_NAME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_REF_ACTION_COPY_NAME, GitgRefActionCopyNameClass))

typedef struct _GitgRefActionCopyName GitgRefActionCopyName;
typedef struct _GitgRefActionCopyNameClass GitgRefActionCopyNameClass;

#define GITG_TYPE_REF_ACTION_FETCH (gitg_ref_action_fetch_get_type ())
#define GITG_REF_ACTION_FETCH(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_REF_ACTION_FETCH, GitgRefActionFetch))
#define GITG_REF_ACTION_FETCH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_REF_ACTION_FETCH, GitgRefActionFetchClass))
#define GITG_IS_REF_ACTION_FETCH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_REF_ACTION_FETCH))
#define GITG_IS_REF_ACTION_FETCH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_REF_ACTION_FETCH))
#define GITG_REF_ACTION_FETCH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_REF_ACTION_FETCH, GitgRefActionFetchClass))

typedef struct _GitgRefActionFetch GitgRefActionFetch;
typedef struct _GitgRefActionFetchClass GitgRefActionFetchClass;
typedef struct _Block47Data Block47Data;

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

typedef struct _GitgCommitActionCreateBranch GitgCommitActionCreateBranch;
typedef struct _GitgCommitActionCreateBranchClass GitgCommitActionCreateBranchClass;

#define GITG_TYPE_COMMIT_ACTION_CREATE_TAG (gitg_commit_action_create_tag_get_type ())
#define GITG_COMMIT_ACTION_CREATE_TAG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_COMMIT_ACTION_CREATE_TAG, GitgCommitActionCreateTag))
#define GITG_COMMIT_ACTION_CREATE_TAG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_COMMIT_ACTION_CREATE_TAG, GitgCommitActionCreateTagClass))
#define GITG_IS_COMMIT_ACTION_CREATE_TAG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_COMMIT_ACTION_CREATE_TAG))
#define GITG_IS_COMMIT_ACTION_CREATE_TAG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_COMMIT_ACTION_CREATE_TAG))
#define GITG_COMMIT_ACTION_CREATE_TAG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_COMMIT_ACTION_CREATE_TAG, GitgCommitActionCreateTagClass))

typedef struct _GitgCommitActionCreateTag GitgCommitActionCreateTag;
typedef struct _GitgCommitActionCreateTagClass GitgCommitActionCreateTagClass;

#define GITG_TYPE_COMMIT_ACTION_CREATE_PATCH (gitg_commit_action_create_patch_get_type ())
#define GITG_COMMIT_ACTION_CREATE_PATCH(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_COMMIT_ACTION_CREATE_PATCH, GitgCommitActionCreatePatch))
#define GITG_COMMIT_ACTION_CREATE_PATCH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_COMMIT_ACTION_CREATE_PATCH, GitgCommitActionCreatePatchClass))
#define GITG_IS_COMMIT_ACTION_CREATE_PATCH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_COMMIT_ACTION_CREATE_PATCH))
#define GITG_IS_COMMIT_ACTION_CREATE_PATCH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_COMMIT_ACTION_CREATE_PATCH))
#define GITG_COMMIT_ACTION_CREATE_PATCH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_COMMIT_ACTION_CREATE_PATCH, GitgCommitActionCreatePatchClass))

typedef struct _GitgCommitActionCreatePatch GitgCommitActionCreatePatch;
typedef struct _GitgCommitActionCreatePatchClass GitgCommitActionCreatePatchClass;
typedef struct _Block48Data Block48Data;

struct _GitgHistoryActivity {
	GObject parent_instance;
	GitgHistoryActivityPrivate * priv;
};

struct _GitgHistoryActivityClass {
	GObjectClass parent_class;
};

struct _GitgHistoryActivityPrivate {
	GitgExtApplication* _application;
	GitgCommitModel* d_commit_list_model;
	GeeHashSet* d_selected;
	GgitOId* d_scroll_to;
	gfloat d_scroll_y;
	gulong d_insertsig;
	GSettings* d_settings;
	GitgHistoryPaned* d_main;
	GitgPopupMenu* d_refs_list_popup;
	GitgPopupMenu* d_commit_list_popup;
	gchar** d_mainline;
	gint d_mainline_length1;
	gint _d_mainline_size_;
	GitgUIElements* d_panels;
	GitgRepository* d_repository;
	GitgExtSelectionMode _selectable_mode;
	gchar* _search_text;
	gboolean _search_visible;
	gboolean _search_enabled;
};

struct _Block43Data {
	int _ref_count_;
	GitgHistoryActivity* self;
	gboolean breakit;
	GitgExtForeachCommitSelectionFunc func;
	gpointer func_target;
};

struct _Block44Data {
	int _ref_count_;
	GitgHistoryActivity* self;
	GitgCommitListView* view;
	gdouble vadj;
	GtkTreePath* startp;
	GtkTreePath* endp;
	gboolean isvis;
	gulong sid;
};

struct _Block45Data {
	int _ref_count_;
	GitgHistoryActivity* self;
	guint idleupdate;
};

struct _Block46Data {
	int _ref_count_;
	GitgHistoryActivity* self;
	GeeLinkedList* actions;
	GtkCheckMenuItem* item;
	gint pos;
	GitgRef* reference;
};

struct _Block47Data {
	int _ref_count_;
	GitgHistoryActivity* self;
	GitgCommit* commit;
	GeeLinkedList* actions;
};

struct _Block48Data {
	int _ref_count_;
	Block47Data * _data47_;
	GitgExtCommitAction* action;
};


static gpointer gitg_history_activity_parent_class = NULL;
static GitgExtUIElementIface* gitg_history_activity_gitg_ext_ui_element_parent_iface = NULL;
static GitgExtActivityIface* gitg_history_activity_gitg_ext_activity_parent_iface = NULL;
static GitgExtSelectableIface* gitg_history_activity_gitg_ext_selectable_parent_iface = NULL;
static GitgExtSearchableIface* gitg_history_activity_gitg_ext_searchable_parent_iface = NULL;
static GitgExtHistoryIface* gitg_history_activity_gitg_ext_history_parent_iface = NULL;

GType gitg_history_activity_get_type (void) G_GNUC_CONST;
GType gitg_animated_paned_get_type (void) G_GNUC_CONST;
GType gitg_history_paned_get_type (void) G_GNUC_CONST;
GType gitg_popup_menu_get_type (void) G_GNUC_CONST;
GType gitg_ui_elements_get_type (void) G_GNUC_CONST;
#define GITG_HISTORY_ACTIVITY_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_HISTORY_TYPE_ACTIVITY, GitgHistoryActivityPrivate))
enum  {
	GITG_HISTORY_ACTIVITY_DUMMY_PROPERTY,
	GITG_HISTORY_ACTIVITY_APPLICATION,
	GITG_HISTORY_ACTIVITY_ID,
	GITG_HISTORY_ACTIVITY_REPOSITORY,
	GITG_HISTORY_ACTIVITY_AVAILABLE,
	GITG_HISTORY_ACTIVITY_DISPLAY_NAME,
	GITG_HISTORY_ACTIVITY_DESCRIPTION,
	GITG_HISTORY_ACTIVITY_ICON,
	GITG_HISTORY_ACTIVITY_WIDGET,
	GITG_HISTORY_ACTIVITY_ENABLED,
	GITG_HISTORY_ACTIVITY_SELECTABLE_MODE,
	GITG_HISTORY_ACTIVITY_ACTION_WIDGET,
	GITG_HISTORY_ACTIVITY_SEARCH_ENTRY,
	GITG_HISTORY_ACTIVITY_SEARCH_TEXT,
	GITG_HISTORY_ACTIVITY_SEARCH_VISIBLE,
	GITG_HISTORY_ACTIVITY_SEARCH_ENABLED
};
static void _vala_GgitOId_free (GgitOId* self);
#define GITG_HISTORY_ACTIVITY_version VERSION
GitgHistoryActivity* gitg_history_activity_new (GitgExtApplication* application);
GitgHistoryActivity* gitg_history_activity_construct (GType object_type, GitgExtApplication* application);
static void gitg_history_activity_real_foreach_selected (GitgExtHistory* base, GitgExtForeachCommitSelectionFunc func, void* func_target);
static Block43Data* block43_data_ref (Block43Data* _data43_);
static void block43_data_unref (void * _userdata_);
GitgCommitListView* gitg_history_paned_get_commit_list_view (GitgHistoryPaned* self);
static void __lambda87_ (Block43Data* _data43_, GtkTreeModel* model, GtkTreePath* path, GtkTreeIter* iter);
static void ___lambda87__gtk_tree_selection_foreach_func (GtkTreeModel* model, GtkTreePath* path, GtkTreeIter* iter, gpointer self);
static void gitg_history_activity_real_select (GitgExtHistory* base, GitgCommit* commit);
static void gitg_history_activity_update_sort_mode (GitgHistoryActivity* self);
static void gitg_history_activity_on_commit_model_started (GitgHistoryActivity* self, GitgCommitModel* model);
static void gitg_history_activity_on_row_inserted_select (GitgHistoryActivity* self, GtkTreeModel* model, GtkTreePath* path, GtkTreeIter* iter);
static void _gitg_history_activity_on_row_inserted_select_gtk_tree_model_row_inserted (GtkTreeModel* _sender, GtkTreePath* path, GtkTreeIter* iter, gpointer self);
static void gitg_history_activity_scroll_into_view (GitgHistoryActivity* self);
static void _gtk_tree_path_free0_ (gpointer var);
static void _g_list_free__gtk_tree_path_free0_ (GList* self);
static void gitg_history_activity_on_commit_model_finished (GitgHistoryActivity* self, GitgCommitModel* model);
static gboolean gitg_history_activity_real_is_default_for (GitgExtActivity* base, const gchar* action);
static gint gitg_history_activity_real_negotiate_order (GitgExtUIElement* base, GitgExtUIElement* other);
static void gitg_history_activity_store_changed_mainline (GitgHistoryActivity* self);
static void gitg_history_activity_store_mainline (GitgHistoryActivity* self, GgitConfig* config, const gchar* mainline);
static void gitg_history_activity_reload_mainline (GitgHistoryActivity* self);
static GgitOId* gitg_history_activity_id_for_ref (GitgHistoryActivity* self, GgitRef* r);
static void _vala_array_add13 (gchar*** array, int* length, int* size, gchar* value);
static void gitg_history_activity_reload (GitgHistoryActivity* self);
static Block44Data* block44_data_ref (Block44Data* _data44_);
static void block44_data_unref (void * _userdata_);
GType gitg_history_refs_list_get_type (void) G_GNUC_CONST;
GitgHistoryRefsList* gitg_history_paned_get_refs_list (GitgHistoryPaned* self);
static void __lambda88_ (Block44Data* _data44_, GtkTreeModel* model, GtkTreePath* path, GtkTreeIter* iter);
static void ___lambda88__gtk_tree_selection_foreach_func (GtkTreeModel* model, GtkTreePath* path, GtkTreeIter* iter, gpointer self);
GitgRepository* gitg_history_activity_get_repository (GitgHistoryActivity* self);
void gitg_history_refs_list_set_repository (GitgHistoryRefsList* self, GitgRepository* value);
static void __lambda89_ (Block44Data* _data44_, GtkAllocation* a);
static void ___lambda89__gtk_widget_size_allocate (GtkWidget* _sender, GtkAllocation* allocation, gpointer self);
static void gitg_history_activity_build_ui (GitgHistoryActivity* self);
static Block45Data* block45_data_ref (Block45Data* _data45_);
static void block45_data_unref (void * _userdata_);
GitgHistoryPaned* gitg_history_paned_new (void);
GitgHistoryPaned* gitg_history_paned_construct (GType object_type);
void gitg_history_refs_list_set_remote_lookup (GitgHistoryRefsList* self, GitgExtRemoteLookup* value);
static void __lambda90_ (GitgHistoryActivity* self, GtkTreeSelection* sel);
static void ___lambda90__gtk_tree_selection_changed (GtkTreeSelection* _sender, gpointer self);
GType gitg_plugins_engine_get_type (void) G_GNUC_CONST;
GitgPluginsEngine* gitg_plugins_engine_get_default (void);
GtkStack* gitg_history_paned_get_stack_panel (GitgHistoryPaned* self);
GitgUIElements* gitg_ui_elements_new (GType t_type, GBoxedCopyFunc t_dup_func, GDestroyNotify t_destroy_func, PeasExtensionSet* extensions, GtkStack* stack);
GitgUIElements* gitg_ui_elements_construct (GType object_type, GType t_type, GBoxedCopyFunc t_dup_func, GDestroyNotify t_destroy_func, PeasExtensionSet* extensions, GtkStack* stack);
GitgPopupMenu* gitg_popup_menu_new (GtkWidget* widget);
GitgPopupMenu* gitg_popup_menu_construct (GType object_type, GtkWidget* widget);
static GtkMenu* gitg_history_activity_on_refs_list_populate_menu (GitgHistoryActivity* self, GdkEventButton* event);
static GtkMenu* _gitg_history_activity_on_refs_list_populate_menu_gitg_popup_menu_populate_menu (GitgPopupMenu* _sender, GdkEventButton* event, gpointer self);
static void __lambda95_ (GitgHistoryActivity* self);
static void gitg_history_activity_update_walker (GitgHistoryActivity* self);
static void ___lambda95__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void __lambda96_ (Block45Data* _data45_);
static gboolean ___lambda97_ (Block45Data* _data45_);
static gboolean ____lambda97__gsource_func (gpointer self);
static void ___lambda96__gitg_history_refs_list_changed (GitgHistoryRefsList* _sender, gpointer self);
static GtkMenu* gitg_history_activity_on_commit_list_populate_menu (GitgHistoryActivity* self, GdkEventButton* event);
static GtkMenu* _gitg_history_activity_on_commit_list_populate_menu_gitg_popup_menu_populate_menu (GitgPopupMenu* _sender, GdkEventButton* event, gpointer self);
static gboolean gitg_history_activity_search_filter_func (GitgHistoryActivity* self, GtkTreeModel* model, gint column, const gchar* key, GtkTreeIter* iter);
static gboolean _gitg_history_activity_search_filter_func_gtk_tree_view_search_equal_func (GtkTreeModel* model, gint column, const gchar* key, GtkTreeIter* iter, gpointer self);
static GtkMenu* gitg_history_activity_popup_on_ref (GitgHistoryActivity* self, GdkEventButton* event);
static GtkMenu* gitg_history_activity_popup_menu_for_ref (GitgHistoryActivity* self, GitgRef* reference);
static void gitg_history_activity_add_ref_action (GitgHistoryActivity* self, GeeLinkedList* actions, GitgExtRefAction* action);
static Block46Data* block46_data_ref (Block46Data* _data46_);
static void block46_data_unref (void * _userdata_);
GType gitg_history_action_interface_get_type (void) G_GNUC_CONST;
GitgHistoryActionInterface* gitg_history_action_interface_new (GitgExtApplication* application, GitgHistoryRefsList* refs_list);
GitgHistoryActionInterface* gitg_history_action_interface_construct (GType object_type, GitgExtApplication* application, GitgHistoryRefsList* refs_list);
GitgRefActionRename* gitg_ref_action_rename_new (GitgExtApplication* application, GitgExtRefActionInterface* action_interface, GitgRef* reference);
GitgRefActionRename* gitg_ref_action_rename_construct (GType object_type, GitgExtApplication* application, GitgExtRefActionInterface* action_interface, GitgRef* reference);
GType gitg_ref_action_rename_get_type (void) G_GNUC_CONST;
GitgRefActionDelete* gitg_ref_action_delete_new (GitgExtApplication* application, GitgExtRefActionInterface* action_interface, GitgRef* reference);
GitgRefActionDelete* gitg_ref_action_delete_construct (GType object_type, GitgExtApplication* application, GitgExtRefActionInterface* action_interface, GitgRef* reference);
GType gitg_ref_action_delete_get_type (void) G_GNUC_CONST;
GitgRefActionCopyName* gitg_ref_action_copy_name_new (GitgExtApplication* application, GitgExtRefActionInterface* action_interface, GitgRef* reference);
GitgRefActionCopyName* gitg_ref_action_copy_name_construct (GType object_type, GitgExtApplication* application, GitgExtRefActionInterface* action_interface, GitgRef* reference);
GType gitg_ref_action_copy_name_get_type (void) G_GNUC_CONST;
GitgRefActionFetch* gitg_ref_action_fetch_new (GitgExtApplication* application, GitgExtRefActionInterface* action_interface, GitgRef* reference);
GitgRefActionFetch* gitg_ref_action_fetch_construct (GType object_type, GitgExtApplication* application, GitgExtRefActionInterface* action_interface, GitgRef* reference);
GType gitg_ref_action_fetch_get_type (void) G_GNUC_CONST;
static void __lambda93_ (Block46Data* _data46_, PeasExtensionSet* extset, PeasPluginInfo* info, PeasExtension* extension);
static void ___lambda93__peas_extension_set_foreach_func (PeasExtensionSet* set, PeasPluginInfo* info, PeasExtension* exten, gpointer self);
static void __lambda94_ (Block46Data* _data46_);
static void _vala_array_add14 (gchar*** array, int* length, int* size, gchar* value);
static void _vala_array_add15 (gchar*** array, int* length, int* size, gchar* value);
static gchar** _vala_array_dup18 (gchar** self, int length);
static void ___lambda94__gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self);
GeeList* gitg_history_refs_list_get_selection (GitgHistoryRefsList* self);
static GgitOId* _vala_GgitOId_copy (GgitOId* self);
gboolean gitg_history_refs_list_get_is_all (GitgHistoryRefsList* self);
gboolean gitg_history_refs_list_get_is_header (GitgHistoryRefsList* self);
static void _vala_array_add16 (GgitOId*** array, int* length, int* size, GgitOId* value);
static void _vala_array_add17 (GgitOId*** array, int* length, int* size, GgitOId* value);
static void _vala_array_add18 (GgitOId*** array, int* length, int* size, GgitOId* value);
static void gitg_history_activity_add_commit_action (GitgHistoryActivity* self, GeeLinkedList* actions, GitgExtCommitAction* action);
static void ___lambda98_ (GitgHistoryActivity* self);
static void ____lambda98__gitg_ext_commit_action_finished (GitgExtCommitAction* _sender, gpointer self);
static gchar* gitg_history_activity_normalize (GitgHistoryActivity* self, const gchar* s);
void gitg_history_activity_set_repository (GitgHistoryActivity* self, GitgRepository* value);
static Block47Data* block47_data_ref (Block47Data* _data47_);
static void block47_data_unref (void * _userdata_);
static gboolean _gitg_history_activity_action_widget___lambda99_ (Block47Data* _data47_, GgitCommit* c);
static gboolean __gitg_history_activity_action_widget___lambda99__gitg_ext_foreach_commit_selection_func (GgitCommit* object, gpointer self);
GitgCommitActionCreateBranch* gitg_commit_action_create_branch_new (GitgExtApplication* application, GitgExtRefActionInterface* action_interface, GitgCommit* commit);
GitgCommitActionCreateBranch* gitg_commit_action_create_branch_construct (GType object_type, GitgExtApplication* application, GitgExtRefActionInterface* action_interface, GitgCommit* commit);
GType gitg_commit_action_create_branch_get_type (void) G_GNUC_CONST;
GitgCommitActionCreateTag* gitg_commit_action_create_tag_new (GitgExtApplication* application, GitgExtRefActionInterface* action_interface, GitgCommit* commit);
GitgCommitActionCreateTag* gitg_commit_action_create_tag_construct (GType object_type, GitgExtApplication* application, GitgExtRefActionInterface* action_interface, GitgCommit* commit);
GType gitg_commit_action_create_tag_get_type (void) G_GNUC_CONST;
GitgCommitActionCreatePatch* gitg_commit_action_create_patch_new (GitgExtApplication* application, GitgExtRefActionInterface* action_interface, GitgCommit* commit);
GitgCommitActionCreatePatch* gitg_commit_action_create_patch_construct (GType object_type, GitgExtApplication* application, GitgExtRefActionInterface* action_interface, GitgCommit* commit);
GType gitg_commit_action_create_patch_get_type (void) G_GNUC_CONST;
static void _gitg_history_activity_action_widget___lambda109_ (Block47Data* _data47_, PeasExtensionSet* extset, PeasPluginInfo* info, PeasExtension* extension);
static void __gitg_history_activity_action_widget___lambda109__peas_extension_set_foreach_func (PeasExtensionSet* set, PeasPluginInfo* info, PeasExtension* exten, gpointer self);
static Block48Data* block48_data_ref (Block48Data* _data48_);
static void block48_data_unref (void * _userdata_);
static void _gitg_history_activity_action_widget______lambda110_ (Block48Data* _data48_);
static void __gitg_history_activity_action_widget______lambda110__gtk_button_clicked (GtkButton* _sender, gpointer self);
static GObject * gitg_history_activity_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
static void _gitg_history_activity___lambda111_ (GitgHistoryActivity* self, GSettings* s, const gchar* k);
static void __gitg_history_activity___lambda111__g_settings_changed (GSettings* _sender, const gchar* key, gpointer self);
static void _gitg_history_activity___lambda112_ (GitgHistoryActivity* self, GSettings* s, const gchar* k);
static void __gitg_history_activity___lambda112__g_settings_changed (GSettings* _sender, const gchar* key, gpointer self);
static void _gitg_history_activity_on_commit_model_started_gitg_commit_model_started (GitgCommitModel* _sender, gpointer self);
static void _gitg_history_activity_on_commit_model_finished_gitg_commit_model_finished (GitgCommitModel* _sender, gpointer self);
static void gitg_history_activity_finalize (GObject* obj);
static void _vala_gitg_history_activity_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_gitg_history_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 gint _vala_array_length (gpointer array);


static void _vala_GgitOId_free (GgitOId* self) {
#line 35 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_boxed_free (ggit_oid_get_type (), self);
#line 458 "gitg-history.c"
}


GitgHistoryActivity* gitg_history_activity_construct (GType object_type, GitgExtApplication* application) {
	GitgHistoryActivity * self = NULL;
	GitgExtApplication* _tmp0_ = NULL;
#line 48 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_val_if_fail (application != NULL, NULL);
#line 50 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = application;
#line 50 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = (GitgHistoryActivity*) g_object_new (object_type, "application", _tmp0_, NULL);
#line 48 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return self;
#line 473 "gitg-history.c"
}


GitgHistoryActivity* gitg_history_activity_new (GitgExtApplication* application) {
#line 48 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return gitg_history_activity_construct (GITG_HISTORY_TYPE_ACTIVITY, application);
#line 480 "gitg-history.c"
}


static Block43Data* block43_data_ref (Block43Data* _data43_) {
#line 82 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_atomic_int_inc (&_data43_->_ref_count_);
#line 82 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return _data43_;
#line 489 "gitg-history.c"
}


static void block43_data_unref (void * _userdata_) {
	Block43Data* _data43_;
	_data43_ = (Block43Data*) _userdata_;
#line 82 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (g_atomic_int_dec_and_test (&_data43_->_ref_count_)) {
#line 498 "gitg-history.c"
		GitgHistoryActivity* self;
#line 82 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		self = _data43_->self;
#line 82 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (self);
#line 82 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_slice_free (Block43Data, _data43_);
#line 506 "gitg-history.c"
	}
}


static void __lambda87_ (Block43Data* _data43_, GtkTreeModel* model, GtkTreePath* path, GtkTreeIter* iter) {
	GitgHistoryActivity* self;
#line 86 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = _data43_->self;
#line 86 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (model != NULL);
#line 86 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (path != NULL);
#line 86 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (iter != NULL);
#line 87 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (!_data43_->breakit) {
#line 523 "gitg-history.c"
		GitgCommit* c = NULL;
		GitgCommitModel* _tmp0_ = NULL;
		GtkTreeIter _tmp1_ = {0};
		GitgCommit* _tmp2_ = NULL;
		GitgCommit* _tmp3_ = NULL;
#line 89 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp0_ = self->priv->d_commit_list_model;
#line 89 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp1_ = *iter;
#line 89 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp2_ = gitg_commit_model_commit_from_iter (_tmp0_, &_tmp1_);
#line 89 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		c = _tmp2_;
#line 91 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp3_ = c;
#line 91 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		if (_tmp3_ != NULL) {
#line 541 "gitg-history.c"
			GitgExtForeachCommitSelectionFunc _tmp4_ = NULL;
			void* _tmp4__target = NULL;
			GitgCommit* _tmp5_ = NULL;
			gboolean _tmp6_ = FALSE;
#line 93 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp4_ = _data43_->func;
#line 93 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp4__target = _data43_->func_target;
#line 93 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp5_ = c;
#line 93 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp6_ = _tmp4_ ((GgitCommit*) _tmp5_, _tmp4__target);
#line 93 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_data43_->breakit = !_tmp6_;
#line 556 "gitg-history.c"
		}
#line 87 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (c);
#line 560 "gitg-history.c"
	}
}


static void ___lambda87__gtk_tree_selection_foreach_func (GtkTreeModel* model, GtkTreePath* path, GtkTreeIter* iter, gpointer self) {
#line 86 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	__lambda87_ (self, model, path, iter);
#line 568 "gitg-history.c"
}


static void gitg_history_activity_real_foreach_selected (GitgExtHistory* base, GitgExtForeachCommitSelectionFunc func, void* func_target) {
	GitgHistoryActivity * self;
	Block43Data* _data43_;
	GitgExtForeachCommitSelectionFunc _tmp0_ = NULL;
	void* _tmp0__target = NULL;
	GitgHistoryPaned* _tmp1_ = NULL;
	GitgCommitListView* _tmp2_ = NULL;
	GitgCommitListView* _tmp3_ = NULL;
	GtkTreeSelection* _tmp4_ = NULL;
#line 82 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = (GitgHistoryActivity*) base;
#line 82 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data43_ = g_slice_new0 (Block43Data);
#line 82 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data43_->_ref_count_ = 1;
#line 82 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data43_->self = g_object_ref (self);
#line 82 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = func;
#line 82 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0__target = func_target;
#line 82 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data43_->func = _tmp0_;
#line 82 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data43_->func_target = _tmp0__target;
#line 84 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data43_->breakit = FALSE;
#line 86 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = self->priv->d_main;
#line 86 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp2_ = gitg_history_paned_get_commit_list_view (_tmp1_);
#line 86 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp3_ = _tmp2_;
#line 86 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp4_ = gtk_tree_view_get_selection ((GtkTreeView*) _tmp3_);
#line 86 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gtk_tree_selection_selected_foreach (_tmp4_, ___lambda87__gtk_tree_selection_foreach_func, _data43_);
#line 82 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	block43_data_unref (_data43_);
#line 82 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data43_ = NULL;
#line 613 "gitg-history.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 101 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return self ? g_object_ref (self) : NULL;
#line 620 "gitg-history.c"
}


static void gitg_history_activity_real_select (GitgExtHistory* base, GitgCommit* commit) {
	GitgHistoryActivity * self;
	GitgCommitModel* model = NULL;
	GitgHistoryPaned* _tmp0_ = NULL;
	GitgCommitListView* _tmp1_ = NULL;
	GitgCommitListView* _tmp2_ = NULL;
	GtkTreeModel* _tmp3_ = NULL;
	GtkTreeModel* _tmp4_ = NULL;
	GitgCommitModel* _tmp5_ = NULL;
	GtkTreePath* path = NULL;
	GitgCommitModel* _tmp6_ = NULL;
	GitgCommit* _tmp7_ = NULL;
	GtkTreePath* _tmp8_ = NULL;
	GtkTreePath* _tmp9_ = NULL;
#line 99 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = (GitgHistoryActivity*) base;
#line 99 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (commit != NULL);
#line 101 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = self->priv->d_main;
#line 101 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = gitg_history_paned_get_commit_list_view (_tmp0_);
#line 101 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp2_ = _tmp1_;
#line 101 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp3_ = gtk_tree_view_get_model ((GtkTreeView*) _tmp2_);
#line 101 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp4_ = _tmp3_;
#line 101 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp5_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GITG_TYPE_COMMIT_MODEL, GitgCommitModel));
#line 101 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	model = _tmp5_;
#line 102 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp6_ = model;
#line 102 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp7_ = commit;
#line 102 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp8_ = gitg_commit_model_path_from_commit (_tmp6_, _tmp7_);
#line 102 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	path = _tmp8_;
#line 104 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp9_ = path;
#line 104 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp9_ != NULL) {
#line 668 "gitg-history.c"
		GtkTreeSelection* sel = NULL;
		GitgHistoryPaned* _tmp10_ = NULL;
		GitgCommitListView* _tmp11_ = NULL;
		GitgCommitListView* _tmp12_ = NULL;
		GtkTreeSelection* _tmp13_ = NULL;
		GtkTreeSelection* _tmp14_ = NULL;
		GtkTreeSelection* _tmp15_ = NULL;
		GtkTreePath* _tmp16_ = NULL;
		GitgHistoryPaned* _tmp17_ = NULL;
		GitgCommitListView* _tmp18_ = NULL;
		GitgCommitListView* _tmp19_ = NULL;
		GtkTreePath* _tmp20_ = NULL;
#line 106 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp10_ = self->priv->d_main;
#line 106 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp11_ = gitg_history_paned_get_commit_list_view (_tmp10_);
#line 106 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp12_ = _tmp11_;
#line 106 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp13_ = gtk_tree_view_get_selection ((GtkTreeView*) _tmp12_);
#line 106 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp14_ = _g_object_ref0 (_tmp13_);
#line 106 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		sel = _tmp14_;
#line 107 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp15_ = sel;
#line 107 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp16_ = path;
#line 107 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		gtk_tree_selection_select_path (_tmp15_, _tmp16_);
#line 109 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp17_ = self->priv->d_main;
#line 109 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp18_ = gitg_history_paned_get_commit_list_view (_tmp17_);
#line 109 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp19_ = _tmp18_;
#line 109 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp20_ = path;
#line 109 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		gtk_tree_view_scroll_to_cell ((GtkTreeView*) _tmp19_, _tmp20_, NULL, TRUE, 0.5f, (gfloat) 0);
#line 104 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (sel);
#line 711 "gitg-history.c"
	} else {
		FILE* _tmp21_ = NULL;
		GitgCommit* _tmp22_ = NULL;
		GgitOId* _tmp23_ = NULL;
		GgitOId* _tmp24_ = NULL;
		gchar* _tmp25_ = NULL;
		gchar* _tmp26_ = NULL;
#line 113 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp21_ = stderr;
#line 113 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp22_ = commit;
#line 113 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp23_ = ggit_object_get_id ((GgitObject*) _tmp22_);
#line 113 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp24_ = _tmp23_;
#line 113 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp25_ = ggit_oid_to_string (_tmp24_);
#line 113 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp26_ = _tmp25_;
#line 113 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		fprintf (_tmp21_, "Failed to lookup tree path for commit '%s'\n", _tmp26_);
#line 113 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_free0 (_tmp26_);
#line 113 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		__vala_GgitOId_free0 (_tmp24_);
#line 737 "gitg-history.c"
	}
#line 99 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_gtk_tree_path_free0 (path);
#line 99 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (model);
#line 743 "gitg-history.c"
}


static void gitg_history_activity_update_sort_mode (GitgHistoryActivity* self) {
	GSettings* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
#line 144 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (self != NULL);
#line 146 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = self->priv->d_settings;
#line 146 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = g_settings_get_boolean (_tmp0_, "topological-order");
#line 146 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp1_) {
#line 758 "gitg-history.c"
		GitgCommitModel* _tmp2_ = NULL;
		GitgCommitModel* _tmp3_ = NULL;
		GgitSortMode _tmp4_ = 0;
		GgitSortMode _tmp5_ = 0;
#line 148 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp2_ = self->priv->d_commit_list_model;
#line 148 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp3_ = self->priv->d_commit_list_model;
#line 148 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp4_ = gitg_commit_model_get_sort_mode (_tmp3_);
#line 148 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp5_ = _tmp4_;
#line 148 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		gitg_commit_model_set_sort_mode (_tmp3_, _tmp5_ | GGIT_SORT_TOPOLOGICAL);
#line 773 "gitg-history.c"
	} else {
		GitgCommitModel* _tmp6_ = NULL;
		GitgCommitModel* _tmp7_ = NULL;
		GgitSortMode _tmp8_ = 0;
		GgitSortMode _tmp9_ = 0;
#line 152 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp6_ = self->priv->d_commit_list_model;
#line 152 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp7_ = self->priv->d_commit_list_model;
#line 152 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp8_ = gitg_commit_model_get_sort_mode (_tmp7_);
#line 152 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp9_ = _tmp8_;
#line 152 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		gitg_commit_model_set_sort_mode (_tmp7_, _tmp9_ & (~GGIT_SORT_TOPOLOGICAL));
#line 789 "gitg-history.c"
	}
}


static void _gitg_history_activity_on_row_inserted_select_gtk_tree_model_row_inserted (GtkTreeModel* _sender, GtkTreePath* path, GtkTreeIter* iter, gpointer self) {
#line 160 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_on_row_inserted_select ((GitgHistoryActivity*) self, _sender, path, iter);
#line 797 "gitg-history.c"
}


static void gitg_history_activity_on_commit_model_started (GitgHistoryActivity* self, GitgCommitModel* model) {
	gulong _tmp0_ = 0UL;
#line 156 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (self != NULL);
#line 156 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (model != NULL);
#line 158 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = self->priv->d_insertsig;
#line 158 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp0_ == ((gulong) 0)) {
#line 811 "gitg-history.c"
		GitgCommitModel* _tmp1_ = NULL;
		gulong _tmp2_ = 0UL;
#line 160 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp1_ = self->priv->d_commit_list_model;
#line 160 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp2_ = g_signal_connect_object ((GtkTreeModel*) _tmp1_, "row-inserted", (GCallback) _gitg_history_activity_on_row_inserted_select_gtk_tree_model_row_inserted, self, 0);
#line 160 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		self->priv->d_insertsig = _tmp2_;
#line 820 "gitg-history.c"
	}
}


static void gitg_history_activity_on_row_inserted_select (GitgHistoryActivity* self, GtkTreeModel* model, GtkTreePath* path, GtkTreeIter* iter) {
	GitgCommit* commit = NULL;
	GitgCommitModel* _tmp0_ = NULL;
	GtkTreePath* _tmp1_ = NULL;
	GitgCommit* _tmp2_ = NULL;
	GtkTreeSelection* sel = NULL;
	GitgHistoryPaned* _tmp3_ = NULL;
	GitgCommitListView* _tmp4_ = NULL;
	GitgCommitListView* _tmp5_ = NULL;
	GtkTreeSelection* _tmp6_ = NULL;
	GtkTreeSelection* _tmp7_ = NULL;
	gboolean _tmp8_ = FALSE;
	GeeHashSet* _tmp9_ = NULL;
	gint _tmp10_ = 0;
	gint _tmp11_ = 0;
	gboolean _tmp30_ = FALSE;
	GeeHashSet* _tmp31_ = NULL;
	gint _tmp32_ = 0;
	gint _tmp33_ = 0;
#line 164 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (self != NULL);
#line 164 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (model != NULL);
#line 164 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (path != NULL);
#line 164 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (iter != NULL);
#line 166 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = self->priv->d_commit_list_model;
#line 166 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = path;
#line 166 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp2_ = gitg_commit_model_commit_from_path (_tmp0_, _tmp1_);
#line 166 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	commit = _tmp2_;
#line 168 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp3_ = self->priv->d_main;
#line 168 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp4_ = gitg_history_paned_get_commit_list_view (_tmp3_);
#line 168 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp5_ = _tmp4_;
#line 168 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp6_ = gtk_tree_view_get_selection ((GtkTreeView*) _tmp5_);
#line 168 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp7_ = _g_object_ref0 (_tmp6_);
#line 168 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	sel = _tmp7_;
#line 170 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp9_ = self->priv->d_selected;
#line 170 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp10_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp9_);
#line 170 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp11_ = _tmp10_;
#line 170 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp11_ == 0) {
#line 170 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp8_ = TRUE;
#line 882 "gitg-history.c"
	} else {
		GeeHashSet* _tmp12_ = NULL;
		GitgCommit* _tmp13_ = NULL;
		GgitOId* _tmp14_ = NULL;
		GgitOId* _tmp15_ = NULL;
		gboolean _tmp16_ = FALSE;
#line 170 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp12_ = self->priv->d_selected;
#line 170 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp13_ = commit;
#line 170 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp14_ = ggit_object_get_id ((GgitObject*) _tmp13_);
#line 170 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp15_ = _tmp14_;
#line 170 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp16_ = gee_abstract_collection_remove ((GeeAbstractCollection*) _tmp12_, _tmp15_);
#line 170 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp8_ = _tmp16_;
#line 170 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		__vala_GgitOId_free0 (_tmp15_);
#line 903 "gitg-history.c"
	}
#line 170 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp8_) {
#line 907 "gitg-history.c"
		GtkTreeSelection* _tmp17_ = NULL;
		GtkTreePath* _tmp18_ = NULL;
		GitgCommit* _tmp19_ = NULL;
		GgitOId* _tmp20_ = NULL;
		GgitOId* _tmp21_ = NULL;
		GgitOId* _tmp22_ = NULL;
		gboolean _tmp23_ = FALSE;
		gboolean _tmp24_ = FALSE;
#line 172 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp17_ = sel;
#line 172 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp18_ = path;
#line 172 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		gtk_tree_selection_select_path (_tmp17_, _tmp18_);
#line 174 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp19_ = commit;
#line 174 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp20_ = ggit_object_get_id ((GgitObject*) _tmp19_);
#line 174 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp21_ = _tmp20_;
#line 174 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp22_ = self->priv->d_scroll_to;
#line 174 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp23_ = ggit_oid_equal (_tmp21_, _tmp22_);
#line 174 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp24_ = _tmp23_;
#line 174 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		__vala_GgitOId_free0 (_tmp21_);
#line 174 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		if (_tmp24_) {
#line 938 "gitg-history.c"
			GitgHistoryPaned* _tmp25_ = NULL;
			GitgCommitListView* _tmp26_ = NULL;
			GitgCommitListView* _tmp27_ = NULL;
			GtkTreePath* _tmp28_ = NULL;
			gfloat _tmp29_ = 0.0F;
#line 176 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp25_ = self->priv->d_main;
#line 176 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp26_ = gitg_history_paned_get_commit_list_view (_tmp25_);
#line 176 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp27_ = _tmp26_;
#line 176 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp28_ = path;
#line 176 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp29_ = self->priv->d_scroll_y;
#line 176 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			gtk_tree_view_scroll_to_cell ((GtkTreeView*) _tmp27_, _tmp28_, NULL, TRUE, _tmp29_, (gfloat) 0);
#line 182 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			__vala_GgitOId_free0 (self->priv->d_scroll_to);
#line 182 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			self->priv->d_scroll_to = NULL;
#line 960 "gitg-history.c"
		}
	}
#line 186 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp31_ = self->priv->d_selected;
#line 186 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp32_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp31_);
#line 186 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp33_ = _tmp32_;
#line 186 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp33_ == 0) {
#line 186 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp30_ = TRUE;
#line 973 "gitg-history.c"
	} else {
		gboolean _tmp34_ = FALSE;
		GtkTreeSelection* _tmp35_ = NULL;
		gint _tmp36_ = 0;
#line 186 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp35_ = sel;
#line 186 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp36_ = gtk_tree_selection_count_selected_rows (_tmp35_);
#line 186 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		if (_tmp36_ != 0) {
#line 984 "gitg-history.c"
			gboolean _tmp37_ = FALSE;
			GtkTreeSelection* _tmp38_ = NULL;
			GtkSelectionMode _tmp39_ = 0;
			GtkSelectionMode _tmp40_ = 0;
#line 187 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp38_ = sel;
#line 187 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp39_ = gtk_tree_selection_get_mode (_tmp38_);
#line 187 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp40_ = _tmp39_;
#line 187 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			if (_tmp40_ == GTK_SELECTION_SINGLE) {
#line 187 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp37_ = TRUE;
#line 999 "gitg-history.c"
			} else {
				GtkTreeSelection* _tmp41_ = NULL;
				GtkSelectionMode _tmp42_ = 0;
				GtkSelectionMode _tmp43_ = 0;
#line 188 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp41_ = sel;
#line 188 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp42_ = gtk_tree_selection_get_mode (_tmp41_);
#line 188 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp43_ = _tmp42_;
#line 188 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp37_ = _tmp43_ == GTK_SELECTION_BROWSE;
#line 1012 "gitg-history.c"
			}
#line 187 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp34_ = _tmp37_;
#line 1016 "gitg-history.c"
		} else {
#line 186 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp34_ = FALSE;
#line 1020 "gitg-history.c"
		}
#line 186 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp30_ = _tmp34_;
#line 1024 "gitg-history.c"
	}
#line 186 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp30_) {
#line 1028 "gitg-history.c"
		GeeHashSet* _tmp44_ = NULL;
		GitgCommitModel* _tmp45_ = NULL;
		gulong _tmp46_ = 0UL;
#line 190 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp44_ = self->priv->d_selected;
#line 190 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		gee_abstract_collection_clear ((GeeAbstractCollection*) _tmp44_);
#line 192 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp45_ = self->priv->d_commit_list_model;
#line 192 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp46_ = self->priv->d_insertsig;
#line 192 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_signal_handler_disconnect ((GObject*) _tmp45_, _tmp46_);
#line 193 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		self->priv->d_insertsig = (gulong) 0;
#line 1044 "gitg-history.c"
	}
#line 164 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (sel);
#line 164 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (commit);
#line 1050 "gitg-history.c"
}


static void _gtk_tree_path_free0_ (gpointer var) {
#line 211 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	(var == NULL) ? NULL : (var = (gtk_tree_path_free (var), NULL));
#line 1057 "gitg-history.c"
}


static void _g_list_free__gtk_tree_path_free0_ (GList* self) {
#line 211 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_list_foreach (self, (GFunc) _gtk_tree_path_free0_, NULL);
#line 211 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_list_free (self);
#line 1066 "gitg-history.c"
}


static gpointer _gtk_tree_path_copy0 (gpointer self) {
#line 214 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return self ? gtk_tree_path_copy (self) : NULL;
#line 1073 "gitg-history.c"
}


static void gitg_history_activity_scroll_into_view (GitgHistoryActivity* self) {
	GitgHistoryPaned* _tmp0_ = NULL;
	GtkTreeSelection* sel = NULL;
	GitgHistoryPaned* _tmp1_ = NULL;
	GitgCommitListView* _tmp2_ = NULL;
	GitgCommitListView* _tmp3_ = NULL;
	GtkTreeSelection* _tmp4_ = NULL;
	GtkTreeSelection* _tmp5_ = NULL;
	GtkTreeModel* m = NULL;
	GList* rows = NULL;
	GtkTreeSelection* _tmp6_ = NULL;
	GtkTreeModel* _tmp7_ = NULL;
	GList* _tmp8_ = NULL;
	GtkTreeModel* _tmp9_ = NULL;
	GList* _tmp10_ = NULL;
	GtkTreePath* row = NULL;
	GList* _tmp11_ = NULL;
	gconstpointer _tmp12_ = NULL;
	GtkTreePath* _tmp13_ = NULL;
	GtkTreePath* startp = NULL;
	GtkTreePath* endp = NULL;
	GitgHistoryPaned* _tmp14_ = NULL;
	GitgCommitListView* _tmp15_ = NULL;
	GitgCommitListView* _tmp16_ = NULL;
	GtkTreePath* _tmp17_ = NULL;
	GtkTreePath* _tmp18_ = NULL;
	gboolean _tmp19_ = FALSE;
#line 197 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (self != NULL);
#line 199 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = self->priv->d_main;
#line 199 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp0_ == NULL) {
#line 201 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		return;
#line 1112 "gitg-history.c"
	}
#line 204 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = self->priv->d_main;
#line 204 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp2_ = gitg_history_paned_get_commit_list_view (_tmp1_);
#line 204 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp3_ = _tmp2_;
#line 204 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp4_ = gtk_tree_view_get_selection ((GtkTreeView*) _tmp3_);
#line 204 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp5_ = _g_object_ref0 (_tmp4_);
#line 204 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	sel = _tmp5_;
#line 207 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp6_ = sel;
#line 207 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp8_ = gtk_tree_selection_get_selected_rows (_tmp6_, &_tmp7_);
#line 207 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (m);
#line 207 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp9_ = _g_object_ref0 (_tmp7_);
#line 207 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	m = _tmp9_;
#line 207 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	rows = _tmp8_;
#line 209 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp10_ = rows;
#line 209 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp10_ == NULL) {
#line 211 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		__g_list_free__gtk_tree_path_free0_0 (rows);
#line 211 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (m);
#line 211 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (sel);
#line 211 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		return;
#line 1150 "gitg-history.c"
	}
#line 214 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp11_ = rows;
#line 214 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp12_ = _tmp11_->data;
#line 214 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp13_ = _gtk_tree_path_copy0 ((GtkTreePath*) _tmp12_);
#line 214 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	row = _tmp13_;
#line 219 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp14_ = self->priv->d_main;
#line 219 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp15_ = gitg_history_paned_get_commit_list_view (_tmp14_);
#line 219 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp16_ = _tmp15_;
#line 219 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp19_ = gtk_tree_view_get_visible_range ((GtkTreeView*) _tmp16_, &_tmp17_, &_tmp18_);
#line 219 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_gtk_tree_path_free0 (startp);
#line 219 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	startp = _tmp17_;
#line 219 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_gtk_tree_path_free0 (endp);
#line 219 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	endp = _tmp18_;
#line 219 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp19_) {
#line 1178 "gitg-history.c"
		gboolean _tmp20_ = FALSE;
		GtkTreePath* _tmp21_ = NULL;
		GtkTreePath* _tmp22_ = NULL;
		gint _tmp23_ = 0;
#line 221 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp21_ = row;
#line 221 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp22_ = startp;
#line 221 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp23_ = gtk_tree_path_compare (_tmp21_, _tmp22_);
#line 221 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		if (_tmp23_ < 0) {
#line 221 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp20_ = TRUE;
#line 1193 "gitg-history.c"
		} else {
			GtkTreePath* _tmp24_ = NULL;
			GtkTreePath* _tmp25_ = NULL;
			gint _tmp26_ = 0;
#line 221 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp24_ = row;
#line 221 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp25_ = endp;
#line 221 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp26_ = gtk_tree_path_compare (_tmp24_, _tmp25_);
#line 221 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp20_ = _tmp26_ > 0;
#line 1206 "gitg-history.c"
		}
#line 221 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		if (_tmp20_) {
#line 1210 "gitg-history.c"
			GitgHistoryPaned* _tmp27_ = NULL;
			GitgCommitListView* _tmp28_ = NULL;
			GitgCommitListView* _tmp29_ = NULL;
			GtkTreePath* _tmp30_ = NULL;
#line 223 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp27_ = self->priv->d_main;
#line 223 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp28_ = gitg_history_paned_get_commit_list_view (_tmp27_);
#line 223 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp29_ = _tmp28_;
#line 223 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp30_ = row;
#line 223 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			gtk_tree_view_scroll_to_cell ((GtkTreeView*) _tmp29_, _tmp30_, NULL, TRUE, (gfloat) 0, (gfloat) 0);
#line 1225 "gitg-history.c"
		}
	}
#line 197 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_gtk_tree_path_free0 (endp);
#line 197 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_gtk_tree_path_free0 (startp);
#line 197 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_gtk_tree_path_free0 (row);
#line 197 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	__g_list_free__gtk_tree_path_free0_0 (rows);
#line 197 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (m);
#line 197 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (sel);
#line 1240 "gitg-history.c"
}


static void gitg_history_activity_on_commit_model_finished (GitgHistoryActivity* self, GitgCommitModel* model) {
	gulong _tmp0_ = 0UL;
#line 228 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (self != NULL);
#line 228 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (model != NULL);
#line 230 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = self->priv->d_insertsig;
#line 230 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp0_ != ((gulong) 0)) {
#line 1254 "gitg-history.c"
		GitgCommitModel* _tmp1_ = NULL;
		gulong _tmp2_ = 0UL;
#line 232 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp1_ = self->priv->d_commit_list_model;
#line 232 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp2_ = self->priv->d_insertsig;
#line 232 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_signal_handler_disconnect ((GObject*) _tmp1_, _tmp2_);
#line 233 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		self->priv->d_insertsig = (gulong) 0;
#line 1265 "gitg-history.c"
	}
#line 236 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_scroll_into_view (self);
#line 1269 "gitg-history.c"
}


static gboolean gitg_history_activity_real_is_default_for (GitgExtActivity* base, const gchar* action) {
	GitgHistoryActivity * self;
	gboolean result = FALSE;
	gboolean _tmp0_ = FALSE;
	const gchar* _tmp1_ = NULL;
#line 272 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = (GitgHistoryActivity*) base;
#line 272 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_val_if_fail (action != NULL, FALSE);
#line 274 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = action;
#line 274 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (g_strcmp0 (_tmp1_, "") == 0) {
#line 274 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp0_ = TRUE;
#line 1288 "gitg-history.c"
	} else {
		const gchar* _tmp2_ = NULL;
#line 274 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp2_ = action;
#line 274 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp0_ = g_strcmp0 (_tmp2_, "history") == 0;
#line 1295 "gitg-history.c"
	}
#line 274 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	result = _tmp0_;
#line 274 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 1301 "gitg-history.c"
}


static gint gitg_history_activity_real_negotiate_order (GitgExtUIElement* base, GitgExtUIElement* other) {
	GitgHistoryActivity * self;
	gint result = 0;
#line 282 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = (GitgHistoryActivity*) base;
#line 282 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_val_if_fail (other != NULL, 0);
#line 284 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	result = -1;
#line 284 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 1316 "gitg-history.c"
}


static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int str_array_length1) {
	gchar* result = NULL;
	const gchar* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
	gchar** _tmp3_ = NULL;
	gint _tmp3__length1 = 0;
#line 964 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp0_ = separator;
#line 964 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	if (_tmp0_ == NULL) {
#line 965 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		separator = "";
#line 1333 "gitg-history.c"
	}
#line 967 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp3_ = str_array;
#line 967 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp3__length1 = str_array_length1;
#line 967 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	if (_tmp3_ != NULL) {
#line 967 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp2_ = TRUE;
#line 1343 "gitg-history.c"
	} else {
		gchar** _tmp4_ = NULL;
		gint _tmp4__length1 = 0;
#line 967 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp4_ = str_array;
#line 967 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp4__length1 = str_array_length1;
#line 967 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp2_ = _tmp4__length1 > 0;
#line 1353 "gitg-history.c"
	}
#line 967 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	if (_tmp2_) {
#line 967 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp1_ = TRUE;
#line 1359 "gitg-history.c"
	} else {
		gboolean _tmp5_ = FALSE;
		gchar** _tmp6_ = NULL;
		gint _tmp6__length1 = 0;
#line 967 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp6_ = str_array;
#line 967 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp6__length1 = str_array_length1;
#line 967 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		if (_tmp6__length1 == (-1)) {
#line 1370 "gitg-history.c"
			gchar** _tmp7_ = NULL;
			gint _tmp7__length1 = 0;
			const gchar* _tmp8_ = NULL;
#line 967 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
			_tmp7_ = str_array;
#line 967 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
			_tmp7__length1 = str_array_length1;
#line 967 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
			_tmp8_ = _tmp7_[0];
#line 967 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
			_tmp5_ = _tmp8_ != NULL;
#line 1382 "gitg-history.c"
		} else {
#line 967 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
			_tmp5_ = FALSE;
#line 1386 "gitg-history.c"
		}
#line 967 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp1_ = _tmp5_;
#line 1390 "gitg-history.c"
	}
#line 967 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	if (_tmp1_) {
#line 1394 "gitg-history.c"
		gint i = 0;
		gsize len = 0UL;
		gint _tmp31_ = 0;
		gint _tmp33_ = 0;
		gint _tmp34_ = 0;
		gsize _tmp35_ = 0UL;
		const gchar* _tmp36_ = NULL;
		gint _tmp37_ = 0;
		gint _tmp38_ = 0;
		gint _tmp39_ = 0;
		const gchar* res = NULL;
		gsize _tmp40_ = 0UL;
		void* _tmp41_ = NULL;
		void* ptr = NULL;
		const gchar* _tmp42_ = NULL;
		gchar** _tmp43_ = NULL;
		gint _tmp43__length1 = 0;
		const gchar* _tmp44_ = NULL;
		void* _tmp45_ = NULL;
		const gchar* _tmp62_ = NULL;
#line 969 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		len = (gsize) 1;
#line 1417 "gitg-history.c"
		{
			gboolean _tmp9_ = FALSE;
#line 970 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
			i = 0;
#line 970 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
			_tmp9_ = TRUE;
#line 970 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
			while (TRUE) {
#line 1426 "gitg-history.c"
				gboolean _tmp11_ = FALSE;
				gboolean _tmp12_ = FALSE;
				gchar** _tmp13_ = NULL;
				gint _tmp13__length1 = 0;
				gint _tmp21_ = 0;
				gchar** _tmp22_ = NULL;
				gint _tmp22__length1 = 0;
				gint _tmp23_ = 0;
				const gchar* _tmp24_ = NULL;
				gsize _tmp30_ = 0UL;
#line 970 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				if (!_tmp9_) {
#line 1439 "gitg-history.c"
					gint _tmp10_ = 0;
#line 970 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					_tmp10_ = i;
#line 970 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					i = _tmp10_ + 1;
#line 1445 "gitg-history.c"
				}
#line 970 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				_tmp9_ = FALSE;
#line 970 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				_tmp13_ = str_array;
#line 970 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				_tmp13__length1 = str_array_length1;
#line 970 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				if (_tmp13__length1 != (-1)) {
#line 1455 "gitg-history.c"
					gint _tmp14_ = 0;
					gchar** _tmp15_ = NULL;
					gint _tmp15__length1 = 0;
#line 970 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					_tmp14_ = i;
#line 970 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					_tmp15_ = str_array;
#line 970 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					_tmp15__length1 = str_array_length1;
#line 970 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					_tmp12_ = _tmp14_ < _tmp15__length1;
#line 1467 "gitg-history.c"
				} else {
#line 970 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					_tmp12_ = FALSE;
#line 1471 "gitg-history.c"
				}
#line 970 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				if (_tmp12_) {
#line 970 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					_tmp11_ = TRUE;
#line 1477 "gitg-history.c"
				} else {
					gboolean _tmp16_ = FALSE;
					gchar** _tmp17_ = NULL;
					gint _tmp17__length1 = 0;
#line 970 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					_tmp17_ = str_array;
#line 970 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					_tmp17__length1 = str_array_length1;
#line 970 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					if (_tmp17__length1 == (-1)) {
#line 1488 "gitg-history.c"
						gchar** _tmp18_ = NULL;
						gint _tmp18__length1 = 0;
						gint _tmp19_ = 0;
						const gchar* _tmp20_ = NULL;
#line 970 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
						_tmp18_ = str_array;
#line 970 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
						_tmp18__length1 = str_array_length1;
#line 970 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
						_tmp19_ = i;
#line 970 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
						_tmp20_ = _tmp18_[_tmp19_];
#line 970 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
						_tmp16_ = _tmp20_ != NULL;
#line 1503 "gitg-history.c"
					} else {
#line 970 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
						_tmp16_ = FALSE;
#line 1507 "gitg-history.c"
					}
#line 970 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					_tmp11_ = _tmp16_;
#line 1511 "gitg-history.c"
				}
#line 970 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				if (!_tmp11_) {
#line 970 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					break;
#line 1517 "gitg-history.c"
				}
#line 971 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				_tmp22_ = str_array;
#line 971 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				_tmp22__length1 = str_array_length1;
#line 971 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				_tmp23_ = i;
#line 971 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				_tmp24_ = _tmp22_[_tmp23_];
#line 971 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				if (_tmp24_ != NULL) {
#line 1529 "gitg-history.c"
					gchar** _tmp25_ = NULL;
					gint _tmp25__length1 = 0;
					gint _tmp26_ = 0;
					const gchar* _tmp27_ = NULL;
					gint _tmp28_ = 0;
					gint _tmp29_ = 0;
#line 971 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					_tmp25_ = str_array;
#line 971 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					_tmp25__length1 = str_array_length1;
#line 971 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					_tmp26_ = i;
#line 971 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					_tmp27_ = _tmp25_[_tmp26_];
#line 971 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					_tmp28_ = strlen ((const gchar*) _tmp27_);
#line 971 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					_tmp29_ = _tmp28_;
#line 971 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					_tmp21_ = _tmp29_;
#line 1550 "gitg-history.c"
				} else {
#line 971 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					_tmp21_ = 0;
#line 1554 "gitg-history.c"
				}
#line 971 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				_tmp30_ = len;
#line 971 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				len = _tmp30_ + _tmp21_;
#line 1560 "gitg-history.c"
			}
		}
#line 973 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp31_ = i;
#line 973 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		if (_tmp31_ == 0) {
#line 1567 "gitg-history.c"
			gchar* _tmp32_ = NULL;
#line 974 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
			_tmp32_ = g_strdup ("");
#line 974 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
			result = _tmp32_;
#line 974 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
			return result;
#line 1575 "gitg-history.c"
		}
#line 976 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp33_ = i;
#line 976 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		str_array_length1 = _tmp33_;
#line 976 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp34_ = str_array_length1;
#line 977 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp35_ = len;
#line 977 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp36_ = separator;
#line 977 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp37_ = strlen ((const gchar*) _tmp36_);
#line 977 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp38_ = _tmp37_;
#line 977 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp39_ = i;
#line 977 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		len = _tmp35_ + (_tmp38_ * (_tmp39_ - 1));
#line 979 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp40_ = len;
#line 979 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp41_ = g_malloc (_tmp40_);
#line 979 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		res = _tmp41_;
#line 980 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp42_ = res;
#line 980 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp43_ = str_array;
#line 980 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp43__length1 = str_array_length1;
#line 980 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp44_ = _tmp43_[0];
#line 980 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp45_ = g_stpcpy ((void*) _tmp42_, (const gchar*) _tmp44_);
#line 980 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		ptr = _tmp45_;
#line 1613 "gitg-history.c"
		{
			gboolean _tmp46_ = FALSE;
#line 981 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
			i = 1;
#line 981 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
			_tmp46_ = TRUE;
#line 981 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
			while (TRUE) {
#line 1622 "gitg-history.c"
				gint _tmp48_ = 0;
				gchar** _tmp49_ = NULL;
				gint _tmp49__length1 = 0;
				void* _tmp50_ = NULL;
				const gchar* _tmp51_ = NULL;
				void* _tmp52_ = NULL;
				const gchar* _tmp53_ = NULL;
				gchar** _tmp54_ = NULL;
				gint _tmp54__length1 = 0;
				gint _tmp55_ = 0;
				const gchar* _tmp56_ = NULL;
				void* _tmp60_ = NULL;
				void* _tmp61_ = NULL;
#line 981 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				if (!_tmp46_) {
#line 1638 "gitg-history.c"
					gint _tmp47_ = 0;
#line 981 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					_tmp47_ = i;
#line 981 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					i = _tmp47_ + 1;
#line 1644 "gitg-history.c"
				}
#line 981 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				_tmp46_ = FALSE;
#line 981 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				_tmp48_ = i;
#line 981 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				_tmp49_ = str_array;
#line 981 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				_tmp49__length1 = str_array_length1;
#line 981 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				if (!(_tmp48_ < _tmp49__length1)) {
#line 981 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					break;
#line 1658 "gitg-history.c"
				}
#line 982 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				_tmp50_ = ptr;
#line 982 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				_tmp51_ = separator;
#line 982 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				_tmp52_ = g_stpcpy (_tmp50_, (const gchar*) _tmp51_);
#line 982 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				ptr = _tmp52_;
#line 983 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				_tmp54_ = str_array;
#line 983 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				_tmp54__length1 = str_array_length1;
#line 983 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				_tmp55_ = i;
#line 983 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				_tmp56_ = _tmp54_[_tmp55_];
#line 983 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				if (_tmp56_ != NULL) {
#line 1678 "gitg-history.c"
					gchar** _tmp57_ = NULL;
					gint _tmp57__length1 = 0;
					gint _tmp58_ = 0;
					const gchar* _tmp59_ = NULL;
#line 983 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					_tmp57_ = str_array;
#line 983 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					_tmp57__length1 = str_array_length1;
#line 983 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					_tmp58_ = i;
#line 983 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					_tmp59_ = _tmp57_[_tmp58_];
#line 983 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					_tmp53_ = (const gchar*) _tmp59_;
#line 1693 "gitg-history.c"
				} else {
#line 983 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
					_tmp53_ = "";
#line 1697 "gitg-history.c"
				}
#line 983 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				_tmp60_ = ptr;
#line 983 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				_tmp61_ = g_stpcpy (_tmp60_, _tmp53_);
#line 983 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
				ptr = _tmp61_;
#line 1705 "gitg-history.c"
			}
		}
#line 986 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp62_ = res;
#line 986 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		res = NULL;
#line 986 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		result = (gchar*) _tmp62_;
#line 986 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		return result;
#line 1716 "gitg-history.c"
	} else {
		gchar* _tmp63_ = NULL;
#line 988 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp63_ = g_strdup ("");
#line 988 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		result = _tmp63_;
#line 988 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		return result;
#line 1725 "gitg-history.c"
	}
}


static void gitg_history_activity_store_changed_mainline (GitgHistoryActivity* self) {
	GitgRepository* repo = NULL;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
	GitgExtApplication* _tmp2_ = NULL;
	GitgRepository* _tmp3_ = NULL;
	GitgRepository* _tmp4_ = NULL;
	GitgRepository* _tmp5_ = NULL;
	GitgRepository* _tmp6_ = NULL;
	GgitConfig* config = NULL;
	GgitConfig* _tmp11_ = NULL;
	gchar** _tmp12_ = NULL;
	gint _tmp12__length1 = 0;
	gchar* _tmp13_ = NULL;
	gchar* _tmp14_ = NULL;
	GError * _inner_error_ = NULL;
#line 287 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (self != NULL);
#line 289 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 289 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = _tmp0_;
#line 289 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp2_ = _tmp1_;
#line 289 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp3_ = gitg_ext_application_get_repository (_tmp2_);
#line 289 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp4_ = _tmp3_;
#line 289 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp5_ = _tmp4_;
#line 289 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp2_);
#line 289 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	repo = _tmp5_;
#line 291 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp6_ = repo;
#line 291 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp6_ == NULL) {
#line 293 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (repo);
#line 293 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		return;
#line 1772 "gitg-history.c"
	}
	{
		GgitConfig* _tmp7_ = NULL;
		GitgRepository* _tmp8_ = NULL;
		GgitConfig* _tmp9_ = NULL;
		GgitConfig* _tmp10_ = NULL;
#line 300 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp8_ = repo;
#line 300 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp9_ = ggit_repository_get_config ((GgitRepository*) _tmp8_, &_inner_error_);
#line 300 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp7_ = _tmp9_;
#line 300 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1787 "gitg-history.c"
			goto __catch80_g_error;
		}
#line 300 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp10_ = _tmp7_;
#line 300 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp7_ = NULL;
#line 300 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (config);
#line 300 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		config = _tmp10_;
#line 298 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (_tmp7_);
#line 1800 "gitg-history.c"
	}
	goto __finally80;
	__catch80_g_error:
	{
#line 298 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_clear_error (&_inner_error_);
#line 298 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_inner_error_ = NULL;
#line 301 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (config);
#line 301 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (repo);
#line 301 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		return;
#line 1815 "gitg-history.c"
	}
	__finally80:
#line 298 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 298 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (config);
#line 298 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (repo);
#line 298 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.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 298 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_clear_error (&_inner_error_);
#line 298 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		return;
#line 1830 "gitg-history.c"
	}
#line 303 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp11_ = config;
#line 303 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp12_ = self->priv->d_mainline;
#line 303 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp12__length1 = self->priv->d_mainline_length1;
#line 303 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp13_ = _vala_g_strjoinv (",", _tmp12_, _tmp12__length1);
#line 303 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp14_ = _tmp13_;
#line 303 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_store_mainline (self, _tmp11_, _tmp14_);
#line 303 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_free0 (_tmp14_);
#line 287 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (config);
#line 287 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (repo);
#line 1850 "gitg-history.c"
}


static void gitg_history_activity_store_mainline (GitgHistoryActivity* self, GgitConfig* config, const gchar* mainline) {
	GgitConfig* _tmp0_ = NULL;
	GError * _inner_error_ = NULL;
#line 306 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (self != NULL);
#line 306 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (mainline != NULL);
#line 308 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = config;
#line 308 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp0_ != NULL) {
#line 1865 "gitg-history.c"
		{
			GgitConfig* _tmp1_ = NULL;
			const gchar* _tmp2_ = NULL;
#line 312 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp1_ = config;
#line 312 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp2_ = mainline;
#line 312 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			ggit_config_set_string (_tmp1_, "gitg.mainline", _tmp2_, &_inner_error_);
#line 312 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1877 "gitg-history.c"
				goto __catch81_g_error;
			}
		}
		goto __finally81;
		__catch81_g_error:
		{
			GError* e = NULL;
			FILE* _tmp3_ = NULL;
			GError* _tmp4_ = NULL;
			const gchar* _tmp5_ = NULL;
#line 310 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			e = _inner_error_;
#line 310 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_inner_error_ = NULL;
#line 316 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp3_ = stderr;
#line 316 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp4_ = e;
#line 316 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp5_ = _tmp4_->message;
#line 316 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			fprintf (_tmp3_, "Failed to set gitg.mainline: %s\n", _tmp5_);
#line 310 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_g_error_free0 (e);
#line 1902 "gitg-history.c"
		}
		__finally81:
#line 310 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 310 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.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 310 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			g_clear_error (&_inner_error_);
#line 310 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			return;
#line 1913 "gitg-history.c"
		}
	}
}


static void _vala_array_add13 (gchar*** array, int* length, int* size, gchar* value) {
#line 365 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if ((*length) == (*size)) {
#line 365 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 365 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		*array = g_renew (gchar*, *array, (*size) + 1);
#line 1926 "gitg-history.c"
	}
#line 365 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	(*array)[(*length)++] = value;
#line 365 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	(*array)[*length] = NULL;
#line 1932 "gitg-history.c"
}


static void gitg_history_activity_reload_mainline (GitgHistoryActivity* self) {
	GeeHashSet* uniq = NULL;
	GeeHashSet* _tmp0_ = NULL;
	gchar** _tmp1_ = NULL;
	GitgRepository* repository = NULL;
	GitgExtApplication* _tmp2_ = NULL;
	GitgExtApplication* _tmp3_ = NULL;
	GitgExtApplication* _tmp4_ = NULL;
	GitgRepository* _tmp5_ = NULL;
	GitgRepository* _tmp6_ = NULL;
	GitgRepository* _tmp7_ = NULL;
	GitgRepository* _tmp8_ = NULL;
	GgitConfig* config = NULL;
	gchar** ref_names = NULL;
	gchar** _tmp9_ = NULL;
	gint ref_names_length1 = 0;
	gint _ref_names_size_ = 0;
	gchar** _tmp21_ = NULL;
	gint _tmp21__length1 = 0;
	GgitConfig* _tmp42_ = NULL;
	gchar** _tmp43_ = NULL;
	gint _tmp43__length1 = 0;
	gchar* _tmp44_ = NULL;
	gchar* _tmp45_ = NULL;
	GError * _inner_error_ = NULL;
#line 321 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (self != NULL);
#line 323 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL, NULL, NULL, NULL);
#line 323 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	uniq = _tmp0_;
#line 325 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = g_new0 (gchar*, 0 + 1);
#line 325 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self->priv->d_mainline = (_vala_array_free (self->priv->d_mainline, self->priv->d_mainline_length1, (GDestroyNotify) g_free), NULL);
#line 325 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self->priv->d_mainline = _tmp1_;
#line 325 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self->priv->d_mainline_length1 = 0;
#line 325 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self->priv->_d_mainline_size_ = self->priv->d_mainline_length1;
#line 327 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp2_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 327 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp3_ = _tmp2_;
#line 327 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp4_ = _tmp3_;
#line 327 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp5_ = gitg_ext_application_get_repository (_tmp4_);
#line 327 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp6_ = _tmp5_;
#line 327 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp7_ = _tmp6_;
#line 327 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp4_);
#line 327 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	repository = _tmp7_;
#line 329 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp8_ = repository;
#line 329 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp8_ == NULL) {
#line 331 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (repository);
#line 331 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (uniq);
#line 331 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		return;
#line 2003 "gitg-history.c"
	}
#line 334 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	config = NULL;
#line 335 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp9_ = g_new0 (gchar*, 0 + 1);
#line 335 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	ref_names = _tmp9_;
#line 335 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	ref_names_length1 = 0;
#line 335 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_ref_names_size_ = ref_names_length1;
#line 2015 "gitg-history.c"
	{
		GgitConfig* _tmp10_ = NULL;
		GitgRepository* _tmp11_ = NULL;
		GgitConfig* _tmp12_ = NULL;
		GgitConfig* _tmp13_ = NULL;
		const gchar* _tmp14_ = NULL;
		GgitConfig* _tmp15_ = NULL;
		const gchar* _tmp16_ = NULL;
		gchar** _tmp17_ = NULL;
		gchar** _tmp18_ = NULL;
#line 339 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp11_ = repository;
#line 339 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp12_ = ggit_repository_get_config ((GgitRepository*) _tmp11_, &_inner_error_);
#line 339 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp10_ = _tmp12_;
#line 339 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2034 "gitg-history.c"
			goto __catch82_g_error;
		}
#line 339 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp13_ = _tmp10_;
#line 339 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp10_ = NULL;
#line 339 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (config);
#line 339 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		config = _tmp13_;
#line 340 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp15_ = config;
#line 340 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp16_ = ggit_config_get_string (_tmp15_, "gitg.mainline", &_inner_error_);
#line 340 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp14_ = _tmp16_;
#line 340 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 340 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_g_object_unref0 (_tmp10_);
#line 2055 "gitg-history.c"
			goto __catch82_g_error;
		}
#line 340 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp18_ = _tmp17_ = g_strsplit (_tmp14_, ",", 0);
#line 340 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		ref_names = (_vala_array_free (ref_names, ref_names_length1, (GDestroyNotify) g_free), NULL);
#line 340 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		ref_names = _tmp18_;
#line 340 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		ref_names_length1 = _vala_array_length (_tmp17_);
#line 340 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_ref_names_size_ = ref_names_length1;
#line 337 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (_tmp10_);
#line 2070 "gitg-history.c"
	}
	goto __finally82;
	__catch82_g_error:
	{
		gchar* _tmp19_ = NULL;
		gchar** _tmp20_ = NULL;
#line 337 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_clear_error (&_inner_error_);
#line 337 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_inner_error_ = NULL;
#line 344 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp19_ = g_strdup ("refs/heads/master");
#line 344 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp20_ = g_new0 (gchar*, 1 + 1);
#line 344 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp20_[0] = _tmp19_;
#line 344 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		ref_names = (_vala_array_free (ref_names, ref_names_length1, (GDestroyNotify) g_free), NULL);
#line 344 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		ref_names = _tmp20_;
#line 344 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		ref_names_length1 = 1;
#line 344 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_ref_names_size_ = ref_names_length1;
#line 2095 "gitg-history.c"
	}
	__finally82:
#line 337 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 337 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		ref_names = (_vala_array_free (ref_names, ref_names_length1, (GDestroyNotify) g_free), NULL);
#line 337 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (config);
#line 337 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (repository);
#line 337 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (uniq);
#line 337 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.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 337 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_clear_error (&_inner_error_);
#line 337 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		return;
#line 2114 "gitg-history.c"
	}
#line 347 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp21_ = ref_names;
#line 347 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp21__length1 = ref_names_length1;
#line 2120 "gitg-history.c"
	{
		gchar** name_collection = NULL;
		gint name_collection_length1 = 0;
		gint _name_collection_size_ = 0;
		gint name_it = 0;
#line 347 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		name_collection = _tmp21_;
#line 347 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		name_collection_length1 = _tmp21__length1;
#line 347 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		for (name_it = 0; name_it < _tmp21__length1; name_it = name_it + 1) {
#line 2132 "gitg-history.c"
			gchar* _tmp22_ = NULL;
			gchar* name = NULL;
#line 347 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp22_ = g_strdup (name_collection[name_it]);
#line 347 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			name = _tmp22_;
#line 2139 "gitg-history.c"
			{
				GitgRef* r = NULL;
				GgitOId* id = NULL;
				GitgRef* _tmp32_ = NULL;
				GgitOId* _tmp33_ = NULL;
				gboolean _tmp34_ = FALSE;
				GgitOId* _tmp35_ = NULL;
				{
					GitgRef* _tmp23_ = NULL;
					GitgRepository* _tmp24_ = NULL;
					const gchar* _tmp25_ = NULL;
					GitgRef* _tmp26_ = NULL;
					GitgRef* _tmp27_ = NULL;
#line 353 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp24_ = repository;
#line 353 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp25_ = name;
#line 353 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp26_ = gitg_repository_lookup_reference (_tmp24_, _tmp25_, &_inner_error_);
#line 353 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp23_ = _tmp26_;
#line 353 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2163 "gitg-history.c"
						goto __catch83_g_error;
					}
#line 353 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp27_ = _tmp23_;
#line 353 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp23_ = NULL;
#line 353 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_g_object_unref0 (r);
#line 353 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					r = _tmp27_;
#line 351 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_g_object_unref0 (_tmp23_);
#line 2176 "gitg-history.c"
				}
				goto __finally83;
				__catch83_g_error:
				{
					GError* e = NULL;
					FILE* _tmp28_ = NULL;
					const gchar* _tmp29_ = NULL;
					GError* _tmp30_ = NULL;
					const gchar* _tmp31_ = NULL;
#line 351 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					e = _inner_error_;
#line 351 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_inner_error_ = NULL;
#line 357 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp28_ = stderr;
#line 357 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp29_ = name;
#line 357 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp30_ = e;
#line 357 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp31_ = _tmp30_->message;
#line 357 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					fprintf (_tmp28_, "Failed to lookup reference (%s): %s\n", _tmp29_, _tmp31_);
#line 358 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_g_error_free0 (e);
#line 358 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_g_object_unref0 (r);
#line 358 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_g_free0 (name);
#line 358 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					continue;
#line 2208 "gitg-history.c"
				}
				__finally83:
#line 351 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 351 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_g_object_unref0 (r);
#line 351 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_g_free0 (name);
#line 351 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					ref_names = (_vala_array_free (ref_names, ref_names_length1, (GDestroyNotify) g_free), NULL);
#line 351 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_g_object_unref0 (config);
#line 351 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_g_object_unref0 (repository);
#line 351 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_g_object_unref0 (uniq);
#line 351 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.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 351 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					g_clear_error (&_inner_error_);
#line 351 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					return;
#line 2231 "gitg-history.c"
				}
#line 361 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp32_ = r;
#line 361 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp33_ = gitg_history_activity_id_for_ref (self, (GgitRef*) _tmp32_);
#line 361 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				id = _tmp33_;
#line 363 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp35_ = id;
#line 363 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				if (_tmp35_ != NULL) {
#line 2243 "gitg-history.c"
					GeeHashSet* _tmp36_ = NULL;
					const gchar* _tmp37_ = NULL;
					gboolean _tmp38_ = FALSE;
#line 363 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp36_ = uniq;
#line 363 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp37_ = name;
#line 363 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp38_ = gee_abstract_collection_add ((GeeAbstractCollection*) _tmp36_, _tmp37_);
#line 363 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp34_ = _tmp38_;
#line 2255 "gitg-history.c"
				} else {
#line 363 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp34_ = FALSE;
#line 2259 "gitg-history.c"
				}
#line 363 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				if (_tmp34_) {
#line 2263 "gitg-history.c"
					gchar** _tmp39_ = NULL;
					gint _tmp39__length1 = 0;
					const gchar* _tmp40_ = NULL;
					gchar* _tmp41_ = NULL;
#line 365 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp39_ = self->priv->d_mainline;
#line 365 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp39__length1 = self->priv->d_mainline_length1;
#line 365 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp40_ = name;
#line 365 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp41_ = g_strdup (_tmp40_);
#line 365 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_vala_array_add13 (&self->priv->d_mainline, &self->priv->d_mainline_length1, &self->priv->_d_mainline_size_, _tmp41_);
#line 2278 "gitg-history.c"
				}
#line 347 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				__vala_GgitOId_free0 (id);
#line 347 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_g_object_unref0 (r);
#line 347 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_g_free0 (name);
#line 2286 "gitg-history.c"
			}
		}
	}
#line 369 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp42_ = config;
#line 369 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp43_ = self->priv->d_mainline;
#line 369 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp43__length1 = self->priv->d_mainline_length1;
#line 369 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp44_ = _vala_g_strjoinv (",", _tmp43_, _tmp43__length1);
#line 369 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp45_ = _tmp44_;
#line 369 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_store_mainline (self, _tmp42_, _tmp45_);
#line 369 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_free0 (_tmp45_);
#line 321 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	ref_names = (_vala_array_free (ref_names, ref_names_length1, (GDestroyNotify) g_free), NULL);
#line 321 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (config);
#line 321 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (repository);
#line 321 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (uniq);
#line 2312 "gitg-history.c"
}


static Block44Data* block44_data_ref (Block44Data* _data44_) {
#line 372 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_atomic_int_inc (&_data44_->_ref_count_);
#line 372 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return _data44_;
#line 2321 "gitg-history.c"
}


static void block44_data_unref (void * _userdata_) {
	Block44Data* _data44_;
	_data44_ = (Block44Data*) _userdata_;
#line 372 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (g_atomic_int_dec_and_test (&_data44_->_ref_count_)) {
#line 2330 "gitg-history.c"
		GitgHistoryActivity* self;
#line 372 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		self = _data44_->self;
#line 372 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_gtk_tree_path_free0 (_data44_->endp);
#line 372 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_gtk_tree_path_free0 (_data44_->startp);
#line 372 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (_data44_->view);
#line 372 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (self);
#line 372 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_slice_free (Block44Data, _data44_);
#line 2344 "gitg-history.c"
	}
}


static void __lambda88_ (Block44Data* _data44_, GtkTreeModel* model, GtkTreePath* path, GtkTreeIter* iter) {
	GitgHistoryActivity* self;
	GitgCommit* c = NULL;
	GitgCommitModel* _tmp0_ = NULL;
	GtkTreeIter _tmp1_ = {0};
	GitgCommit* _tmp2_ = NULL;
	GitgCommit* _tmp3_ = NULL;
#line 388 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = _data44_->self;
#line 388 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (model != NULL);
#line 388 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (path != NULL);
#line 388 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (iter != NULL);
#line 389 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = self->priv->d_commit_list_model;
#line 389 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = *iter;
#line 389 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp2_ = gitg_commit_model_commit_from_iter (_tmp0_, &_tmp1_);
#line 389 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	c = _tmp2_;
#line 391 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp3_ = c;
#line 391 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp3_ != NULL) {
#line 2376 "gitg-history.c"
		GeeHashSet* _tmp4_ = NULL;
		GitgCommit* _tmp5_ = NULL;
		GgitOId* _tmp6_ = NULL;
		GgitOId* _tmp7_ = NULL;
		gboolean _tmp8_ = FALSE;
		GgitOId* _tmp9_ = NULL;
#line 393 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp4_ = self->priv->d_selected;
#line 393 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp5_ = c;
#line 393 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp6_ = ggit_object_get_id ((GgitObject*) _tmp5_);
#line 393 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp7_ = _tmp6_;
#line 393 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		gee_abstract_collection_add ((GeeAbstractCollection*) _tmp4_, _tmp7_);
#line 393 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		__vala_GgitOId_free0 (_tmp7_);
#line 395 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp9_ = self->priv->d_scroll_to;
#line 395 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		if (_tmp9_ == NULL) {
#line 2399 "gitg-history.c"
			gboolean _tmp10_ = FALSE;
#line 396 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			if (!_data44_->isvis) {
#line 396 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp10_ = TRUE;
#line 2405 "gitg-history.c"
			} else {
				gboolean _tmp11_ = FALSE;
				GtkTreePath* _tmp12_ = NULL;
				gint _tmp13_ = 0;
#line 396 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp12_ = path;
#line 396 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp13_ = gtk_tree_path_compare (_data44_->startp, _tmp12_);
#line 396 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				if (_tmp13_ <= 0) {
#line 2416 "gitg-history.c"
					GtkTreePath* _tmp14_ = NULL;
					gint _tmp15_ = 0;
#line 396 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp14_ = path;
#line 396 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp15_ = gtk_tree_path_compare (_data44_->endp, _tmp14_);
#line 396 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp11_ = _tmp15_ >= 0;
#line 2425 "gitg-history.c"
				} else {
#line 396 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp11_ = FALSE;
#line 2429 "gitg-history.c"
				}
#line 396 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp10_ = _tmp11_;
#line 2433 "gitg-history.c"
			}
#line 396 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp8_ = _tmp10_;
#line 2437 "gitg-history.c"
		} else {
#line 395 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp8_ = FALSE;
#line 2441 "gitg-history.c"
		}
#line 395 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		if (_tmp8_) {
#line 2445 "gitg-history.c"
			GitgCommit* _tmp32_ = NULL;
			GgitOId* _tmp33_ = NULL;
#line 398 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			if (_data44_->isvis) {
#line 2450 "gitg-history.c"
				GdkRectangle rect = {0};
				GdkRectangle visrect = {0};
				GtkTreePath* _tmp16_ = NULL;
				GdkRectangle _tmp17_ = {0};
				GdkRectangle _tmp18_ = {0};
				gint x = 0;
				gint y = 0;
				GdkRectangle _tmp19_ = {0};
				gint _tmp20_ = 0;
				GdkRectangle _tmp21_ = {0};
				gint _tmp22_ = 0;
				gint _tmp23_ = 0;
				gint _tmp24_ = 0;
				GdkRectangle _tmp25_ = {0};
				gint _tmp26_ = 0;
				GdkRectangle _tmp27_ = {0};
				gint _tmp28_ = 0;
				gint _tmp29_ = 0;
				GdkRectangle _tmp30_ = {0};
				gint _tmp31_ = 0;
#line 403 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp16_ = path;
#line 403 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				gtk_tree_view_get_cell_area ((GtkTreeView*) _data44_->view, _tmp16_, NULL, &_tmp17_);
#line 403 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				rect = _tmp17_;
#line 404 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				gtk_tree_view_get_visible_rect ((GtkTreeView*) _data44_->view, &_tmp18_);
#line 404 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				visrect = _tmp18_;
#line 408 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp19_ = visrect;
#line 408 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp20_ = _tmp19_.x;
#line 408 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp21_ = visrect;
#line 408 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp22_ = _tmp21_.y;
#line 408 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				gtk_tree_view_convert_tree_to_bin_window_coords ((GtkTreeView*) _data44_->view, _tmp20_, _tmp22_, &_tmp23_, &_tmp24_);
#line 408 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				x = _tmp23_;
#line 408 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				y = _tmp24_;
#line 416 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp25_ = rect;
#line 416 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp26_ = _tmp25_.y;
#line 416 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp27_ = rect;
#line 416 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp28_ = _tmp27_.height;
#line 416 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp29_ = y;
#line 416 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp30_ = visrect;
#line 416 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp31_ = _tmp30_.height;
#line 416 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				self->priv->d_scroll_y = ((gfloat) (((_tmp26_ + (_tmp28_ / 2.0)) - _tmp29_) + 2)) / ((gfloat) _tmp31_);
#line 2511 "gitg-history.c"
			} else {
#line 420 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				self->priv->d_scroll_y = 0.5f;
#line 2515 "gitg-history.c"
			}
#line 423 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp32_ = c;
#line 423 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp33_ = ggit_object_get_id ((GgitObject*) _tmp32_);
#line 423 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			__vala_GgitOId_free0 (self->priv->d_scroll_to);
#line 423 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			self->priv->d_scroll_to = _tmp33_;
#line 2525 "gitg-history.c"
		}
	}
#line 388 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (c);
#line 2530 "gitg-history.c"
}


static void ___lambda88__gtk_tree_selection_foreach_func (GtkTreeModel* model, GtkTreePath* path, GtkTreeIter* iter, gpointer self) {
#line 388 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	__lambda88_ (self, model, path, iter);
#line 2537 "gitg-history.c"
}


static void __lambda89_ (Block44Data* _data44_, GtkAllocation* a) {
	GitgHistoryActivity* self;
	GitgHistoryPaned* _tmp0_ = NULL;
	GitgHistoryRefsList* _tmp1_ = NULL;
	GitgHistoryRefsList* _tmp2_ = NULL;
	GtkAdjustment* _tmp3_ = NULL;
	gulong _tmp4_ = 0UL;
#line 436 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = _data44_->self;
#line 436 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (a != NULL);
#line 437 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = self->priv->d_main;
#line 437 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = gitg_history_paned_get_refs_list (_tmp0_);
#line 437 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp2_ = _tmp1_;
#line 437 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp3_ = gtk_list_box_get_adjustment ((GtkListBox*) _tmp2_);
#line 437 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gtk_adjustment_set_value (_tmp3_, _data44_->vadj);
#line 439 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp4_ = _data44_->sid;
#line 439 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp4_ != ((gulong) 0)) {
#line 2566 "gitg-history.c"
		GitgHistoryPaned* _tmp5_ = NULL;
		GitgHistoryRefsList* _tmp6_ = NULL;
		GitgHistoryRefsList* _tmp7_ = NULL;
		gulong _tmp8_ = 0UL;
#line 441 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp5_ = self->priv->d_main;
#line 441 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp6_ = gitg_history_paned_get_refs_list (_tmp5_);
#line 441 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp7_ = _tmp6_;
#line 441 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp8_ = _data44_->sid;
#line 441 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_signal_handler_disconnect ((GObject*) _tmp7_, _tmp8_);
#line 2581 "gitg-history.c"
	}
}


static void ___lambda89__gtk_widget_size_allocate (GtkWidget* _sender, GtkAllocation* allocation, gpointer self) {
#line 436 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	__lambda89_ (self, allocation);
#line 2589 "gitg-history.c"
}


static void gitg_history_activity_reload (GitgHistoryActivity* self) {
	Block44Data* _data44_;
	GitgHistoryPaned* _tmp0_ = NULL;
	GitgCommitListView* _tmp1_ = NULL;
	GitgCommitListView* _tmp2_ = NULL;
	GitgCommitListView* _tmp3_ = NULL;
	GitgHistoryPaned* _tmp4_ = NULL;
	GitgHistoryRefsList* _tmp5_ = NULL;
	GitgHistoryRefsList* _tmp6_ = NULL;
	GtkAdjustment* _tmp7_ = NULL;
	gdouble _tmp8_ = 0.0;
	GeeHashSet* _tmp9_ = NULL;
	GtkTreePath* _tmp10_ = NULL;
	GtkTreePath* _tmp11_ = NULL;
	gboolean _tmp12_ = FALSE;
	GtkTreeSelection* _tmp13_ = NULL;
	GitgCommitModel* _tmp14_ = NULL;
	GitgRepository* _tmp15_ = NULL;
	GitgRepository* _tmp16_ = NULL;
	GitgHistoryPaned* _tmp17_ = NULL;
	GitgHistoryRefsList* _tmp18_ = NULL;
	GitgHistoryRefsList* _tmp19_ = NULL;
	GitgRepository* _tmp20_ = NULL;
	GitgRepository* _tmp21_ = NULL;
	GitgHistoryPaned* _tmp22_ = NULL;
	GitgHistoryRefsList* _tmp23_ = NULL;
	GitgHistoryRefsList* _tmp24_ = NULL;
	gulong _tmp25_ = 0UL;
#line 372 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (self != NULL);
#line 372 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data44_ = g_slice_new0 (Block44Data);
#line 372 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data44_->_ref_count_ = 1;
#line 372 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data44_->self = g_object_ref (self);
#line 374 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = self->priv->d_main;
#line 374 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = gitg_history_paned_get_commit_list_view (_tmp0_);
#line 374 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp2_ = _tmp1_;
#line 374 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 374 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data44_->view = _tmp3_;
#line 376 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp4_ = self->priv->d_main;
#line 376 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp5_ = gitg_history_paned_get_refs_list (_tmp4_);
#line 376 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp6_ = _tmp5_;
#line 376 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp7_ = gtk_list_box_get_adjustment ((GtkListBox*) _tmp6_);
#line 376 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp8_ = gtk_adjustment_get_value (_tmp7_);
#line 376 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data44_->vadj = _tmp8_;
#line 378 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_reload_mainline (self);
#line 380 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp9_ = self->priv->d_selected;
#line 380 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gee_abstract_collection_clear ((GeeAbstractCollection*) _tmp9_);
#line 382 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	__vala_GgitOId_free0 (self->priv->d_scroll_to);
#line 382 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self->priv->d_scroll_to = NULL;
#line 386 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp12_ = gtk_tree_view_get_visible_range ((GtkTreeView*) _data44_->view, &_tmp10_, &_tmp11_);
#line 386 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_gtk_tree_path_free0 (_data44_->startp);
#line 386 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data44_->startp = _tmp10_;
#line 386 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_gtk_tree_path_free0 (_data44_->endp);
#line 386 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data44_->endp = _tmp11_;
#line 386 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data44_->isvis = _tmp12_;
#line 388 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp13_ = gtk_tree_view_get_selection ((GtkTreeView*) _data44_->view);
#line 388 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gtk_tree_selection_selected_foreach (_tmp13_, ___lambda88__gtk_tree_selection_foreach_func, _data44_);
#line 429 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp14_ = self->priv->d_commit_list_model;
#line 429 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp15_ = gitg_history_activity_get_repository (self);
#line 429 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp16_ = _tmp15_;
#line 429 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_commit_model_set_repository (_tmp14_, _tmp16_);
#line 432 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp17_ = self->priv->d_main;
#line 432 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp18_ = gitg_history_paned_get_refs_list (_tmp17_);
#line 432 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp19_ = _tmp18_;
#line 432 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp20_ = gitg_history_activity_get_repository (self);
#line 432 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp21_ = _tmp20_;
#line 432 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_refs_list_set_repository (_tmp19_, _tmp21_);
#line 434 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data44_->sid = (gulong) 0;
#line 436 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp22_ = self->priv->d_main;
#line 436 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp23_ = gitg_history_paned_get_refs_list (_tmp22_);
#line 436 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp24_ = _tmp23_;
#line 436 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp25_ = g_signal_connect_data ((GtkWidget*) _tmp24_, "size-allocate", (GCallback) ___lambda89__gtk_widget_size_allocate, block44_data_ref (_data44_), (GClosureNotify) block44_data_unref, 0);
#line 436 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data44_->sid = _tmp25_;
#line 372 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	block44_data_unref (_data44_);
#line 372 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data44_ = NULL;
#line 2713 "gitg-history.c"
}


static Block45Data* block45_data_ref (Block45Data* _data45_) {
#line 446 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_atomic_int_inc (&_data45_->_ref_count_);
#line 446 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return _data45_;
#line 2722 "gitg-history.c"
}


static void block45_data_unref (void * _userdata_) {
	Block45Data* _data45_;
	_data45_ = (Block45Data*) _userdata_;
#line 446 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (g_atomic_int_dec_and_test (&_data45_->_ref_count_)) {
#line 2731 "gitg-history.c"
		GitgHistoryActivity* self;
#line 446 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		self = _data45_->self;
#line 446 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (self);
#line 446 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_slice_free (Block45Data, _data45_);
#line 2739 "gitg-history.c"
	}
}


static void __lambda90_ (GitgHistoryActivity* self, GtkTreeSelection* sel) {
#line 454 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (sel != NULL);
#line 455 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_signal_emit_by_name ((GitgExtHistory*) self, "selection-changed");
#line 2749 "gitg-history.c"
}


static void ___lambda90__gtk_tree_selection_changed (GtkTreeSelection* _sender, gpointer self) {
#line 454 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	__lambda90_ ((GitgHistoryActivity*) self, _sender);
#line 2756 "gitg-history.c"
}


static GtkMenu* _gitg_history_activity_on_refs_list_populate_menu_gitg_popup_menu_populate_menu (GitgPopupMenu* _sender, GdkEventButton* event, gpointer self) {
	GtkMenu* result;
	result = gitg_history_activity_on_refs_list_populate_menu ((GitgHistoryActivity*) self, event);
#line 471 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 2765 "gitg-history.c"
}


static void __lambda95_ (GitgHistoryActivity* self) {
#line 474 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_update_walker (self);
#line 2772 "gitg-history.c"
}


static void ___lambda95__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 473 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	__lambda95_ ((GitgHistoryActivity*) self);
#line 2779 "gitg-history.c"
}


static gboolean ___lambda97_ (Block45Data* _data45_) {
	GitgHistoryActivity* self;
	gboolean result = FALSE;
#line 482 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = _data45_->self;
#line 483 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data45_->idleupdate = (guint) 0;
#line 484 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_update_walker (self);
#line 485 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	result = FALSE;
#line 485 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 2796 "gitg-history.c"
}


static gboolean ____lambda97__gsource_func (gpointer self) {
	gboolean result;
	result = ___lambda97_ (self);
#line 482 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 2805 "gitg-history.c"
}


static void __lambda96_ (Block45Data* _data45_) {
	GitgHistoryActivity* self;
#line 479 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = _data45_->self;
#line 480 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_data45_->idleupdate == ((guint) 0)) {
#line 2815 "gitg-history.c"
		guint _tmp0_ = 0U;
#line 482 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp0_ = g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ____lambda97__gsource_func, block45_data_ref (_data45_), block45_data_unref);
#line 482 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_data45_->idleupdate = _tmp0_;
#line 2821 "gitg-history.c"
	}
}


static void ___lambda96__gitg_history_refs_list_changed (GitgHistoryRefsList* _sender, gpointer self) {
#line 479 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	__lambda96_ (self);
#line 2829 "gitg-history.c"
}


static GtkMenu* _gitg_history_activity_on_commit_list_populate_menu_gitg_popup_menu_populate_menu (GitgPopupMenu* _sender, GdkEventButton* event, gpointer self) {
	GtkMenu* result;
	result = gitg_history_activity_on_commit_list_populate_menu ((GitgHistoryActivity*) self, event);
#line 491 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 2838 "gitg-history.c"
}


static gboolean _gitg_history_activity_search_filter_func_gtk_tree_view_search_equal_func (GtkTreeModel* model, gint column, const gchar* key, GtkTreeIter* iter, gpointer self) {
	gboolean result;
	result = gitg_history_activity_search_filter_func ((GitgHistoryActivity*) self, model, column, key, iter);
#line 503 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 2847 "gitg-history.c"
}


static void gitg_history_activity_build_ui (GitgHistoryActivity* self) {
	Block45Data* _data45_;
	GitgHistoryPaned* _tmp0_ = NULL;
	GitgHistoryPaned* _tmp1_ = NULL;
	GitgHistoryRefsList* _tmp2_ = NULL;
	GitgHistoryRefsList* _tmp3_ = NULL;
	GitgExtApplication* _tmp4_ = NULL;
	GitgExtApplication* _tmp5_ = NULL;
	GitgExtApplication* _tmp6_ = NULL;
	GitgExtRemoteLookup* _tmp7_ = NULL;
	GitgExtRemoteLookup* _tmp8_ = NULL;
	GitgExtRemoteLookup* _tmp9_ = NULL;
	GitgHistoryPaned* _tmp10_ = NULL;
	GitgCommitListView* _tmp11_ = NULL;
	GitgCommitListView* _tmp12_ = NULL;
	GitgCommitModel* _tmp13_ = NULL;
	GitgHistoryPaned* _tmp14_ = NULL;
	GitgCommitListView* _tmp15_ = NULL;
	GitgCommitListView* _tmp16_ = NULL;
	GtkTreeSelection* _tmp17_ = NULL;
	GitgPluginsEngine* engine = NULL;
	GitgPluginsEngine* _tmp18_ = NULL;
	PeasExtensionSet* extset = NULL;
	GitgExtApplication* _tmp19_ = NULL;
	GitgExtApplication* _tmp20_ = NULL;
	GitgExtApplication* _tmp21_ = NULL;
	PeasExtensionSet* _tmp22_ = NULL;
	PeasExtensionSet* _tmp23_ = NULL;
	GitgHistoryPaned* _tmp24_ = NULL;
	GtkStack* _tmp25_ = NULL;
	GtkStack* _tmp26_ = NULL;
	GitgUIElements* _tmp27_ = NULL;
	GitgHistoryPaned* _tmp28_ = NULL;
	GitgHistoryRefsList* _tmp29_ = NULL;
	GitgHistoryRefsList* _tmp30_ = NULL;
	GitgPopupMenu* _tmp31_ = NULL;
	GitgPopupMenu* _tmp32_ = NULL;
	GitgHistoryPaned* _tmp33_ = NULL;
	GitgHistoryRefsList* _tmp34_ = NULL;
	GitgHistoryRefsList* _tmp35_ = NULL;
	GitgHistoryPaned* _tmp36_ = NULL;
	GitgHistoryRefsList* _tmp37_ = NULL;
	GitgHistoryRefsList* _tmp38_ = NULL;
	GitgHistoryPaned* _tmp39_ = NULL;
	GitgCommitListView* _tmp40_ = NULL;
	GitgCommitListView* _tmp41_ = NULL;
	GitgPopupMenu* _tmp42_ = NULL;
	GitgPopupMenu* _tmp43_ = NULL;
	GitgExtApplication* _tmp44_ = NULL;
	GitgExtApplication* _tmp45_ = NULL;
	GitgExtApplication* _tmp46_ = NULL;
	GitgHistoryPaned* _tmp47_ = NULL;
	GitgHistoryRefsList* _tmp48_ = NULL;
	GitgHistoryRefsList* _tmp49_ = NULL;
	GitgHistoryPaned* _tmp50_ = NULL;
	GitgHistoryPaned* _tmp51_ = NULL;
	GitgCommitListView* _tmp52_ = NULL;
	GitgCommitListView* _tmp53_ = NULL;
#line 446 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (self != NULL);
#line 446 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data45_ = g_slice_new0 (Block45Data);
#line 446 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data45_->_ref_count_ = 1;
#line 446 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data45_->self = g_object_ref (self);
#line 448 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = gitg_history_paned_new ();
#line 448 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_ref_sink (_tmp0_);
#line 448 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (self->priv->d_main);
#line 448 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self->priv->d_main = _tmp0_;
#line 450 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = self->priv->d_main;
#line 450 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp2_ = gitg_history_paned_get_refs_list (_tmp1_);
#line 450 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp3_ = _tmp2_;
#line 450 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp4_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 450 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp5_ = _tmp4_;
#line 450 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp6_ = _tmp5_;
#line 450 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp7_ = gitg_ext_application_get_remote_lookup (_tmp6_);
#line 450 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp8_ = _tmp7_;
#line 450 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp9_ = _tmp8_;
#line 450 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_refs_list_set_remote_lookup (_tmp3_, _tmp9_);
#line 450 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp9_);
#line 450 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp6_);
#line 452 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp10_ = self->priv->d_main;
#line 452 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp11_ = gitg_history_paned_get_commit_list_view (_tmp10_);
#line 452 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp12_ = _tmp11_;
#line 452 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp13_ = self->priv->d_commit_list_model;
#line 452 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gtk_tree_view_set_model ((GtkTreeView*) _tmp12_, (GtkTreeModel*) _tmp13_);
#line 454 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp14_ = self->priv->d_main;
#line 454 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp15_ = gitg_history_paned_get_commit_list_view (_tmp14_);
#line 454 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp16_ = _tmp15_;
#line 454 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp17_ = gtk_tree_view_get_selection ((GtkTreeView*) _tmp16_);
#line 454 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_signal_connect_object (_tmp17_, "changed", (GCallback) ___lambda90__gtk_tree_selection_changed, self, 0);
#line 458 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp18_ = gitg_plugins_engine_get_default ();
#line 458 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	engine = _tmp18_;
#line 460 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp19_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 460 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp20_ = _tmp19_;
#line 460 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp21_ = _tmp20_;
#line 460 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp22_ = peas_extension_set_new ((PeasEngine*) engine, GITG_EXT_TYPE_HISTORY_PANEL, "history", self, "application", _tmp21_, NULL);
#line 460 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp23_ = _tmp22_;
#line 460 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp21_);
#line 460 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	extset = _tmp23_;
#line 467 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp24_ = self->priv->d_main;
#line 467 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp25_ = gitg_history_paned_get_stack_panel (_tmp24_);
#line 467 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp26_ = _tmp25_;
#line 467 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp27_ = gitg_ui_elements_new (GITG_EXT_TYPE_HISTORY_PANEL, (GBoxedCopyFunc) g_object_ref, g_object_unref, extset, _tmp26_);
#line 467 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (self->priv->d_panels);
#line 467 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self->priv->d_panels = _tmp27_;
#line 470 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp28_ = self->priv->d_main;
#line 470 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp29_ = gitg_history_paned_get_refs_list (_tmp28_);
#line 470 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp30_ = _tmp29_;
#line 470 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp31_ = gitg_popup_menu_new ((GtkWidget*) _tmp30_);
#line 470 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (self->priv->d_refs_list_popup);
#line 470 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self->priv->d_refs_list_popup = _tmp31_;
#line 471 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp32_ = self->priv->d_refs_list_popup;
#line 471 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_signal_connect_object (_tmp32_, "populate-menu", (GCallback) _gitg_history_activity_on_refs_list_populate_menu_gitg_popup_menu_populate_menu, self, 0);
#line 473 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp33_ = self->priv->d_main;
#line 473 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp34_ = gitg_history_paned_get_refs_list (_tmp33_);
#line 473 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp35_ = _tmp34_;
#line 473 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_signal_connect_object ((GObject*) _tmp35_, "notify::selection", (GCallback) ___lambda95__g_object_notify, self, 0);
#line 477 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data45_->idleupdate = (guint) 0;
#line 479 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp36_ = self->priv->d_main;
#line 479 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp37_ = gitg_history_paned_get_refs_list (_tmp36_);
#line 479 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp38_ = _tmp37_;
#line 479 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_signal_connect_data (_tmp38_, "changed", (GCallback) ___lambda96__gitg_history_refs_list_changed, block45_data_ref (_data45_), (GClosureNotify) block45_data_unref, 0);
#line 490 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp39_ = self->priv->d_main;
#line 490 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp40_ = gitg_history_paned_get_commit_list_view (_tmp39_);
#line 490 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp41_ = _tmp40_;
#line 490 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp42_ = gitg_popup_menu_new ((GtkWidget*) _tmp41_);
#line 490 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (self->priv->d_commit_list_popup);
#line 490 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self->priv->d_commit_list_popup = _tmp42_;
#line 491 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp43_ = self->priv->d_commit_list_popup;
#line 491 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_signal_connect_object (_tmp43_, "populate-menu", (GCallback) _gitg_history_activity_on_commit_list_populate_menu_gitg_popup_menu_populate_menu, self, 0);
#line 493 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp44_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 493 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp45_ = _tmp44_;
#line 493 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp46_ = _tmp45_;
#line 493 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp47_ = self->priv->d_main;
#line 493 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp48_ = gitg_history_paned_get_refs_list (_tmp47_);
#line 493 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp49_ = _tmp48_;
#line 493 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp46_, "repository", (GObject*) _tmp49_, "repository", G_BINDING_DEFAULT | 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 493 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp46_);
#line 498 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp50_ = self->priv->d_main;
#line 498 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_bind_property_with_closures ((GObject*) self, "selectable-mode", (GObject*) _tmp50_, "selectable-mode", G_BINDING_BIDIRECTIONAL, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 503 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp51_ = self->priv->d_main;
#line 503 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp52_ = gitg_history_paned_get_commit_list_view (_tmp51_);
#line 503 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp53_ = _tmp52_;
#line 503 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gtk_tree_view_set_search_equal_func ((GtkTreeView*) _tmp53_, _gitg_history_activity_search_filter_func_gtk_tree_view_search_equal_func, g_object_ref (self), g_object_unref);
#line 446 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (extset);
#line 446 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (engine);
#line 446 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	block45_data_unref (_data45_);
#line 446 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data45_ = NULL;
#line 3085 "gitg-history.c"
}


static GtkMenu* gitg_history_activity_popup_on_ref (GitgHistoryActivity* self, GdkEventButton* event) {
	GtkMenu* result = NULL;
	gint cell_x = 0;
	gint cell_y = 0;
	gint cell_w = 0;
	GtkTreePath* path = NULL;
	GtkTreeViewColumn* column = NULL;
	GitgHistoryPaned* _tmp0_ = NULL;
	GitgCommitListView* _tmp1_ = NULL;
	GitgCommitListView* _tmp2_ = NULL;
	GdkEventButton* _tmp3_ = NULL;
	gdouble _tmp4_ = 0.0;
	GdkEventButton* _tmp5_ = NULL;
	gdouble _tmp6_ = 0.0;
	GtkTreePath* _tmp7_ = NULL;
	GtkTreeViewColumn* _tmp8_ = NULL;
	gint _tmp9_ = 0;
	gint _tmp10_ = 0;
	gboolean _tmp11_ = FALSE;
	GtkTreeViewColumn* _tmp12_ = NULL;
	GitgCellRendererLanes* cell = NULL;
	GitgHistoryPaned* _tmp13_ = NULL;
	GitgCommitListView* _tmp14_ = NULL;
	GitgCommitListView* _tmp15_ = NULL;
	GtkTreeViewColumn* _tmp16_ = NULL;
	GtkTreePath* _tmp17_ = NULL;
	gint _tmp18_ = 0;
	gint _tmp19_ = 0;
	GtkCellRenderer* _tmp20_ = NULL;
	GitgCellRendererLanes* _tmp21_ = NULL;
	GitgCellRendererLanes* _tmp22_ = NULL;
	GitgRef* reference = NULL;
	GitgCellRendererLanes* _tmp23_ = NULL;
	GitgHistoryPaned* _tmp24_ = NULL;
	GitgCommitListView* _tmp25_ = NULL;
	GitgCommitListView* _tmp26_ = NULL;
	gint _tmp27_ = 0;
	gint _tmp28_ = 0;
	GitgRef* _tmp29_ = NULL;
	GitgRef* _tmp30_ = NULL;
	GitgRef* _tmp31_ = NULL;
	GtkMenu* _tmp32_ = NULL;
#line 506 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 514 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = self->priv->d_main;
#line 514 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = gitg_history_paned_get_commit_list_view (_tmp0_);
#line 514 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp2_ = _tmp1_;
#line 514 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp3_ = event;
#line 514 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp4_ = _tmp3_->x;
#line 514 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp5_ = event;
#line 514 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp6_ = _tmp5_->y;
#line 514 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp11_ = gtk_tree_view_get_path_at_pos ((GtkTreeView*) _tmp2_, (gint) _tmp4_, (gint) _tmp6_, &_tmp7_, &_tmp8_, &_tmp9_, &_tmp10_);
#line 514 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_gtk_tree_path_free0 (path);
#line 514 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	path = _tmp7_;
#line 514 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (column);
#line 514 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp12_ = _g_object_ref0 (_tmp8_);
#line 514 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	column = _tmp12_;
#line 514 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	cell_x = _tmp9_;
#line 514 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	cell_y = _tmp10_;
#line 514 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (!_tmp11_) {
#line 521 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		result = NULL;
#line 521 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (column);
#line 521 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_gtk_tree_path_free0 (path);
#line 521 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		return result;
#line 3173 "gitg-history.c"
	}
#line 524 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp13_ = self->priv->d_main;
#line 524 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp14_ = gitg_history_paned_get_commit_list_view (_tmp13_);
#line 524 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp15_ = _tmp14_;
#line 524 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp16_ = column;
#line 524 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp17_ = path;
#line 524 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp18_ = cell_x;
#line 524 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp20_ = gitg_commit_list_view_find_cell_at_pos (_tmp15_, _tmp16_, _tmp17_, _tmp18_, &_tmp19_);
#line 524 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	cell_w = _tmp19_;
#line 524 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp21_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp20_, GITG_TYPE_CELL_RENDERER_LANES) ? ((GitgCellRendererLanes*) _tmp20_) : NULL;
#line 524 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp21_ == NULL) {
#line 524 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (_tmp20_);
#line 3197 "gitg-history.c"
	}
#line 524 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	cell = _tmp21_;
#line 526 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp22_ = cell;
#line 526 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp22_ == NULL) {
#line 528 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		result = NULL;
#line 528 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (cell);
#line 528 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (column);
#line 528 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_gtk_tree_path_free0 (path);
#line 528 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		return result;
#line 3215 "gitg-history.c"
	}
#line 531 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp23_ = cell;
#line 531 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp24_ = self->priv->d_main;
#line 531 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp25_ = gitg_history_paned_get_commit_list_view (_tmp24_);
#line 531 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp26_ = _tmp25_;
#line 531 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp27_ = cell_x;
#line 531 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp28_ = cell_w;
#line 531 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp29_ = gitg_cell_renderer_lanes_get_ref_at_pos (_tmp23_, (GtkWidget*) _tmp26_, _tmp27_, _tmp28_, NULL);
#line 531 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	reference = _tmp29_;
#line 533 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp30_ = reference;
#line 533 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp30_ == NULL) {
#line 535 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		result = NULL;
#line 535 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (reference);
#line 535 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (cell);
#line 535 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (column);
#line 535 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_gtk_tree_path_free0 (path);
#line 535 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		return result;
#line 3249 "gitg-history.c"
	}
#line 538 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp31_ = reference;
#line 538 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp32_ = gitg_history_activity_popup_menu_for_ref (self, _tmp31_);
#line 538 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	result = _tmp32_;
#line 538 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (reference);
#line 538 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (cell);
#line 538 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (column);
#line 538 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_gtk_tree_path_free0 (path);
#line 538 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 3267 "gitg-history.c"
}


static GtkMenu* gitg_history_activity_on_commit_list_populate_menu (GitgHistoryActivity* self, GdkEventButton* event) {
	GtkMenu* result = NULL;
	GtkMenu* ret = NULL;
	GdkEventButton* _tmp0_ = NULL;
	GtkMenu* _tmp1_ = NULL;
	GtkMenu* _tmp2_ = NULL;
#line 541 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 543 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = event;
#line 543 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = gitg_history_activity_popup_on_ref (self, _tmp0_);
#line 543 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	ret = _tmp1_;
#line 545 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp2_ = ret;
#line 545 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp2_ == NULL) {
#line 547 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		gitg_ext_selectable_set_selectable_mode ((GitgExtSelectable*) self, GITG_EXT_SELECTION_MODE_SELECTION);
#line 3291 "gitg-history.c"
	}
#line 550 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	result = ret;
#line 550 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 3297 "gitg-history.c"
}


static void gitg_history_activity_add_ref_action (GitgHistoryActivity* self, GeeLinkedList* actions, GitgExtRefAction* action) {
	gboolean _tmp0_ = FALSE;
	GitgExtRefAction* _tmp1_ = NULL;
#line 553 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (self != NULL);
#line 553 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (actions != NULL);
#line 556 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = action;
#line 556 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp1_ != NULL) {
#line 3312 "gitg-history.c"
		GitgExtRefAction* _tmp2_ = NULL;
		gboolean _tmp3_ = FALSE;
		gboolean _tmp4_ = FALSE;
#line 556 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp2_ = action;
#line 556 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp3_ = gitg_ext_ui_element_get_available ((GitgExtUIElement*) _tmp2_);
#line 556 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp4_ = _tmp3_;
#line 556 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp0_ = _tmp4_;
#line 3324 "gitg-history.c"
	} else {
#line 556 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp0_ = FALSE;
#line 3328 "gitg-history.c"
	}
#line 556 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp0_) {
#line 3332 "gitg-history.c"
		GeeLinkedList* _tmp5_ = NULL;
		GitgExtRefAction* _tmp6_ = NULL;
#line 558 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp5_ = actions;
#line 558 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp6_ = action;
#line 558 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		gee_abstract_collection_add ((GeeAbstractCollection*) _tmp5_, _tmp6_);
#line 3341 "gitg-history.c"
	}
}


static Block46Data* block46_data_ref (Block46Data* _data46_) {
#line 562 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_atomic_int_inc (&_data46_->_ref_count_);
#line 562 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return _data46_;
#line 3351 "gitg-history.c"
}


static void block46_data_unref (void * _userdata_) {
	Block46Data* _data46_;
	_data46_ = (Block46Data*) _userdata_;
#line 562 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (g_atomic_int_dec_and_test (&_data46_->_ref_count_)) {
#line 3360 "gitg-history.c"
		GitgHistoryActivity* self;
#line 562 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		self = _data46_->self;
#line 562 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (_data46_->item);
#line 562 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (_data46_->actions);
#line 562 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (_data46_->reference);
#line 562 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (self);
#line 562 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_slice_free (Block46Data, _data46_);
#line 3374 "gitg-history.c"
	}
}


static void __lambda93_ (Block46Data* _data46_, PeasExtensionSet* extset, PeasPluginInfo* info, PeasExtension* extension) {
	GitgHistoryActivity* self;
	GeeLinkedList* _tmp0_ = NULL;
	PeasExtension* _tmp1_ = NULL;
#line 582 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = _data46_->self;
#line 582 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (extset != NULL);
#line 582 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (info != NULL);
#line 582 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (extension != NULL);
#line 583 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = _data46_->actions;
#line 583 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = extension;
#line 583 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_add_ref_action (self, _tmp0_, G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, GITG_EXT_TYPE_REF_ACTION) ? ((GitgExtRefAction*) _tmp1_) : NULL);
#line 3397 "gitg-history.c"
}


static void ___lambda93__peas_extension_set_foreach_func (PeasExtensionSet* set, PeasPluginInfo* info, PeasExtension* exten, gpointer self) {
#line 582 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	__lambda93_ (self, set, info, exten);
#line 3404 "gitg-history.c"
}


static void _vala_array_add14 (gchar*** array, int* length, int* size, gchar* value) {
#line 619 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if ((*length) == (*size)) {
#line 619 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 619 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		*array = g_renew (gchar*, *array, (*size) + 1);
#line 3415 "gitg-history.c"
	}
#line 619 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	(*array)[(*length)++] = value;
#line 619 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	(*array)[*length] = NULL;
#line 3421 "gitg-history.c"
}


static void _vala_array_add15 (gchar*** array, int* length, int* size, gchar* value) {
#line 630 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if ((*length) == (*size)) {
#line 630 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 630 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		*array = g_renew (gchar*, *array, (*size) + 1);
#line 3432 "gitg-history.c"
	}
#line 630 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	(*array)[(*length)++] = value;
#line 630 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	(*array)[*length] = NULL;
#line 3438 "gitg-history.c"
}


static gchar** _vala_array_dup18 (gchar** self, int length) {
	gchar** result;
	int i;
#line 634 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	result = g_new0 (gchar*, length + 1);
#line 634 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	for (i = 0; i < length; i++) {
#line 3449 "gitg-history.c"
		gchar* _tmp0_ = NULL;
#line 634 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp0_ = g_strdup (self[i]);
#line 634 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		result[i] = _tmp0_;
#line 3455 "gitg-history.c"
	}
#line 634 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 3459 "gitg-history.c"
}


static void __lambda94_ (Block46Data* _data46_) {
	GitgHistoryActivity* self;
	GtkCheckMenuItem* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
#line 616 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = _data46_->self;
#line 617 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = _data46_->item;
#line 617 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = gtk_check_menu_item_get_active (_tmp0_);
#line 617 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp2_ = _tmp1_;
#line 617 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp2_) {
#line 3478 "gitg-history.c"
		gchar** _tmp3_ = NULL;
		gint _tmp3__length1 = 0;
		GitgRef* _tmp4_ = NULL;
		const gchar* _tmp5_ = NULL;
		gchar* _tmp6_ = NULL;
#line 619 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp3_ = self->priv->d_mainline;
#line 619 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp3__length1 = self->priv->d_mainline_length1;
#line 619 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp4_ = _data46_->reference;
#line 619 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp5_ = ggit_ref_get_name ((GgitRef*) _tmp4_);
#line 619 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp6_ = g_strdup (_tmp5_);
#line 619 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_vala_array_add14 (&self->priv->d_mainline, &self->priv->d_mainline_length1, &self->priv->_d_mainline_size_, _tmp6_);
#line 3496 "gitg-history.c"
	} else {
		gchar** nml = NULL;
		gchar** _tmp7_ = NULL;
		gint _tmp7__length1 = 0;
		gchar** _tmp8_ = NULL;
		gint nml_length1 = 0;
		gint _nml_size_ = 0;
		gint _tmp9_ = 0;
		gchar** _tmp21_ = NULL;
		gint _tmp21__length1 = 0;
		gchar** _tmp22_ = NULL;
		gint _tmp22__length1 = 0;
#line 623 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp7_ = self->priv->d_mainline;
#line 623 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp7__length1 = self->priv->d_mainline_length1;
#line 623 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp8_ = g_new0 (gchar*, (_tmp7__length1 - 1) + 1);
#line 623 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		nml = _tmp8_;
#line 623 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		nml_length1 = _tmp7__length1 - 1;
#line 623 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_nml_size_ = nml_length1;
#line 624 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		nml_length1 = 0;
#line 624 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp9_ = nml_length1;
#line 3525 "gitg-history.c"
		{
			gint i = 0;
#line 626 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			i = 0;
#line 3530 "gitg-history.c"
			{
				gboolean _tmp10_ = FALSE;
#line 626 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp10_ = TRUE;
#line 626 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				while (TRUE) {
#line 3537 "gitg-history.c"
					gint _tmp12_ = 0;
					gchar** _tmp13_ = NULL;
					gint _tmp13__length1 = 0;
					gint _tmp14_ = 0;
					gint _tmp15_ = 0;
#line 626 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					if (!_tmp10_) {
#line 3545 "gitg-history.c"
						gint _tmp11_ = 0;
#line 626 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp11_ = i;
#line 626 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						i = _tmp11_ + 1;
#line 3551 "gitg-history.c"
					}
#line 626 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp10_ = FALSE;
#line 626 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp12_ = i;
#line 626 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp13_ = self->priv->d_mainline;
#line 626 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp13__length1 = self->priv->d_mainline_length1;
#line 626 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					if (!(_tmp12_ < _tmp13__length1)) {
#line 626 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						break;
#line 3565 "gitg-history.c"
					}
#line 628 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp14_ = i;
#line 628 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp15_ = _data46_->pos;
#line 628 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					if (_tmp14_ != _tmp15_) {
#line 3573 "gitg-history.c"
						gchar** _tmp16_ = NULL;
						gint _tmp16__length1 = 0;
						gchar** _tmp17_ = NULL;
						gint _tmp17__length1 = 0;
						gint _tmp18_ = 0;
						const gchar* _tmp19_ = NULL;
						gchar* _tmp20_ = NULL;
#line 630 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp16_ = nml;
#line 630 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp16__length1 = nml_length1;
#line 630 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp17_ = self->priv->d_mainline;
#line 630 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp17__length1 = self->priv->d_mainline_length1;
#line 630 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp18_ = i;
#line 630 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp19_ = _tmp17_[_tmp18_];
#line 630 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp20_ = g_strdup (_tmp19_);
#line 630 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_vala_array_add15 (&nml, &nml_length1, &_nml_size_, _tmp20_);
#line 3597 "gitg-history.c"
					}
				}
			}
		}
#line 634 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp21_ = nml;
#line 634 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp21__length1 = nml_length1;
#line 634 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp22_ = (_tmp21_ != NULL) ? _vala_array_dup18 (_tmp21_, _tmp21__length1) : ((gpointer) _tmp21_);
#line 634 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp22__length1 = _tmp21__length1;
#line 634 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		self->priv->d_mainline = (_vala_array_free (self->priv->d_mainline, self->priv->d_mainline_length1, (GDestroyNotify) g_free), NULL);
#line 634 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		self->priv->d_mainline = _tmp22_;
#line 634 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		self->priv->d_mainline_length1 = _tmp22__length1;
#line 634 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		self->priv->_d_mainline_size_ = self->priv->d_mainline_length1;
#line 617 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		nml = (_vala_array_free (nml, nml_length1, (GDestroyNotify) g_free), NULL);
#line 3620 "gitg-history.c"
	}
#line 637 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_store_changed_mainline (self);
#line 638 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_update_walker (self);
#line 3626 "gitg-history.c"
}


static void ___lambda94__gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) {
#line 616 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	__lambda94_ (self);
#line 3633 "gitg-history.c"
}


static GtkMenu* gitg_history_activity_popup_menu_for_ref (GitgHistoryActivity* self, GitgRef* reference) {
	GtkMenu* result = NULL;
	Block46Data* _data46_;
	GitgRef* _tmp0_ = NULL;
	GitgRef* _tmp1_ = NULL;
	GeeLinkedList* _tmp2_ = NULL;
	GitgHistoryActionInterface* af = NULL;
	GitgExtApplication* _tmp3_ = NULL;
	GitgExtApplication* _tmp4_ = NULL;
	GitgExtApplication* _tmp5_ = NULL;
	GitgHistoryPaned* _tmp6_ = NULL;
	GitgHistoryRefsList* _tmp7_ = NULL;
	GitgHistoryRefsList* _tmp8_ = NULL;
	GitgHistoryActionInterface* _tmp9_ = NULL;
	GitgHistoryActionInterface* _tmp10_ = NULL;
	GeeLinkedList* _tmp11_ = NULL;
	GitgExtApplication* _tmp12_ = NULL;
	GitgExtApplication* _tmp13_ = NULL;
	GitgExtApplication* _tmp14_ = NULL;
	GitgHistoryActionInterface* _tmp15_ = NULL;
	GitgRef* _tmp16_ = NULL;
	GitgRefActionRename* _tmp17_ = NULL;
	GitgRefActionRename* _tmp18_ = NULL;
	GeeLinkedList* _tmp19_ = NULL;
	GitgExtApplication* _tmp20_ = NULL;
	GitgExtApplication* _tmp21_ = NULL;
	GitgExtApplication* _tmp22_ = NULL;
	GitgHistoryActionInterface* _tmp23_ = NULL;
	GitgRef* _tmp24_ = NULL;
	GitgRefActionDelete* _tmp25_ = NULL;
	GitgRefActionDelete* _tmp26_ = NULL;
	GeeLinkedList* _tmp27_ = NULL;
	GitgExtApplication* _tmp28_ = NULL;
	GitgExtApplication* _tmp29_ = NULL;
	GitgExtApplication* _tmp30_ = NULL;
	GitgHistoryActionInterface* _tmp31_ = NULL;
	GitgRef* _tmp32_ = NULL;
	GitgRefActionCopyName* _tmp33_ = NULL;
	GitgRefActionCopyName* _tmp34_ = NULL;
	GeeLinkedList* _tmp35_ = NULL;
	GitgExtApplication* _tmp36_ = NULL;
	GitgExtApplication* _tmp37_ = NULL;
	GitgExtApplication* _tmp38_ = NULL;
	GitgHistoryActionInterface* _tmp39_ = NULL;
	GitgRef* _tmp40_ = NULL;
	GitgRefActionFetch* _tmp41_ = NULL;
	GitgRefActionFetch* _tmp42_ = NULL;
	PeasExtensionSet* exts = NULL;
	GitgPluginsEngine* _tmp43_ = NULL;
	GitgPluginsEngine* _tmp44_ = NULL;
	GitgExtApplication* _tmp45_ = NULL;
	GitgExtApplication* _tmp46_ = NULL;
	GitgExtApplication* _tmp47_ = NULL;
	GitgHistoryActionInterface* _tmp48_ = NULL;
	GitgRef* _tmp49_ = NULL;
	PeasExtensionSet* _tmp50_ = NULL;
	PeasExtensionSet* _tmp51_ = NULL;
	PeasExtensionSet* _tmp52_ = NULL;
	GeeLinkedList* _tmp53_ = NULL;
	gboolean _tmp54_ = FALSE;
	gboolean _tmp55_ = FALSE;
	GtkMenu* menu = NULL;
	GtkMenu* _tmp56_ = NULL;
	GtkSeparatorMenuItem* sep = NULL;
	GtkSeparatorMenuItem* _tmp70_ = NULL;
	GtkSeparatorMenuItem* _tmp71_ = NULL;
	GtkMenu* _tmp72_ = NULL;
	GtkSeparatorMenuItem* _tmp73_ = NULL;
	const gchar* _tmp74_ = NULL;
	GtkCheckMenuItem* _tmp75_ = NULL;
	gchar** _tmp76_ = NULL;
	gint _tmp76__length1 = 0;
	GtkCheckMenuItem* _tmp83_ = NULL;
	GtkCheckMenuItem* _tmp84_ = NULL;
	GtkMenu* _tmp85_ = NULL;
	GtkCheckMenuItem* _tmp86_ = NULL;
	GtkMenu* _tmp87_ = NULL;
	GeeLinkedList* _tmp88_ = NULL;
	GeeLinkedList* _tmp89_ = NULL;
#line 562 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 562 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_val_if_fail (reference != NULL, NULL);
#line 562 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data46_ = g_slice_new0 (Block46Data);
#line 562 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data46_->_ref_count_ = 1;
#line 562 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data46_->self = g_object_ref (self);
#line 562 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = reference;
#line 562 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 562 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_data46_->reference);
#line 562 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data46_->reference = _tmp1_;
#line 564 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp2_ = gee_linked_list_new (GITG_EXT_TYPE_REF_ACTION, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
#line 564 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data46_->actions = _tmp2_;
#line 566 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp3_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 566 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp4_ = _tmp3_;
#line 566 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp5_ = _tmp4_;
#line 566 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp6_ = self->priv->d_main;
#line 566 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp7_ = gitg_history_paned_get_refs_list (_tmp6_);
#line 566 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp8_ = _tmp7_;
#line 566 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp9_ = gitg_history_action_interface_new (_tmp5_, _tmp8_);
#line 566 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp10_ = _tmp9_;
#line 566 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp5_);
#line 566 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	af = _tmp10_;
#line 568 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp11_ = _data46_->actions;
#line 568 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp12_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 568 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp13_ = _tmp12_;
#line 568 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp14_ = _tmp13_;
#line 568 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp15_ = af;
#line 568 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp16_ = _data46_->reference;
#line 568 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp17_ = gitg_ref_action_rename_new (_tmp14_, (GitgExtRefActionInterface*) _tmp15_, _tmp16_);
#line 568 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp18_ = _tmp17_;
#line 568 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_add_ref_action (self, _tmp11_, (GitgExtRefAction*) _tmp18_);
#line 568 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp18_);
#line 568 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp14_);
#line 569 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp19_ = _data46_->actions;
#line 569 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp20_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 569 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp21_ = _tmp20_;
#line 569 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp22_ = _tmp21_;
#line 569 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp23_ = af;
#line 569 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp24_ = _data46_->reference;
#line 569 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp25_ = gitg_ref_action_delete_new (_tmp22_, (GitgExtRefActionInterface*) _tmp23_, _tmp24_);
#line 569 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp26_ = _tmp25_;
#line 569 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_add_ref_action (self, _tmp19_, (GitgExtRefAction*) _tmp26_);
#line 569 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp26_);
#line 569 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp22_);
#line 570 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp27_ = _data46_->actions;
#line 570 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp28_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 570 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp29_ = _tmp28_;
#line 570 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp30_ = _tmp29_;
#line 570 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp31_ = af;
#line 570 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp32_ = _data46_->reference;
#line 570 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp33_ = gitg_ref_action_copy_name_new (_tmp30_, (GitgExtRefActionInterface*) _tmp31_, _tmp32_);
#line 570 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp34_ = _tmp33_;
#line 570 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_add_ref_action (self, _tmp27_, (GitgExtRefAction*) _tmp34_);
#line 570 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp34_);
#line 570 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp30_);
#line 571 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp35_ = _data46_->actions;
#line 571 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp36_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 571 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp37_ = _tmp36_;
#line 571 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp38_ = _tmp37_;
#line 571 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp39_ = af;
#line 571 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp40_ = _data46_->reference;
#line 571 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp41_ = gitg_ref_action_fetch_new (_tmp38_, (GitgExtRefActionInterface*) _tmp39_, _tmp40_);
#line 571 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp42_ = _tmp41_;
#line 571 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_add_ref_action (self, _tmp35_, (GitgExtRefAction*) _tmp42_);
#line 571 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp42_);
#line 571 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp38_);
#line 573 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp43_ = gitg_plugins_engine_get_default ();
#line 573 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp44_ = _tmp43_;
#line 573 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp45_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 573 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp46_ = _tmp45_;
#line 573 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp47_ = _tmp46_;
#line 573 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp48_ = af;
#line 573 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp49_ = _data46_->reference;
#line 573 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp50_ = peas_extension_set_new ((PeasEngine*) _tmp44_, GITG_EXT_TYPE_REF_ACTION, "application", _tmp47_, "action_interface", _tmp48_, "reference", _tmp49_, NULL);
#line 573 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp51_ = _tmp50_;
#line 573 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp47_);
#line 573 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp44_);
#line 573 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	exts = _tmp51_;
#line 582 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp52_ = exts;
#line 582 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	peas_extension_set_foreach (_tmp52_, ___lambda93__peas_extension_set_foreach_func, _data46_);
#line 586 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp53_ = _data46_->actions;
#line 586 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp54_ = gee_collection_get_is_empty ((GeeCollection*) _tmp53_);
#line 586 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp55_ = _tmp54_;
#line 586 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp55_) {
#line 588 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		result = NULL;
#line 588 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (exts);
#line 588 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (af);
#line 588 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		block46_data_unref (_data46_);
#line 588 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_data46_ = NULL;
#line 588 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		return result;
#line 3894 "gitg-history.c"
	}
#line 591 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp56_ = (GtkMenu*) gtk_menu_new ();
#line 591 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_ref_sink (_tmp56_);
#line 591 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	menu = _tmp56_;
#line 3902 "gitg-history.c"
	{
		GeeLinkedList* _ac_list = NULL;
		GeeLinkedList* _tmp57_ = NULL;
		GeeLinkedList* _tmp58_ = NULL;
		gint _ac_size = 0;
		GeeLinkedList* _tmp59_ = NULL;
		gint _tmp60_ = 0;
		gint _tmp61_ = 0;
		gint _ac_index = 0;
#line 593 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp57_ = _data46_->actions;
#line 593 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp58_ = _g_object_ref0 (_tmp57_);
#line 593 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_ac_list = _tmp58_;
#line 593 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp59_ = _ac_list;
#line 593 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp60_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp59_);
#line 593 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp61_ = _tmp60_;
#line 593 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_ac_size = _tmp61_;
#line 593 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_ac_index = -1;
#line 593 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		while (TRUE) {
#line 3930 "gitg-history.c"
			gint _tmp62_ = 0;
			gint _tmp63_ = 0;
			gint _tmp64_ = 0;
			GitgExtRefAction* ac = NULL;
			GeeLinkedList* _tmp65_ = NULL;
			gint _tmp66_ = 0;
			gpointer _tmp67_ = NULL;
			GitgExtRefAction* _tmp68_ = NULL;
			GtkMenu* _tmp69_ = NULL;
#line 593 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp62_ = _ac_index;
#line 593 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_ac_index = _tmp62_ + 1;
#line 593 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp63_ = _ac_index;
#line 593 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp64_ = _ac_size;
#line 593 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			if (!(_tmp63_ < _tmp64_)) {
#line 593 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				break;
#line 3952 "gitg-history.c"
			}
#line 593 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp65_ = _ac_list;
#line 593 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp66_ = _ac_index;
#line 593 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp67_ = gee_abstract_list_get ((GeeAbstractList*) _tmp65_, _tmp66_);
#line 593 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			ac = (GitgExtRefAction*) _tmp67_;
#line 595 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp68_ = ac;
#line 595 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp69_ = menu;
#line 595 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			gitg_ext_action_populate_menu ((GitgExtAction*) _tmp68_, _tmp69_);
#line 593 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_g_object_unref0 (ac);
#line 3970 "gitg-history.c"
		}
#line 593 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (_ac_list);
#line 3974 "gitg-history.c"
	}
#line 598 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp70_ = (GtkSeparatorMenuItem*) gtk_separator_menu_item_new ();
#line 598 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_ref_sink (_tmp70_);
#line 598 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	sep = _tmp70_;
#line 599 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp71_ = sep;
#line 599 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gtk_widget_show ((GtkWidget*) _tmp71_);
#line 600 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp72_ = menu;
#line 600 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp73_ = sep;
#line 600 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gtk_menu_shell_append ((GtkMenuShell*) _tmp72_, (GtkWidget*) ((GtkMenuItem*) _tmp73_));
#line 602 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp74_ = _ ("Mainline");
#line 602 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp75_ = (GtkCheckMenuItem*) gtk_check_menu_item_new_with_label (_tmp74_);
#line 602 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_ref_sink (_tmp75_);
#line 602 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data46_->item = _tmp75_;
#line 603 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data46_->pos = 0;
#line 605 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp76_ = self->priv->d_mainline;
#line 605 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp76__length1 = self->priv->d_mainline_length1;
#line 4006 "gitg-history.c"
	{
		gchar** ml_collection = NULL;
		gint ml_collection_length1 = 0;
		gint _ml_collection_size_ = 0;
		gint ml_it = 0;
#line 605 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		ml_collection = _tmp76_;
#line 605 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		ml_collection_length1 = _tmp76__length1;
#line 605 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		for (ml_it = 0; ml_it < _tmp76__length1; ml_it = ml_it + 1) {
#line 4018 "gitg-history.c"
			gchar* _tmp77_ = NULL;
			gchar* ml = NULL;
#line 605 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp77_ = g_strdup (ml_collection[ml_it]);
#line 605 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			ml = _tmp77_;
#line 4025 "gitg-history.c"
			{
				const gchar* _tmp78_ = NULL;
				GitgRef* _tmp79_ = NULL;
				const gchar* _tmp80_ = NULL;
				gint _tmp82_ = 0;
#line 607 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp78_ = ml;
#line 607 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp79_ = _data46_->reference;
#line 607 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp80_ = ggit_ref_get_name ((GgitRef*) _tmp79_);
#line 607 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				if (g_strcmp0 (_tmp78_, _tmp80_) == 0) {
#line 4039 "gitg-history.c"
					GtkCheckMenuItem* _tmp81_ = NULL;
#line 609 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp81_ = _data46_->item;
#line 609 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					gtk_check_menu_item_set_active (_tmp81_, TRUE);
#line 610 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_g_free0 (ml);
#line 610 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					break;
#line 4049 "gitg-history.c"
				}
#line 613 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp82_ = _data46_->pos;
#line 613 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_data46_->pos = _tmp82_ + 1;
#line 605 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_g_free0 (ml);
#line 4057 "gitg-history.c"
			}
		}
	}
#line 616 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp83_ = _data46_->item;
#line 616 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_signal_connect_data ((GtkMenuItem*) _tmp83_, "activate", (GCallback) ___lambda94__gtk_menu_item_activate, block46_data_ref (_data46_), (GClosureNotify) block46_data_unref, 0);
#line 641 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp84_ = _data46_->item;
#line 641 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gtk_widget_show ((GtkWidget*) _tmp84_);
#line 642 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp85_ = menu;
#line 642 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp86_ = _data46_->item;
#line 642 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gtk_menu_shell_append ((GtkMenuShell*) _tmp85_, (GtkWidget*) ((GtkMenuItem*) _tmp86_));
#line 645 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp87_ = menu;
#line 645 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp88_ = _data46_->actions;
#line 645 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp89_ = _g_object_ref0 (_tmp88_);
#line 645 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_set_data_full ((GObject*) _tmp87_, "gitg-ext-actions", _tmp89_, g_object_unref);
#line 646 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	result = menu;
#line 646 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (sep);
#line 646 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (exts);
#line 646 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (af);
#line 646 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	block46_data_unref (_data46_);
#line 646 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data46_ = NULL;
#line 646 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 4097 "gitg-history.c"
}


static GtkMenu* gitg_history_activity_on_refs_list_populate_menu (GitgHistoryActivity* self, GdkEventButton* event) {
	GtkMenu* result = NULL;
	GdkEventButton* _tmp0_ = NULL;
	GeeList* references = NULL;
	GitgHistoryPaned* _tmp12_ = NULL;
	GitgHistoryRefsList* _tmp13_ = NULL;
	GitgHistoryRefsList* _tmp14_ = NULL;
	GeeList* _tmp15_ = NULL;
	GeeList* _tmp16_ = NULL;
	gboolean _tmp17_ = FALSE;
	GeeList* _tmp18_ = NULL;
	gboolean _tmp19_ = FALSE;
	gboolean _tmp20_ = FALSE;
	GeeList* _tmp27_ = NULL;
	gpointer _tmp28_ = NULL;
	GitgRef* _tmp29_ = NULL;
	GtkMenu* _tmp30_ = NULL;
	GtkMenu* _tmp31_ = NULL;
#line 649 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 651 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = event;
#line 651 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp0_ != NULL) {
#line 4125 "gitg-history.c"
		GtkListBoxRow* row = NULL;
		GitgHistoryPaned* _tmp1_ = NULL;
		GitgHistoryRefsList* _tmp2_ = NULL;
		GitgHistoryRefsList* _tmp3_ = NULL;
		GdkEventButton* _tmp4_ = NULL;
		gdouble _tmp5_ = 0.0;
		GtkListBoxRow* _tmp6_ = NULL;
		GtkListBoxRow* _tmp7_ = NULL;
		GitgHistoryPaned* _tmp8_ = NULL;
		GitgHistoryRefsList* _tmp9_ = NULL;
		GitgHistoryRefsList* _tmp10_ = NULL;
		GtkListBoxRow* _tmp11_ = NULL;
#line 653 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp1_ = self->priv->d_main;
#line 653 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp2_ = gitg_history_paned_get_refs_list (_tmp1_);
#line 653 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp3_ = _tmp2_;
#line 653 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp4_ = event;
#line 653 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp5_ = _tmp4_->y;
#line 653 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp6_ = gtk_list_box_get_row_at_y ((GtkListBox*) _tmp3_, (gint) _tmp5_);
#line 653 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp7_ = _g_object_ref0 (_tmp6_);
#line 653 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		row = _tmp7_;
#line 654 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp8_ = self->priv->d_main;
#line 654 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp9_ = gitg_history_paned_get_refs_list (_tmp8_);
#line 654 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp10_ = _tmp9_;
#line 654 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp11_ = row;
#line 654 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		gtk_list_box_select_row ((GtkListBox*) _tmp10_, _tmp11_);
#line 651 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (row);
#line 4166 "gitg-history.c"
	}
#line 657 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp12_ = self->priv->d_main;
#line 657 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp13_ = gitg_history_paned_get_refs_list (_tmp12_);
#line 657 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp14_ = _tmp13_;
#line 657 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp15_ = gitg_history_refs_list_get_selection (_tmp14_);
#line 657 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp16_ = _tmp15_;
#line 657 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	references = _tmp16_;
#line 659 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp18_ = references;
#line 659 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp19_ = gee_collection_get_is_empty ((GeeCollection*) _tmp18_);
#line 659 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp20_ = _tmp19_;
#line 659 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp20_) {
#line 659 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp17_ = TRUE;
#line 4190 "gitg-history.c"
	} else {
		GeeList* _tmp21_ = NULL;
		gpointer _tmp22_ = NULL;
		GitgRef* _tmp23_ = NULL;
		GeeList* _tmp24_ = NULL;
		gpointer _tmp25_ = NULL;
		GitgRef* _tmp26_ = NULL;
#line 659 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp21_ = references;
#line 659 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp22_ = gee_list_first (_tmp21_);
#line 659 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp23_ = (GitgRef*) _tmp22_;
#line 659 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp24_ = references;
#line 659 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp25_ = gee_list_last (_tmp24_);
#line 659 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp26_ = (GitgRef*) _tmp25_;
#line 659 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp17_ = _tmp23_ != _tmp26_;
#line 659 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (_tmp26_);
#line 659 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (_tmp23_);
#line 4216 "gitg-history.c"
	}
#line 659 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp17_) {
#line 661 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		result = NULL;
#line 661 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (references);
#line 661 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		return result;
#line 4226 "gitg-history.c"
	}
#line 664 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp27_ = references;
#line 664 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp28_ = gee_list_first (_tmp27_);
#line 664 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp29_ = (GitgRef*) _tmp28_;
#line 664 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp30_ = gitg_history_activity_popup_menu_for_ref (self, _tmp29_);
#line 664 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp31_ = _tmp30_;
#line 664 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp29_);
#line 664 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	result = _tmp31_;
#line 664 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (references);
#line 664 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 4246 "gitg-history.c"
}


static GgitOId* gitg_history_activity_id_for_ref (GitgHistoryActivity* self, GgitRef* r) {
	GgitOId* result = NULL;
	GgitOId* id = NULL;
	GError * _inner_error_ = NULL;
#line 667 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 667 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_val_if_fail (r != NULL, NULL);
#line 669 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	id = NULL;
#line 4260 "gitg-history.c"
	{
		GgitRef* resolved = NULL;
		GgitRef* _tmp0_ = NULL;
		GgitRef* _tmp1_ = NULL;
		GgitRef* _tmp2_ = NULL;
		gboolean _tmp3_ = FALSE;
#line 673 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp0_ = r;
#line 673 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp1_ = ggit_ref_resolve (_tmp0_, &_inner_error_);
#line 673 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		resolved = _tmp1_;
#line 673 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4275 "gitg-history.c"
			goto __catch84_g_error;
		}
#line 675 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp2_ = resolved;
#line 675 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp3_ = ggit_ref_is_tag (_tmp2_);
#line 675 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		if (_tmp3_) {
#line 4284 "gitg-history.c"
			GgitTag* t = NULL;
			GitgExtApplication* _tmp4_ = NULL;
			GitgExtApplication* _tmp5_ = NULL;
			GitgExtApplication* _tmp6_ = NULL;
			GitgRepository* _tmp7_ = NULL;
			GitgRepository* _tmp8_ = NULL;
			GitgRepository* _tmp9_ = NULL;
			GgitRef* _tmp10_ = NULL;
			GgitOId* _tmp11_ = NULL;
			GgitOId* _tmp12_ = NULL;
			gpointer _tmp13_ = NULL;
			GgitTag* _tmp14_ = NULL;
			GgitTag* _tmp15_ = NULL;
			GgitOId* _tmp16_ = NULL;
#line 677 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp4_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 677 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp5_ = _tmp4_;
#line 677 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp6_ = _tmp5_;
#line 677 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp7_ = gitg_ext_application_get_repository (_tmp6_);
#line 677 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp8_ = _tmp7_;
#line 677 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp9_ = _tmp8_;
#line 677 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp10_ = resolved;
#line 677 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp11_ = ggit_ref_get_target (_tmp10_);
#line 677 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp12_ = _tmp11_;
#line 677 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp13_ = gitg_repository_lookup (_tmp9_, ggit_tag_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, _tmp12_, &_inner_error_);
#line 677 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp14_ = (GgitTag*) _tmp13_;
#line 677 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			__vala_GgitOId_free0 (_tmp12_);
#line 677 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_g_object_unref0 (_tmp9_);
#line 677 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_g_object_unref0 (_tmp6_);
#line 677 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			t = _tmp14_;
#line 677 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 677 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_g_object_unref0 (resolved);
#line 4333 "gitg-history.c"
				goto __catch84_g_error;
			}
#line 679 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp15_ = t;
#line 679 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp16_ = ggit_tag_get_target_id (_tmp15_);
#line 679 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			__vala_GgitOId_free0 (id);
#line 679 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			id = _tmp16_;
#line 675 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_g_object_unref0 (t);
#line 4346 "gitg-history.c"
		} else {
			GgitRef* _tmp17_ = NULL;
			GgitOId* _tmp18_ = NULL;
#line 683 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp17_ = resolved;
#line 683 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp18_ = ggit_ref_get_target (_tmp17_);
#line 683 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			__vala_GgitOId_free0 (id);
#line 683 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			id = _tmp18_;
#line 4358 "gitg-history.c"
		}
#line 671 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (resolved);
#line 4362 "gitg-history.c"
	}
	goto __finally84;
	__catch84_g_error:
	{
#line 671 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_clear_error (&_inner_error_);
#line 671 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_inner_error_ = NULL;
#line 4371 "gitg-history.c"
	}
	__finally84:
#line 671 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 671 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		__vala_GgitOId_free0 (id);
#line 671 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.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 671 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_clear_error (&_inner_error_);
#line 671 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		return NULL;
#line 4384 "gitg-history.c"
	}
#line 688 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	result = id;
#line 688 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 4390 "gitg-history.c"
}


static GgitOId* _vala_GgitOId_copy (GgitOId* self) {
#line 695 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return g_boxed_copy (ggit_oid_get_type (), self);
#line 4397 "gitg-history.c"
}


static gpointer __vala_GgitOId_copy0 (gpointer self) {
#line 719 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return self ? _vala_GgitOId_copy (self) : NULL;
#line 4404 "gitg-history.c"
}


static void _vala_array_add16 (GgitOId*** array, int* length, int* size, GgitOId* value) {
#line 719 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if ((*length) == (*size)) {
#line 719 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 719 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		*array = g_renew (GgitOId*, *array, (*size) + 1);
#line 4415 "gitg-history.c"
	}
#line 719 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	(*array)[(*length)++] = value;
#line 719 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	(*array)[*length] = NULL;
#line 4421 "gitg-history.c"
}


static void _vala_array_add17 (GgitOId*** array, int* length, int* size, GgitOId* value) {
#line 731 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if ((*length) == (*size)) {
#line 731 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 731 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		*array = g_renew (GgitOId*, *array, (*size) + 1);
#line 4432 "gitg-history.c"
	}
#line 731 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	(*array)[(*length)++] = value;
#line 731 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	(*array)[*length] = NULL;
#line 4438 "gitg-history.c"
}


static void _vala_array_add18 (GgitOId*** array, int* length, int* size, GgitOId* value) {
#line 751 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if ((*length) == (*size)) {
#line 751 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 751 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		*array = g_renew (GgitOId*, *array, (*size) + 1);
#line 4449 "gitg-history.c"
	}
#line 751 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	(*array)[(*length)++] = value;
#line 751 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	(*array)[*length] = NULL;
#line 4455 "gitg-history.c"
}


static void gitg_history_activity_update_walker (GitgHistoryActivity* self) {
	GeeHashSet* _tmp0_ = NULL;
	GeeHashSet* include = NULL;
	GeeHashSet* _tmp1_ = NULL;
	gboolean isall = FALSE;
	GitgHistoryPaned* _tmp2_ = NULL;
	GitgHistoryRefsList* _tmp3_ = NULL;
	GitgHistoryRefsList* _tmp4_ = NULL;
	gboolean _tmp5_ = FALSE;
	gboolean _tmp6_ = FALSE;
	gboolean isheader = FALSE;
	GitgHistoryPaned* _tmp7_ = NULL;
	GitgHistoryRefsList* _tmp8_ = NULL;
	GitgHistoryRefsList* _tmp9_ = NULL;
	gboolean _tmp10_ = FALSE;
	gboolean _tmp11_ = FALSE;
	GeeHashSet* perm_uniq = NULL;
	GeeHashSet* _tmp12_ = NULL;
	GgitOId** permanent = NULL;
	GgitOId** _tmp13_ = NULL;
	gint permanent_length1 = 0;
	gint _permanent_size_ = 0;
	GitgExtApplication* _tmp14_ = NULL;
	GitgExtApplication* _tmp15_ = NULL;
	GitgExtApplication* _tmp16_ = NULL;
	GitgRepository* _tmp17_ = NULL;
	GitgRepository* _tmp18_ = NULL;
	GitgRepository* _tmp19_ = NULL;
	gboolean _tmp20_ = FALSE;
	GitgCommitModel* _tmp92_ = NULL;
	GgitOId** _tmp93_ = NULL;
	gint _tmp93__length1 = 0;
	GitgCommitModel* _tmp94_ = NULL;
	GeeHashSet* _tmp95_ = NULL;
	gint _tmp96_ = 0;
	gpointer* _tmp97_ = NULL;
	GgitOId** _tmp98_ = NULL;
	gint _tmp98__length1 = 0;
	GitgCommitModel* _tmp99_ = NULL;
	GError * _inner_error_ = NULL;
#line 691 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (self != NULL);
#line 693 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = self->priv->d_selected;
#line 693 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gee_abstract_collection_clear ((GeeAbstractCollection*) _tmp0_);
#line 695 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = gee_hash_set_new (ggit_oid_get_type (), (GBoxedCopyFunc) _vala_GgitOId_copy, _vala_GgitOId_free, (GeeHashDataFunc) ggit_oid_hash, NULL, NULL, (GeeEqualDataFunc) ggit_oid_equal, NULL, NULL);
#line 695 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	include = _tmp1_;
#line 698 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp2_ = self->priv->d_main;
#line 698 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp3_ = gitg_history_paned_get_refs_list (_tmp2_);
#line 698 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp4_ = _tmp3_;
#line 698 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp5_ = gitg_history_refs_list_get_is_all (_tmp4_);
#line 698 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp6_ = _tmp5_;
#line 698 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	isall = _tmp6_;
#line 699 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp7_ = self->priv->d_main;
#line 699 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp8_ = gitg_history_paned_get_refs_list (_tmp7_);
#line 699 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp9_ = _tmp8_;
#line 699 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp10_ = gitg_history_refs_list_get_is_header (_tmp9_);
#line 699 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp11_ = _tmp10_;
#line 699 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	isheader = _tmp11_;
#line 701 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp12_ = gee_hash_set_new (ggit_oid_get_type (), (GBoxedCopyFunc) _vala_GgitOId_copy, _vala_GgitOId_free, (GeeHashDataFunc) ggit_oid_hash, NULL, NULL, (GeeEqualDataFunc) ggit_oid_equal, NULL, NULL);
#line 701 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	perm_uniq = _tmp12_;
#line 704 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp13_ = g_new0 (GgitOId*, 0 + 1);
#line 704 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	permanent = _tmp13_;
#line 704 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	permanent_length1 = 0;
#line 704 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_permanent_size_ = permanent_length1;
#line 706 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp14_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 706 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp15_ = _tmp14_;
#line 706 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp16_ = _tmp15_;
#line 706 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp17_ = gitg_ext_application_get_repository (_tmp16_);
#line 706 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp18_ = _tmp17_;
#line 706 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp19_ = _tmp18_;
#line 706 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp20_ = _tmp19_ != NULL;
#line 706 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp19_);
#line 706 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp16_);
#line 706 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp20_) {
#line 4565 "gitg-history.c"
		gchar** _tmp21_ = NULL;
		gint _tmp21__length1 = 0;
		GSettings* _tmp42_ = NULL;
		gboolean _tmp43_ = FALSE;
#line 708 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp21_ = self->priv->d_mainline;
#line 708 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp21__length1 = self->priv->d_mainline_length1;
#line 4574 "gitg-history.c"
		{
			gchar** ml_collection = NULL;
			gint ml_collection_length1 = 0;
			gint _ml_collection_size_ = 0;
			gint ml_it = 0;
#line 708 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			ml_collection = _tmp21_;
#line 708 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			ml_collection_length1 = _tmp21__length1;
#line 708 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			for (ml_it = 0; ml_it < _tmp21__length1; ml_it = ml_it + 1) {
#line 4586 "gitg-history.c"
				gchar* _tmp22_ = NULL;
				gchar* ml = NULL;
#line 708 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp22_ = g_strdup (ml_collection[ml_it]);
#line 708 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				ml = _tmp22_;
#line 4593 "gitg-history.c"
				{
					GgitOId* id = NULL;
					gboolean _tmp34_ = FALSE;
					GgitOId* _tmp35_ = NULL;
					{
						GitgRef* _tmp23_ = NULL;
						GitgExtApplication* _tmp24_ = NULL;
						GitgExtApplication* _tmp25_ = NULL;
						GitgExtApplication* _tmp26_ = NULL;
						GitgRepository* _tmp27_ = NULL;
						GitgRepository* _tmp28_ = NULL;
						GitgRepository* _tmp29_ = NULL;
						const gchar* _tmp30_ = NULL;
						GitgRef* _tmp31_ = NULL;
						GitgRef* _tmp32_ = NULL;
						GgitOId* _tmp33_ = NULL;
#line 714 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp24_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 714 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp25_ = _tmp24_;
#line 714 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp26_ = _tmp25_;
#line 714 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp27_ = gitg_ext_application_get_repository (_tmp26_);
#line 714 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp28_ = _tmp27_;
#line 714 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp29_ = _tmp28_;
#line 714 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp30_ = ml;
#line 714 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp31_ = gitg_repository_lookup_reference (_tmp29_, _tmp30_, &_inner_error_);
#line 714 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp32_ = _tmp31_;
#line 714 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_g_object_unref0 (_tmp29_);
#line 714 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_g_object_unref0 (_tmp26_);
#line 714 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp23_ = _tmp32_;
#line 714 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4636 "gitg-history.c"
							goto __catch85_g_error;
						}
#line 714 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp33_ = gitg_history_activity_id_for_ref (self, (GgitRef*) _tmp23_);
#line 714 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						__vala_GgitOId_free0 (id);
#line 714 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						id = _tmp33_;
#line 712 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_g_object_unref0 (_tmp23_);
#line 4647 "gitg-history.c"
					}
					goto __finally85;
					__catch85_g_error:
					{
#line 712 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						g_clear_error (&_inner_error_);
#line 712 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_inner_error_ = NULL;
#line 715 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						__vala_GgitOId_free0 (id);
#line 715 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_g_free0 (ml);
#line 715 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						continue;
#line 4662 "gitg-history.c"
					}
					__finally85:
#line 712 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 712 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						__vala_GgitOId_free0 (id);
#line 712 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_g_free0 (ml);
#line 712 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						permanent = (_vala_array_free (permanent, permanent_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 712 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_g_object_unref0 (perm_uniq);
#line 712 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_g_object_unref0 (include);
#line 712 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.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 712 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						g_clear_error (&_inner_error_);
#line 712 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						return;
#line 4683 "gitg-history.c"
					}
#line 717 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp35_ = id;
#line 717 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					if (_tmp35_ != NULL) {
#line 4689 "gitg-history.c"
						GeeHashSet* _tmp36_ = NULL;
						GgitOId* _tmp37_ = NULL;
						gboolean _tmp38_ = FALSE;
#line 717 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp36_ = perm_uniq;
#line 717 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp37_ = id;
#line 717 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp38_ = gee_abstract_collection_add ((GeeAbstractCollection*) _tmp36_, _tmp37_);
#line 717 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp34_ = _tmp38_;
#line 4701 "gitg-history.c"
					} else {
#line 717 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp34_ = FALSE;
#line 4705 "gitg-history.c"
					}
#line 717 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					if (_tmp34_) {
#line 4709 "gitg-history.c"
						GgitOId** _tmp39_ = NULL;
						gint _tmp39__length1 = 0;
						GgitOId* _tmp40_ = NULL;
						GgitOId* _tmp41_ = NULL;
#line 719 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp39_ = permanent;
#line 719 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp39__length1 = permanent_length1;
#line 719 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp40_ = id;
#line 719 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp41_ = __vala_GgitOId_copy0 (_tmp40_);
#line 719 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_vala_array_add16 (&permanent, &permanent_length1, &_permanent_size_, _tmp41_);
#line 4724 "gitg-history.c"
					}
#line 708 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					__vala_GgitOId_free0 (id);
#line 708 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_g_free0 (ml);
#line 4730 "gitg-history.c"
				}
			}
		}
#line 723 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp42_ = self->priv->d_settings;
#line 723 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp43_ = g_settings_get_boolean (_tmp42_, "mainline-head");
#line 723 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		if (_tmp43_) {
#line 4740 "gitg-history.c"
			{
				GitgRef* _tmp44_ = NULL;
				GitgExtApplication* _tmp45_ = NULL;
				GitgExtApplication* _tmp46_ = NULL;
				GitgExtApplication* _tmp47_ = NULL;
				GitgRepository* _tmp48_ = NULL;
				GitgRepository* _tmp49_ = NULL;
				GitgRepository* _tmp50_ = NULL;
				GitgRef* _tmp51_ = NULL;
				GitgRef* _tmp52_ = NULL;
				GgitOId* head = NULL;
				GgitOId* _tmp53_ = NULL;
				gboolean _tmp54_ = FALSE;
				GgitOId* _tmp55_ = NULL;
#line 727 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp45_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 727 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp46_ = _tmp45_;
#line 727 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp47_ = _tmp46_;
#line 727 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp48_ = gitg_ext_application_get_repository (_tmp47_);
#line 727 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp49_ = _tmp48_;
#line 727 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp50_ = _tmp49_;
#line 727 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp51_ = gitg_repository_get_head (_tmp50_, &_inner_error_);
#line 727 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp52_ = _tmp51_;
#line 727 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_g_object_unref0 (_tmp50_);
#line 727 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_g_object_unref0 (_tmp47_);
#line 727 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp44_ = _tmp52_;
#line 727 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4779 "gitg-history.c"
					goto __catch86_g_error;
				}
#line 727 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp53_ = gitg_history_activity_id_for_ref (self, (GgitRef*) _tmp44_);
#line 727 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				head = _tmp53_;
#line 729 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp55_ = head;
#line 729 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				if (_tmp55_ != NULL) {
#line 4790 "gitg-history.c"
					GeeHashSet* _tmp56_ = NULL;
					GgitOId* _tmp57_ = NULL;
					gboolean _tmp58_ = FALSE;
#line 729 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp56_ = perm_uniq;
#line 729 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp57_ = head;
#line 729 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp58_ = gee_abstract_collection_add ((GeeAbstractCollection*) _tmp56_, _tmp57_);
#line 729 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp54_ = _tmp58_;
#line 4802 "gitg-history.c"
				} else {
#line 729 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp54_ = FALSE;
#line 4806 "gitg-history.c"
				}
#line 729 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				if (_tmp54_) {
#line 4810 "gitg-history.c"
					GgitOId** _tmp59_ = NULL;
					gint _tmp59__length1 = 0;
					GgitOId* _tmp60_ = NULL;
					GgitOId* _tmp61_ = NULL;
#line 731 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp59_ = permanent;
#line 731 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp59__length1 = permanent_length1;
#line 731 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp60_ = head;
#line 731 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp61_ = __vala_GgitOId_copy0 (_tmp60_);
#line 731 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_vala_array_add17 (&permanent, &permanent_length1, &_permanent_size_, _tmp61_);
#line 4825 "gitg-history.c"
				}
#line 725 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				__vala_GgitOId_free0 (head);
#line 725 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_g_object_unref0 (_tmp44_);
#line 4831 "gitg-history.c"
			}
			goto __finally86;
			__catch86_g_error:
			{
#line 725 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				g_clear_error (&_inner_error_);
#line 725 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_inner_error_ = NULL;
#line 4840 "gitg-history.c"
			}
			__finally86:
#line 725 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 725 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				permanent = (_vala_array_free (permanent, permanent_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 725 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_g_object_unref0 (perm_uniq);
#line 725 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_g_object_unref0 (include);
#line 725 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.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 725 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				g_clear_error (&_inner_error_);
#line 725 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				return;
#line 4857 "gitg-history.c"
			}
		}
	}
	{
		GeeList* _r_list = NULL;
		GitgHistoryPaned* _tmp62_ = NULL;
		GitgHistoryRefsList* _tmp63_ = NULL;
		GitgHistoryRefsList* _tmp64_ = NULL;
		GeeList* _tmp65_ = NULL;
		GeeList* _tmp66_ = NULL;
		gint _r_size = 0;
		GeeList* _tmp67_ = NULL;
		gint _tmp68_ = 0;
		gint _tmp69_ = 0;
		gint _r_index = 0;
#line 737 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp62_ = self->priv->d_main;
#line 737 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp63_ = gitg_history_paned_get_refs_list (_tmp62_);
#line 737 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp64_ = _tmp63_;
#line 737 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp65_ = gitg_history_refs_list_get_selection (_tmp64_);
#line 737 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp66_ = _tmp65_;
#line 737 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_r_list = _tmp66_;
#line 737 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp67_ = _r_list;
#line 737 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp68_ = gee_collection_get_size ((GeeCollection*) _tmp67_);
#line 737 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp69_ = _tmp68_;
#line 737 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_r_size = _tmp69_;
#line 737 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_r_index = -1;
#line 737 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		while (TRUE) {
#line 4897 "gitg-history.c"
			gint _tmp70_ = 0;
			gint _tmp71_ = 0;
			gint _tmp72_ = 0;
			GitgRef* r = NULL;
			GeeList* _tmp73_ = NULL;
			gint _tmp74_ = 0;
			gpointer _tmp75_ = NULL;
			GgitOId* id = NULL;
			GitgRef* _tmp76_ = NULL;
			GgitOId* _tmp77_ = NULL;
			GgitOId* _tmp78_ = NULL;
#line 737 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp70_ = _r_index;
#line 737 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_r_index = _tmp70_ + 1;
#line 737 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp71_ = _r_index;
#line 737 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp72_ = _r_size;
#line 737 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			if (!(_tmp71_ < _tmp72_)) {
#line 737 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				break;
#line 4921 "gitg-history.c"
			}
#line 737 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp73_ = _r_list;
#line 737 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp74_ = _r_index;
#line 737 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp75_ = gee_list_get (_tmp73_, _tmp74_);
#line 737 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			r = (GitgRef*) _tmp75_;
#line 739 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp76_ = r;
#line 739 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp77_ = gitg_history_activity_id_for_ref (self, (GgitRef*) _tmp76_);
#line 739 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			id = _tmp77_;
#line 741 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp78_ = id;
#line 741 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			if (_tmp78_ != NULL) {
#line 4941 "gitg-history.c"
				GeeHashSet* _tmp79_ = NULL;
				GgitOId* _tmp80_ = NULL;
				gboolean _tmp81_ = FALSE;
#line 743 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp79_ = include;
#line 743 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp80_ = id;
#line 743 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				gee_abstract_collection_add ((GeeAbstractCollection*) _tmp79_, _tmp80_);
#line 745 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp81_ = isall;
#line 745 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				if (!_tmp81_) {
#line 4955 "gitg-history.c"
					GeeHashSet* _tmp82_ = NULL;
					GgitOId* _tmp83_ = NULL;
					gboolean _tmp84_ = FALSE;
					gboolean _tmp85_ = FALSE;
#line 747 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp82_ = self->priv->d_selected;
#line 747 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp83_ = id;
#line 747 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					gee_abstract_collection_add ((GeeAbstractCollection*) _tmp82_, _tmp83_);
#line 749 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					_tmp85_ = isheader;
#line 749 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					if (!_tmp85_) {
#line 4970 "gitg-history.c"
						GeeHashSet* _tmp86_ = NULL;
						GgitOId* _tmp87_ = NULL;
						gboolean _tmp88_ = FALSE;
#line 749 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp86_ = perm_uniq;
#line 749 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp87_ = id;
#line 749 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp88_ = gee_abstract_collection_add ((GeeAbstractCollection*) _tmp86_, _tmp87_);
#line 749 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp84_ = _tmp88_;
#line 4982 "gitg-history.c"
					} else {
#line 749 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp84_ = FALSE;
#line 4986 "gitg-history.c"
					}
#line 749 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
					if (_tmp84_) {
#line 4990 "gitg-history.c"
						GgitOId** _tmp89_ = NULL;
						gint _tmp89__length1 = 0;
						GgitOId* _tmp90_ = NULL;
						GgitOId* _tmp91_ = NULL;
#line 751 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp89_ = permanent;
#line 751 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp89__length1 = permanent_length1;
#line 751 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp90_ = id;
#line 751 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_tmp91_ = __vala_GgitOId_copy0 (_tmp90_);
#line 751 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
						_vala_array_add18 (&permanent, &permanent_length1, &_permanent_size_, _tmp91_);
#line 5005 "gitg-history.c"
					}
				}
			}
#line 737 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			__vala_GgitOId_free0 (id);
#line 737 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_g_object_unref0 (r);
#line 5013 "gitg-history.c"
		}
#line 737 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (_r_list);
#line 5017 "gitg-history.c"
	}
#line 757 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp92_ = self->priv->d_commit_list_model;
#line 757 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp93_ = permanent;
#line 757 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp93__length1 = permanent_length1;
#line 757 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_commit_model_set_permanent_lanes (_tmp92_, _tmp93_, _tmp93__length1);
#line 758 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp94_ = self->priv->d_commit_list_model;
#line 758 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp95_ = include;
#line 758 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp97_ = gee_collection_to_array ((GeeCollection*) _tmp95_, &_tmp96_);
#line 758 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp98_ = _tmp97_;
#line 758 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp98__length1 = _tmp96_;
#line 758 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_commit_model_set_include (_tmp94_, _tmp98_, _tmp96_);
#line 758 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp98_ = (_vala_array_free (_tmp98_, _tmp98__length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 759 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp99_ = self->priv->d_commit_list_model;
#line 759 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_commit_model_reload (_tmp99_);
#line 691 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	permanent = (_vala_array_free (permanent, permanent_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 691 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (perm_uniq);
#line 691 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (include);
#line 5051 "gitg-history.c"
}


static void ___lambda98_ (GitgHistoryActivity* self) {
#line 775 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_ext_selectable_set_selectable_mode ((GitgExtSelectable*) self, GITG_EXT_SELECTION_MODE_NORMAL);
#line 5058 "gitg-history.c"
}


static void ____lambda98__gitg_ext_commit_action_finished (GitgExtCommitAction* _sender, gpointer self) {
#line 774 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	___lambda98_ ((GitgHistoryActivity*) self);
#line 5065 "gitg-history.c"
}


static void gitg_history_activity_add_commit_action (GitgHistoryActivity* self, GeeLinkedList* actions, GitgExtCommitAction* action) {
	gboolean _tmp0_ = FALSE;
	GitgExtCommitAction* _tmp1_ = NULL;
#line 768 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (self != NULL);
#line 768 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (actions != NULL);
#line 771 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = action;
#line 771 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp1_ != NULL) {
#line 5080 "gitg-history.c"
		GitgExtCommitAction* _tmp2_ = NULL;
		gboolean _tmp3_ = FALSE;
		gboolean _tmp4_ = FALSE;
#line 771 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp2_ = action;
#line 771 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp3_ = gitg_ext_ui_element_get_available ((GitgExtUIElement*) _tmp2_);
#line 771 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp4_ = _tmp3_;
#line 771 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp0_ = _tmp4_;
#line 5092 "gitg-history.c"
	} else {
#line 771 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp0_ = FALSE;
#line 5096 "gitg-history.c"
	}
#line 771 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp0_) {
#line 5100 "gitg-history.c"
		GeeLinkedList* _tmp5_ = NULL;
		GitgExtCommitAction* _tmp6_ = NULL;
		GitgExtCommitAction* _tmp7_ = NULL;
#line 773 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp5_ = actions;
#line 773 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp6_ = action;
#line 773 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		gee_abstract_collection_add ((GeeAbstractCollection*) _tmp5_, _tmp6_);
#line 774 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp7_ = action;
#line 774 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_signal_connect_object (_tmp7_, "finished", (GCallback) ____lambda98__gitg_ext_commit_action_finished, self, 0);
#line 5114 "gitg-history.c"
	}
}


static gchar* gitg_history_activity_normalize (GitgHistoryActivity* self, const gchar* s) {
	gchar* result = NULL;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
#line 857 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 857 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_val_if_fail (s != NULL, NULL);
#line 859 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = s;
#line 859 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = g_utf8_normalize (_tmp0_, (gssize) (-1), G_NORMALIZE_ALL);
#line 859 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp2_ = _tmp1_;
#line 859 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp3_ = g_utf8_casefold (_tmp2_, (gssize) (-1));
#line 859 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp4_ = _tmp3_;
#line 859 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_free0 (_tmp2_);
#line 859 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	result = _tmp4_;
#line 859 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 5146 "gitg-history.c"
}


static gboolean string_contains (const gchar* self, const gchar* needle) {
	gboolean result = FALSE;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 1278 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, FALSE);
#line 1278 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	g_return_val_if_fail (needle != NULL, FALSE);
#line 1279 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp0_ = needle;
#line 1279 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_);
#line 1279 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	result = _tmp1_ != NULL;
#line 1279 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	return result;
#line 5166 "gitg-history.c"
}


static gboolean gitg_history_activity_search_filter_func (GitgHistoryActivity* self, GtkTreeModel* model, gint column, const gchar* key, GtkTreeIter* iter) {
	gboolean result = FALSE;
	GitgCommit* c = NULL;
	GitgCommitModel* _tmp0_ = NULL;
	GtkTreeIter _tmp1_ = {0};
	GitgCommit* _tmp2_ = NULL;
	GitgCommit* _tmp3_ = NULL;
	GgitOId* _tmp4_ = NULL;
	GgitOId* _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
	gboolean _tmp7_ = FALSE;
	gboolean _tmp8_ = FALSE;
	gchar* nkey = NULL;
	const gchar* _tmp9_ = NULL;
	gchar* _tmp10_ = NULL;
	gchar* subject = NULL;
	GitgCommit* _tmp11_ = NULL;
	const gchar* _tmp12_ = NULL;
	gchar* _tmp13_ = NULL;
	const gchar* _tmp14_ = NULL;
	const gchar* _tmp15_ = NULL;
	gboolean _tmp16_ = FALSE;
	gchar* message = NULL;
	GitgCommit* _tmp17_ = NULL;
	const gchar* _tmp18_ = NULL;
	gchar* _tmp19_ = NULL;
	const gchar* _tmp20_ = NULL;
	const gchar* _tmp21_ = NULL;
	gboolean _tmp22_ = FALSE;
#line 862 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 862 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_val_if_fail (model != NULL, FALSE);
#line 862 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_val_if_fail (key != NULL, FALSE);
#line 862 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_val_if_fail (iter != NULL, FALSE);
#line 864 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = self->priv->d_commit_list_model;
#line 864 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = *iter;
#line 864 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp2_ = gitg_commit_model_commit_from_iter (_tmp0_, &_tmp1_);
#line 864 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	c = _tmp2_;
#line 866 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp3_ = c;
#line 866 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp4_ = ggit_object_get_id ((GgitObject*) _tmp3_);
#line 866 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp5_ = _tmp4_;
#line 866 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp6_ = key;
#line 866 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp7_ = ggit_oid_has_prefix (_tmp5_, _tmp6_);
#line 866 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp8_ = _tmp7_;
#line 866 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	__vala_GgitOId_free0 (_tmp5_);
#line 866 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp8_) {
#line 868 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		result = FALSE;
#line 868 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (c);
#line 868 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		return result;
#line 5237 "gitg-history.c"
	}
#line 871 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp9_ = key;
#line 871 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp10_ = gitg_history_activity_normalize (self, _tmp9_);
#line 871 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	nkey = _tmp10_;
#line 872 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp11_ = c;
#line 872 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp12_ = ggit_commit_get_subject ((GgitCommit*) _tmp11_);
#line 872 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp13_ = gitg_history_activity_normalize (self, _tmp12_);
#line 872 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	subject = _tmp13_;
#line 874 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp14_ = subject;
#line 874 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp15_ = nkey;
#line 874 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp16_ = string_contains (_tmp14_, _tmp15_);
#line 874 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp16_) {
#line 876 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		result = FALSE;
#line 876 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_free0 (subject);
#line 876 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_free0 (nkey);
#line 876 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (c);
#line 876 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		return result;
#line 5271 "gitg-history.c"
	}
#line 879 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp17_ = c;
#line 879 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp18_ = ggit_commit_get_message ((GgitCommit*) _tmp17_);
#line 879 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp19_ = gitg_history_activity_normalize (self, _tmp18_);
#line 879 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	message = _tmp19_;
#line 881 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp20_ = message;
#line 881 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp21_ = nkey;
#line 881 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp22_ = string_contains (_tmp20_, _tmp21_);
#line 881 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp22_) {
#line 883 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		result = FALSE;
#line 883 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_free0 (message);
#line 883 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_free0 (subject);
#line 883 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_free0 (nkey);
#line 883 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (c);
#line 883 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		return result;
#line 5301 "gitg-history.c"
	}
#line 886 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	result = TRUE;
#line 886 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_free0 (message);
#line 886 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_free0 (subject);
#line 886 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_free0 (nkey);
#line 886 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (c);
#line 886 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 5315 "gitg-history.c"
}


static GitgExtApplication* gitg_history_activity_real_get_application (GitgExtUIElement* base) {
	GitgExtApplication* result;
	GitgHistoryActivity* self;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
#line 30 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = (GitgHistoryActivity*) base;
#line 30 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = self->priv->_application;
#line 30 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 30 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	result = _tmp1_;
#line 30 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 5334 "gitg-history.c"
}


static void gitg_history_activity_real_set_application (GitgExtUIElement* base, GitgExtApplication* value) {
	GitgHistoryActivity* self;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
#line 30 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = (GitgHistoryActivity*) base;
#line 30 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = value;
#line 30 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 30 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (self->priv->_application);
#line 30 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self->priv->_application = _tmp1_;
#line 30 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_notify ((GObject *) self, "application");
#line 5354 "gitg-history.c"
}


static gchar* gitg_history_activity_real_get_id (GitgExtUIElement* base) {
	gchar* result;
	GitgHistoryActivity* self;
	gchar* _tmp0_ = NULL;
#line 55 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = (GitgHistoryActivity*) base;
#line 55 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = g_strdup ("/org/gnome/gitg/Activities/History");
#line 55 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	result = _tmp0_;
#line 55 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 5370 "gitg-history.c"
}


GitgRepository* gitg_history_activity_get_repository (GitgHistoryActivity* self) {
	GitgRepository* result;
	GitgRepository* _tmp0_ = NULL;
#line 63 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 65 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = self->priv->d_repository;
#line 65 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	result = _tmp0_;
#line 65 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 5385 "gitg-history.c"
}


void gitg_history_activity_set_repository (GitgHistoryActivity* self, GitgRepository* value) {
	GitgRepository* _tmp0_ = NULL;
	GitgRepository* _tmp1_ = NULL;
#line 68 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (self != NULL);
#line 70 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = self->priv->d_repository;
#line 70 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = value;
#line 70 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp0_ != _tmp1_) {
#line 5400 "gitg-history.c"
		GitgRepository* _tmp2_ = NULL;
		GitgRepository* _tmp3_ = NULL;
		GitgRepository* _tmp4_ = NULL;
#line 72 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp2_ = value;
#line 72 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp3_ = _g_object_ref0 (_tmp2_);
#line 72 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (self->priv->d_repository);
#line 72 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		self->priv->d_repository = _tmp3_;
#line 74 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp4_ = value;
#line 74 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		if (_tmp4_ != NULL) {
#line 76 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			gitg_history_activity_reload (self);
#line 5418 "gitg-history.c"
		}
	}
#line 68 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_notify ((GObject *) self, "repository");
#line 5423 "gitg-history.c"
}


static gboolean gitg_history_activity_real_get_available (GitgExtUIElement* base) {
	gboolean result;
	GitgHistoryActivity* self;
#line 241 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = (GitgHistoryActivity*) base;
#line 241 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	result = TRUE;
#line 241 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 5436 "gitg-history.c"
}


static gchar* gitg_history_activity_real_get_display_name (GitgExtUIElement* base) {
	gchar* result;
	GitgHistoryActivity* self;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 246 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = (GitgHistoryActivity*) base;
#line 246 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = _ ("History");
#line 246 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 246 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	result = _tmp1_;
#line 246 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 5455 "gitg-history.c"
}


static gchar* gitg_history_activity_real_get_description (GitgExtUIElement* base) {
	gchar* result;
	GitgHistoryActivity* self;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 251 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = (GitgHistoryActivity*) base;
#line 251 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = _ ("Examine the history of the repository");
#line 251 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 251 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	result = _tmp1_;
#line 251 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 5474 "gitg-history.c"
}


static gchar* gitg_history_activity_real_get_icon (GitgExtUIElement* base) {
	gchar* result;
	GitgHistoryActivity* self;
	gchar* _tmp0_ = NULL;
#line 256 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = (GitgHistoryActivity*) base;
#line 256 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = g_strdup ("view-list-symbolic");
#line 256 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	result = _tmp0_;
#line 256 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 5490 "gitg-history.c"
}


static GtkWidget* gitg_history_activity_real_get_widget (GitgExtUIElement* base) {
	GtkWidget* result;
	GitgHistoryActivity* self;
	GitgHistoryPaned* _tmp0_ = NULL;
	GitgHistoryPaned* _tmp1_ = NULL;
	GtkWidget* _tmp2_ = NULL;
#line 261 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = (GitgHistoryActivity*) base;
#line 263 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = self->priv->d_main;
#line 263 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp0_ == NULL) {
#line 265 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		gitg_history_activity_build_ui (self);
#line 5508 "gitg-history.c"
	}
#line 268 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = self->priv->d_main;
#line 268 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp2_ = _g_object_ref0 ((GtkWidget*) _tmp1_);
#line 268 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	result = _tmp2_;
#line 268 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 5518 "gitg-history.c"
}


static gboolean gitg_history_activity_real_get_enabled (GitgExtUIElement* base) {
	gboolean result;
	GitgHistoryActivity* self;
#line 279 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = (GitgHistoryActivity*) base;
#line 279 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	result = TRUE;
#line 279 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 5531 "gitg-history.c"
}


static GitgExtSelectionMode gitg_history_activity_real_get_selectable_mode (GitgExtSelectable* base) {
	GitgExtSelectionMode result;
	GitgHistoryActivity* self;
	GitgExtSelectionMode _tmp0_ = 0;
#line 765 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = (GitgHistoryActivity*) base;
#line 765 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = self->priv->_selectable_mode;
#line 765 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	result = _tmp0_;
#line 765 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 5547 "gitg-history.c"
}


static void gitg_history_activity_real_set_selectable_mode (GitgExtSelectable* base, GitgExtSelectionMode value) {
	GitgHistoryActivity* self;
	GitgExtSelectionMode _tmp0_ = 0;
#line 765 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = (GitgHistoryActivity*) base;
#line 765 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = value;
#line 765 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self->priv->_selectable_mode = _tmp0_;
#line 765 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_notify ((GObject *) self, "selectable-mode");
#line 5562 "gitg-history.c"
}


static Block47Data* block47_data_ref (Block47Data* _data47_) {
#line 782 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_atomic_int_inc (&_data47_->_ref_count_);
#line 782 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return _data47_;
#line 5571 "gitg-history.c"
}


static void block47_data_unref (void * _userdata_) {
	Block47Data* _data47_;
	_data47_ = (Block47Data*) _userdata_;
#line 782 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (g_atomic_int_dec_and_test (&_data47_->_ref_count_)) {
#line 5580 "gitg-history.c"
		GitgHistoryActivity* self;
#line 782 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		self = _data47_->self;
#line 782 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (_data47_->actions);
#line 782 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (_data47_->commit);
#line 782 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (self);
#line 782 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_slice_free (Block47Data, _data47_);
#line 5592 "gitg-history.c"
	}
}


static gboolean _gitg_history_activity_action_widget___lambda99_ (Block47Data* _data47_, GgitCommit* c) {
	GitgHistoryActivity* self;
	gboolean result = FALSE;
	GgitCommit* _tmp0_ = NULL;
	GitgCommit* _tmp1_ = NULL;
#line 786 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = _data47_->self;
#line 786 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_val_if_fail (c != NULL, FALSE);
#line 787 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = c;
#line 787 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GITG_TYPE_COMMIT, GitgCommit));
#line 787 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_data47_->commit);
#line 787 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data47_->commit = _tmp1_;
#line 788 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	result = FALSE;
#line 788 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 5618 "gitg-history.c"
}


static gboolean __gitg_history_activity_action_widget___lambda99__gitg_ext_foreach_commit_selection_func (GgitCommit* object, gpointer self) {
	gboolean result;
	result = _gitg_history_activity_action_widget___lambda99_ (self, object);
#line 786 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 5627 "gitg-history.c"
}


static void _gitg_history_activity_action_widget___lambda109_ (Block47Data* _data47_, PeasExtensionSet* extset, PeasPluginInfo* info, PeasExtension* extension) {
	GitgHistoryActivity* self;
	GeeLinkedList* _tmp0_ = NULL;
	PeasExtension* _tmp1_ = NULL;
#line 819 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = _data47_->self;
#line 819 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (extset != NULL);
#line 819 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (info != NULL);
#line 819 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (extension != NULL);
#line 820 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = _data47_->actions;
#line 820 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = extension;
#line 820 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_add_commit_action (self, _tmp0_, G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, GITG_EXT_TYPE_COMMIT_ACTION) ? ((GitgExtCommitAction*) _tmp1_) : NULL);
#line 5649 "gitg-history.c"
}


static void __gitg_history_activity_action_widget___lambda109__peas_extension_set_foreach_func (PeasExtensionSet* set, PeasPluginInfo* info, PeasExtension* exten, gpointer self) {
#line 819 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_gitg_history_activity_action_widget___lambda109_ (self, set, info, exten);
#line 5656 "gitg-history.c"
}


static Block48Data* block48_data_ref (Block48Data* _data48_) {
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_atomic_int_inc (&_data48_->_ref_count_);
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return _data48_;
#line 5665 "gitg-history.c"
}


static void block48_data_unref (void * _userdata_) {
	Block48Data* _data48_;
	_data48_ = (Block48Data*) _userdata_;
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (g_atomic_int_dec_and_test (&_data48_->_ref_count_)) {
#line 5674 "gitg-history.c"
		GitgHistoryActivity* self;
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		self = _data48_->_data47_->self;
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (_data48_->action);
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		block47_data_unref (_data48_->_data47_);
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_data48_->_data47_ = NULL;
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_slice_free (Block48Data, _data48_);
#line 5686 "gitg-history.c"
	}
}


static void _gitg_history_activity_action_widget______lambda110_ (Block48Data* _data48_) {
	Block47Data* _data47_;
	GitgHistoryActivity* self;
	GitgExtCommitAction* _tmp0_ = NULL;
#line 840 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data47_ = _data48_->_data47_;
#line 840 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = _data47_->self;
#line 841 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = _data48_->action;
#line 841 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_signal_emit_by_name ((GitgExtUIElement*) _tmp0_, "activate");
#line 5703 "gitg-history.c"
}


static void __gitg_history_activity_action_widget______lambda110__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 840 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_gitg_history_activity_action_widget______lambda110_ (self);
#line 5710 "gitg-history.c"
}


static GtkWidget* gitg_history_activity_real_get_action_widget (GitgExtSelectable* base) {
	GtkWidget* result;
	GitgHistoryActivity* self;
	Block47Data* _data47_;
	GitgHistoryActionInterface* af = NULL;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
	GitgExtApplication* _tmp2_ = NULL;
	GitgHistoryPaned* _tmp3_ = NULL;
	GitgHistoryRefsList* _tmp4_ = NULL;
	GitgHistoryRefsList* _tmp5_ = NULL;
	GitgHistoryActionInterface* _tmp6_ = NULL;
	GitgHistoryActionInterface* _tmp7_ = NULL;
	GeeLinkedList* _tmp8_ = NULL;
	GeeLinkedList* _tmp9_ = NULL;
	GitgExtApplication* _tmp10_ = NULL;
	GitgExtApplication* _tmp11_ = NULL;
	GitgExtApplication* _tmp12_ = NULL;
	GitgHistoryActionInterface* _tmp13_ = NULL;
	GitgCommit* _tmp14_ = NULL;
	GitgCommitActionCreateBranch* _tmp15_ = NULL;
	GitgCommitActionCreateBranch* _tmp16_ = NULL;
	GeeLinkedList* _tmp17_ = NULL;
	GitgExtApplication* _tmp18_ = NULL;
	GitgExtApplication* _tmp19_ = NULL;
	GitgExtApplication* _tmp20_ = NULL;
	GitgHistoryActionInterface* _tmp21_ = NULL;
	GitgCommit* _tmp22_ = NULL;
	GitgCommitActionCreateTag* _tmp23_ = NULL;
	GitgCommitActionCreateTag* _tmp24_ = NULL;
	GeeLinkedList* _tmp25_ = NULL;
	GitgExtApplication* _tmp26_ = NULL;
	GitgExtApplication* _tmp27_ = NULL;
	GitgExtApplication* _tmp28_ = NULL;
	GitgHistoryActionInterface* _tmp29_ = NULL;
	GitgCommit* _tmp30_ = NULL;
	GitgCommitActionCreatePatch* _tmp31_ = NULL;
	GitgCommitActionCreatePatch* _tmp32_ = NULL;
	PeasExtensionSet* exts = NULL;
	GitgPluginsEngine* _tmp33_ = NULL;
	GitgPluginsEngine* _tmp34_ = NULL;
	GitgExtApplication* _tmp35_ = NULL;
	GitgExtApplication* _tmp36_ = NULL;
	GitgExtApplication* _tmp37_ = NULL;
	GitgHistoryActionInterface* _tmp38_ = NULL;
	GitgCommit* _tmp39_ = NULL;
	PeasExtensionSet* _tmp40_ = NULL;
	PeasExtensionSet* _tmp41_ = NULL;
	PeasExtensionSet* _tmp42_ = NULL;
	GtkActionBar* ab = NULL;
	GtkActionBar* _tmp43_ = NULL;
	GtkActionBar* _tmp44_ = NULL;
	GtkBox* box = NULL;
	GtkBox* _tmp45_ = NULL;
	GtkBox* _tmp46_ = NULL;
	GtkBox* _tmp47_ = NULL;
	GtkBox* _tmp48_ = NULL;
	GtkActionBar* _tmp81_ = NULL;
	GtkBox* _tmp82_ = NULL;
#line 782 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = (GitgHistoryActivity*) base;
#line 782 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data47_ = g_slice_new0 (Block47Data);
#line 782 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data47_->_ref_count_ = 1;
#line 782 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data47_->self = g_object_ref (self);
#line 784 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data47_->commit = NULL;
#line 786 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_ext_history_foreach_selected ((GitgExtHistory*) self, __gitg_history_activity_action_widget___lambda99__gitg_ext_foreach_commit_selection_func, _data47_);
#line 791 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 791 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = _tmp0_;
#line 791 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp2_ = _tmp1_;
#line 791 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp3_ = self->priv->d_main;
#line 791 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp4_ = gitg_history_paned_get_refs_list (_tmp3_);
#line 791 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp5_ = _tmp4_;
#line 791 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp6_ = gitg_history_action_interface_new (_tmp2_, _tmp5_);
#line 791 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp7_ = _tmp6_;
#line 791 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp2_);
#line 791 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	af = _tmp7_;
#line 793 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp8_ = gee_linked_list_new (GITG_EXT_TYPE_COMMIT_ACTION, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
#line 793 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data47_->actions = _tmp8_;
#line 795 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp9_ = _data47_->actions;
#line 795 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp10_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 795 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp11_ = _tmp10_;
#line 795 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp12_ = _tmp11_;
#line 795 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp13_ = af;
#line 795 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp14_ = _data47_->commit;
#line 795 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp15_ = gitg_commit_action_create_branch_new (_tmp12_, (GitgExtRefActionInterface*) _tmp13_, _tmp14_);
#line 795 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp16_ = _tmp15_;
#line 795 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_add_commit_action (self, _tmp9_, (GitgExtCommitAction*) _tmp16_);
#line 795 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp16_);
#line 795 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp12_);
#line 800 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp17_ = _data47_->actions;
#line 800 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp18_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 800 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp19_ = _tmp18_;
#line 800 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp20_ = _tmp19_;
#line 800 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp21_ = af;
#line 800 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp22_ = _data47_->commit;
#line 800 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp23_ = gitg_commit_action_create_tag_new (_tmp20_, (GitgExtRefActionInterface*) _tmp21_, _tmp22_);
#line 800 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp24_ = _tmp23_;
#line 800 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_add_commit_action (self, _tmp17_, (GitgExtCommitAction*) _tmp24_);
#line 800 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp24_);
#line 800 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp20_);
#line 805 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp25_ = _data47_->actions;
#line 805 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp26_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 805 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp27_ = _tmp26_;
#line 805 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp28_ = _tmp27_;
#line 805 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp29_ = af;
#line 805 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp30_ = _data47_->commit;
#line 805 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp31_ = gitg_commit_action_create_patch_new (_tmp28_, (GitgExtRefActionInterface*) _tmp29_, _tmp30_);
#line 805 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp32_ = _tmp31_;
#line 805 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_add_commit_action (self, _tmp25_, (GitgExtCommitAction*) _tmp32_);
#line 805 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp32_);
#line 805 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp28_);
#line 810 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp33_ = gitg_plugins_engine_get_default ();
#line 810 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp34_ = _tmp33_;
#line 810 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp35_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 810 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp36_ = _tmp35_;
#line 810 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp37_ = _tmp36_;
#line 810 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp38_ = af;
#line 810 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp39_ = _data47_->commit;
#line 810 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp40_ = peas_extension_set_new ((PeasEngine*) _tmp34_, GITG_EXT_TYPE_COMMIT_ACTION, "application", _tmp37_, "action_interface", _tmp38_, "commit", _tmp39_, NULL);
#line 810 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp41_ = _tmp40_;
#line 810 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp37_);
#line 810 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp34_);
#line 810 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	exts = _tmp41_;
#line 819 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp42_ = exts;
#line 819 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	peas_extension_set_foreach (_tmp42_, __gitg_history_activity_action_widget___lambda109__peas_extension_set_foreach_func, _data47_);
#line 823 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp43_ = (GtkActionBar*) gtk_action_bar_new ();
#line 823 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_ref_sink (_tmp43_);
#line 823 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	ab = _tmp43_;
#line 824 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp44_ = ab;
#line 824 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gtk_widget_show ((GtkWidget*) _tmp44_);
#line 826 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp45_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
#line 826 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_ref_sink (_tmp45_);
#line 826 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	box = _tmp45_;
#line 827 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp46_ = box;
#line 827 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_set ((GtkWidget*) _tmp46_, "margin", 6, NULL);
#line 828 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp47_ = box;
#line 828 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gtk_box_set_homogeneous (_tmp47_, TRUE);
#line 829 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp48_ = box;
#line 829 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gtk_widget_show ((GtkWidget*) _tmp48_);
#line 5931 "gitg-history.c"
	{
		GeeLinkedList* _action_list = NULL;
		GeeLinkedList* _tmp49_ = NULL;
		GeeLinkedList* _tmp50_ = NULL;
		gint _action_size = 0;
		GeeLinkedList* _tmp51_ = NULL;
		gint _tmp52_ = 0;
		gint _tmp53_ = 0;
		gint _action_index = 0;
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp49_ = _data47_->actions;
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp50_ = _g_object_ref0 (_tmp49_);
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_action_list = _tmp50_;
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp51_ = _action_list;
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp52_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp51_);
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp53_ = _tmp52_;
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_action_size = _tmp53_;
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_action_index = -1;
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		while (TRUE) {
#line 5959 "gitg-history.c"
			Block48Data* _data48_;
			gint _tmp54_ = 0;
			gint _tmp55_ = 0;
			gint _tmp56_ = 0;
			GeeLinkedList* _tmp57_ = NULL;
			gint _tmp58_ = 0;
			gpointer _tmp59_ = NULL;
			GtkWidget* widget = NULL;
			GitgExtCommitAction* _tmp60_ = NULL;
			GtkWidget* _tmp61_ = NULL;
			GtkWidget* _tmp62_ = NULL;
			GtkWidget* _tmp63_ = NULL;
			GtkWidget* _tmp78_ = NULL;
			GtkBox* _tmp79_ = NULL;
			GtkWidget* _tmp80_ = NULL;
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_data48_ = g_slice_new0 (Block48Data);
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_data48_->_ref_count_ = 1;
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_data48_->_data47_ = block47_data_ref (_data47_);
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp54_ = _action_index;
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_action_index = _tmp54_ + 1;
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp55_ = _action_index;
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp56_ = _action_size;
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			if (!(_tmp55_ < _tmp56_)) {
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				block48_data_unref (_data48_);
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_data48_ = NULL;
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				break;
#line 5997 "gitg-history.c"
			}
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp57_ = _action_list;
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp58_ = _action_index;
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp59_ = gee_abstract_list_get ((GeeAbstractList*) _tmp57_, _tmp58_);
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_data48_->action = (GitgExtCommitAction*) _tmp59_;
#line 833 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp60_ = _data48_->action;
#line 833 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp61_ = gitg_ext_ui_element_get_widget ((GitgExtUIElement*) _tmp60_);
#line 833 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp62_ = _tmp61_;
#line 833 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			widget = _tmp62_;
#line 835 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp63_ = widget;
#line 835 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			if (_tmp63_ == NULL) {
#line 6019 "gitg-history.c"
				GtkButton* button = NULL;
				GitgExtCommitAction* _tmp64_ = NULL;
				gchar* _tmp65_ = NULL;
				gchar* _tmp66_ = NULL;
				gchar* _tmp67_ = NULL;
				GtkButton* _tmp68_ = NULL;
				GtkButton* _tmp69_ = NULL;
				GtkButton* _tmp70_ = NULL;
				GitgExtCommitAction* _tmp71_ = NULL;
				gchar* _tmp72_ = NULL;
				gchar* _tmp73_ = NULL;
				gchar* _tmp74_ = NULL;
				GtkButton* _tmp75_ = NULL;
				GtkButton* _tmp76_ = NULL;
				GtkWidget* _tmp77_ = NULL;
#line 837 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp64_ = _data48_->action;
#line 837 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp65_ = gitg_ext_ui_element_get_display_name ((GitgExtUIElement*) _tmp64_);
#line 837 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp66_ = _tmp65_;
#line 837 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp67_ = _tmp66_;
#line 837 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp68_ = (GtkButton*) gtk_button_new_with_label (_tmp67_);
#line 837 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				g_object_ref_sink (_tmp68_);
#line 837 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp69_ = _tmp68_;
#line 837 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_g_free0 (_tmp67_);
#line 837 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				button = _tmp69_;
#line 838 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp70_ = button;
#line 838 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp71_ = _data48_->action;
#line 838 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp72_ = gitg_ext_ui_element_get_description ((GitgExtUIElement*) _tmp71_);
#line 838 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp73_ = _tmp72_;
#line 838 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp74_ = _tmp73_;
#line 838 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				gtk_widget_set_tooltip_text ((GtkWidget*) _tmp70_, _tmp74_);
#line 838 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_g_free0 (_tmp74_);
#line 840 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp75_ = button;
#line 840 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				g_signal_connect_data (_tmp75_, "clicked", (GCallback) __gitg_history_activity_action_widget______lambda110__gtk_button_clicked, block48_data_ref (_data48_), (GClosureNotify) block48_data_unref, 0);
#line 844 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp76_ = button;
#line 844 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_tmp77_ = _g_object_ref0 ((GtkWidget*) _tmp76_);
#line 844 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_g_object_unref0 (widget);
#line 844 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				widget = _tmp77_;
#line 835 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
				_g_object_unref0 (button);
#line 6081 "gitg-history.c"
			}
#line 847 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp78_ = widget;
#line 847 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			gtk_widget_show (_tmp78_);
#line 848 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp79_ = box;
#line 848 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_tmp80_ = widget;
#line 848 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			gtk_container_add ((GtkContainer*) _tmp79_, _tmp80_);
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_g_object_unref0 (widget);
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			block48_data_unref (_data48_);
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
			_data48_ = NULL;
#line 6099 "gitg-history.c"
		}
#line 831 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_g_object_unref0 (_action_list);
#line 6103 "gitg-history.c"
	}
#line 851 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp81_ = ab;
#line 851 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp82_ = box;
#line 851 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gtk_action_bar_set_center_widget (_tmp81_, (GtkWidget*) _tmp82_);
#line 853 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	result = (GtkWidget*) ab;
#line 853 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (box);
#line 853 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (exts);
#line 853 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (af);
#line 853 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	block47_data_unref (_data47_);
#line 853 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_data47_ = NULL;
#line 853 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 6125 "gitg-history.c"
}


static void gitg_history_activity_real_set_search_entry (GitgExtSearchable* base, GtkEntry* value) {
	GitgHistoryActivity* self;
	GitgHistoryPaned* _tmp0_ = NULL;
	GitgCommitListView* _tmp1_ = NULL;
	GitgCommitListView* _tmp2_ = NULL;
	GtkEntry* _tmp3_ = NULL;
	GitgHistoryPaned* _tmp4_ = NULL;
	GitgCommitListView* _tmp5_ = NULL;
	GitgCommitListView* _tmp6_ = NULL;
	GtkEntry* _tmp7_ = NULL;
	GtkEntry* _tmp8_ = NULL;
#line 891 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = (GitgHistoryActivity*) base;
#line 893 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = self->priv->d_main;
#line 893 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = gitg_history_paned_get_commit_list_view (_tmp0_);
#line 893 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp2_ = _tmp1_;
#line 893 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp3_ = value;
#line 893 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gtk_tree_view_set_search_entry ((GtkTreeView*) _tmp2_, _tmp3_);
#line 894 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp4_ = self->priv->d_main;
#line 894 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp5_ = gitg_history_paned_get_commit_list_view (_tmp4_);
#line 894 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp6_ = _tmp5_;
#line 894 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp7_ = value;
#line 894 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gtk_tree_view_set_enable_search ((GtkTreeView*) _tmp6_, _tmp7_ != NULL);
#line 896 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp8_ = value;
#line 896 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	if (_tmp8_ != NULL) {
#line 6166 "gitg-history.c"
		GitgHistoryPaned* _tmp9_ = NULL;
		GitgCommitListView* _tmp10_ = NULL;
		GitgCommitListView* _tmp11_ = NULL;
#line 898 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp9_ = self->priv->d_main;
#line 898 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp10_ = gitg_history_paned_get_commit_list_view (_tmp9_);
#line 898 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp11_ = _tmp10_;
#line 898 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		gtk_tree_view_set_search_column ((GtkTreeView*) _tmp11_, 0);
#line 6178 "gitg-history.c"
	} else {
		GitgHistoryPaned* _tmp12_ = NULL;
		GitgCommitListView* _tmp13_ = NULL;
		GitgCommitListView* _tmp14_ = NULL;
#line 902 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp12_ = self->priv->d_main;
#line 902 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp13_ = gitg_history_paned_get_commit_list_view (_tmp12_);
#line 902 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		_tmp14_ = _tmp13_;
#line 902 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		gtk_tree_view_set_search_column ((GtkTreeView*) _tmp14_, -1);
#line 6191 "gitg-history.c"
	}
#line 891 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_notify ((GObject *) self, "search-entry");
#line 6195 "gitg-history.c"
}


static gchar* gitg_history_activity_real_get_search_text (GitgExtSearchable* base) {
	gchar* result;
	GitgHistoryActivity* self;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 907 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = (GitgHistoryActivity*) base;
#line 907 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = self->priv->_search_text;
#line 907 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 907 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	result = _tmp1_;
#line 907 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 6214 "gitg-history.c"
}


static void gitg_history_activity_real_set_search_text (GitgExtSearchable* base, const gchar* value) {
	GitgHistoryActivity* self;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 907 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = (GitgHistoryActivity*) base;
#line 907 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = value;
#line 907 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 907 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_free0 (self->priv->_search_text);
#line 907 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self->priv->_search_text = _tmp1_;
#line 907 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_notify ((GObject *) self, "search-text");
#line 6234 "gitg-history.c"
}


static gboolean gitg_history_activity_real_get_search_visible (GitgExtSearchable* base) {
	gboolean result;
	GitgHistoryActivity* self;
	gboolean _tmp0_ = FALSE;
#line 908 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = (GitgHistoryActivity*) base;
#line 908 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = self->priv->_search_visible;
#line 908 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	result = _tmp0_;
#line 908 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 6250 "gitg-history.c"
}


static void gitg_history_activity_real_set_search_visible (GitgExtSearchable* base, gboolean value) {
	GitgHistoryActivity* self;
	gboolean _tmp0_ = FALSE;
#line 908 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = (GitgHistoryActivity*) base;
#line 908 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = value;
#line 908 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self->priv->_search_visible = _tmp0_;
#line 908 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_notify ((GObject *) self, "search-visible");
#line 6265 "gitg-history.c"
}


static gboolean gitg_history_activity_real_get_search_enabled (GitgExtSearchable* base) {
	gboolean result;
	GitgHistoryActivity* self;
	gboolean _tmp0_ = FALSE;
#line 909 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = (GitgHistoryActivity*) base;
#line 909 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = self->priv->_search_enabled;
#line 909 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	result = _tmp0_;
#line 909 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return result;
#line 6281 "gitg-history.c"
}


static void gitg_history_activity_real_set_search_enabled (GitgExtSearchable* base, gboolean value) {
	GitgHistoryActivity* self;
	gboolean _tmp0_ = FALSE;
#line 909 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = (GitgHistoryActivity*) base;
#line 909 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = value;
#line 909 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self->priv->_search_enabled = _tmp0_;
#line 909 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_notify ((GObject *) self, "search-enabled");
#line 6296 "gitg-history.c"
}


static void _gitg_history_activity___lambda111_ (GitgHistoryActivity* self, GSettings* s, const gchar* k) {
#line 121 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (s != NULL);
#line 121 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (k != NULL);
#line 122 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_update_sort_mode (self);
#line 6307 "gitg-history.c"
}


static void __gitg_history_activity___lambda111__g_settings_changed (GSettings* _sender, const gchar* key, gpointer self) {
#line 121 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_gitg_history_activity___lambda111_ ((GitgHistoryActivity*) self, _sender, key);
#line 6314 "gitg-history.c"
}


static void _gitg_history_activity___lambda112_ (GitgHistoryActivity* self, GSettings* s, const gchar* k) {
#line 125 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (s != NULL);
#line 125 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_return_if_fail (k != NULL);
#line 126 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_update_walker (self);
#line 6325 "gitg-history.c"
}


static void __gitg_history_activity___lambda112__g_settings_changed (GSettings* _sender, const gchar* key, gpointer self) {
#line 125 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_gitg_history_activity___lambda112_ ((GitgHistoryActivity*) self, _sender, key);
#line 6332 "gitg-history.c"
}


static void _gitg_history_activity_on_commit_model_started_gitg_commit_model_started (GitgCommitModel* _sender, gpointer self) {
#line 133 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_on_commit_model_started ((GitgHistoryActivity*) self, _sender);
#line 6339 "gitg-history.c"
}


static void _gitg_history_activity_on_commit_model_finished_gitg_commit_model_finished (GitgCommitModel* _sender, gpointer self) {
#line 134 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_on_commit_model_finished ((GitgHistoryActivity*) self, _sender);
#line 6346 "gitg-history.c"
}


static GObject * gitg_history_activity_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) {
	GObject * obj;
	GObjectClass * parent_class;
	GitgHistoryActivity * self;
	GSettings* _tmp0_ = NULL;
	GSettings* _tmp1_ = NULL;
	GSettings* _tmp2_ = NULL;
	GeeHashSet* _tmp3_ = NULL;
	GitgExtApplication* _tmp4_ = NULL;
	GitgExtApplication* _tmp5_ = NULL;
	GitgExtApplication* _tmp6_ = NULL;
	GitgRepository* _tmp7_ = NULL;
	GitgRepository* _tmp8_ = NULL;
	GitgRepository* _tmp9_ = NULL;
	GitgCommitModel* _tmp10_ = NULL;
	GitgCommitModel* _tmp11_ = NULL;
	GitgCommitModel* _tmp12_ = NULL;
	GitgExtApplication* _tmp13_ = NULL;
	GitgExtApplication* _tmp14_ = NULL;
	GitgExtApplication* _tmp15_ = NULL;
#line 117 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	parent_class = G_OBJECT_CLASS (gitg_history_activity_parent_class);
#line 117 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 117 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_HISTORY_TYPE_ACTIVITY, GitgHistoryActivity);
#line 119 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = g_settings_new ("org.gnome.gitg.preferences.history");
#line 119 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (self->priv->d_settings);
#line 119 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self->priv->d_settings = _tmp0_;
#line 121 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp1_ = self->priv->d_settings;
#line 121 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_signal_connect_object (_tmp1_, "changed::topological-order", (GCallback) __gitg_history_activity___lambda111__g_settings_changed, self, 0);
#line 125 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp2_ = self->priv->d_settings;
#line 125 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_signal_connect_object (_tmp2_, "changed::mainline-head", (GCallback) __gitg_history_activity___lambda112__g_settings_changed, self, 0);
#line 129 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp3_ = gee_hash_set_new (ggit_oid_get_type (), (GBoxedCopyFunc) _vala_GgitOId_copy, _vala_GgitOId_free, (GeeHashDataFunc) ggit_oid_hash, NULL, NULL, (GeeEqualDataFunc) ggit_oid_equal, NULL, NULL);
#line 129 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (self->priv->d_selected);
#line 129 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self->priv->d_selected = _tmp3_;
#line 132 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp4_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 132 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp5_ = _tmp4_;
#line 132 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp6_ = _tmp5_;
#line 132 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp7_ = gitg_ext_application_get_repository (_tmp6_);
#line 132 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp8_ = _tmp7_;
#line 132 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp9_ = _tmp8_;
#line 132 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp10_ = gitg_commit_model_new (_tmp9_);
#line 132 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (self->priv->d_commit_list_model);
#line 132 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self->priv->d_commit_list_model = _tmp10_;
#line 132 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp9_);
#line 132 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp6_);
#line 133 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp11_ = self->priv->d_commit_list_model;
#line 133 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_signal_connect_object (_tmp11_, "started", (GCallback) _gitg_history_activity_on_commit_model_started_gitg_commit_model_started, self, 0);
#line 134 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp12_ = self->priv->d_commit_list_model;
#line 134 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_signal_connect_object (_tmp12_, "finished", (GCallback) _gitg_history_activity_on_commit_model_finished_gitg_commit_model_finished, self, 0);
#line 136 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_update_sort_mode (self);
#line 138 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp13_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 138 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp14_ = _tmp13_;
#line 138 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp15_ = _tmp14_;
#line 138 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp15_, "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 138 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (_tmp15_);
#line 141 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_reload_mainline (self);
#line 117 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	return obj;
#line 6442 "gitg-history.c"
}


static void gitg_history_activity_class_init (GitgHistoryActivityClass * klass) {
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_parent_class = g_type_class_peek_parent (klass);
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_type_class_add_private (klass, sizeof (GitgHistoryActivityPrivate));
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_history_activity_get_property;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_history_activity_set_property;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	G_OBJECT_CLASS (klass)->constructor = gitg_history_activity_constructor;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_history_activity_finalize;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_HISTORY_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 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_HISTORY_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 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_HISTORY_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_READABLE | G_PARAM_WRITABLE));
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_HISTORY_ACTIVITY_AVAILABLE, g_param_spec_boolean ("available", "available", "available", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_HISTORY_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 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_HISTORY_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 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_HISTORY_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 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_HISTORY_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 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_HISTORY_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 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_HISTORY_ACTIVITY_SELECTABLE_MODE, g_param_spec_enum ("selectable-mode", "selectable-mode", "selectable-mode", GITG_EXT_TYPE_SELECTION_MODE, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_HISTORY_ACTIVITY_ACTION_WIDGET, g_param_spec_object ("action-widget", "action-widget", "action-widget", gtk_widget_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_HISTORY_ACTIVITY_SEARCH_ENTRY, g_param_spec_object ("search-entry", "search-entry", "search-entry", gtk_entry_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_WRITABLE));
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_HISTORY_ACTIVITY_SEARCH_TEXT, g_param_spec_string ("search-text", "search-text", "search-text", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_HISTORY_ACTIVITY_SEARCH_VISIBLE, g_param_spec_boolean ("search-visible", "search-visible", "search-visible", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_HISTORY_ACTIVITY_SEARCH_ENABLED, g_param_spec_boolean ("search-enabled", "search-enabled", "search-enabled", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 6489 "gitg-history.c"
}


static void gitg_history_activity_gitg_ext_ui_element_interface_init (GitgExtUIElementIface * iface) {
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_gitg_ext_ui_element_parent_iface = g_type_interface_peek_parent (iface);
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	iface->negotiate_order = (gint (*)(GitgExtUIElement*, GitgExtUIElement*)) gitg_history_activity_real_negotiate_order;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	iface->get_application = gitg_history_activity_real_get_application;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	iface->set_application = gitg_history_activity_real_set_application;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	iface->get_id = gitg_history_activity_real_get_id;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	iface->get_available = gitg_history_activity_real_get_available;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	iface->get_display_name = gitg_history_activity_real_get_display_name;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	iface->get_description = gitg_history_activity_real_get_description;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	iface->get_icon = gitg_history_activity_real_get_icon;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	iface->get_widget = gitg_history_activity_real_get_widget;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	iface->get_enabled = gitg_history_activity_real_get_enabled;
#line 6516 "gitg-history.c"
}


static void gitg_history_activity_gitg_ext_activity_interface_init (GitgExtActivityIface * iface) {
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_gitg_ext_activity_parent_iface = g_type_interface_peek_parent (iface);
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	iface->is_default_for = (gboolean (*)(GitgExtActivity*, const gchar*)) gitg_history_activity_real_is_default_for;
#line 6525 "gitg-history.c"
}


static void gitg_history_activity_gitg_ext_selectable_interface_init (GitgExtSelectableIface * iface) {
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_gitg_ext_selectable_parent_iface = g_type_interface_peek_parent (iface);
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	iface->get_selectable_mode = gitg_history_activity_real_get_selectable_mode;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	iface->set_selectable_mode = gitg_history_activity_real_set_selectable_mode;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	iface->get_action_widget = gitg_history_activity_real_get_action_widget;
#line 6538 "gitg-history.c"
}


static void gitg_history_activity_gitg_ext_searchable_interface_init (GitgExtSearchableIface * iface) {
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_gitg_ext_searchable_parent_iface = g_type_interface_peek_parent (iface);
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	iface->set_search_entry = gitg_history_activity_real_set_search_entry;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	iface->get_search_text = gitg_history_activity_real_get_search_text;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	iface->set_search_text = gitg_history_activity_real_set_search_text;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	iface->get_search_visible = gitg_history_activity_real_get_search_visible;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	iface->set_search_visible = gitg_history_activity_real_set_search_visible;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	iface->get_search_enabled = gitg_history_activity_real_get_search_enabled;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	iface->set_search_enabled = gitg_history_activity_real_set_search_enabled;
#line 6559 "gitg-history.c"
}


static void gitg_history_activity_gitg_ext_history_interface_init (GitgExtHistoryIface * iface) {
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	gitg_history_activity_gitg_ext_history_parent_iface = g_type_interface_peek_parent (iface);
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	iface->foreach_selected = (void (*)(GitgExtHistory*, GitgExtForeachCommitSelectionFunc, void*)) gitg_history_activity_real_foreach_selected;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	iface->select = (void (*)(GitgExtHistory*, GitgCommit*)) gitg_history_activity_real_select;
#line 6570 "gitg-history.c"
}


static void gitg_history_activity_instance_init (GitgHistoryActivity * self) {
	gchar* _tmp0_ = NULL;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self->priv = GITG_HISTORY_ACTIVITY_GET_PRIVATE (self);
#line 907 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_tmp0_ = g_strdup ("");
#line 907 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self->priv->_search_text = _tmp0_;
#line 6582 "gitg-history.c"
}


static void gitg_history_activity_finalize (GObject* obj) {
	GitgHistoryActivity * self;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_HISTORY_TYPE_ACTIVITY, GitgHistoryActivity);
#line 30 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (self->priv->_application);
#line 32 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (self->priv->d_commit_list_model);
#line 34 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (self->priv->d_selected);
#line 35 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	__vala_GgitOId_free0 (self->priv->d_scroll_to);
#line 38 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (self->priv->d_settings);
#line 40 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (self->priv->d_main);
#line 41 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (self->priv->d_refs_list_popup);
#line 42 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (self->priv->d_commit_list_popup);
#line 44 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	self->priv->d_mainline = (_vala_array_free (self->priv->d_mainline, self->priv->d_mainline_length1, (GDestroyNotify) g_free), NULL);
#line 46 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (self->priv->d_panels);
#line 58 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_object_unref0 (self->priv->d_repository);
#line 907 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	_g_free0 (self->priv->_search_text);
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	G_OBJECT_CLASS (gitg_history_activity_parent_class)->finalize (obj);
#line 6616 "gitg-history.c"
}


GType gitg_history_activity_get_type (void) {
	static volatile gsize gitg_history_activity_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_history_activity_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgHistoryActivityClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_history_activity_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgHistoryActivity), 0, (GInstanceInitFunc) gitg_history_activity_instance_init, NULL };
		static const GInterfaceInfo gitg_ext_ui_element_info = { (GInterfaceInitFunc) gitg_history_activity_gitg_ext_ui_element_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		static const GInterfaceInfo gitg_ext_activity_info = { (GInterfaceInitFunc) gitg_history_activity_gitg_ext_activity_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		static const GInterfaceInfo gitg_ext_selectable_info = { (GInterfaceInitFunc) gitg_history_activity_gitg_ext_selectable_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		static const GInterfaceInfo gitg_ext_searchable_info = { (GInterfaceInitFunc) gitg_history_activity_gitg_ext_searchable_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		static const GInterfaceInfo gitg_ext_history_info = { (GInterfaceInitFunc) gitg_history_activity_gitg_ext_history_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType gitg_history_activity_type_id;
		gitg_history_activity_type_id = g_type_register_static (G_TYPE_OBJECT, "GitgHistoryActivity", &g_define_type_info, 0);
		g_type_add_interface_static (gitg_history_activity_type_id, GITG_EXT_TYPE_UI_ELEMENT, &gitg_ext_ui_element_info);
		g_type_add_interface_static (gitg_history_activity_type_id, GITG_EXT_TYPE_ACTIVITY, &gitg_ext_activity_info);
		g_type_add_interface_static (gitg_history_activity_type_id, GITG_EXT_TYPE_SELECTABLE, &gitg_ext_selectable_info);
		g_type_add_interface_static (gitg_history_activity_type_id, GITG_EXT_TYPE_SEARCHABLE, &gitg_ext_searchable_info);
		g_type_add_interface_static (gitg_history_activity_type_id, GITG_EXT_TYPE_HISTORY, &gitg_ext_history_info);
		g_once_init_leave (&gitg_history_activity_type_id__volatile, gitg_history_activity_type_id);
	}
	return gitg_history_activity_type_id__volatile;
}


static void _vala_gitg_history_activity_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GitgHistoryActivity * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_HISTORY_TYPE_ACTIVITY, GitgHistoryActivity);
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	switch (property_id) {
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		case GITG_HISTORY_ACTIVITY_APPLICATION:
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_value_take_object (value, gitg_ext_ui_element_get_application ((GitgExtUIElement*) self));
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		break;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		case GITG_HISTORY_ACTIVITY_ID:
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_value_take_string (value, gitg_ext_ui_element_get_id ((GitgExtUIElement*) self));
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		break;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		case GITG_HISTORY_ACTIVITY_REPOSITORY:
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_value_set_object (value, gitg_history_activity_get_repository (self));
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		break;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		case GITG_HISTORY_ACTIVITY_AVAILABLE:
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_value_set_boolean (value, gitg_ext_ui_element_get_available ((GitgExtUIElement*) self));
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		break;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		case GITG_HISTORY_ACTIVITY_DISPLAY_NAME:
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_value_take_string (value, gitg_ext_ui_element_get_display_name ((GitgExtUIElement*) self));
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		break;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		case GITG_HISTORY_ACTIVITY_DESCRIPTION:
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_value_take_string (value, gitg_ext_ui_element_get_description ((GitgExtUIElement*) self));
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		break;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		case GITG_HISTORY_ACTIVITY_ICON:
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_value_take_string (value, gitg_ext_ui_element_get_icon ((GitgExtUIElement*) self));
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		break;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		case GITG_HISTORY_ACTIVITY_WIDGET:
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_value_take_object (value, gitg_ext_ui_element_get_widget ((GitgExtUIElement*) self));
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		break;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		case GITG_HISTORY_ACTIVITY_ENABLED:
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_value_set_boolean (value, gitg_ext_ui_element_get_enabled ((GitgExtUIElement*) self));
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		break;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		case GITG_HISTORY_ACTIVITY_SELECTABLE_MODE:
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_value_set_enum (value, gitg_ext_selectable_get_selectable_mode ((GitgExtSelectable*) self));
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		break;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		case GITG_HISTORY_ACTIVITY_ACTION_WIDGET:
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_value_take_object (value, gitg_ext_selectable_get_action_widget ((GitgExtSelectable*) self));
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		break;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		case GITG_HISTORY_ACTIVITY_SEARCH_TEXT:
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_value_take_string (value, gitg_ext_searchable_get_search_text ((GitgExtSearchable*) self));
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		break;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		case GITG_HISTORY_ACTIVITY_SEARCH_VISIBLE:
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_value_set_boolean (value, gitg_ext_searchable_get_search_visible ((GitgExtSearchable*) self));
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		break;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		case GITG_HISTORY_ACTIVITY_SEARCH_ENABLED:
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		g_value_set_boolean (value, gitg_ext_searchable_get_search_enabled ((GitgExtSearchable*) self));
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		break;
#line 6731 "gitg-history.c"
		default:
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		break;
#line 6737 "gitg-history.c"
	}
}


static void _vala_gitg_history_activity_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	GitgHistoryActivity * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_HISTORY_TYPE_ACTIVITY, GitgHistoryActivity);
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
	switch (property_id) {
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		case GITG_HISTORY_ACTIVITY_APPLICATION:
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		gitg_ext_ui_element_set_application ((GitgExtUIElement*) self, g_value_get_object (value));
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		break;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		case GITG_HISTORY_ACTIVITY_REPOSITORY:
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		gitg_history_activity_set_repository (self, g_value_get_object (value));
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		break;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		case GITG_HISTORY_ACTIVITY_SELECTABLE_MODE:
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		gitg_ext_selectable_set_selectable_mode ((GitgExtSelectable*) self, g_value_get_enum (value));
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		break;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		case GITG_HISTORY_ACTIVITY_SEARCH_ENTRY:
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		gitg_ext_searchable_set_search_entry ((GitgExtSearchable*) self, g_value_get_object (value));
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		break;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		case GITG_HISTORY_ACTIVITY_SEARCH_TEXT:
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		gitg_ext_searchable_set_search_text ((GitgExtSearchable*) self, g_value_get_string (value));
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		break;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		case GITG_HISTORY_ACTIVITY_SEARCH_VISIBLE:
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		gitg_ext_searchable_set_search_visible ((GitgExtSearchable*) self, g_value_get_boolean (value));
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		break;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		case GITG_HISTORY_ACTIVITY_SEARCH_ENABLED:
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		gitg_ext_searchable_set_search_enabled ((GitgExtSearchable*) self, g_value_get_boolean (value));
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		break;
#line 6789 "gitg-history.c"
		default:
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history.vala"
		break;
#line 6795 "gitg-history.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);
}


static gint _vala_array_length (gpointer array) {
	int length;
	length = 0;
	if (array) {
		while (((gpointer*) array)[length]) {
			length++;
		}
	}
	return length;
}



