/* gitg-dash-view.c generated by valac 0.28.0, the Vala compiler
 * generated from gitg-dash-view.vala, do not modify */

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


#define GITG_TYPE_DASH_VIEW (gitg_dash_view_get_type ())
#define GITG_DASH_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_DASH_VIEW, GitgDashView))
#define GITG_DASH_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_DASH_VIEW, GitgDashViewClass))
#define GITG_IS_DASH_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_DASH_VIEW))
#define GITG_IS_DASH_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_DASH_VIEW))
#define GITG_DASH_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_DASH_VIEW, GitgDashViewClass))

typedef struct _GitgDashView GitgDashView;
typedef struct _GitgDashViewClass GitgDashViewClass;
typedef struct _GitgDashViewPrivate GitgDashViewPrivate;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))

#define GITG_TYPE_WINDOW (gitg_window_get_type ())
#define GITG_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_WINDOW, GitgWindow))
#define GITG_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_WINDOW, GitgWindowClass))
#define GITG_IS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_WINDOW))
#define GITG_IS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_WINDOW))
#define GITG_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_WINDOW, GitgWindowClass))

typedef struct _GitgWindow GitgWindow;
typedef struct _GitgWindowClass GitgWindowClass;

#define GITG_TYPE_AUTHOR_DETAILS_DIALOG (gitg_author_details_dialog_get_type ())
#define GITG_AUTHOR_DETAILS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_AUTHOR_DETAILS_DIALOG, GitgAuthorDetailsDialog))
#define GITG_AUTHOR_DETAILS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_AUTHOR_DETAILS_DIALOG, GitgAuthorDetailsDialogClass))
#define GITG_IS_AUTHOR_DETAILS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_AUTHOR_DETAILS_DIALOG))
#define GITG_IS_AUTHOR_DETAILS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_AUTHOR_DETAILS_DIALOG))
#define GITG_AUTHOR_DETAILS_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_AUTHOR_DETAILS_DIALOG, GitgAuthorDetailsDialogClass))

typedef struct _GitgAuthorDetailsDialog GitgAuthorDetailsDialog;
typedef struct _GitgAuthorDetailsDialogClass GitgAuthorDetailsDialogClass;
typedef struct _Block36Data Block36Data;
#define __vala_GgitFetchOptions_free0(var) ((var == NULL) ? NULL : (var = (_vala_GgitFetchOptions_free (var), NULL)))

#define GITG_DASH_VIEW_TYPE_CLONE_CALLBACKS (gitg_dash_view_clone_callbacks_get_type ())
#define GITG_DASH_VIEW_CLONE_CALLBACKS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_DASH_VIEW_TYPE_CLONE_CALLBACKS, GitgDashViewCloneCallbacks))
#define GITG_DASH_VIEW_CLONE_CALLBACKS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_DASH_VIEW_TYPE_CLONE_CALLBACKS, GitgDashViewCloneCallbacksClass))
#define GITG_DASH_VIEW_IS_CLONE_CALLBACKS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_DASH_VIEW_TYPE_CLONE_CALLBACKS))
#define GITG_DASH_VIEW_IS_CLONE_CALLBACKS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_DASH_VIEW_TYPE_CLONE_CALLBACKS))
#define GITG_DASH_VIEW_CLONE_CALLBACKS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_DASH_VIEW_TYPE_CLONE_CALLBACKS, GitgDashViewCloneCallbacksClass))

typedef struct _GitgDashViewCloneCallbacks GitgDashViewCloneCallbacks;
typedef struct _GitgDashViewCloneCallbacksClass GitgDashViewCloneCallbacksClass;
typedef struct _GitgDashViewCloneData GitgDashViewCloneData;
typedef struct _Block37Data Block37Data;
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))

#define GITG_TYPE_CLONE_DIALOG (gitg_clone_dialog_get_type ())
#define GITG_CLONE_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_CLONE_DIALOG, GitgCloneDialog))
#define GITG_CLONE_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_CLONE_DIALOG, GitgCloneDialogClass))
#define GITG_IS_CLONE_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_CLONE_DIALOG))
#define GITG_IS_CLONE_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_CLONE_DIALOG))
#define GITG_CLONE_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_CLONE_DIALOG, GitgCloneDialogClass))

typedef struct _GitgCloneDialog GitgCloneDialog;
typedef struct _GitgCloneDialogClass GitgCloneDialogClass;
typedef struct _Block38Data Block38Data;
typedef struct _Block39Data Block39Data;
typedef struct _Block40Data Block40Data;
#define _g_list_free0(var) ((var == NULL) ? NULL : (var = (g_list_free (var), NULL)))
typedef struct _GitgDashViewCloneCallbacksPrivate GitgDashViewCloneCallbacksPrivate;
#define _gitg_credentials_manager_unref0(var) ((var == NULL) ? NULL : (var = (gitg_credentials_manager_unref (var), NULL)))
typedef struct _Block41Data Block41Data;

struct _GitgDashView {
	GtkGrid parent_instance;
	GitgDashViewPrivate * priv;
};

struct _GitgDashViewClass {
	GtkGridClass parent_class;
};

struct _GitgDashViewPrivate {
	GitgExtApplication* _application;
	gboolean d_search_enabled;
	gboolean d_setting_mode;
	GtkGrid* d_introduction;
	GtkLabel* d_label_profile;
	GtkScrolledWindow* d_scrolled_window;
	GitgRepositoryListBox* d_repository_list_box;
	GtkActionBar* d_action_bar;
	gchar* d_search_text;
	gboolean _search_visible;
};

struct _Block36Data {
	int _ref_count_;
	GitgDashView* self;
	GitgRepository* repository;
	GitgRepositoryListBoxRow* row;
	gchar* url;
	GFile* location;
	gboolean is_bare;
	gpointer _async_data_;
};

struct _GitgDashViewCloneData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgDashView* self;
	GitgRepositoryListBoxRow* row;
	gchar* url;
	GFile* location;
	gboolean is_bare;
	GitgRepository* result;
	Block36Data* _data36_;
	GitgRepositoryListBoxRow* _tmp0_;
	const gchar* _tmp1_;
	GFile* _tmp2_;
	gboolean _tmp3_;
	GitgRepository* _tmp4_;
	GError * _inner_error_;
};

struct _Block37Data {
	int _ref_count_;
	GitgDashView* self;
	GitgRepositoryListBoxRow* row;
};

struct _Block38Data {
	int _ref_count_;
	GitgDashView* self;
	GitgCloneDialog* dlg;
};

struct _Block39Data {
	int _ref_count_;
	GitgDashView* self;
	GFile* location;
};

struct _Block40Data {
	int _ref_count_;
	GitgDashView* self;
	GtkFileChooserDialog* chooser;
};

struct _GitgDashViewCloneCallbacks {
	GgitRemoteCallbacks parent_instance;
	GitgDashViewCloneCallbacksPrivate * priv;
};

struct _GitgDashViewCloneCallbacksClass {
	GgitRemoteCallbacksClass parent_class;
};

struct _GitgDashViewCloneCallbacksPrivate {
	GitgRepositoryListBoxRow* d_row;
	GitgCredentialsManager* d_credentials;
};

struct _Block41Data {
	int _ref_count_;
	GitgDashViewCloneCallbacks* self;
	guint recvobj;
	guint indxobj;
	guint totaobj;
};


static gpointer gitg_dash_view_parent_class = NULL;
static gpointer gitg_dash_view_clone_callbacks_parent_class = NULL;
static GitgExtUIElementIface* gitg_dash_view_gitg_ext_ui_element_parent_iface = NULL;
static GitgExtActivityIface* gitg_dash_view_gitg_ext_activity_parent_iface = NULL;
static GitgExtSelectableIface* gitg_dash_view_gitg_ext_selectable_parent_iface = NULL;
static GitgExtSearchableIface* gitg_dash_view_gitg_ext_searchable_parent_iface = NULL;

GType gitg_dash_view_get_type (void) G_GNUC_CONST;
#define GITG_DASH_VIEW_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_TYPE_DASH_VIEW, GitgDashViewPrivate))
enum  {
	GITG_DASH_VIEW_DUMMY_PROPERTY,
	GITG_DASH_VIEW_APPLICATION,
	GITG_DASH_VIEW_SELECTABLE_MODE,
	GITG_DASH_VIEW_HAS_REPOSITORIES,
	GITG_DASH_VIEW_SELECTABLE_AVAILABLE,
	GITG_DASH_VIEW_SEARCH_AVAILABLE,
	GITG_DASH_VIEW_DISPLAY_NAME,
	GITG_DASH_VIEW_DESCRIPTION,
	GITG_DASH_VIEW_ID,
	GITG_DASH_VIEW_WIDGET,
	GITG_DASH_VIEW_ICON,
	GITG_DASH_VIEW_SEARCH_TEXT,
	GITG_DASH_VIEW_SEARCH_ENTRY,
	GITG_DASH_VIEW_SEARCH_VISIBLE,
	GITG_DASH_VIEW_SEARCH_ENABLED,
	GITG_DASH_VIEW_ACTION_WIDGET
};
#define GITG_DASH_VIEW_version VERSION
static void gitg_dash_view_update_search_text (GitgDashView* self);
static void gitg_dash_view_update_setup_profile_visibility (GitgDashView* self);
static gboolean gitg_dash_view_setup_profile_activated (GitgDashView* self);
GType gitg_window_get_type (void) G_GNUC_CONST;
GType gitg_author_details_dialog_get_type (void) G_GNUC_CONST;
GitgAuthorDetailsDialog* gitg_author_details_dialog_show_global (GitgWindow* window);
static gboolean _gitg_dash_view_setup_profile_activated_gtk_label_activate_link (GtkLabel* _sender, const gchar* uri, gpointer self);
static void gitg_dash_view_update_availability (GitgDashView* self);
GitgRepositoryListBoxRow* gitg_dash_view_add_repository (GitgDashView* self, GitgRepository* repository);
static void gitg_dash_view_clone_data_free (gpointer _data);
static void gitg_dash_view_clone (GitgDashView* self, GitgRepositoryListBoxRow* row, const gchar* url, GFile* location, gboolean is_bare, GAsyncReadyCallback _callback_, gpointer _user_data_);
static GitgRepository* gitg_dash_view_clone_finish (GitgDashView* self, GAsyncResult* _res_, GError** error);
static gboolean gitg_dash_view_clone_co (GitgDashViewCloneData* _data_);
static Block36Data* block36_data_ref (Block36Data* _data36_);
static void block36_data_unref (void * _userdata_);
static void __lambda79_ (Block36Data* _data36_, GError** error);
static void _vala_GgitFetchOptions_free (GgitFetchOptions* self);
static GitgDashViewCloneCallbacks* gitg_dash_view_clone_callbacks_new (GitgExtApplication* application, GgitConfig* config, GitgRepositoryListBoxRow* row);
static GitgDashViewCloneCallbacks* gitg_dash_view_clone_callbacks_construct (GType object_type, GitgExtApplication* application, GgitConfig* config, GitgRepositoryListBoxRow* row);
static GType gitg_dash_view_clone_callbacks_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
static void ___lambda79__gitg_async_thread_func (gpointer self, GError** error);
static void gitg_dash_view_clone_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void gitg_dash_view_clone_repository (GitgDashView* self, const gchar* url, GFile* location, gboolean is_bare);
static Block37Data* block37_data_ref (Block37Data* _data37_);
static void block37_data_unref (void * _userdata_);
static void __lambda81_ (Block37Data* _data37_, GObject* obj, GAsyncResult* res);
static void ___lambda81__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void gitg_dash_view_clone_repository_clicked (GitgDashView* self);
GType gitg_clone_dialog_get_type (void) G_GNUC_CONST;
static Block38Data* block38_data_ref (Block38Data* _data38_);
static void block38_data_unref (void * _userdata_);
GitgCloneDialog* gitg_clone_dialog_new (GtkWindow* parent);
GitgCloneDialog* gitg_clone_dialog_construct (GType object_type, GtkWindow* parent);
static void __lambda84_ (Block38Data* _data38_, GtkDialog* d, gint id);
const gchar* gitg_clone_dialog_get_url (GitgCloneDialog* self);
GFile* gitg_clone_dialog_get_location (GitgCloneDialog* self);
gboolean gitg_clone_dialog_get_is_bare (GitgCloneDialog* self);
static void ___lambda84__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self);
static void _gitg_dash_view_clone_repository_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self);
static void gitg_dash_view_finish_add_repository (GitgDashView* self, GitgRepository* repo);
static void gitg_dash_view_do_add_repository (GitgDashView* self, GFile* location);
static void gitg_dash_view_query_create_repository (GitgDashView* self, GFile* location);
static Block39Data* block39_data_ref (Block39Data* _data39_);
static void block39_data_unref (void * _userdata_);
gchar* gitg_utils_replace_home_dir_with_tilde (GFile* file);
static gboolean __lambda85_ (Block39Data* _data39_, GitgExtUserQuery* w, GtkResponseType r);
static gboolean ___lambda85__gitg_ext_user_query_response (GitgExtUserQuery* _sender, GtkResponseType response_type, gpointer self);
static void gitg_dash_view_add_repository_clicked (GitgDashView* self);
static Block40Data* block40_data_ref (Block40Data* _data40_);
static void block40_data_unref (void * _userdata_);
static void __lambda86_ (Block40Data* _data40_, GtkDialog* c, gint id);
static void ___lambda86__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self);
static void _gitg_dash_view_add_repository_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self);
GitgDashView* gitg_dash_view_new (void);
GitgDashView* gitg_dash_view_construct (GType object_type);
gboolean gitg_dash_view_get_has_repositories (GitgDashView* self);
static void _gitg_dash_view_action_widget___lambda87_ (GitgDashView* self);
static void __gitg_dash_view_action_widget___lambda87__gtk_button_clicked (GtkButton* _sender, gpointer self);
static GObject * gitg_dash_view_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
static void _gitg_dash_view___lambda88_ (GitgDashView* self);
static void __gitg_dash_view___lambda88__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void _gitg_dash_view___lambda89_ (GitgDashView* self, GitgRepository* repository);
static void __gitg_dash_view___lambda89__gitg_repository_list_box_repository_activated (GitgRepositoryListBox* _sender, GitgRepository* repository, gpointer self);
static void _gitg_dash_view___lambda90_ (GitgDashView* self, const gchar* primary_message, const gchar* secondary_message);
static void __gitg_dash_view___lambda90__gitg_repository_list_box_show_error (GitgRepositoryListBox* _sender, const gchar* primary_message, const gchar* secondary_message, gpointer self);
static void _gitg_dash_view_update_availability_gtk_container_add (GtkContainer* _sender, GtkWidget* widget, gpointer self);
static void _gitg_dash_view_update_availability_gtk_container_remove (GtkContainer* _sender, GtkWidget* widget, gpointer self);
#define GITG_DASH_VIEW_CLONE_CALLBACKS_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_DASH_VIEW_TYPE_CLONE_CALLBACKS, GitgDashViewCloneCallbacksPrivate))
enum  {
	GITG_DASH_VIEW_CLONE_CALLBACKS_DUMMY_PROPERTY
};
static void gitg_dash_view_clone_callbacks_real_transfer_progress (GgitRemoteCallbacks* base, GgitTransferProgress* stats);
static Block41Data* block41_data_ref (Block41Data* _data41_);
static void block41_data_unref (void * _userdata_);
static gboolean __lambda80_ (Block41Data* _data41_);
static gboolean ___lambda80__gsource_func (gpointer self);
static GgitCred* gitg_dash_view_clone_callbacks_real_credentials (GgitRemoteCallbacks* base, const gchar* url, const gchar* username_from_url, GgitCredtype allowed_types, GError** error);
static void gitg_dash_view_clone_callbacks_finalize (GObject* obj);
static void gitg_dash_view_finalize (GObject* obj);
static void _vala_gitg_dash_view_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_gitg_dash_view_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 void gitg_dash_view_update_search_text (GitgDashView* self) {
	GitgRepositoryListBox* _tmp0_ = NULL;
#line 166 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (self != NULL);
#line 168 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->d_repository_list_box;
#line 168 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (_tmp0_ != NULL) {
#line 325 "gitg-dash-view.c"
		gboolean _tmp1_ = FALSE;
		gboolean _tmp2_ = FALSE;
#line 170 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp2_ = self->priv->d_search_enabled;
#line 170 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		if (_tmp2_) {
#line 332 "gitg-dash-view.c"
			const gchar* _tmp3_ = NULL;
#line 170 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp3_ = self->priv->d_search_text;
#line 170 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp1_ = g_strcmp0 (_tmp3_, "") != 0;
#line 338 "gitg-dash-view.c"
		} else {
#line 170 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp1_ = FALSE;
#line 342 "gitg-dash-view.c"
		}
#line 170 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		if (_tmp1_) {
#line 346 "gitg-dash-view.c"
			GitgRepositoryListBox* _tmp4_ = NULL;
			const gchar* _tmp5_ = NULL;
#line 172 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp4_ = self->priv->d_repository_list_box;
#line 172 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp5_ = self->priv->d_search_text;
#line 172 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			gitg_repository_list_box_filter_text (_tmp4_, _tmp5_);
#line 355 "gitg-dash-view.c"
		} else {
			GitgRepositoryListBox* _tmp6_ = NULL;
#line 176 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp6_ = self->priv->d_repository_list_box;
#line 176 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			gitg_repository_list_box_filter_text (_tmp6_, NULL);
#line 362 "gitg-dash-view.c"
		}
	}
}


static void gitg_dash_view_update_setup_profile_visibility (GitgDashView* self) {
	GtkLabel* _tmp16_ = NULL;
	GError * _inner_error_ = NULL;
#line 248 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (self != NULL);
#line 373 "gitg-dash-view.c"
	{
		GgitConfig* _tmp0_ = NULL;
		GgitConfig* _tmp1_ = NULL;
		GgitConfig* config = NULL;
		GgitConfig* _tmp2_ = NULL;
		GgitConfig* _tmp3_ = NULL;
		GgitConfig* _tmp4_ = NULL;
		GgitConfig* _tmp5_ = NULL;
		gchar* author_name = NULL;
		GgitConfig* _tmp6_ = NULL;
		const gchar* _tmp7_ = NULL;
		gchar* _tmp8_ = NULL;
		gchar* author_email = NULL;
		GgitConfig* _tmp9_ = NULL;
		const gchar* _tmp10_ = NULL;
		gchar* _tmp11_ = NULL;
		gboolean _tmp12_ = FALSE;
		const gchar* _tmp13_ = NULL;
#line 252 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp1_ = ggit_config_new_default (&_inner_error_);
#line 252 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp0_ = _tmp1_;
#line 252 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 398 "gitg-dash-view.c"
			goto __catch52_g_error;
		}
#line 252 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp2_ = _tmp0_;
#line 252 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp0_ = NULL;
#line 252 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp3_ = _tmp2_;
#line 252 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp4_ = ggit_config_snapshot (_tmp3_, &_inner_error_);
#line 252 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp5_ = _tmp4_;
#line 252 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_tmp3_);
#line 252 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		config = _tmp5_;
#line 252 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 252 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_g_object_unref0 (_tmp0_);
#line 419 "gitg-dash-view.c"
			goto __catch52_g_error;
		}
#line 253 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp6_ = config;
#line 253 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp7_ = ggit_config_get_string (_tmp6_, "user.name", &_inner_error_);
#line 253 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp8_ = g_strdup (_tmp7_);
#line 253 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		author_name = _tmp8_;
#line 253 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 253 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_g_object_unref0 (config);
#line 253 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_g_object_unref0 (_tmp0_);
#line 436 "gitg-dash-view.c"
			goto __catch52_g_error;
		}
#line 254 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp9_ = config;
#line 254 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp10_ = ggit_config_get_string (_tmp9_, "user.email", &_inner_error_);
#line 254 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp11_ = g_strdup (_tmp10_);
#line 254 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		author_email = _tmp11_;
#line 254 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 254 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_g_free0 (author_name);
#line 254 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_g_object_unref0 (config);
#line 254 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_g_object_unref0 (_tmp0_);
#line 455 "gitg-dash-view.c"
			goto __catch52_g_error;
		}
#line 256 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp13_ = author_name;
#line 256 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		if (g_strcmp0 (_tmp13_, "") != 0) {
#line 462 "gitg-dash-view.c"
			const gchar* _tmp14_ = NULL;
#line 256 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp14_ = author_email;
#line 256 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp12_ = g_strcmp0 (_tmp14_, "") != 0;
#line 468 "gitg-dash-view.c"
		} else {
#line 256 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp12_ = FALSE;
#line 472 "gitg-dash-view.c"
		}
#line 256 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		if (_tmp12_) {
#line 476 "gitg-dash-view.c"
			GtkLabel* _tmp15_ = NULL;
#line 258 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp15_ = self->priv->d_label_profile;
#line 258 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			gtk_widget_set_visible ((GtkWidget*) _tmp15_, FALSE);
#line 259 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_g_free0 (author_email);
#line 259 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_g_free0 (author_name);
#line 259 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_g_object_unref0 (config);
#line 259 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_g_object_unref0 (_tmp0_);
#line 259 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			return;
#line 492 "gitg-dash-view.c"
		}
#line 250 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_free0 (author_email);
#line 250 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_free0 (author_name);
#line 250 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (config);
#line 250 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_tmp0_);
#line 502 "gitg-dash-view.c"
	}
	goto __finally52;
	__catch52_g_error:
	{
#line 250 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_clear_error (&_inner_error_);
#line 250 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_inner_error_ = NULL;
#line 511 "gitg-dash-view.c"
	}
	__finally52:
#line 250 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 250 "/home/jesse/devel/gitg/gitg/gitg-dash-view.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 250 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_clear_error (&_inner_error_);
#line 250 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		return;
#line 522 "gitg-dash-view.c"
	}
#line 263 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp16_ = self->priv->d_label_profile;
#line 263 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp16_, TRUE);
#line 528 "gitg-dash-view.c"
}


static gboolean gitg_dash_view_setup_profile_activated (GitgDashView* self) {
	gboolean result = FALSE;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
	GitgWindow* _tmp2_ = NULL;
	GitgWindow* _tmp3_ = NULL;
	GitgAuthorDetailsDialog* _tmp4_ = NULL;
	GitgAuthorDetailsDialog* _tmp5_ = NULL;
#line 267 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 269 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 269 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _tmp0_;
#line 269 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, GITG_TYPE_WINDOW) ? ((GitgWindow*) _tmp1_) : NULL;
#line 269 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (_tmp2_ == NULL) {
#line 269 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_tmp1_);
#line 552 "gitg-dash-view.c"
	}
#line 269 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = _tmp2_;
#line 269 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp4_ = gitg_author_details_dialog_show_global (_tmp3_);
#line 269 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp5_ = _tmp4_;
#line 269 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_tmp5_);
#line 269 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_tmp3_);
#line 270 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	result = TRUE;
#line 270 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 568 "gitg-dash-view.c"
}


static gboolean _gitg_dash_view_setup_profile_activated_gtk_label_activate_link (GtkLabel* _sender, const gchar* uri, gpointer self) {
	gboolean result;
	result = gitg_dash_view_setup_profile_activated ((GitgDashView*) self);
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 577 "gitg-dash-view.c"
}


static void gitg_dash_view_update_availability (GitgDashView* self) {
#line 273 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (self != NULL);
#line 275 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_notify ((GObject*) self, "has-repositories");
#line 276 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_notify ((GObject*) self, "selectable-available");
#line 277 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_notify ((GObject*) self, "search-available");
#line 590 "gitg-dash-view.c"
}


GitgRepositoryListBoxRow* gitg_dash_view_add_repository (GitgDashView* self, GitgRepository* repository) {
	GitgRepositoryListBoxRow* result = NULL;
	GitgRepositoryListBox* _tmp0_ = NULL;
	GitgRepository* _tmp1_ = NULL;
	GitgRepositoryListBoxRow* _tmp2_ = NULL;
#line 280 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 280 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_return_val_if_fail (repository != NULL, NULL);
#line 282 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->d_repository_list_box;
#line 282 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = repository;
#line 282 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = gitg_repository_list_box_add_repository (_tmp0_, _tmp1_);
#line 282 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	result = _tmp2_;
#line 282 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 613 "gitg-dash-view.c"
}


static void gitg_dash_view_clone_data_free (gpointer _data) {
	GitgDashViewCloneData* _data_;
	_data_ = _data;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_data_->result);
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_data_->self);
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_slice_free (GitgDashViewCloneData, _data_);
#line 626 "gitg-dash-view.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return self ? g_object_ref (self) : NULL;
#line 633 "gitg-dash-view.c"
}


static void gitg_dash_view_clone (GitgDashView* self, GitgRepositoryListBoxRow* row, const gchar* url, GFile* location, gboolean is_bare, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgDashViewCloneData* _data_;
	GitgDashView* _tmp0_ = NULL;
	GitgRepositoryListBoxRow* _tmp1_ = NULL;
	GitgRepositoryListBoxRow* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	GFile* _tmp5_ = NULL;
	GFile* _tmp6_ = NULL;
	gboolean _tmp7_ = FALSE;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_ = g_slice_new0 (GitgDashViewCloneData);
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_dash_view_clone);
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_dash_view_clone_data_free);
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->self = _tmp0_;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = row;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_data_->row);
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->row = _tmp2_;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = url;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp4_ = g_strdup (_tmp3_);
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_free0 (_data_->url);
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->url = _tmp4_;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp5_ = location;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp6_ = _g_object_ref0 (_tmp5_);
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_data_->location);
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->location = _tmp6_;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp7_ = is_bare;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->is_bare = _tmp7_;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_clone_co (_data_);
#line 687 "gitg-dash-view.c"
}


static GitgRepository* gitg_dash_view_clone_finish (GitgDashView* self, GAsyncResult* _res_, GError** error) {
	GitgRepository* result;
	GitgDashViewCloneData* _data_;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		return NULL;
#line 698 "gitg-dash-view.c"
	}
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	result = _data_->result;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->result = NULL;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 708 "gitg-dash-view.c"
}


static Block36Data* block36_data_ref (Block36Data* _data36_) {
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_atomic_int_inc (&_data36_->_ref_count_);
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return _data36_;
#line 717 "gitg-dash-view.c"
}


static void block36_data_unref (void * _userdata_) {
	Block36Data* _data36_;
	_data36_ = (Block36Data*) _userdata_;
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (g_atomic_int_dec_and_test (&_data36_->_ref_count_)) {
#line 726 "gitg-dash-view.c"
		GitgDashView* self;
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		self = _data36_->self;
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_data36_->repository);
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_data36_->row);
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_free0 (_data36_->url);
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_data36_->location);
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (self);
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_slice_free (Block36Data, _data36_);
#line 742 "gitg-dash-view.c"
	}
}


static void _vala_GgitFetchOptions_free (GgitFetchOptions* self) {
#line 323 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_boxed_free (ggit_fetch_options_get_type (), self);
#line 750 "gitg-dash-view.c"
}


static void __lambda79_ (Block36Data* _data36_, GError** error) {
	GitgDashView* self;
	GgitCloneOptions* clone_options = NULL;
	GgitCloneOptions* _tmp0_ = NULL;
	GgitFetchOptions* fetch_options = NULL;
	GgitFetchOptions* _tmp1_ = NULL;
	GgitConfig* config = NULL;
	GitgExtApplication* _tmp5_ = NULL;
	GitgExtApplication* _tmp6_ = NULL;
	GitgExtApplication* _tmp7_ = NULL;
	GgitConfig* _tmp8_ = NULL;
	GitgRepositoryListBoxRow* _tmp9_ = NULL;
	GitgDashViewCloneCallbacks* _tmp10_ = NULL;
	GitgDashViewCloneCallbacks* _tmp11_ = NULL;
	gboolean _tmp12_ = FALSE;
	GgitRepository* _tmp13_ = NULL;
	const gchar* _tmp14_ = NULL;
	GFile* _tmp15_ = NULL;
	GgitRepository* _tmp16_ = NULL;
	GgitRepository* _tmp17_ = NULL;
	GError * _inner_error_ = NULL;
#line 318 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = _data36_->self;
#line 319 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = ggit_clone_options_new ();
#line 319 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	clone_options = _tmp0_;
#line 320 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = ggit_fetch_options_new ();
#line 320 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	fetch_options = _tmp1_;
#line 321 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	config = NULL;
#line 787 "gitg-dash-view.c"
	{
		GgitConfig* _tmp2_ = NULL;
		GgitConfig* _tmp3_ = NULL;
		GgitConfig* _tmp4_ = NULL;
#line 325 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp3_ = ggit_config_new_default (&_inner_error_);
#line 325 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp2_ = _tmp3_;
#line 325 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 798 "gitg-dash-view.c"
			goto __catch53_g_error;
		}
#line 325 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp4_ = _tmp2_;
#line 325 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp2_ = NULL;
#line 325 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (config);
#line 325 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		config = _tmp4_;
#line 323 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_tmp2_);
#line 811 "gitg-dash-view.c"
	}
	goto __finally53;
	__catch53_g_error:
	{
#line 323 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_clear_error (&_inner_error_);
#line 323 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_inner_error_ = NULL;
#line 820 "gitg-dash-view.c"
	}
	__finally53:
#line 323 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 323 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_propagate_error (error, _inner_error_);
#line 323 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (config);
#line 323 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		__vala_GgitFetchOptions_free0 (fetch_options);
#line 323 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (clone_options);
#line 323 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		return;
#line 835 "gitg-dash-view.c"
	}
#line 328 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp5_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 328 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp6_ = _tmp5_;
#line 328 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp7_ = _tmp6_;
#line 328 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp8_ = config;
#line 328 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp9_ = _data36_->row;
#line 328 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp10_ = gitg_dash_view_clone_callbacks_new (_tmp7_, _tmp8_, _tmp9_);
#line 328 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp11_ = _tmp10_;
#line 328 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	ggit_fetch_options_set_remote_callbacks (fetch_options, (GgitRemoteCallbacks*) _tmp11_);
#line 328 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_tmp11_);
#line 328 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_tmp7_);
#line 330 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp12_ = _data36_->is_bare;
#line 330 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	ggit_clone_options_set_is_bare (clone_options, _tmp12_);
#line 331 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	ggit_clone_options_set_fetch_options (clone_options, fetch_options);
#line 333 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp14_ = _data36_->url;
#line 333 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp15_ = _data36_->location;
#line 333 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp16_ = ggit_repository_clone (_tmp14_, _tmp15_, clone_options, &_inner_error_);
#line 333 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp13_ = _tmp16_;
#line 333 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 333 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_propagate_error (error, _inner_error_);
#line 333 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (config);
#line 333 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		__vala_GgitFetchOptions_free0 (fetch_options);
#line 333 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (clone_options);
#line 333 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		return;
#line 883 "gitg-dash-view.c"
	}
#line 333 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp17_ = _tmp13_;
#line 333 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp13_ = NULL;
#line 333 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_data36_->repository);
#line 333 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data36_->repository = G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GITG_TYPE_REPOSITORY, GitgRepository);
#line 318 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_tmp13_);
#line 318 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (config);
#line 318 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	__vala_GgitFetchOptions_free0 (fetch_options);
#line 318 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (clone_options);
#line 901 "gitg-dash-view.c"
}


static void ___lambda79__gitg_async_thread_func (gpointer self, GError** error) {
#line 318 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	__lambda79_ (self, error);
#line 908 "gitg-dash-view.c"
}


static void gitg_dash_view_clone_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgDashViewCloneData* _data_;
#line 318 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_ = _user_data_;
#line 318 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->_source_object_ = source_object;
#line 318 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->_res_ = _res_;
#line 318 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_clone_co (_data_);
#line 922 "gitg-dash-view.c"
}


static gboolean gitg_dash_view_clone_co (GitgDashViewCloneData* _data_) {
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	switch (_data_->_state_) {
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		case 0:
#line 931 "gitg-dash-view.c"
		goto _state_0;
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		case 1:
#line 935 "gitg-dash-view.c"
		goto _state_1;
		default:
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_assert_not_reached ();
#line 940 "gitg-dash-view.c"
	}
	_state_0:
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->_data36_ = g_slice_new0 (Block36Data);
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->_data36_->_ref_count_ = 1;
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->_data36_->self = g_object_ref (_data_->self);
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp0_ = NULL;
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp0_ = _data_->row;
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_data_->_data36_->row);
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->_data36_->row = _data_->_tmp0_;
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp1_ = NULL;
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp1_ = _data_->url;
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_free0 (_data_->_data36_->url);
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->_data36_->url = _data_->_tmp1_;
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp2_ = NULL;
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp2_ = _data_->location;
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_data_->_data36_->location);
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->_data36_->location = _data_->_tmp2_;
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp3_ = FALSE;
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp3_ = _data_->is_bare;
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->_data36_->is_bare = _data_->_tmp3_;
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->_data36_->_async_data_ = _data_;
#line 316 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->_data36_->repository = NULL;
#line 318 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->_state_ = 1;
#line 318 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_async_thread (___lambda79__gitg_async_thread_func, _data_->_data36_, gitg_dash_view_clone_ready, _data_);
#line 318 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return FALSE;
#line 989 "gitg-dash-view.c"
	_state_1:
#line 318 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_async_thread_finish (_data_->_res_, &_data_->_inner_error_);
#line 318 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 318 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 318 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_error_free (_data_->_inner_error_);
#line 318 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		block36_data_unref (_data_->_data36_);
#line 318 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_data_->_data36_ = NULL;
#line 318 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		if (_data_->_state_ == 0) {
#line 318 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1007 "gitg-dash-view.c"
		} else {
#line 318 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1011 "gitg-dash-view.c"
		}
#line 318 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_object_unref (_data_->_async_result);
#line 318 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		return FALSE;
#line 1017 "gitg-dash-view.c"
	}
#line 336 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp4_ = NULL;
#line 336 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp4_ = _g_object_ref0 (_data_->_data36_->repository);
#line 336 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->result = _data_->_tmp4_;
#line 336 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	block36_data_unref (_data_->_data36_);
#line 336 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->_data36_ = NULL;
#line 336 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (_data_->_state_ == 0) {
#line 336 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1033 "gitg-dash-view.c"
	} else {
#line 336 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1037 "gitg-dash-view.c"
	}
#line 336 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_unref (_data_->_async_result);
#line 336 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return FALSE;
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	block36_data_unref (_data_->_data36_);
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data_->_data36_ = NULL;
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (_data_->_state_ == 0) {
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1051 "gitg-dash-view.c"
	} else {
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1055 "gitg-dash-view.c"
	}
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_unref (_data_->_async_result);
#line 314 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return FALSE;
#line 1061 "gitg-dash-view.c"
}


static Block37Data* block37_data_ref (Block37Data* _data37_) {
#line 339 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_atomic_int_inc (&_data37_->_ref_count_);
#line 339 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return _data37_;
#line 1070 "gitg-dash-view.c"
}


static void block37_data_unref (void * _userdata_) {
	Block37Data* _data37_;
	_data37_ = (Block37Data*) _userdata_;
#line 339 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (g_atomic_int_dec_and_test (&_data37_->_ref_count_)) {
#line 1079 "gitg-dash-view.c"
		GitgDashView* self;
#line 339 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		self = _data37_->self;
#line 339 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_data37_->row);
#line 339 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (self);
#line 339 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_slice_free (Block37Data, _data37_);
#line 1089 "gitg-dash-view.c"
	}
}


static gint string_last_index_of_char (const gchar* self, gunichar c, gint start_index) {
	gint result = 0;
	gchar* _result_ = NULL;
	gint _tmp0_ = 0;
	gunichar _tmp1_ = 0U;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
#line 930 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, 0);
#line 931 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp0_ = start_index;
#line 931 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp1_ = c;
#line 931 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp2_ = g_utf8_strrchr (((gchar*) self) + _tmp0_, (gssize) (-1), _tmp1_);
#line 931 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_result_ = _tmp2_;
#line 933 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp3_ = _result_;
#line 933 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	if (_tmp3_ != NULL) {
#line 1115 "gitg-dash-view.c"
		gchar* _tmp4_ = NULL;
#line 934 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp4_ = _result_;
#line 934 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		result = (gint) (_tmp4_ - ((gchar*) self));
#line 934 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		return result;
#line 1123 "gitg-dash-view.c"
	} else {
#line 936 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		result = -1;
#line 936 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		return result;
#line 1129 "gitg-dash-view.c"
	}
}


static glong string_strnlen (gchar* str, glong maxlen) {
	glong result = 0L;
	gchar* end = NULL;
	gchar* _tmp0_ = NULL;
	glong _tmp1_ = 0L;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
#line 1197 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp0_ = str;
#line 1197 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp1_ = maxlen;
#line 1197 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
#line 1197 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	end = _tmp2_;
#line 1198 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp3_ = end;
#line 1198 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	if (_tmp3_ == NULL) {
#line 1153 "gitg-dash-view.c"
		glong _tmp4_ = 0L;
#line 1199 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp4_ = maxlen;
#line 1199 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		result = _tmp4_;
#line 1199 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		return result;
#line 1161 "gitg-dash-view.c"
	} else {
		gchar* _tmp5_ = NULL;
		gchar* _tmp6_ = NULL;
#line 1201 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp5_ = end;
#line 1201 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp6_ = str;
#line 1201 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		result = (glong) (_tmp5_ - _tmp6_);
#line 1201 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		return result;
#line 1173 "gitg-dash-view.c"
	}
}


static gchar* string_substring (const gchar* self, glong offset, glong len) {
	gchar* result = NULL;
	glong string_length = 0L;
	gboolean _tmp0_ = FALSE;
	glong _tmp1_ = 0L;
	glong _tmp8_ = 0L;
	glong _tmp14_ = 0L;
	glong _tmp17_ = 0L;
	glong _tmp18_ = 0L;
	glong _tmp19_ = 0L;
	glong _tmp20_ = 0L;
	glong _tmp21_ = 0L;
	gchar* _tmp22_ = NULL;
#line 1208 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1210 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp1_ = offset;
#line 1210 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	if (_tmp1_ >= ((glong) 0)) {
#line 1197 "gitg-dash-view.c"
		glong _tmp2_ = 0L;
#line 1210 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp2_ = len;
#line 1210 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp0_ = _tmp2_ >= ((glong) 0);
#line 1203 "gitg-dash-view.c"
	} else {
#line 1210 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp0_ = FALSE;
#line 1207 "gitg-dash-view.c"
	}
#line 1210 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	if (_tmp0_) {
#line 1211 "gitg-dash-view.c"
		glong _tmp3_ = 0L;
		glong _tmp4_ = 0L;
		glong _tmp5_ = 0L;
#line 1212 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp3_ = offset;
#line 1212 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp4_ = len;
#line 1212 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
#line 1212 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		string_length = _tmp5_;
#line 1223 "gitg-dash-view.c"
	} else {
		gint _tmp6_ = 0;
		gint _tmp7_ = 0;
#line 1214 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp6_ = strlen (self);
#line 1214 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp7_ = _tmp6_;
#line 1214 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		string_length = (glong) _tmp7_;
#line 1233 "gitg-dash-view.c"
	}
#line 1217 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp8_ = offset;
#line 1217 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	if (_tmp8_ < ((glong) 0)) {
#line 1239 "gitg-dash-view.c"
		glong _tmp9_ = 0L;
		glong _tmp10_ = 0L;
		glong _tmp11_ = 0L;
#line 1218 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp9_ = string_length;
#line 1218 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp10_ = offset;
#line 1218 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		offset = _tmp9_ + _tmp10_;
#line 1219 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp11_ = offset;
#line 1219 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 1253 "gitg-dash-view.c"
	} else {
		glong _tmp12_ = 0L;
		glong _tmp13_ = 0L;
#line 1221 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp12_ = offset;
#line 1221 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp13_ = string_length;
#line 1221 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 1263 "gitg-dash-view.c"
	}
#line 1223 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp14_ = len;
#line 1223 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	if (_tmp14_ < ((glong) 0)) {
#line 1269 "gitg-dash-view.c"
		glong _tmp15_ = 0L;
		glong _tmp16_ = 0L;
#line 1224 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp15_ = string_length;
#line 1224 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp16_ = offset;
#line 1224 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		len = _tmp15_ - _tmp16_;
#line 1278 "gitg-dash-view.c"
	}
#line 1226 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp17_ = offset;
#line 1226 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp18_ = len;
#line 1226 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp19_ = string_length;
#line 1226 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
#line 1227 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp20_ = offset;
#line 1227 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp21_ = len;
#line 1227 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
#line 1227 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	result = _tmp22_;
#line 1227 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	return result;
#line 1298 "gitg-dash-view.c"
}


static gchar* string_slice (const gchar* self, glong start, glong end) {
	gchar* result = NULL;
	glong string_length = 0L;
	gint _tmp0_ = 0;
	gint _tmp1_ = 0;
	glong _tmp2_ = 0L;
	glong _tmp5_ = 0L;
	gboolean _tmp8_ = FALSE;
	glong _tmp9_ = 0L;
	gboolean _tmp12_ = FALSE;
	glong _tmp13_ = 0L;
	glong _tmp16_ = 0L;
	glong _tmp17_ = 0L;
	glong _tmp18_ = 0L;
	glong _tmp19_ = 0L;
	glong _tmp20_ = 0L;
	gchar* _tmp21_ = NULL;
#line 1230 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1231 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp0_ = strlen (self);
#line 1231 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp1_ = _tmp0_;
#line 1231 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	string_length = (glong) _tmp1_;
#line 1232 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp2_ = start;
#line 1232 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	if (_tmp2_ < ((glong) 0)) {
#line 1331 "gitg-dash-view.c"
		glong _tmp3_ = 0L;
		glong _tmp4_ = 0L;
#line 1233 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp3_ = string_length;
#line 1233 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp4_ = start;
#line 1233 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		start = _tmp3_ + _tmp4_;
#line 1340 "gitg-dash-view.c"
	}
#line 1235 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp5_ = end;
#line 1235 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	if (_tmp5_ < ((glong) 0)) {
#line 1346 "gitg-dash-view.c"
		glong _tmp6_ = 0L;
		glong _tmp7_ = 0L;
#line 1236 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp6_ = string_length;
#line 1236 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp7_ = end;
#line 1236 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		end = _tmp6_ + _tmp7_;
#line 1355 "gitg-dash-view.c"
	}
#line 1238 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp9_ = start;
#line 1238 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	if (_tmp9_ >= ((glong) 0)) {
#line 1361 "gitg-dash-view.c"
		glong _tmp10_ = 0L;
		glong _tmp11_ = 0L;
#line 1238 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp10_ = start;
#line 1238 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp11_ = string_length;
#line 1238 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp8_ = _tmp10_ <= _tmp11_;
#line 1370 "gitg-dash-view.c"
	} else {
#line 1238 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp8_ = FALSE;
#line 1374 "gitg-dash-view.c"
	}
#line 1238 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	g_return_val_if_fail (_tmp8_, NULL);
#line 1239 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp13_ = end;
#line 1239 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	if (_tmp13_ >= ((glong) 0)) {
#line 1382 "gitg-dash-view.c"
		glong _tmp14_ = 0L;
		glong _tmp15_ = 0L;
#line 1239 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp14_ = end;
#line 1239 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp15_ = string_length;
#line 1239 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp12_ = _tmp14_ <= _tmp15_;
#line 1391 "gitg-dash-view.c"
	} else {
#line 1239 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp12_ = FALSE;
#line 1395 "gitg-dash-view.c"
	}
#line 1239 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	g_return_val_if_fail (_tmp12_, NULL);
#line 1240 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp16_ = start;
#line 1240 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp17_ = end;
#line 1240 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	g_return_val_if_fail (_tmp16_ <= _tmp17_, NULL);
#line 1241 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp18_ = start;
#line 1241 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp19_ = end;
#line 1241 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp20_ = start;
#line 1241 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp21_ = g_strndup (((gchar*) self) + _tmp18_, (gsize) (_tmp19_ - _tmp20_));
#line 1241 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	result = _tmp21_;
#line 1241 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
	return result;
#line 1417 "gitg-dash-view.c"
}


static void __lambda81_ (Block37Data* _data37_, GObject* obj, GAsyncResult* res) {
	GitgDashView* self;
	GitgRepository* repository = NULL;
	GitgRepositoryListBox* _tmp10_ = NULL;
	GitgRepository* _tmp11_ = NULL;
	GError * _inner_error_ = NULL;
#line 367 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = _data37_->self;
#line 367 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (res != NULL);
#line 368 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	repository = NULL;
#line 1433 "gitg-dash-view.c"
	{
		GitgRepository* _tmp0_ = NULL;
		GAsyncResult* _tmp1_ = NULL;
		GitgRepository* _tmp2_ = NULL;
		GitgRepository* _tmp3_ = NULL;
#line 372 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp1_ = res;
#line 372 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp2_ = gitg_dash_view_clone_finish (self, _tmp1_, &_inner_error_);
#line 372 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp0_ = _tmp2_;
#line 372 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1447 "gitg-dash-view.c"
			goto __catch54_g_error;
		}
#line 372 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp3_ = _tmp0_;
#line 372 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp0_ = NULL;
#line 372 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (repository);
#line 372 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		repository = _tmp3_;
#line 370 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_tmp0_);
#line 1460 "gitg-dash-view.c"
	}
	goto __finally54;
	__catch54_g_error:
	{
		GError* e = NULL;
		GitgExtApplication* _tmp4_ = NULL;
		GitgExtApplication* _tmp5_ = NULL;
		GitgExtApplication* _tmp6_ = NULL;
		const gchar* _tmp7_ = NULL;
		GError* _tmp8_ = NULL;
		const gchar* _tmp9_ = NULL;
#line 370 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		e = _inner_error_;
#line 370 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_inner_error_ = NULL;
#line 376 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp4_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 376 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp5_ = _tmp4_;
#line 376 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp6_ = _tmp5_;
#line 376 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp7_ = _ ("Failed to clone repository");
#line 376 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp8_ = e;
#line 376 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp9_ = _tmp8_->message;
#line 376 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		gitg_ext_application_show_infobar (_tmp6_, _tmp7_, _tmp9_, GTK_MESSAGE_ERROR);
#line 376 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_tmp6_);
#line 370 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_error_free0 (e);
#line 1494 "gitg-dash-view.c"
	}
	__finally54:
#line 370 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 370 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (repository);
#line 370 "/home/jesse/devel/gitg/gitg/gitg-dash-view.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 370 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_clear_error (&_inner_error_);
#line 370 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		return;
#line 1507 "gitg-dash-view.c"
	}
#line 379 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp10_ = self->priv->d_repository_list_box;
#line 379 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp11_ = repository;
#line 379 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_repository_list_box_end_cloning (_tmp10_, _data37_->row, _tmp11_);
#line 367 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (repository);
#line 1517 "gitg-dash-view.c"
}


static void ___lambda81__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 367 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	__lambda81_ (self, source_object, res);
#line 367 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	block37_data_unref (self);
#line 1526 "gitg-dash-view.c"
}


static void gitg_dash_view_clone_repository (GitgDashView* self, const gchar* url, GFile* location, gboolean is_bare) {
	Block37Data* _data37_;
	gint pos = 0;
	const gchar* _tmp0_ = NULL;
	gint _tmp1_ = 0;
	gint _tmp2_ = 0;
	gchar* dot_git_suffix = NULL;
	gchar* _tmp5_ = NULL;
	gchar* subfolder_name = NULL;
	const gchar* _tmp6_ = NULL;
	gint _tmp7_ = 0;
	gchar* _tmp8_ = NULL;
	gboolean has_dot_git = FALSE;
	const gchar* _tmp9_ = NULL;
	const gchar* _tmp10_ = NULL;
	gboolean _tmp11_ = FALSE;
	gboolean _tmp12_ = FALSE;
	gboolean _tmp13_ = FALSE;
	GFile* subfolder = NULL;
	GFile* _tmp26_ = NULL;
	const gchar* _tmp27_ = NULL;
	GFile* _tmp28_ = NULL;
	GitgRepositoryListBox* _tmp29_ = NULL;
	const gchar* _tmp30_ = NULL;
	GitgRepositoryListBoxRow* _tmp31_ = NULL;
	const gchar* _tmp32_ = NULL;
	gboolean _tmp33_ = FALSE;
#line 339 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (self != NULL);
#line 339 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (url != NULL);
#line 339 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (location != NULL);
#line 339 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data37_ = g_slice_new0 (Block37Data);
#line 339 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data37_->_ref_count_ = 1;
#line 339 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data37_->self = g_object_ref (self);
#line 342 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = url;
#line 342 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = string_last_index_of_char (_tmp0_, (gunichar) '/', 0);
#line 342 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	pos = _tmp1_;
#line 344 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = pos;
#line 344 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (_tmp2_ == (-1)) {
#line 1579 "gitg-dash-view.c"
		const gchar* _tmp3_ = NULL;
		gint _tmp4_ = 0;
#line 346 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp3_ = url;
#line 346 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp4_ = string_last_index_of_char (_tmp3_, (gunichar) ':', 0);
#line 346 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		pos = _tmp4_;
#line 1588 "gitg-dash-view.c"
	}
#line 349 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp5_ = g_strdup (".git");
#line 349 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	dot_git_suffix = _tmp5_;
#line 350 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp6_ = url;
#line 350 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp7_ = pos;
#line 350 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp8_ = string_substring (_tmp6_, (glong) (_tmp7_ + 1), (glong) (-1));
#line 350 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	subfolder_name = _tmp8_;
#line 351 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp9_ = subfolder_name;
#line 351 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp10_ = dot_git_suffix;
#line 351 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp11_ = g_str_has_suffix (_tmp9_, _tmp10_);
#line 351 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	has_dot_git = _tmp11_;
#line 353 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp13_ = has_dot_git;
#line 353 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (_tmp13_) {
#line 1614 "gitg-dash-view.c"
		gboolean _tmp14_ = FALSE;
#line 353 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp14_ = is_bare;
#line 353 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp12_ = !_tmp14_;
#line 1620 "gitg-dash-view.c"
	} else {
#line 353 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp12_ = FALSE;
#line 1624 "gitg-dash-view.c"
	}
#line 353 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (_tmp12_) {
#line 1628 "gitg-dash-view.c"
		const gchar* _tmp15_ = NULL;
		const gchar* _tmp16_ = NULL;
		gint _tmp17_ = 0;
		gint _tmp18_ = 0;
		gchar* _tmp19_ = NULL;
#line 355 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp15_ = subfolder_name;
#line 355 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp16_ = dot_git_suffix;
#line 355 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp17_ = strlen (_tmp16_);
#line 355 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp18_ = _tmp17_;
#line 355 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp19_ = string_slice (_tmp15_, (glong) 0, (glong) (-_tmp18_));
#line 355 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_free0 (subfolder_name);
#line 355 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		subfolder_name = _tmp19_;
#line 1648 "gitg-dash-view.c"
	} else {
		gboolean _tmp20_ = FALSE;
		gboolean _tmp21_ = FALSE;
#line 357 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp21_ = has_dot_git;
#line 357 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		if (!_tmp21_) {
#line 1656 "gitg-dash-view.c"
			gboolean _tmp22_ = FALSE;
#line 357 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp22_ = is_bare;
#line 357 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp20_ = _tmp22_;
#line 1662 "gitg-dash-view.c"
		} else {
#line 357 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp20_ = FALSE;
#line 1666 "gitg-dash-view.c"
		}
#line 357 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		if (_tmp20_) {
#line 1670 "gitg-dash-view.c"
			const gchar* _tmp23_ = NULL;
			const gchar* _tmp24_ = NULL;
			gchar* _tmp25_ = NULL;
#line 359 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp23_ = subfolder_name;
#line 359 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp24_ = dot_git_suffix;
#line 359 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp25_ = g_strconcat (_tmp23_, _tmp24_, NULL);
#line 359 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_g_free0 (subfolder_name);
#line 359 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			subfolder_name = _tmp25_;
#line 1684 "gitg-dash-view.c"
		}
	}
#line 362 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp26_ = location;
#line 362 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp27_ = subfolder_name;
#line 362 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp28_ = g_file_resolve_relative_path (_tmp26_, _tmp27_);
#line 362 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	subfolder = _tmp28_;
#line 365 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp29_ = self->priv->d_repository_list_box;
#line 365 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp30_ = subfolder_name;
#line 365 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp31_ = gitg_repository_list_box_begin_cloning (_tmp29_, _tmp30_);
#line 365 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data37_->row = _tmp31_;
#line 367 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp32_ = url;
#line 367 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp33_ = is_bare;
#line 367 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_clone (self, _data37_->row, _tmp32_, subfolder, _tmp33_, ___lambda81__gasync_ready_callback, block37_data_ref (_data37_));
#line 339 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (subfolder);
#line 339 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_free0 (subfolder_name);
#line 339 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_free0 (dot_git_suffix);
#line 339 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	block37_data_unref (_data37_);
#line 339 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data37_ = NULL;
#line 1719 "gitg-dash-view.c"
}


static Block38Data* block38_data_ref (Block38Data* _data38_) {
#line 384 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_atomic_int_inc (&_data38_->_ref_count_);
#line 384 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return _data38_;
#line 1728 "gitg-dash-view.c"
}


static void block38_data_unref (void * _userdata_) {
	Block38Data* _data38_;
	_data38_ = (Block38Data*) _userdata_;
#line 384 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (g_atomic_int_dec_and_test (&_data38_->_ref_count_)) {
#line 1737 "gitg-dash-view.c"
		GitgDashView* self;
#line 384 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		self = _data38_->self;
#line 384 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_data38_->dlg);
#line 384 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (self);
#line 384 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_slice_free (Block38Data, _data38_);
#line 1747 "gitg-dash-view.c"
	}
}


static void __lambda84_ (Block38Data* _data38_, GtkDialog* d, gint id) {
	GitgDashView* self;
	gint _tmp0_ = 0;
	GtkDialog* _tmp8_ = NULL;
#line 388 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = _data38_->self;
#line 388 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (d != NULL);
#line 389 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = id;
#line 389 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (_tmp0_ == ((gint) GTK_RESPONSE_OK)) {
#line 1764 "gitg-dash-view.c"
		const gchar* _tmp1_ = NULL;
		const gchar* _tmp2_ = NULL;
		GFile* _tmp3_ = NULL;
		GFile* _tmp4_ = NULL;
		GFile* _tmp5_ = NULL;
		gboolean _tmp6_ = FALSE;
		gboolean _tmp7_ = FALSE;
#line 391 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp1_ = gitg_clone_dialog_get_url (_data38_->dlg);
#line 391 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp2_ = _tmp1_;
#line 391 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp3_ = gitg_clone_dialog_get_location (_data38_->dlg);
#line 391 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp4_ = _tmp3_;
#line 391 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp5_ = _tmp4_;
#line 391 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp6_ = gitg_clone_dialog_get_is_bare (_data38_->dlg);
#line 391 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp7_ = _tmp6_;
#line 391 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		gitg_dash_view_clone_repository (self, _tmp2_, _tmp5_, _tmp7_);
#line 391 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_tmp5_);
#line 1790 "gitg-dash-view.c"
	}
#line 394 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp8_ = d;
#line 394 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_destroy ((GtkWidget*) _tmp8_);
#line 1796 "gitg-dash-view.c"
}


static void ___lambda84__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) {
#line 388 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	__lambda84_ (self, _sender, response_id);
#line 1803 "gitg-dash-view.c"
}


static void gitg_dash_view_clone_repository_clicked (GitgDashView* self) {
	Block38Data* _data38_;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
	GtkWindow* _tmp2_ = NULL;
	GtkWindow* _tmp3_ = NULL;
	GitgCloneDialog* _tmp4_ = NULL;
	GitgCloneDialog* _tmp5_ = NULL;
#line 384 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (self != NULL);
#line 384 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data38_ = g_slice_new0 (Block38Data);
#line 384 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data38_->_ref_count_ = 1;
#line 384 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data38_->self = g_object_ref (self);
#line 386 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 386 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _tmp0_;
#line 386 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_window_get_type ()) ? ((GtkWindow*) _tmp1_) : NULL;
#line 386 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (_tmp2_ == NULL) {
#line 386 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_tmp1_);
#line 1833 "gitg-dash-view.c"
	}
#line 386 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = _tmp2_;
#line 386 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp4_ = gitg_clone_dialog_new (_tmp3_);
#line 386 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_ref_sink (_tmp4_);
#line 386 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp5_ = _tmp4_;
#line 386 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_tmp3_);
#line 386 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data38_->dlg = _tmp5_;
#line 388 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_signal_connect_data ((GtkDialog*) _data38_->dlg, "response", (GCallback) ___lambda84__gtk_dialog_response, block38_data_ref (_data38_), (GClosureNotify) block38_data_unref, 0);
#line 397 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_show ((GtkWidget*) _data38_->dlg);
#line 384 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	block38_data_unref (_data38_);
#line 384 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data38_ = NULL;
#line 1855 "gitg-dash-view.c"
}


static void _gitg_dash_view_clone_repository_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_clone_repository_clicked ((GitgDashView*) self);
#line 1862 "gitg-dash-view.c"
}


static void gitg_dash_view_finish_add_repository (GitgDashView* self, GitgRepository* repo) {
	GitgRepositoryListBoxRow* row = NULL;
	GitgRepository* _tmp0_ = NULL;
	GitgRepositoryListBoxRow* _tmp1_ = NULL;
	GitgRepositoryListBoxRow* _tmp2_ = NULL;
#line 400 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (self != NULL);
#line 400 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (repo != NULL);
#line 402 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = repo;
#line 402 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = gitg_dash_view_add_repository (self, _tmp0_);
#line 402 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	row = _tmp1_;
#line 404 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = row;
#line 404 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (_tmp2_ != NULL) {
#line 1885 "gitg-dash-view.c"
		GitgRepositoryListBoxRow* _tmp3_ = NULL;
		GitgRepositoryListBox* _tmp4_ = NULL;
		GitgRepositoryListBoxRow* _tmp5_ = NULL;
#line 406 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp3_ = row;
#line 406 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		gtk_widget_grab_focus ((GtkWidget*) _tmp3_);
#line 407 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp4_ = self->priv->d_repository_list_box;
#line 407 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		gtk_widget_grab_focus ((GtkWidget*) _tmp4_);
#line 408 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp5_ = row;
#line 408 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		gtk_widget_grab_focus ((GtkWidget*) _tmp5_);
#line 1901 "gitg-dash-view.c"
	}
#line 400 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (row);
#line 1905 "gitg-dash-view.c"
}


static void gitg_dash_view_do_add_repository (GitgDashView* self, GFile* location) {
	GitgRepository* repo = NULL;
	GitgRepository* _tmp10_ = NULL;
	GError * _inner_error_ = NULL;
#line 412 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (self != NULL);
#line 412 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (location != NULL);
#line 1917 "gitg-dash-view.c"
	{
		GitgRepository* _tmp0_ = NULL;
		GFile* _tmp1_ = NULL;
		GitgRepository* _tmp2_ = NULL;
		GitgRepository* _tmp3_ = NULL;
#line 418 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp1_ = location;
#line 418 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp2_ = gitg_repository_new (_tmp1_, NULL, &_inner_error_);
#line 418 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp0_ = _tmp2_;
#line 418 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1931 "gitg-dash-view.c"
			goto __catch55_g_error;
		}
#line 418 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp3_ = _tmp0_;
#line 418 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp0_ = NULL;
#line 418 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (repo);
#line 418 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		repo = _tmp3_;
#line 416 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_tmp0_);
#line 1944 "gitg-dash-view.c"
	}
	goto __finally55;
	__catch55_g_error:
	{
		GError* err = NULL;
		GitgExtApplication* _tmp4_ = NULL;
		GitgExtApplication* _tmp5_ = NULL;
		GitgExtApplication* _tmp6_ = NULL;
		const gchar* _tmp7_ = NULL;
		GError* _tmp8_ = NULL;
		const gchar* _tmp9_ = NULL;
#line 416 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		err = _inner_error_;
#line 416 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_inner_error_ = NULL;
#line 422 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp4_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 422 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp5_ = _tmp4_;
#line 422 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp6_ = _tmp5_;
#line 422 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp7_ = _ ("Failed to add repository");
#line 422 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp8_ = err;
#line 422 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp9_ = _tmp8_->message;
#line 422 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		gitg_ext_application_show_infobar (_tmp6_, _tmp7_, _tmp9_, GTK_MESSAGE_ERROR);
#line 422 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_tmp6_);
#line 423 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_error_free0 (err);
#line 423 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (repo);
#line 423 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		return;
#line 1982 "gitg-dash-view.c"
	}
	__finally55:
#line 416 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 416 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (repo);
#line 416 "/home/jesse/devel/gitg/gitg/gitg-dash-view.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 416 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_clear_error (&_inner_error_);
#line 416 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		return;
#line 1995 "gitg-dash-view.c"
	}
#line 426 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp10_ = repo;
#line 426 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_finish_add_repository (self, _tmp10_);
#line 412 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (repo);
#line 2003 "gitg-dash-view.c"
}


static Block39Data* block39_data_ref (Block39Data* _data39_) {
#line 429 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_atomic_int_inc (&_data39_->_ref_count_);
#line 429 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return _data39_;
#line 2012 "gitg-dash-view.c"
}


static void block39_data_unref (void * _userdata_) {
	Block39Data* _data39_;
	_data39_ = (Block39Data*) _userdata_;
#line 429 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (g_atomic_int_dec_and_test (&_data39_->_ref_count_)) {
#line 2021 "gitg-dash-view.c"
		GitgDashView* self;
#line 429 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		self = _data39_->self;
#line 429 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_data39_->location);
#line 429 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (self);
#line 429 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_slice_free (Block39Data, _data39_);
#line 2031 "gitg-dash-view.c"
	}
}


static gboolean __lambda85_ (Block39Data* _data39_, GitgExtUserQuery* w, GtkResponseType r) {
	GitgDashView* self;
	gboolean result = FALSE;
	GtkResponseType _tmp0_ = 0;
	GError * _inner_error_ = NULL;
#line 450 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = _data39_->self;
#line 450 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_return_val_if_fail (w != NULL, FALSE);
#line 451 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = r;
#line 451 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (_tmp0_ == GTK_RESPONSE_OK) {
#line 2049 "gitg-dash-view.c"
		GitgRepository* repo = NULL;
		GitgRepository* _tmp11_ = NULL;
		{
			GitgRepository* _tmp1_ = NULL;
			GFile* _tmp2_ = NULL;
			GitgRepository* _tmp3_ = NULL;
			GitgRepository* _tmp4_ = NULL;
#line 457 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp2_ = _data39_->location;
#line 457 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp3_ = gitg_repository_init_repository (_tmp2_, FALSE, &_inner_error_);
#line 457 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp1_ = _tmp3_;
#line 457 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2065 "gitg-dash-view.c"
				goto __catch56_g_error;
			}
#line 457 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp4_ = _tmp1_;
#line 457 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp1_ = NULL;
#line 457 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_g_object_unref0 (repo);
#line 457 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			repo = _tmp4_;
#line 455 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_g_object_unref0 (_tmp1_);
#line 2078 "gitg-dash-view.c"
		}
		goto __finally56;
		__catch56_g_error:
		{
			GError* err = NULL;
			GitgExtApplication* _tmp5_ = NULL;
			GitgExtApplication* _tmp6_ = NULL;
			GitgExtApplication* _tmp7_ = NULL;
			const gchar* _tmp8_ = NULL;
			GError* _tmp9_ = NULL;
			const gchar* _tmp10_ = NULL;
#line 455 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			err = _inner_error_;
#line 455 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_inner_error_ = NULL;
#line 461 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp5_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 461 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp6_ = _tmp5_;
#line 461 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp7_ = _tmp6_;
#line 461 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp8_ = _ ("Failed to create repository");
#line 461 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp9_ = err;
#line 461 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp10_ = _tmp9_->message;
#line 461 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			gitg_ext_application_show_infobar (_tmp7_, _tmp8_, _tmp10_, GTK_MESSAGE_ERROR);
#line 461 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_g_object_unref0 (_tmp7_);
#line 462 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			result = TRUE;
#line 462 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_g_error_free0 (err);
#line 462 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_g_object_unref0 (repo);
#line 462 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			return result;
#line 2118 "gitg-dash-view.c"
		}
		__finally56:
#line 455 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 455 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_g_object_unref0 (repo);
#line 455 "/home/jesse/devel/gitg/gitg/gitg-dash-view.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 455 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			g_clear_error (&_inner_error_);
#line 455 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			return FALSE;
#line 2131 "gitg-dash-view.c"
		}
#line 465 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp11_ = repo;
#line 465 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		gitg_dash_view_finish_add_repository (self, _tmp11_);
#line 451 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (repo);
#line 2139 "gitg-dash-view.c"
	}
#line 468 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	result = TRUE;
#line 468 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 2145 "gitg-dash-view.c"
}


static gboolean ___lambda85__gitg_ext_user_query_response (GitgExtUserQuery* _sender, GtkResponseType response_type, gpointer self) {
	gboolean result;
	result = __lambda85_ (self, _sender, response_type);
#line 450 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 2154 "gitg-dash-view.c"
}


static void gitg_dash_view_query_create_repository (GitgDashView* self, GFile* location) {
	Block39Data* _data39_;
	GFile* _tmp0_ = NULL;
	GFile* _tmp1_ = NULL;
	GitgExtUserQuery* q = NULL;
	GitgExtUserQuery* _tmp2_ = NULL;
	gchar* name = NULL;
	GFile* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	const gchar* _tmp5_ = NULL;
	gchar* _tmp6_ = NULL;
	const gchar* _tmp7_ = NULL;
	const gchar* _tmp8_ = NULL;
	const gchar* _tmp9_ = NULL;
	gchar* _tmp10_ = NULL;
	gchar* _tmp11_ = NULL;
	const gchar* _tmp12_ = NULL;
	GitgExtUserQueryResponse* _tmp13_ = NULL;
	const gchar* _tmp14_ = NULL;
	GitgExtUserQueryResponse* _tmp15_ = NULL;
	GitgExtUserQueryResponse** _tmp16_ = NULL;
	GitgExtUserQueryResponse** _tmp17_ = NULL;
	gint _tmp17__length1 = 0;
	GitgExtApplication* _tmp18_ = NULL;
	GitgExtApplication* _tmp19_ = NULL;
	GitgExtApplication* _tmp20_ = NULL;
#line 429 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (self != NULL);
#line 429 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (location != NULL);
#line 429 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data39_ = g_slice_new0 (Block39Data);
#line 429 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data39_->_ref_count_ = 1;
#line 429 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data39_->self = g_object_ref (self);
#line 429 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = location;
#line 429 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 429 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_data39_->location);
#line 429 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data39_->location = _tmp1_;
#line 431 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = gitg_ext_user_query_new ();
#line 431 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	q = _tmp2_;
#line 432 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = _data39_->location;
#line 432 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp4_ = gitg_utils_replace_home_dir_with_tilde (_tmp3_);
#line 432 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	name = _tmp4_;
#line 434 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp5_ = name;
#line 434 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp6_ = g_markup_escape_text (_tmp5_, (gssize) (-1));
#line 434 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_free0 (name);
#line 434 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	name = _tmp6_;
#line 436 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp7_ = _ ("Create new repository");
#line 436 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_ext_user_query_set_title (q, _tmp7_);
#line 439 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp8_ = _ ("The location <i>%s</i> does not appear to be a valid git repository. W" \
"ould you like to initialize a new git repository at this location?");
#line 439 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp9_ = name;
#line 439 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp10_ = g_strdup_printf (_tmp8_, _tmp9_);
#line 439 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp11_ = _tmp10_;
#line 439 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_ext_user_query_set_message (q, _tmp11_);
#line 439 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_free0 (_tmp11_);
#line 440 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_ext_user_query_set_message_type (q, GTK_MESSAGE_QUESTION);
#line 441 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_ext_user_query_set_message_use_markup (q, TRUE);
#line 443 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp12_ = _ ("_Cancel");
#line 443 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp13_ = gitg_ext_user_query_response_new (_tmp12_, GTK_RESPONSE_CANCEL);
#line 443 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp14_ = _ ("Create repository");
#line 443 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp15_ = gitg_ext_user_query_response_new (_tmp14_, GTK_RESPONSE_OK);
#line 443 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp16_ = g_new0 (GitgExtUserQueryResponse*, 2 + 1);
#line 443 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp16_[0] = _tmp13_;
#line 443 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp16_[1] = _tmp15_;
#line 443 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp17_ = _tmp16_;
#line 443 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp17__length1 = 2;
#line 443 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_ext_user_query_set_responses (q, _tmp17_, 2);
#line 443 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp17_ = (_vala_array_free (_tmp17_, _tmp17__length1, (GDestroyNotify) g_object_unref), NULL);
#line 448 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_ext_user_query_set_default_response (q, GTK_RESPONSE_OK);
#line 450 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_signal_connect_data (q, "response", (GCallback) ___lambda85__gitg_ext_user_query_response, block39_data_ref (_data39_), (GClosureNotify) block39_data_unref, 0);
#line 471 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp18_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 471 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp19_ = _tmp18_;
#line 471 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp20_ = _tmp19_;
#line 471 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_ext_application_user_query (_tmp20_, q);
#line 471 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_tmp20_);
#line 429 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_free0 (name);
#line 429 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (q);
#line 429 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	block39_data_unref (_data39_);
#line 429 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data39_ = NULL;
#line 2284 "gitg-dash-view.c"
}


static Block40Data* block40_data_ref (Block40Data* _data40_) {
#line 475 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_atomic_int_inc (&_data40_->_ref_count_);
#line 475 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return _data40_;
#line 2293 "gitg-dash-view.c"
}


static void block40_data_unref (void * _userdata_) {
	Block40Data* _data40_;
	_data40_ = (Block40Data*) _userdata_;
#line 475 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (g_atomic_int_dec_and_test (&_data40_->_ref_count_)) {
#line 2302 "gitg-dash-view.c"
		GitgDashView* self;
#line 475 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		self = _data40_->self;
#line 475 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_data40_->chooser);
#line 475 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (self);
#line 475 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_slice_free (Block40Data, _data40_);
#line 2312 "gitg-dash-view.c"
	}
}


static void __lambda86_ (Block40Data* _data40_, GtkDialog* c, gint id) {
	GitgDashView* self;
	gint _tmp0_ = 0;
	GtkDialog* _tmp11_ = NULL;
#line 486 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = _data40_->self;
#line 486 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (c != NULL);
#line 487 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = id;
#line 487 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (_tmp0_ == ((gint) GTK_RESPONSE_OK)) {
#line 2329 "gitg-dash-view.c"
		GFile* file = NULL;
		GFile* _tmp1_ = NULL;
		GFile* _tmp2_ = NULL;
		GFile* _tmp4_ = NULL;
		GFile* _tmp5_ = NULL;
		GFile* _tmp6_ = NULL;
		gboolean _tmp7_ = FALSE;
		gboolean _tmp8_ = FALSE;
#line 489 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp1_ = gtk_file_chooser_get_file ((GtkFileChooser*) _data40_->chooser);
#line 489 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		file = _tmp1_;
#line 491 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp2_ = file;
#line 491 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		if (_tmp2_ == NULL) {
#line 2346 "gitg-dash-view.c"
			GFile* _tmp3_ = NULL;
#line 493 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp3_ = gtk_file_chooser_get_current_folder_file ((GtkFileChooser*) _data40_->chooser);
#line 493 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_g_object_unref0 (file);
#line 493 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			file = _tmp3_;
#line 2354 "gitg-dash-view.c"
		}
#line 496 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp4_ = file;
#line 496 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp5_ = g_file_get_child (_tmp4_, ".git");
#line 496 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp6_ = _tmp5_;
#line 496 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp7_ = g_file_query_exists (_tmp6_, NULL);
#line 496 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp8_ = !_tmp7_;
#line 496 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_tmp6_);
#line 496 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		if (_tmp8_) {
#line 2370 "gitg-dash-view.c"
			GFile* _tmp9_ = NULL;
#line 498 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp9_ = file;
#line 498 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			gitg_dash_view_query_create_repository (self, _tmp9_);
#line 2376 "gitg-dash-view.c"
		} else {
			GFile* _tmp10_ = NULL;
#line 502 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp10_ = file;
#line 502 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			gitg_dash_view_do_add_repository (self, _tmp10_);
#line 2383 "gitg-dash-view.c"
		}
#line 487 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (file);
#line 2387 "gitg-dash-view.c"
	}
#line 506 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp11_ = c;
#line 506 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_destroy ((GtkWidget*) _tmp11_);
#line 2393 "gitg-dash-view.c"
}


static void ___lambda86__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) {
#line 486 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	__lambda86_ (self, _sender, response_id);
#line 2400 "gitg-dash-view.c"
}


static void gitg_dash_view_add_repository_clicked (GitgDashView* self) {
	Block40Data* _data40_;
	const gchar* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
	GitgExtApplication* _tmp2_ = NULL;
	GtkWindow* _tmp3_ = NULL;
	GtkWindow* _tmp4_ = NULL;
	const gchar* _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
	GtkFileChooserDialog* _tmp7_ = NULL;
	GtkFileChooserDialog* _tmp8_ = NULL;
#line 475 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (self != NULL);
#line 475 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data40_ = g_slice_new0 (Block40Data);
#line 475 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data40_->_ref_count_ = 1;
#line 475 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data40_->self = g_object_ref (self);
#line 477 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = _ ("Add Repository");
#line 477 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 477 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = _tmp1_;
#line 477 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, gtk_window_get_type ()) ? ((GtkWindow*) _tmp2_) : NULL;
#line 477 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (_tmp3_ == NULL) {
#line 477 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_tmp2_);
#line 2435 "gitg-dash-view.c"
	}
#line 477 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp4_ = _tmp3_;
#line 477 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp5_ = _ ("_Cancel");
#line 477 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp6_ = _ ("_Add");
#line 477 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp7_ = (GtkFileChooserDialog*) gtk_file_chooser_dialog_new (_tmp0_, _tmp4_, GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, _tmp5_, GTK_RESPONSE_CANCEL, _tmp6_, GTK_RESPONSE_OK, NULL);
#line 477 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_ref_sink (_tmp7_);
#line 477 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp8_ = _tmp7_;
#line 477 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_tmp4_);
#line 477 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data40_->chooser = _tmp8_;
#line 483 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gtk_window_set_modal ((GtkWindow*) _data40_->chooser, TRUE);
#line 484 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gtk_dialog_set_default_response ((GtkDialog*) _data40_->chooser, (gint) GTK_RESPONSE_OK);
#line 486 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_signal_connect_data ((GtkDialog*) _data40_->chooser, "response", (GCallback) ___lambda86__gtk_dialog_response, block40_data_ref (_data40_), (GClosureNotify) block40_data_unref, 0);
#line 509 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_show ((GtkWidget*) _data40_->chooser);
#line 475 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	block40_data_unref (_data40_);
#line 475 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data40_ = NULL;
#line 2465 "gitg-dash-view.c"
}


static void _gitg_dash_view_add_repository_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_add_repository_clicked ((GitgDashView*) self);
#line 2472 "gitg-dash-view.c"
}


GitgDashView* gitg_dash_view_construct (GType object_type) {
	GitgDashView * self = NULL;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) g_object_new (object_type, NULL);
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return self;
#line 2482 "gitg-dash-view.c"
}


GitgDashView* gitg_dash_view_new (void) {
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return gitg_dash_view_construct (GITG_TYPE_DASH_VIEW);
#line 2489 "gitg-dash-view.c"
}


static GitgExtApplication* gitg_dash_view_real_get_application (GitgExtUIElement* base) {
	GitgExtApplication* result;
	GitgDashView* self;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
#line 28 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 28 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->_application;
#line 28 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 28 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	result = _tmp1_;
#line 28 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 2508 "gitg-dash-view.c"
}


static void gitg_dash_view_real_set_application (GitgExtUIElement* base, GitgExtApplication* value) {
	GitgDashView* self;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
#line 28 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 28 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = value;
#line 28 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 28 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (self->priv->_application);
#line 28 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self->priv->_application = _tmp1_;
#line 28 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_notify ((GObject *) self, "application");
#line 2528 "gitg-dash-view.c"
}


static GitgExtSelectionMode gitg_dash_view_real_get_selectable_mode (GitgExtSelectable* base) {
	GitgExtSelectionMode result;
	GitgDashView* self;
	GitgRepositoryListBox* _tmp0_ = NULL;
	GitgSelectionMode _tmp1_ = 0;
	GitgSelectionMode _tmp2_ = 0;
#line 50 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 52 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->d_repository_list_box;
#line 52 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = gitg_repository_list_box_get_mode (_tmp0_);
#line 52 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = _tmp1_;
#line 52 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	switch (_tmp2_) {
#line 52 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		case GITG_SELECTION_MODE_NORMAL:
#line 2550 "gitg-dash-view.c"
		{
#line 55 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			result = GITG_EXT_SELECTION_MODE_NORMAL;
#line 55 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			return result;
#line 2556 "gitg-dash-view.c"
		}
#line 52 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		case GITG_SELECTION_MODE_SELECTION:
#line 2560 "gitg-dash-view.c"
		{
#line 57 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			result = GITG_EXT_SELECTION_MODE_SELECTION;
#line 57 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			return result;
#line 2566 "gitg-dash-view.c"
		}
		default:
#line 52 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		break;
#line 2571 "gitg-dash-view.c"
	}
#line 60 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	result = GITG_EXT_SELECTION_MODE_NORMAL;
#line 60 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 2577 "gitg-dash-view.c"
}


static void gitg_dash_view_real_set_selectable_mode (GitgExtSelectable* base, GitgExtSelectionMode value) {
	GitgDashView* self;
	GitgExtSelectionMode _tmp0_ = 0;
	GitgExtSelectionMode _tmp1_ = 0;
	GitgExtSelectionMode _tmp2_ = 0;
	GitgExtSelectionMode _tmp3_ = 0;
#line 63 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 65 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = gitg_ext_selectable_get_selectable_mode ((GitgExtSelectable*) self);
#line 65 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _tmp0_;
#line 65 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = value;
#line 65 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (_tmp1_ == _tmp2_) {
#line 67 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		return;
#line 2599 "gitg-dash-view.c"
	}
#line 70 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self->priv->d_setting_mode = TRUE;
#line 72 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = value;
#line 72 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	switch (_tmp3_) {
#line 72 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		case GITG_EXT_SELECTION_MODE_NORMAL:
#line 2609 "gitg-dash-view.c"
		{
			GitgRepositoryListBox* _tmp4_ = NULL;
			GtkActionBar* _tmp5_ = NULL;
#line 75 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp4_ = self->priv->d_repository_list_box;
#line 75 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			gitg_repository_list_box_set_mode (_tmp4_, GITG_SELECTION_MODE_NORMAL);
#line 76 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp5_ = self->priv->d_action_bar;
#line 76 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			gtk_widget_set_visible ((GtkWidget*) _tmp5_, TRUE);
#line 77 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			break;
#line 2623 "gitg-dash-view.c"
		}
#line 72 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		case GITG_EXT_SELECTION_MODE_SELECTION:
#line 2627 "gitg-dash-view.c"
		{
			GitgRepositoryListBox* _tmp6_ = NULL;
			GtkActionBar* _tmp7_ = NULL;
#line 79 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp6_ = self->priv->d_repository_list_box;
#line 79 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			gitg_repository_list_box_set_mode (_tmp6_, GITG_SELECTION_MODE_SELECTION);
#line 80 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp7_ = self->priv->d_action_bar;
#line 80 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			gtk_widget_set_visible ((GtkWidget*) _tmp7_, FALSE);
#line 81 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			break;
#line 2641 "gitg-dash-view.c"
		}
		default:
#line 72 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		break;
#line 2646 "gitg-dash-view.c"
	}
#line 84 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self->priv->d_setting_mode = FALSE;
#line 63 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_notify ((GObject *) self, "selectable-mode");
#line 2652 "gitg-dash-view.c"
}


gboolean gitg_dash_view_get_has_repositories (GitgDashView* self) {
	gboolean result;
	GitgRepositoryListBox* _tmp0_ = NULL;
	GList* _tmp1_ = NULL;
	GList* _tmp2_ = NULL;
	guint _tmp3_ = 0U;
	gboolean _tmp4_ = FALSE;
#line 90 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 90 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->d_repository_list_box;
#line 90 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = gtk_container_get_children ((GtkContainer*) _tmp0_);
#line 90 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = _tmp1_;
#line 90 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = g_list_length (_tmp2_);
#line 90 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp4_ = _tmp3_ != ((guint) 0);
#line 90 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_list_free0 (_tmp2_);
#line 90 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	result = _tmp4_;
#line 90 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 2681 "gitg-dash-view.c"
}


static gboolean gitg_dash_view_real_get_selectable_available (GitgExtSelectable* base) {
	gboolean result;
	GitgDashView* self;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
#line 95 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 95 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = gitg_dash_view_get_has_repositories (self);
#line 95 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _tmp0_;
#line 95 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	result = _tmp1_;
#line 95 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 2700 "gitg-dash-view.c"
}


static gboolean gitg_dash_view_real_get_search_available (GitgExtSearchable* base) {
	gboolean result;
	GitgDashView* self;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
#line 100 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 100 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = gitg_dash_view_get_has_repositories (self);
#line 100 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _tmp0_;
#line 100 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	result = _tmp1_;
#line 100 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 2719 "gitg-dash-view.c"
}


static gchar* gitg_dash_view_real_get_display_name (GitgExtUIElement* base) {
	gchar* result;
	GitgDashView* self;
	gchar* _tmp0_ = NULL;
#line 105 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 105 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = g_strdup ("Dash");
#line 105 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	result = _tmp0_;
#line 105 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 2735 "gitg-dash-view.c"
}


static gchar* gitg_dash_view_real_get_description (GitgExtUIElement* base) {
	gchar* result;
	GitgDashView* self;
	gchar* _tmp0_ = NULL;
#line 110 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 110 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = g_strdup ("Dash view");
#line 110 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	result = _tmp0_;
#line 110 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 2751 "gitg-dash-view.c"
}


static gchar* gitg_dash_view_real_get_id (GitgExtUIElement* base) {
	gchar* result;
	GitgDashView* self;
	gchar* _tmp0_ = NULL;
#line 115 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 115 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = g_strdup ("/org/gnome/gitg/dash");
#line 115 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	result = _tmp0_;
#line 115 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 2767 "gitg-dash-view.c"
}


static GtkWidget* gitg_dash_view_real_get_widget (GitgExtUIElement* base) {
	GtkWidget* result;
	GitgDashView* self;
	GtkWidget* _tmp0_ = NULL;
#line 120 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 120 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = _g_object_ref0 ((GtkWidget*) self);
#line 120 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	result = _tmp0_;
#line 120 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 2783 "gitg-dash-view.c"
}


static gchar* gitg_dash_view_real_get_icon (GitgExtUIElement* base) {
	gchar* result;
	GitgDashView* self;
#line 125 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 125 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	result = NULL;
#line 125 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 2796 "gitg-dash-view.c"
}


static gchar* gitg_dash_view_real_get_search_text (GitgExtSearchable* base) {
	gchar* result;
	GitgDashView* self;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 132 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 132 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->d_search_text;
#line 132 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 132 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	result = _tmp1_;
#line 132 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 2815 "gitg-dash-view.c"
}


static void gitg_dash_view_real_set_search_text (GitgExtSearchable* base, const gchar* value) {
	GitgDashView* self;
	const gchar* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
#line 134 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 136 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->d_search_text;
#line 136 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = value;
#line 136 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (g_strcmp0 (_tmp0_, _tmp1_) != 0) {
#line 2831 "gitg-dash-view.c"
		const gchar* _tmp2_ = NULL;
		gchar* _tmp3_ = NULL;
#line 138 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp2_ = value;
#line 138 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp3_ = g_strdup (_tmp2_);
#line 138 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_free0 (self->priv->d_search_text);
#line 138 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		self->priv->d_search_text = _tmp3_;
#line 139 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		gitg_dash_view_update_search_text (self);
#line 2844 "gitg-dash-view.c"
	}
#line 134 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_notify ((GObject *) self, "search-text");
#line 2848 "gitg-dash-view.c"
}


static void gitg_dash_view_real_set_search_entry (GitgExtSearchable* base, GtkEntry* value) {
	GitgDashView* self;
#line 148 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 148 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_notify ((GObject *) self, "search-entry");
#line 2858 "gitg-dash-view.c"
}


static gboolean gitg_dash_view_real_get_search_visible (GitgExtSearchable* base) {
	gboolean result;
	GitgDashView* self;
	gboolean _tmp0_ = FALSE;
#line 151 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 151 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->_search_visible;
#line 151 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	result = _tmp0_;
#line 151 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 2874 "gitg-dash-view.c"
}


static void gitg_dash_view_real_set_search_visible (GitgExtSearchable* base, gboolean value) {
	GitgDashView* self;
	gboolean _tmp0_ = FALSE;
#line 151 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 151 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = value;
#line 151 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self->priv->_search_visible = _tmp0_;
#line 151 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_notify ((GObject *) self, "search-visible");
#line 2889 "gitg-dash-view.c"
}


static gboolean gitg_dash_view_real_get_search_enabled (GitgExtSearchable* base) {
	gboolean result;
	GitgDashView* self;
	gboolean _tmp0_ = FALSE;
#line 155 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 155 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->d_search_enabled;
#line 155 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	result = _tmp0_;
#line 155 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 2905 "gitg-dash-view.c"
}


static void gitg_dash_view_real_set_search_enabled (GitgExtSearchable* base, gboolean value) {
	GitgDashView* self;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
#line 156 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 158 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->d_search_enabled;
#line 158 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = value;
#line 158 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (_tmp0_ != _tmp1_) {
#line 2921 "gitg-dash-view.c"
		gboolean _tmp2_ = FALSE;
#line 160 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp2_ = value;
#line 160 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		self->priv->d_search_enabled = _tmp2_;
#line 161 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		gitg_dash_view_update_search_text (self);
#line 2929 "gitg-dash-view.c"
	}
#line 156 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_notify ((GObject *) self, "search-enabled");
#line 2933 "gitg-dash-view.c"
}


static void _gitg_dash_view_action_widget___lambda87_ (GitgDashView* self) {
	GitgRepositoryListBox* _tmp0_ = NULL;
	GitgRepositoryListBoxRow** _tmp1_ = NULL;
	gint _tmp1__length1 = 0;
	GitgRepositoryListBoxRow** _tmp2_ = NULL;
	gint _tmp2__length1 = 0;
#line 194 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->d_repository_list_box;
#line 194 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = gitg_repository_list_box_get_selection (_tmp0_, &_tmp1__length1);
#line 194 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = _tmp1_;
#line 194 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp2__length1 = _tmp1__length1;
#line 2951 "gitg-dash-view.c"
	{
		GitgRepositoryListBoxRow** sel_collection = NULL;
		gint sel_collection_length1 = 0;
		gint _sel_collection_size_ = 0;
		gint sel_it = 0;
#line 194 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		sel_collection = _tmp2_;
#line 194 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		sel_collection_length1 = _tmp2__length1;
#line 194 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		for (sel_it = 0; sel_it < _tmp2__length1; sel_it = sel_it + 1) {
#line 2963 "gitg-dash-view.c"
			GitgRepositoryListBoxRow* _tmp3_ = NULL;
			GitgRepositoryListBoxRow* sel = NULL;
#line 194 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			_tmp3_ = _g_object_ref0 (sel_collection[sel_it]);
#line 194 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
			sel = _tmp3_;
#line 2970 "gitg-dash-view.c"
			{
				GitgRepositoryListBoxRow* _tmp4_ = NULL;
#line 196 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
				_tmp4_ = sel;
#line 196 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
				g_signal_emit_by_name (_tmp4_, "request-remove");
#line 194 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
				_g_object_unref0 (sel);
#line 2979 "gitg-dash-view.c"
			}
		}
#line 194 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		sel_collection = (_vala_array_free (sel_collection, sel_collection_length1, (GDestroyNotify) g_object_unref), NULL);
#line 2984 "gitg-dash-view.c"
	}
#line 199 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_ext_selectable_set_selectable_mode ((GitgExtSelectable*) self, GITG_EXT_SELECTION_MODE_NORMAL);
#line 2988 "gitg-dash-view.c"
}


static void __gitg_dash_view_action_widget___lambda87__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 193 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_gitg_dash_view_action_widget___lambda87_ ((GitgDashView*) self);
#line 2995 "gitg-dash-view.c"
}


static GtkWidget* gitg_dash_view_real_get_action_widget (GitgExtSelectable* base) {
	GtkWidget* result;
	GitgDashView* self;
	GtkActionBar* ab = NULL;
	GtkActionBar* _tmp0_ = NULL;
	GtkButton* del = NULL;
	const gchar* _tmp1_ = NULL;
	GtkButton* _tmp2_ = NULL;
	GtkStyleContext* _tmp3_ = NULL;
	GitgRepositoryListBox* _tmp4_ = NULL;
#line 183 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 185 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = (GtkActionBar*) gtk_action_bar_new ();
#line 185 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_ref_sink (_tmp0_);
#line 185 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	ab = _tmp0_;
#line 187 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _ ("_Delete");
#line 187 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = (GtkButton*) gtk_button_new_with_mnemonic (_tmp1_);
#line 187 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_ref_sink (_tmp2_);
#line 187 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	del = _tmp2_;
#line 188 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = gtk_widget_get_style_context ((GtkWidget*) del);
#line 188 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gtk_style_context_add_class (_tmp3_, GTK_STYLE_CLASS_DESTRUCTIVE_ACTION);
#line 190 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_set_sensitive ((GtkWidget*) del, FALSE);
#line 191 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_show ((GtkWidget*) del);
#line 193 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_signal_connect_object (del, "clicked", (GCallback) __gitg_dash_view_action_widget___lambda87__gtk_button_clicked, self, 0);
#line 202 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp4_ = self->priv->d_repository_list_box;
#line 202 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp4_, "has-selection", (GObject*) del, "sensitive", G_BINDING_DEFAULT, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 204 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gtk_action_bar_pack_end (ab, (GtkWidget*) del);
#line 206 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	result = (GtkWidget*) ab;
#line 206 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (del);
#line 206 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 3047 "gitg-dash-view.c"
}


static void _gitg_dash_view___lambda88_ (GitgDashView* self) {
	gboolean _tmp0_ = FALSE;
#line 214 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->d_setting_mode;
#line 214 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (!_tmp0_) {
#line 3057 "gitg-dash-view.c"
		GtkActionBar* _tmp1_ = NULL;
		GitgExtSelectionMode _tmp2_ = 0;
		GitgExtSelectionMode _tmp3_ = 0;
#line 216 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp1_ = self->priv->d_action_bar;
#line 216 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp2_ = gitg_ext_selectable_get_selectable_mode ((GitgExtSelectable*) self);
#line 216 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_tmp3_ = _tmp2_;
#line 216 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp1_, _tmp3_ == GITG_EXT_SELECTION_MODE_NORMAL);
#line 217 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_object_notify ((GObject*) self, "selectable-mode");
#line 3071 "gitg-dash-view.c"
	}
}


static void __gitg_dash_view___lambda88__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 213 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_gitg_dash_view___lambda88_ ((GitgDashView*) self);
#line 3079 "gitg-dash-view.c"
}


static void _gitg_dash_view___lambda89_ (GitgDashView* self, GitgRepository* repository) {
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
	GitgExtApplication* _tmp2_ = NULL;
	GitgRepository* _tmp3_ = NULL;
#line 221 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (repository != NULL);
#line 222 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 222 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _tmp0_;
#line 222 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = _tmp1_;
#line 222 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = repository;
#line 222 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_ext_application_set_repository (_tmp2_, _tmp3_);
#line 222 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_tmp2_);
#line 3102 "gitg-dash-view.c"
}


static void __gitg_dash_view___lambda89__gitg_repository_list_box_repository_activated (GitgRepositoryListBox* _sender, GitgRepository* repository, gpointer self) {
#line 221 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_gitg_dash_view___lambda89_ ((GitgDashView*) self, repository);
#line 3109 "gitg-dash-view.c"
}


static void _gitg_dash_view___lambda90_ (GitgDashView* self, const gchar* primary_message, const gchar* secondary_message) {
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
	GitgExtApplication* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
#line 225 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (primary_message != NULL);
#line 225 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (secondary_message != NULL);
#line 226 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 226 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _tmp0_;
#line 226 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = _tmp1_;
#line 226 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = primary_message;
#line 226 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp4_ = secondary_message;
#line 226 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_ext_application_show_infobar (_tmp2_, _tmp3_, _tmp4_, GTK_MESSAGE_ERROR);
#line 226 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_tmp2_);
#line 3137 "gitg-dash-view.c"
}


static void __gitg_dash_view___lambda90__gitg_repository_list_box_show_error (GitgRepositoryListBox* _sender, const gchar* primary_message, const gchar* secondary_message, gpointer self) {
#line 225 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_gitg_dash_view___lambda90_ ((GitgDashView*) self, primary_message, secondary_message);
#line 3144 "gitg-dash-view.c"
}


static void _gitg_dash_view_update_availability_gtk_container_add (GtkContainer* _sender, GtkWidget* widget, gpointer self) {
#line 240 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_update_availability ((GitgDashView*) self);
#line 3151 "gitg-dash-view.c"
}


static void _gitg_dash_view_update_availability_gtk_container_remove (GtkContainer* _sender, GtkWidget* widget, gpointer self) {
#line 241 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_update_availability ((GitgDashView*) self);
#line 3158 "gitg-dash-view.c"
}


static GObject * gitg_dash_view_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) {
	GObject * obj;
	GObjectClass * parent_class;
	GitgDashView * self;
	GitgRepositoryListBox* _tmp0_ = NULL;
	GitgRepositoryListBox* _tmp1_ = NULL;
	GitgRepositoryListBox* _tmp2_ = NULL;
	GtkScrolledWindow* _tmp3_ = NULL;
	GtkGrid* _tmp4_ = NULL;
	GitgRepositoryListBox* _tmp5_ = NULL;
	GitgRepositoryListBox* _tmp6_ = NULL;
	GtkLabel* _tmp7_ = NULL;
	const gchar* _tmp8_ = NULL;
	gchar* _tmp9_ = NULL;
	gchar* _tmp10_ = NULL;
#line 211 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	parent_class = G_OBJECT_CLASS (gitg_dash_view_parent_class);
#line 211 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 211 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_DASH_VIEW, GitgDashView);
#line 213 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->d_repository_list_box;
#line 213 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_signal_connect_object ((GObject*) _tmp0_, "notify::mode", (GCallback) __gitg_dash_view___lambda88__g_object_notify, self, 0);
#line 221 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = self->priv->d_repository_list_box;
#line 221 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_signal_connect_object (_tmp1_, "repository-activated", (GCallback) __gitg_dash_view___lambda89__gitg_repository_list_box_repository_activated, self, 0);
#line 225 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = self->priv->d_repository_list_box;
#line 225 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_signal_connect_object (_tmp2_, "show-error", (GCallback) __gitg_dash_view___lambda90__gitg_repository_list_box_show_error, self, 0);
#line 229 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = self->priv->d_scrolled_window;
#line 229 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_bind_property_with_closures ((GObject*) self, "has-repositories", (GObject*) _tmp3_, "visible", 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 234 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp4_ = self->priv->d_introduction;
#line 234 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_bind_property_with_closures ((GObject*) self, "has-repositories", (GObject*) _tmp4_, "visible", G_BINDING_SYNC_CREATE | G_BINDING_INVERT_BOOLEAN, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 240 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp5_ = self->priv->d_repository_list_box;
#line 240 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_signal_connect_object ((GtkContainer*) _tmp5_, "add", (GCallback) _gitg_dash_view_update_availability_gtk_container_add, self, 0);
#line 241 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp6_ = self->priv->d_repository_list_box;
#line 241 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_signal_connect_object ((GtkContainer*) _tmp6_, "remove", (GCallback) _gitg_dash_view_update_availability_gtk_container_remove, self, 0);
#line 244 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp7_ = self->priv->d_label_profile;
#line 244 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp8_ = _ ("In the mean time, you may want to %sset up your git profile%s.");
#line 244 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp9_ = g_strdup_printf (_tmp8_, "<a href=\"setup-profile\">", "</a>");
#line 244 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp10_ = _tmp9_;
#line 244 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gtk_label_set_label (_tmp7_, _tmp10_);
#line 244 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_free0 (_tmp10_);
#line 245 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_update_setup_profile_visibility (self);
#line 211 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return obj;
#line 3227 "gitg-dash-view.c"
}


static GitgDashViewCloneCallbacks* gitg_dash_view_clone_callbacks_construct (GType object_type, GitgExtApplication* application, GgitConfig* config, GitgRepositoryListBoxRow* row) {
	GitgDashViewCloneCallbacks * self = NULL;
	GitgRepositoryListBoxRow* _tmp0_ = NULL;
	GitgRepositoryListBoxRow* _tmp1_ = NULL;
	GgitConfig* _tmp2_ = NULL;
	GitgExtApplication* _tmp3_ = NULL;
	GitgCredentialsManager* _tmp4_ = NULL;
#line 290 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_return_val_if_fail (application != NULL, NULL);
#line 290 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_return_val_if_fail (row != NULL, NULL);
#line 290 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashViewCloneCallbacks*) g_object_new (object_type, NULL);
#line 292 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = row;
#line 292 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 292 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (self->priv->d_row);
#line 292 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self->priv->d_row = _tmp1_;
#line 293 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = config;
#line 293 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = application;
#line 293 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp4_ = gitg_credentials_manager_new (_tmp2_, G_TYPE_CHECK_INSTANCE_TYPE (_tmp3_, gtk_window_get_type ()) ? ((GtkWindow*) _tmp3_) : NULL, FALSE);
#line 293 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_gitg_credentials_manager_unref0 (self->priv->d_credentials);
#line 293 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self->priv->d_credentials = _tmp4_;
#line 290 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return self;
#line 3264 "gitg-dash-view.c"
}


static GitgDashViewCloneCallbacks* gitg_dash_view_clone_callbacks_new (GitgExtApplication* application, GgitConfig* config, GitgRepositoryListBoxRow* row) {
#line 290 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return gitg_dash_view_clone_callbacks_construct (GITG_DASH_VIEW_TYPE_CLONE_CALLBACKS, application, config, row);
#line 3271 "gitg-dash-view.c"
}


static Block41Data* block41_data_ref (Block41Data* _data41_) {
#line 296 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_atomic_int_inc (&_data41_->_ref_count_);
#line 296 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return _data41_;
#line 3280 "gitg-dash-view.c"
}


static void block41_data_unref (void * _userdata_) {
	Block41Data* _data41_;
	_data41_ = (Block41Data*) _userdata_;
#line 296 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (g_atomic_int_dec_and_test (&_data41_->_ref_count_)) {
#line 3289 "gitg-dash-view.c"
		GitgDashViewCloneCallbacks* self;
#line 296 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		self = _data41_->self;
#line 296 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (self);
#line 296 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_slice_free (Block41Data, _data41_);
#line 3297 "gitg-dash-view.c"
	}
}


static gboolean __lambda80_ (Block41Data* _data41_) {
	GitgDashViewCloneCallbacks* self;
	gboolean result = FALSE;
	GitgRepositoryListBoxRow* _tmp0_ = NULL;
#line 302 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = _data41_->self;
#line 303 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->d_row;
#line 303 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_repository_list_box_row_set_fraction (_tmp0_, (_data41_->recvobj + _data41_->indxobj) / ((gdouble) (2 * _data41_->totaobj)));
#line 304 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	result = FALSE;
#line 304 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 3316 "gitg-dash-view.c"
}


static gboolean ___lambda80__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda80_ (self);
#line 302 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 3325 "gitg-dash-view.c"
}


static void gitg_dash_view_clone_callbacks_real_transfer_progress (GgitRemoteCallbacks* base, GgitTransferProgress* stats) {
	GitgDashViewCloneCallbacks * self;
	Block41Data* _data41_;
	GgitTransferProgress* _tmp0_ = NULL;
	guint _tmp1_ = 0U;
	GgitTransferProgress* _tmp2_ = NULL;
	guint _tmp3_ = 0U;
	GgitTransferProgress* _tmp4_ = NULL;
	guint _tmp5_ = 0U;
#line 296 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashViewCloneCallbacks*) base;
#line 296 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (stats != NULL);
#line 296 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data41_ = g_slice_new0 (Block41Data);
#line 296 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data41_->_ref_count_ = 1;
#line 296 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data41_->self = g_object_ref (self);
#line 298 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = stats;
#line 298 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = ggit_transfer_progress_get_received_objects (_tmp0_);
#line 298 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data41_->recvobj = _tmp1_;
#line 299 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = stats;
#line 299 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = ggit_transfer_progress_get_indexed_objects (_tmp2_);
#line 299 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data41_->indxobj = _tmp3_;
#line 300 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp4_ = stats;
#line 300 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp5_ = ggit_transfer_progress_get_total_objects (_tmp4_);
#line 300 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data41_->totaobj = _tmp5_;
#line 302 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda80__gsource_func, block41_data_ref (_data41_), block41_data_unref);
#line 296 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	block41_data_unref (_data41_);
#line 296 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_data41_ = NULL;
#line 3372 "gitg-dash-view.c"
}


static GgitCred* gitg_dash_view_clone_callbacks_real_credentials (GgitRemoteCallbacks* base, const gchar* url, const gchar* username_from_url, GgitCredtype allowed_types, GError** error) {
	GitgDashViewCloneCallbacks * self;
	GgitCred* result = NULL;
	GgitCred* _tmp0_ = NULL;
	GitgCredentialsManager* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	GgitCredtype _tmp4_ = 0;
	GgitCred* _tmp5_ = NULL;
	GgitCred* _tmp6_ = NULL;
	GError * _inner_error_ = NULL;
#line 308 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashViewCloneCallbacks*) base;
#line 308 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_return_val_if_fail (url != NULL, NULL);
#line 310 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = self->priv->d_credentials;
#line 310 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = url;
#line 310 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = username_from_url;
#line 310 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp4_ = allowed_types;
#line 310 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp5_ = gitg_credentials_manager_credentials (_tmp1_, _tmp2_, _tmp3_, _tmp4_, &_inner_error_);
#line 310 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = _tmp5_;
#line 310 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 310 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_propagate_error (error, _inner_error_);
#line 310 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		return NULL;
#line 3409 "gitg-dash-view.c"
	}
#line 310 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp6_ = _tmp0_;
#line 310 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = NULL;
#line 310 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	result = _tmp6_;
#line 310 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_tmp0_);
#line 310 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 3421 "gitg-dash-view.c"
}


static void gitg_dash_view_clone_callbacks_class_init (GitgDashViewCloneCallbacksClass * klass) {
#line 285 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_clone_callbacks_parent_class = g_type_class_peek_parent (klass);
#line 285 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_type_class_add_private (klass, sizeof (GitgDashViewCloneCallbacksPrivate));
#line 285 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	((GgitRemoteCallbacksClass *) klass)->transfer_progress = gitg_dash_view_clone_callbacks_real_transfer_progress;
#line 285 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	((GgitRemoteCallbacksClass *) klass)->credentials = gitg_dash_view_clone_callbacks_real_credentials;
#line 285 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_dash_view_clone_callbacks_finalize;
#line 3436 "gitg-dash-view.c"
}


static void gitg_dash_view_clone_callbacks_instance_init (GitgDashViewCloneCallbacks * self) {
#line 285 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self->priv = GITG_DASH_VIEW_CLONE_CALLBACKS_GET_PRIVATE (self);
#line 3443 "gitg-dash-view.c"
}


static void gitg_dash_view_clone_callbacks_finalize (GObject* obj) {
	GitgDashViewCloneCallbacks * self;
#line 285 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_DASH_VIEW_TYPE_CLONE_CALLBACKS, GitgDashViewCloneCallbacks);
#line 287 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (self->priv->d_row);
#line 288 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_gitg_credentials_manager_unref0 (self->priv->d_credentials);
#line 285 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	G_OBJECT_CLASS (gitg_dash_view_clone_callbacks_parent_class)->finalize (obj);
#line 3457 "gitg-dash-view.c"
}


static GType gitg_dash_view_clone_callbacks_get_type (void) {
	static volatile gsize gitg_dash_view_clone_callbacks_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_dash_view_clone_callbacks_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgDashViewCloneCallbacksClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_dash_view_clone_callbacks_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgDashViewCloneCallbacks), 0, (GInstanceInitFunc) gitg_dash_view_clone_callbacks_instance_init, NULL };
		GType gitg_dash_view_clone_callbacks_type_id;
		gitg_dash_view_clone_callbacks_type_id = g_type_register_static (ggit_remote_callbacks_get_type (), "GitgDashViewCloneCallbacks", &g_define_type_info, 0);
		g_once_init_leave (&gitg_dash_view_clone_callbacks_type_id__volatile, gitg_dash_view_clone_callbacks_type_id);
	}
	return gitg_dash_view_clone_callbacks_type_id__volatile;
}


static void gitg_dash_view_class_init (GitgDashViewClass * klass) {
	gint GitgDashView_private_offset;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_parent_class = g_type_class_peek_parent (klass);
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_type_class_add_private (klass, sizeof (GitgDashViewPrivate));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_dash_view_get_property;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_dash_view_set_property;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	G_OBJECT_CLASS (klass)->constructor = gitg_dash_view_constructor;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_dash_view_finalize;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DASH_VIEW_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 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DASH_VIEW_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 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DASH_VIEW_HAS_REPOSITORIES, g_param_spec_boolean ("has-repositories", "has-repositories", "has-repositories", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DASH_VIEW_SELECTABLE_AVAILABLE, g_param_spec_boolean ("selectable-available", "selectable-available", "selectable-available", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DASH_VIEW_SEARCH_AVAILABLE, g_param_spec_boolean ("search-available", "search-available", "search-available", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DASH_VIEW_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 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DASH_VIEW_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 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DASH_VIEW_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 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DASH_VIEW_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 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DASH_VIEW_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 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DASH_VIEW_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 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DASH_VIEW_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 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DASH_VIEW_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 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DASH_VIEW_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 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DASH_VIEW_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 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	GitgDashView_private_offset = g_type_class_get_instance_private_offset (klass);
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/gitg/ui/gitg-dash-view.ui");
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "introduction", FALSE, GitgDashView_private_offset + G_STRUCT_OFFSET (GitgDashViewPrivate, d_introduction));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "label_profile", FALSE, GitgDashView_private_offset + G_STRUCT_OFFSET (GitgDashViewPrivate, d_label_profile));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "scrolled_window", FALSE, GitgDashView_private_offset + G_STRUCT_OFFSET (GitgDashViewPrivate, d_scrolled_window));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "repository_list_box", FALSE, GitgDashView_private_offset + G_STRUCT_OFFSET (GitgDashViewPrivate, d_repository_list_box));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "action_bar", FALSE, GitgDashView_private_offset + G_STRUCT_OFFSET (GitgDashViewPrivate, d_action_bar));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "setup_profile_activated", G_CALLBACK(_gitg_dash_view_setup_profile_activated_gtk_label_activate_link));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "clone_repository_clicked", G_CALLBACK(_gitg_dash_view_clone_repository_clicked_gtk_button_clicked));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "add_repository_clicked", G_CALLBACK(_gitg_dash_view_add_repository_clicked_gtk_button_clicked));
#line 3537 "gitg-dash-view.c"
}


static void gitg_dash_view_gitg_ext_ui_element_interface_init (GitgExtUIElementIface * iface) {
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_gitg_ext_ui_element_parent_iface = g_type_interface_peek_parent (iface);
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	iface->get_application = gitg_dash_view_real_get_application;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	iface->set_application = gitg_dash_view_real_set_application;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	iface->get_display_name = gitg_dash_view_real_get_display_name;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	iface->get_description = gitg_dash_view_real_get_description;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	iface->get_id = gitg_dash_view_real_get_id;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	iface->get_widget = gitg_dash_view_real_get_widget;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	iface->get_icon = gitg_dash_view_real_get_icon;
#line 3558 "gitg-dash-view.c"
}


static void gitg_dash_view_gitg_ext_activity_interface_init (GitgExtActivityIface * iface) {
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_gitg_ext_activity_parent_iface = g_type_interface_peek_parent (iface);
#line 3565 "gitg-dash-view.c"
}


static void gitg_dash_view_gitg_ext_selectable_interface_init (GitgExtSelectableIface * iface) {
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_gitg_ext_selectable_parent_iface = g_type_interface_peek_parent (iface);
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	iface->get_selectable_mode = gitg_dash_view_real_get_selectable_mode;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	iface->set_selectable_mode = gitg_dash_view_real_set_selectable_mode;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	iface->get_selectable_available = gitg_dash_view_real_get_selectable_available;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	iface->get_action_widget = gitg_dash_view_real_get_action_widget;
#line 3580 "gitg-dash-view.c"
}


static void gitg_dash_view_gitg_ext_searchable_interface_init (GitgExtSearchableIface * iface) {
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_gitg_ext_searchable_parent_iface = g_type_interface_peek_parent (iface);
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	iface->get_search_available = gitg_dash_view_real_get_search_available;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	iface->get_search_text = gitg_dash_view_real_get_search_text;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	iface->set_search_text = gitg_dash_view_real_set_search_text;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	iface->set_search_entry = gitg_dash_view_real_set_search_entry;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	iface->get_search_visible = gitg_dash_view_real_get_search_visible;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	iface->set_search_visible = gitg_dash_view_real_set_search_visible;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	iface->get_search_enabled = gitg_dash_view_real_get_search_enabled;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	iface->set_search_enabled = gitg_dash_view_real_set_search_enabled;
#line 3603 "gitg-dash-view.c"
}


static void gitg_dash_view_instance_init (GitgDashView * self) {
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self->priv = GITG_DASH_VIEW_GET_PRIVATE (self);
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gitg_ext_searchable_set_search_text (self, "");
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_init_template (GTK_WIDGET (self));
#line 3614 "gitg-dash-view.c"
}


static void gitg_dash_view_finalize (GObject* obj) {
	GitgDashView * self;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_DASH_VIEW, GitgDashView);
#line 28 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (self->priv->_application);
#line 34 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (self->priv->d_introduction);
#line 37 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (self->priv->d_label_profile);
#line 40 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (self->priv->d_scrolled_window);
#line 43 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (self->priv->d_repository_list_box);
#line 46 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (self->priv->d_action_bar);
#line 128 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	_g_free0 (self->priv->d_search_text);
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	G_OBJECT_CLASS (gitg_dash_view_parent_class)->finalize (obj);
#line 3638 "gitg-dash-view.c"
}


GType gitg_dash_view_get_type (void) {
	static volatile gsize gitg_dash_view_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_dash_view_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgDashViewClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_dash_view_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgDashView), 0, (GInstanceInitFunc) gitg_dash_view_instance_init, NULL };
		static const GInterfaceInfo gitg_ext_ui_element_info = { (GInterfaceInitFunc) gitg_dash_view_gitg_ext_ui_element_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		static const GInterfaceInfo gitg_ext_activity_info = { (GInterfaceInitFunc) gitg_dash_view_gitg_ext_activity_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		static const GInterfaceInfo gitg_ext_selectable_info = { (GInterfaceInitFunc) gitg_dash_view_gitg_ext_selectable_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		static const GInterfaceInfo gitg_ext_searchable_info = { (GInterfaceInitFunc) gitg_dash_view_gitg_ext_searchable_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType gitg_dash_view_type_id;
		gitg_dash_view_type_id = g_type_register_static (gtk_grid_get_type (), "GitgDashView", &g_define_type_info, 0);
		g_type_add_interface_static (gitg_dash_view_type_id, GITG_EXT_TYPE_UI_ELEMENT, &gitg_ext_ui_element_info);
		g_type_add_interface_static (gitg_dash_view_type_id, GITG_EXT_TYPE_ACTIVITY, &gitg_ext_activity_info);
		g_type_add_interface_static (gitg_dash_view_type_id, GITG_EXT_TYPE_SELECTABLE, &gitg_ext_selectable_info);
		g_type_add_interface_static (gitg_dash_view_type_id, GITG_EXT_TYPE_SEARCHABLE, &gitg_ext_searchable_info);
		g_once_init_leave (&gitg_dash_view_type_id__volatile, gitg_dash_view_type_id);
	}
	return gitg_dash_view_type_id__volatile;
}


static void _vala_gitg_dash_view_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GitgDashView * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_DASH_VIEW, GitgDashView);
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	switch (property_id) {
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_APPLICATION:
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_value_take_object (value, gitg_ext_ui_element_get_application ((GitgExtUIElement*) self));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_SELECTABLE_MODE:
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_value_set_enum (value, gitg_ext_selectable_get_selectable_mode ((GitgExtSelectable*) self));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_HAS_REPOSITORIES:
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_value_set_boolean (value, gitg_dash_view_get_has_repositories (self));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_SELECTABLE_AVAILABLE:
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_value_set_boolean (value, gitg_ext_selectable_get_selectable_available ((GitgExtSelectable*) self));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_SEARCH_AVAILABLE:
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_value_set_boolean (value, gitg_ext_searchable_get_search_available ((GitgExtSearchable*) self));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_DISPLAY_NAME:
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_value_take_string (value, gitg_ext_ui_element_get_display_name ((GitgExtUIElement*) self));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_DESCRIPTION:
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_value_take_string (value, gitg_ext_ui_element_get_description ((GitgExtUIElement*) self));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_ID:
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_value_take_string (value, gitg_ext_ui_element_get_id ((GitgExtUIElement*) self));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_WIDGET:
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_value_take_object (value, gitg_ext_ui_element_get_widget ((GitgExtUIElement*) self));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_ICON:
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_value_take_string (value, gitg_ext_ui_element_get_icon ((GitgExtUIElement*) self));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_SEARCH_TEXT:
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_value_take_string (value, gitg_ext_searchable_get_search_text ((GitgExtSearchable*) self));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_SEARCH_VISIBLE:
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_value_set_boolean (value, gitg_ext_searchable_get_search_visible ((GitgExtSearchable*) self));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_SEARCH_ENABLED:
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_value_set_boolean (value, gitg_ext_searchable_get_search_enabled ((GitgExtSearchable*) self));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_ACTION_WIDGET:
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		g_value_take_object (value, gitg_ext_selectable_get_action_widget ((GitgExtSelectable*) self));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		break;
#line 3751 "gitg-dash-view.c"
		default:
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		break;
#line 3757 "gitg-dash-view.c"
	}
}


static void _vala_gitg_dash_view_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	GitgDashView * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_DASH_VIEW, GitgDashView);
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
	switch (property_id) {
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_APPLICATION:
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		gitg_ext_ui_element_set_application ((GitgExtUIElement*) self, g_value_get_object (value));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_SELECTABLE_MODE:
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		gitg_ext_selectable_set_selectable_mode ((GitgExtSelectable*) self, g_value_get_enum (value));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_SEARCH_TEXT:
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		gitg_ext_searchable_set_search_text ((GitgExtSearchable*) self, g_value_get_string (value));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_SEARCH_ENTRY:
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		gitg_ext_searchable_set_search_entry ((GitgExtSearchable*) self, g_value_get_object (value));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_SEARCH_VISIBLE:
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		gitg_ext_searchable_set_search_visible ((GitgExtSearchable*) self, g_value_get_boolean (value));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_SEARCH_ENABLED:
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		gitg_ext_searchable_set_search_enabled ((GitgExtSearchable*) self, g_value_get_boolean (value));
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		break;
#line 3803 "gitg-dash-view.c"
		default:
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 24 "/home/jesse/devel/gitg/gitg/gitg-dash-view.vala"
		break;
#line 3809 "gitg-dash-view.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);
}



