/* gitg-dash-view.c generated by valac 0.30.0.38-a55d, 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 <gio/gio.h>
#include "libgitg/libgitg.h"
#include <stdlib.h>
#include <string.h>
#include <config.h>
#include <libgit2-glib/ggit.h>
#include <glib/gi18n-lib.h>
#include <gdk/gdk.h>
#include <float.h>
#include <math.h>


#define GITG_TYPE_RECURSIVE_SCANNER (gitg_recursive_scanner_get_type ())
#define GITG_RECURSIVE_SCANNER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_RECURSIVE_SCANNER, GitgRecursiveScanner))
#define GITG_IS_RECURSIVE_SCANNER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_RECURSIVE_SCANNER))
#define GITG_RECURSIVE_SCANNER_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GITG_TYPE_RECURSIVE_SCANNER, GitgRecursiveScannerIface))

typedef struct _GitgRecursiveScanner GitgRecursiveScanner;
typedef struct _GitgRecursiveScannerIface GitgRecursiveScannerIface;

#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 _Block42Data Block42Data;
#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 _Block43Data Block43Data;
#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 _Block44Data Block44Data;
typedef struct _Block45Data Block45Data;
typedef struct _GitgDashViewFileExistsAsyncData GitgDashViewFileExistsAsyncData;
typedef struct _GitgDashViewScanVisitDirectoryData GitgDashViewScanVisitDirectoryData;
typedef struct _Block46Data Block46Data;
typedef struct _Block47Data Block47Data;
#define _g_list_free0(var) ((var == NULL) ? NULL : (var = (g_list_free (var), NULL)))
typedef struct _Block48Data Block48Data;
#define _gitg_when_mapped_unref0(var) ((var == NULL) ? NULL : (var = (gitg_when_mapped_unref (var), NULL)))
typedef struct _GitgDashViewCloneCallbacksPrivate GitgDashViewCloneCallbacksPrivate;
#define _gitg_credentials_manager_unref0(var) ((var == NULL) ? NULL : (var = (gitg_credentials_manager_unref (var), NULL)))
typedef struct _Block49Data Block49Data;

struct _GitgRecursiveScannerIface {
	GTypeInterface parent_iface;
	void (*scan_visit_file) (GitgRecursiveScanner* self, GFile* file, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*scan_visit_file_finish) (GitgRecursiveScanner* self, GAsyncResult* _res_);
	void (*scan_visit_directory) (GitgRecursiveScanner* self, GFile* file, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	gboolean (*scan_visit_directory_finish) (GitgRecursiveScanner* self, GAsyncResult* _res_);
};

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_scan;
	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 _Block42Data {
	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;
	Block42Data* _data42_;
	GitgRepositoryListBoxRow* _tmp0_;
	const gchar* _tmp1_;
	GFile* _tmp2_;
	gboolean _tmp3_;
	GitgRepository* _tmp4_;
	GError * _inner_error_;
};

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

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

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

struct _GitgDashViewFileExistsAsyncData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgDashView* self;
	GFile* file;
	GCancellable* cancellable;
	gboolean result;
	GFileInfo* _tmp0_;
	GFile* _tmp1_;
	GCancellable* _tmp2_;
	GFileInfo* _tmp3_;
	GFileInfo* _tmp4_;
	GFileInfo* _tmp5_;
	gboolean _tmp6_;
	GError * _inner_error_;
};

struct _GitgDashViewScanVisitDirectoryData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgDashView* self;
	GFile* file;
	GCancellable* cancellable;
	gboolean result;
	gboolean _tmp0_;
	GCancellable* _tmp1_;
	GCancellable* _tmp2_;
	gboolean _tmp3_;
	GFile* _tmp4_;
	GFile* _tmp5_;
	GFile* _tmp6_;
	GCancellable* _tmp7_;
	gboolean _tmp8_;
	gboolean _tmp9_;
	GFile* _tmp10_;
	gboolean _tmp11_;
	gboolean _tmp12_;
	GFile* _tmp13_;
	GFile* _tmp14_;
	GFile* _tmp15_;
	GCancellable* _tmp16_;
	gboolean _tmp17_;
	gboolean _tmp18_;
	GFile* _tmp19_;
	GFile* _tmp20_;
	GFile* _tmp21_;
	GCancellable* _tmp22_;
	gboolean _tmp23_;
	GFile* _tmp24_;
	GFile* _tmp25_;
	GFile* _tmp26_;
	GCancellable* _tmp27_;
	gboolean _tmp28_;
	GFile* _tmp29_;
	GFile* _tmp30_;
	gboolean _tmp31_;
};

struct _Block46Data {
	int _ref_count_;
	GitgDashView* self;
	GtkMessageDialog* dlg;
	GCancellable* cancellable;
	guint timeout_id;
};

struct _Block47Data {
	int _ref_count_;
	GitgDashView* self;
	GtkFileChooserDialog* chooser;
	GtkCheckButton* scan_all;
};

struct _Block48Data {
	int _ref_count_;
	GitgDashView* self;
	GitgWhenMapped* whenMapped;
};

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

struct _GitgDashViewCloneCallbacksClass {
	GgitRemoteCallbacksClass parent_class;
};

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

struct _Block49Data {
	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;
static GitgRecursiveScannerIface* gitg_dash_view_gitg_recursive_scanner_parent_iface = NULL;

GType gitg_recursive_scanner_get_type (void) G_GNUC_CONST;
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_scan_home_activated (GitgDashView* self);
static void gitg_dash_view_add_repositories_scan (GitgDashView* self, GFile* location);
static gboolean _gitg_dash_view_scan_home_activated_gtk_label_activate_link (GtkLabel* _sender, const gchar* uri, gpointer 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 Block42Data* block42_data_ref (Block42Data* _data42_);
static void block42_data_unref (void * _userdata_);
static void __lambda99_ (Block42Data* _data42_, 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 ___lambda99__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 Block43Data* block43_data_ref (Block43Data* _data43_);
static void block43_data_unref (void * _userdata_);
static void __lambda101_ (Block43Data* _data43_, GObject* obj, GAsyncResult* res);
static void ___lambda101__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 Block44Data* block44_data_ref (Block44Data* _data44_);
static void block44_data_unref (void * _userdata_);
GitgCloneDialog* gitg_clone_dialog_new (GtkWindow* parent);
GitgCloneDialog* gitg_clone_dialog_construct (GType object_type, GtkWindow* parent);
static void __lambda104_ (Block44Data* _data44_, 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 ___lambda104__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, gboolean report_errors);
static void gitg_dash_view_query_create_repository (GitgDashView* self, GFile* location);
static Block45Data* block45_data_ref (Block45Data* _data45_);
static void block45_data_unref (void * _userdata_);
static gboolean __lambda105_ (Block45Data* _data45_, GitgExtUserQuery* w, GtkResponseType r);
static gboolean ___lambda105__gitg_ext_user_query_response (GitgExtUserQuery* _sender, GtkResponseType response_type, gpointer self);
static gboolean gitg_dash_view_looks_like_git (GitgDashView* self, GFile* location);
static void gitg_dash_view_file_exists_async_data_free (gpointer _data);
static void gitg_dash_view_file_exists_async (GitgDashView* self, GFile* file, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean gitg_dash_view_file_exists_finish (GitgDashView* self, GAsyncResult* _res_);
static gboolean gitg_dash_view_file_exists_async_co (GitgDashViewFileExistsAsyncData* _data_);
static void gitg_dash_view_file_exists_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void gitg_dash_view_real_scan_visit_directory_data_free (gpointer _data);
static void gitg_dash_view_real_scan_visit_directory (GitgRecursiveScanner* base, GFile* file, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean gitg_dash_view_real_scan_visit_directory_co (GitgDashViewScanVisitDirectoryData* _data_);
static void gitg_dash_view_scan_visit_directory_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
gboolean gitg_recursive_scanner_scan_visit_directory_default (GitgRecursiveScanner* self, GFile* file);
static Block46Data* block46_data_ref (Block46Data* _data46_);
static void block46_data_unref (void * _userdata_);
static void __lambda95_ (Block46Data* _data46_);
static void ___lambda95__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self);
static gboolean __lambda96_ (Block46Data* _data46_);
static gboolean ___lambda96__gsource_func (gpointer self);
void gitg_recursive_scanner_scan (GitgRecursiveScanner* self, GFile* location, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
void gitg_recursive_scanner_scan_finish (GitgRecursiveScanner* self, GAsyncResult* _res_);
static void __lambda97_ (Block46Data* _data46_);
static void ___lambda97__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void gitg_dash_view_add_repository_clicked (GitgDashView* self);
static Block47Data* block47_data_ref (Block47Data* _data47_);
static void block47_data_unref (void * _userdata_);
static void __lambda106_ (Block47Data* _data47_, GtkDialog* c, gint id);
static void ___lambda106__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___lambda107_ (GitgDashView* self);
static void __gitg_dash_view_action_widget___lambda107__gtk_button_clicked (GtkButton* _sender, gpointer self);
static GObject * gitg_dash_view_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
static Block48Data* block48_data_ref (Block48Data* _data48_);
static void block48_data_unref (void * _userdata_);
static void _gitg_dash_view___lambda108_ (GitgDashView* self);
static void __gitg_dash_view___lambda108__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void _gitg_dash_view___lambda109_ (GitgDashView* self, GitgRepository* repository);
static void __gitg_dash_view___lambda109__gitg_repository_list_box_repository_activated (GitgRepositoryListBox* _sender, GitgRepository* repository, gpointer self);
static void _gitg_dash_view___lambda110_ (GitgDashView* self, const gchar* primary_message, const gchar* secondary_message);
static void __gitg_dash_view___lambda110__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);
static void _gitg_dash_view___lambda111_ (Block48Data* _data48_);
static void __gitg_dash_view___lambda111__gitg_when_mapped_on_mapped (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 Block49Data* block49_data_ref (Block49Data* _data49_);
static void block49_data_unref (void * _userdata_);
static gboolean __lambda100_ (Block49Data* _data49_);
static gboolean ___lambda100__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 169 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (self != NULL);
#line 171 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->d_repository_list_box;
#line 171 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_tmp0_ != NULL) {
#line 454 "gitg-dash-view.c"
		gboolean _tmp1_ = FALSE;
		gboolean _tmp2_ = FALSE;
#line 173 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp2_ = self->priv->d_search_enabled;
#line 173 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		if (_tmp2_) {
#line 461 "gitg-dash-view.c"
			const gchar* _tmp3_ = NULL;
#line 173 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp3_ = self->priv->d_search_text;
#line 173 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp1_ = g_strcmp0 (_tmp3_, "") != 0;
#line 467 "gitg-dash-view.c"
		} else {
#line 173 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp1_ = FALSE;
#line 471 "gitg-dash-view.c"
		}
#line 173 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		if (_tmp1_) {
#line 475 "gitg-dash-view.c"
			GitgRepositoryListBox* _tmp4_ = NULL;
			const gchar* _tmp5_ = NULL;
#line 175 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp4_ = self->priv->d_repository_list_box;
#line 175 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp5_ = self->priv->d_search_text;
#line 175 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			gitg_repository_list_box_filter_text (_tmp4_, _tmp5_);
#line 484 "gitg-dash-view.c"
		} else {
			GitgRepositoryListBox* _tmp6_ = NULL;
#line 179 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp6_ = self->priv->d_repository_list_box;
#line 179 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			gitg_repository_list_box_filter_text (_tmp6_, NULL);
#line 491 "gitg-dash-view.c"
		}
	}
}


static void gitg_dash_view_update_setup_profile_visibility (GitgDashView* self) {
	GtkLabel* _tmp16_ = NULL;
	GError * _inner_error_ = NULL;
#line 261 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (self != NULL);
#line 502 "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 265 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp1_ = ggit_config_new_default (&_inner_error_);
#line 265 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp0_ = _tmp1_;
#line 265 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 527 "gitg-dash-view.c"
			goto __catch70_g_error;
		}
#line 265 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp2_ = _tmp0_;
#line 265 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp0_ = NULL;
#line 265 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp3_ = _tmp2_;
#line 265 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp4_ = ggit_config_snapshot (_tmp3_, &_inner_error_);
#line 265 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp5_ = _tmp4_;
#line 265 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_tmp3_);
#line 265 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		config = _tmp5_;
#line 265 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 265 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_g_object_unref0 (_tmp0_);
#line 548 "gitg-dash-view.c"
			goto __catch70_g_error;
		}
#line 266 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp6_ = config;
#line 266 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp7_ = ggit_config_get_string (_tmp6_, "user.name", &_inner_error_);
#line 266 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp8_ = g_strdup (_tmp7_);
#line 266 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		author_name = _tmp8_;
#line 266 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 266 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_g_object_unref0 (config);
#line 266 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_g_object_unref0 (_tmp0_);
#line 565 "gitg-dash-view.c"
			goto __catch70_g_error;
		}
#line 267 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp9_ = config;
#line 267 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp10_ = ggit_config_get_string (_tmp9_, "user.email", &_inner_error_);
#line 267 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp11_ = g_strdup (_tmp10_);
#line 267 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		author_email = _tmp11_;
#line 267 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 267 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_g_free0 (author_name);
#line 267 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_g_object_unref0 (config);
#line 267 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_g_object_unref0 (_tmp0_);
#line 584 "gitg-dash-view.c"
			goto __catch70_g_error;
		}
#line 269 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp13_ = author_name;
#line 269 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		if (g_strcmp0 (_tmp13_, "") != 0) {
#line 591 "gitg-dash-view.c"
			const gchar* _tmp14_ = NULL;
#line 269 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp14_ = author_email;
#line 269 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp12_ = g_strcmp0 (_tmp14_, "") != 0;
#line 597 "gitg-dash-view.c"
		} else {
#line 269 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp12_ = FALSE;
#line 601 "gitg-dash-view.c"
		}
#line 269 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		if (_tmp12_) {
#line 605 "gitg-dash-view.c"
			GtkLabel* _tmp15_ = NULL;
#line 271 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp15_ = self->priv->d_label_profile;
#line 271 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			gtk_widget_set_visible ((GtkWidget*) _tmp15_, FALSE);
#line 272 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_g_free0 (author_email);
#line 272 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_g_free0 (author_name);
#line 272 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_g_object_unref0 (config);
#line 272 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_g_object_unref0 (_tmp0_);
#line 272 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			return;
#line 621 "gitg-dash-view.c"
		}
#line 263 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_free0 (author_email);
#line 263 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_free0 (author_name);
#line 263 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (config);
#line 263 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_tmp0_);
#line 631 "gitg-dash-view.c"
	}
	goto __finally70;
	__catch70_g_error:
	{
#line 263 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_clear_error (&_inner_error_);
#line 263 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_inner_error_ = NULL;
#line 640 "gitg-dash-view.c"
	}
	__finally70:
#line 263 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 263 "/home/nacho/checkout/gnome/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 263 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_clear_error (&_inner_error_);
#line 263 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		return;
#line 651 "gitg-dash-view.c"
	}
#line 276 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp16_ = self->priv->d_label_profile;
#line 276 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp16_, TRUE);
#line 657 "gitg-dash-view.c"
}


static gboolean gitg_dash_view_scan_home_activated (GitgDashView* self) {
	gboolean result = FALSE;
	gchar* homedir = NULL;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
#line 280 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 282 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = g_get_home_dir ();
#line 282 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 282 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	homedir = _tmp1_;
#line 284 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = homedir;
#line 284 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_tmp2_ != NULL) {
#line 679 "gitg-dash-view.c"
		const gchar* _tmp3_ = NULL;
		GFile* _tmp4_ = NULL;
		GFile* _tmp5_ = NULL;
#line 286 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp3_ = homedir;
#line 286 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp4_ = g_file_new_for_path (_tmp3_);
#line 286 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp5_ = _tmp4_;
#line 286 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		gitg_dash_view_add_repositories_scan (self, _tmp5_);
#line 286 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_tmp5_);
#line 693 "gitg-dash-view.c"
	}
#line 289 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	result = TRUE;
#line 289 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_free0 (homedir);
#line 289 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 701 "gitg-dash-view.c"
}


static gboolean _gitg_dash_view_scan_home_activated_gtk_label_activate_link (GtkLabel* _sender, const gchar* uri, gpointer self) {
	gboolean result;
	result = gitg_dash_view_scan_home_activated ((GitgDashView*) self);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 710 "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 293 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 295 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 295 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _tmp0_;
#line 295 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, GITG_TYPE_WINDOW) ? ((GitgWindow*) _tmp1_) : NULL;
#line 295 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_tmp2_ == NULL) {
#line 295 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_tmp1_);
#line 734 "gitg-dash-view.c"
	}
#line 295 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = _tmp2_;
#line 295 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp4_ = gitg_author_details_dialog_show_global (_tmp3_);
#line 295 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp5_ = _tmp4_;
#line 295 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_tmp5_);
#line 295 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_tmp3_);
#line 296 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	result = TRUE;
#line 296 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 750 "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/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 759 "gitg-dash-view.c"
}


static void gitg_dash_view_update_availability (GitgDashView* self) {
#line 299 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (self != NULL);
#line 301 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_notify ((GObject*) self, "has-repositories");
#line 302 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_notify ((GObject*) self, "selectable-available");
#line 303 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_notify ((GObject*) self, "search-available");
#line 772 "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 306 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 306 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_val_if_fail (repository != NULL, NULL);
#line 308 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->d_repository_list_box;
#line 308 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = repository;
#line 308 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = gitg_repository_list_box_add_repository (_tmp0_, _tmp1_);
#line 308 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	result = _tmp2_;
#line 308 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 795 "gitg-dash-view.c"
}


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


static gpointer _g_object_ref0 (gpointer self) {
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return self ? g_object_ref (self) : NULL;
#line 815 "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/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_ = g_slice_new0 (GitgDashViewCloneData);
#line 24 "/home/nacho/checkout/gnome/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/nacho/checkout/gnome/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/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->self = _tmp0_;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = row;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_data_->row);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->row = _tmp2_;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = url;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp4_ = g_strdup (_tmp3_);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_free0 (_data_->url);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->url = _tmp4_;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp5_ = location;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp6_ = _g_object_ref0 (_tmp5_);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_data_->location);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->location = _tmp6_;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp7_ = is_bare;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->is_bare = _tmp7_;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_clone_co (_data_);
#line 869 "gitg-dash-view.c"
}


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


static Block42Data* block42_data_ref (Block42Data* _data42_) {
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_atomic_int_inc (&_data42_->_ref_count_);
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return _data42_;
#line 899 "gitg-dash-view.c"
}


static void block42_data_unref (void * _userdata_) {
	Block42Data* _data42_;
	_data42_ = (Block42Data*) _userdata_;
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (g_atomic_int_dec_and_test (&_data42_->_ref_count_)) {
#line 908 "gitg-dash-view.c"
		GitgDashView* self;
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		self = _data42_->self;
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_data42_->repository);
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_data42_->row);
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_free0 (_data42_->url);
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_data42_->location);
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (self);
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_slice_free (Block42Data, _data42_);
#line 924 "gitg-dash-view.c"
	}
}


static void _vala_GgitFetchOptions_free (GgitFetchOptions* self) {
#line 349 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_boxed_free (ggit_fetch_options_get_type (), self);
#line 932 "gitg-dash-view.c"
}


static void __lambda99_ (Block42Data* _data42_, 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 344 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = _data42_->self;
#line 345 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = ggit_clone_options_new ();
#line 345 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	clone_options = _tmp0_;
#line 346 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = ggit_fetch_options_new ();
#line 346 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	fetch_options = _tmp1_;
#line 347 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	config = NULL;
#line 969 "gitg-dash-view.c"
	{
		GgitConfig* _tmp2_ = NULL;
		GgitConfig* _tmp3_ = NULL;
		GgitConfig* _tmp4_ = NULL;
#line 351 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp3_ = ggit_config_new_default (&_inner_error_);
#line 351 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp2_ = _tmp3_;
#line 351 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 980 "gitg-dash-view.c"
			goto __catch71_g_error;
		}
#line 351 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp4_ = _tmp2_;
#line 351 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp2_ = NULL;
#line 351 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (config);
#line 351 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		config = _tmp4_;
#line 349 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_tmp2_);
#line 993 "gitg-dash-view.c"
	}
	goto __finally71;
	__catch71_g_error:
	{
#line 349 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_clear_error (&_inner_error_);
#line 349 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_inner_error_ = NULL;
#line 1002 "gitg-dash-view.c"
	}
	__finally71:
#line 349 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 349 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_propagate_error (error, _inner_error_);
#line 349 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (config);
#line 349 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		__vala_GgitFetchOptions_free0 (fetch_options);
#line 349 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (clone_options);
#line 349 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		return;
#line 1017 "gitg-dash-view.c"
	}
#line 354 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp5_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 354 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp6_ = _tmp5_;
#line 354 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp7_ = _tmp6_;
#line 354 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp8_ = config;
#line 354 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp9_ = _data42_->row;
#line 354 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp10_ = gitg_dash_view_clone_callbacks_new (_tmp7_, _tmp8_, _tmp9_);
#line 354 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp11_ = _tmp10_;
#line 354 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	ggit_fetch_options_set_remote_callbacks (fetch_options, (GgitRemoteCallbacks*) _tmp11_);
#line 354 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_tmp11_);
#line 354 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_tmp7_);
#line 356 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp12_ = _data42_->is_bare;
#line 356 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	ggit_clone_options_set_is_bare (clone_options, _tmp12_);
#line 357 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	ggit_clone_options_set_fetch_options (clone_options, fetch_options);
#line 359 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp14_ = _data42_->url;
#line 359 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp15_ = _data42_->location;
#line 359 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp16_ = ggit_repository_clone (_tmp14_, _tmp15_, clone_options, &_inner_error_);
#line 359 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp13_ = _tmp16_;
#line 359 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 359 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_propagate_error (error, _inner_error_);
#line 359 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (config);
#line 359 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		__vala_GgitFetchOptions_free0 (fetch_options);
#line 359 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (clone_options);
#line 359 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		return;
#line 1065 "gitg-dash-view.c"
	}
#line 359 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp17_ = _tmp13_;
#line 359 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp13_ = NULL;
#line 359 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_data42_->repository);
#line 359 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data42_->repository = G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GITG_TYPE_REPOSITORY, GitgRepository);
#line 344 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_tmp13_);
#line 344 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (config);
#line 344 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	__vala_GgitFetchOptions_free0 (fetch_options);
#line 344 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (clone_options);
#line 1083 "gitg-dash-view.c"
}


static void ___lambda99__gitg_async_thread_func (gpointer self, GError** error) {
#line 344 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	__lambda99_ (self, error);
#line 1090 "gitg-dash-view.c"
}


static void gitg_dash_view_clone_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgDashViewCloneData* _data_;
#line 344 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_ = _user_data_;
#line 344 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_source_object_ = source_object;
#line 344 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_res_ = _res_;
#line 344 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_clone_co (_data_);
#line 1104 "gitg-dash-view.c"
}


static gboolean gitg_dash_view_clone_co (GitgDashViewCloneData* _data_) {
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	switch (_data_->_state_) {
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case 0:
#line 1113 "gitg-dash-view.c"
		goto _state_0;
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case 1:
#line 1117 "gitg-dash-view.c"
		goto _state_1;
		default:
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_assert_not_reached ();
#line 1122 "gitg-dash-view.c"
	}
	_state_0:
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_data42_ = g_slice_new0 (Block42Data);
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_data42_->_ref_count_ = 1;
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_data42_->self = g_object_ref (_data_->self);
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp0_ = NULL;
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp0_ = _data_->row;
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_data_->_data42_->row);
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_data42_->row = _data_->_tmp0_;
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp1_ = NULL;
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp1_ = _data_->url;
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_free0 (_data_->_data42_->url);
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_data42_->url = _data_->_tmp1_;
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp2_ = NULL;
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp2_ = _data_->location;
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_data_->_data42_->location);
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_data42_->location = _data_->_tmp2_;
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp3_ = FALSE;
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp3_ = _data_->is_bare;
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_data42_->is_bare = _data_->_tmp3_;
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_data42_->_async_data_ = _data_;
#line 342 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_data42_->repository = NULL;
#line 344 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_state_ = 1;
#line 344 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_async_thread (___lambda99__gitg_async_thread_func, _data_->_data42_, gitg_dash_view_clone_ready, _data_);
#line 344 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return FALSE;
#line 1171 "gitg-dash-view.c"
	_state_1:
#line 344 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_async_thread_finish (_data_->_res_, &_data_->_inner_error_);
#line 344 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 344 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 344 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_error_free (_data_->_inner_error_);
#line 344 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		block42_data_unref (_data_->_data42_);
#line 344 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_data42_ = NULL;
#line 344 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		if (_data_->_state_ == 0) {
#line 344 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1189 "gitg-dash-view.c"
		} else {
#line 344 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1193 "gitg-dash-view.c"
		}
#line 344 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_object_unref (_data_->_async_result);
#line 344 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		return FALSE;
#line 1199 "gitg-dash-view.c"
	}
#line 362 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp4_ = NULL;
#line 362 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp4_ = _g_object_ref0 (_data_->_data42_->repository);
#line 362 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->result = _data_->_tmp4_;
#line 362 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	block42_data_unref (_data_->_data42_);
#line 362 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_data42_ = NULL;
#line 362 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_data_->_state_ == 0) {
#line 362 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1215 "gitg-dash-view.c"
	} else {
#line 362 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1219 "gitg-dash-view.c"
	}
#line 362 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_unref (_data_->_async_result);
#line 362 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return FALSE;
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	block42_data_unref (_data_->_data42_);
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_data42_ = NULL;
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_data_->_state_ == 0) {
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1233 "gitg-dash-view.c"
	} else {
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1237 "gitg-dash-view.c"
	}
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_unref (_data_->_async_result);
#line 340 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return FALSE;
#line 1243 "gitg-dash-view.c"
}


static Block43Data* block43_data_ref (Block43Data* _data43_) {
#line 365 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_atomic_int_inc (&_data43_->_ref_count_);
#line 365 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return _data43_;
#line 1252 "gitg-dash-view.c"
}


static void block43_data_unref (void * _userdata_) {
	Block43Data* _data43_;
	_data43_ = (Block43Data*) _userdata_;
#line 365 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (g_atomic_int_dec_and_test (&_data43_->_ref_count_)) {
#line 1261 "gitg-dash-view.c"
		GitgDashView* self;
#line 365 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		self = _data43_->self;
#line 365 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_data43_->row);
#line 365 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (self);
#line 365 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_slice_free (Block43Data, _data43_);
#line 1271 "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 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, 0);
#line 931 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp0_ = start_index;
#line 931 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp1_ = c;
#line 931 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp2_ = g_utf8_strrchr (((gchar*) self) + _tmp0_, (gssize) -1, _tmp1_);
#line 931 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_result_ = _tmp2_;
#line 933 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp3_ = _result_;
#line 933 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	if (_tmp3_ != NULL) {
#line 1297 "gitg-dash-view.c"
		gchar* _tmp4_ = NULL;
#line 934 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp4_ = _result_;
#line 934 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		result = (gint) (_tmp4_ - ((gchar*) self));
#line 934 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		return result;
#line 1305 "gitg-dash-view.c"
	} else {
#line 936 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		result = -1;
#line 936 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		return result;
#line 1311 "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 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp0_ = str;
#line 1197 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp1_ = maxlen;
#line 1197 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
#line 1197 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	end = _tmp2_;
#line 1198 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp3_ = end;
#line 1198 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	if (_tmp3_ == NULL) {
#line 1335 "gitg-dash-view.c"
		glong _tmp4_ = 0L;
#line 1199 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp4_ = maxlen;
#line 1199 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		result = _tmp4_;
#line 1199 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		return result;
#line 1343 "gitg-dash-view.c"
	} else {
		gchar* _tmp5_ = NULL;
		gchar* _tmp6_ = NULL;
#line 1201 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp5_ = end;
#line 1201 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp6_ = str;
#line 1201 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		result = (glong) (_tmp5_ - _tmp6_);
#line 1201 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		return result;
#line 1355 "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 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1210 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp1_ = offset;
#line 1210 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	if (_tmp1_ >= ((glong) 0)) {
#line 1379 "gitg-dash-view.c"
		glong _tmp2_ = 0L;
#line 1210 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp2_ = len;
#line 1210 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp0_ = _tmp2_ >= ((glong) 0);
#line 1385 "gitg-dash-view.c"
	} else {
#line 1210 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp0_ = FALSE;
#line 1389 "gitg-dash-view.c"
	}
#line 1210 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	if (_tmp0_) {
#line 1393 "gitg-dash-view.c"
		glong _tmp3_ = 0L;
		glong _tmp4_ = 0L;
		glong _tmp5_ = 0L;
#line 1212 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp3_ = offset;
#line 1212 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp4_ = len;
#line 1212 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
#line 1212 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		string_length = _tmp5_;
#line 1405 "gitg-dash-view.c"
	} else {
		gint _tmp6_ = 0;
		gint _tmp7_ = 0;
#line 1214 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp6_ = strlen (self);
#line 1214 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp7_ = _tmp6_;
#line 1214 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		string_length = (glong) _tmp7_;
#line 1415 "gitg-dash-view.c"
	}
#line 1217 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp8_ = offset;
#line 1217 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	if (_tmp8_ < ((glong) 0)) {
#line 1421 "gitg-dash-view.c"
		glong _tmp9_ = 0L;
		glong _tmp10_ = 0L;
		glong _tmp11_ = 0L;
#line 1218 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp9_ = string_length;
#line 1218 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp10_ = offset;
#line 1218 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		offset = _tmp9_ + _tmp10_;
#line 1219 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp11_ = offset;
#line 1219 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 1435 "gitg-dash-view.c"
	} else {
		glong _tmp12_ = 0L;
		glong _tmp13_ = 0L;
#line 1221 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp12_ = offset;
#line 1221 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp13_ = string_length;
#line 1221 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 1445 "gitg-dash-view.c"
	}
#line 1223 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp14_ = len;
#line 1223 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	if (_tmp14_ < ((glong) 0)) {
#line 1451 "gitg-dash-view.c"
		glong _tmp15_ = 0L;
		glong _tmp16_ = 0L;
#line 1224 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp15_ = string_length;
#line 1224 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp16_ = offset;
#line 1224 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		len = _tmp15_ - _tmp16_;
#line 1460 "gitg-dash-view.c"
	}
#line 1226 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp17_ = offset;
#line 1226 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp18_ = len;
#line 1226 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp19_ = string_length;
#line 1226 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
#line 1227 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp20_ = offset;
#line 1227 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp21_ = len;
#line 1227 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
#line 1227 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	result = _tmp22_;
#line 1227 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	return result;
#line 1480 "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 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1231 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp0_ = strlen (self);
#line 1231 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp1_ = _tmp0_;
#line 1231 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	string_length = (glong) _tmp1_;
#line 1232 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp2_ = start;
#line 1232 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	if (_tmp2_ < ((glong) 0)) {
#line 1513 "gitg-dash-view.c"
		glong _tmp3_ = 0L;
		glong _tmp4_ = 0L;
#line 1233 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp3_ = string_length;
#line 1233 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp4_ = start;
#line 1233 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		start = _tmp3_ + _tmp4_;
#line 1522 "gitg-dash-view.c"
	}
#line 1235 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp5_ = end;
#line 1235 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	if (_tmp5_ < ((glong) 0)) {
#line 1528 "gitg-dash-view.c"
		glong _tmp6_ = 0L;
		glong _tmp7_ = 0L;
#line 1236 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp6_ = string_length;
#line 1236 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp7_ = end;
#line 1236 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		end = _tmp6_ + _tmp7_;
#line 1537 "gitg-dash-view.c"
	}
#line 1238 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp9_ = start;
#line 1238 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	if (_tmp9_ >= ((glong) 0)) {
#line 1543 "gitg-dash-view.c"
		glong _tmp10_ = 0L;
		glong _tmp11_ = 0L;
#line 1238 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp10_ = start;
#line 1238 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp11_ = string_length;
#line 1238 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp8_ = _tmp10_ <= _tmp11_;
#line 1552 "gitg-dash-view.c"
	} else {
#line 1238 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp8_ = FALSE;
#line 1556 "gitg-dash-view.c"
	}
#line 1238 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	g_return_val_if_fail (_tmp8_, NULL);
#line 1239 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp13_ = end;
#line 1239 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	if (_tmp13_ >= ((glong) 0)) {
#line 1564 "gitg-dash-view.c"
		glong _tmp14_ = 0L;
		glong _tmp15_ = 0L;
#line 1239 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp14_ = end;
#line 1239 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp15_ = string_length;
#line 1239 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp12_ = _tmp14_ <= _tmp15_;
#line 1573 "gitg-dash-view.c"
	} else {
#line 1239 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp12_ = FALSE;
#line 1577 "gitg-dash-view.c"
	}
#line 1239 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	g_return_val_if_fail (_tmp12_, NULL);
#line 1240 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp16_ = start;
#line 1240 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp17_ = end;
#line 1240 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	g_return_val_if_fail (_tmp16_ <= _tmp17_, NULL);
#line 1241 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp18_ = start;
#line 1241 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp19_ = end;
#line 1241 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp20_ = start;
#line 1241 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp21_ = g_strndup (((gchar*) self) + _tmp18_, (gsize) (_tmp19_ - _tmp20_));
#line 1241 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	result = _tmp21_;
#line 1241 "/opt/gnome/share/vala-0.32/vapi/glib-2.0.vapi"
	return result;
#line 1599 "gitg-dash-view.c"
}


static void __lambda101_ (Block43Data* _data43_, GObject* obj, GAsyncResult* res) {
	GitgDashView* self;
	GitgRepository* repository = NULL;
	GitgRepositoryListBox* _tmp10_ = NULL;
	GitgRepository* _tmp11_ = NULL;
	GError * _inner_error_ = NULL;
#line 393 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = _data43_->self;
#line 393 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (res != NULL);
#line 394 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	repository = NULL;
#line 1615 "gitg-dash-view.c"
	{
		GitgRepository* _tmp0_ = NULL;
		GAsyncResult* _tmp1_ = NULL;
		GitgRepository* _tmp2_ = NULL;
		GitgRepository* _tmp3_ = NULL;
#line 398 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp1_ = res;
#line 398 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp2_ = gitg_dash_view_clone_finish (self, _tmp1_, &_inner_error_);
#line 398 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp0_ = _tmp2_;
#line 398 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1629 "gitg-dash-view.c"
			goto __catch72_g_error;
		}
#line 398 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp3_ = _tmp0_;
#line 398 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp0_ = NULL;
#line 398 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (repository);
#line 398 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		repository = _tmp3_;
#line 396 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_tmp0_);
#line 1642 "gitg-dash-view.c"
	}
	goto __finally72;
	__catch72_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 396 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		e = _inner_error_;
#line 396 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_inner_error_ = NULL;
#line 402 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp4_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 402 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp5_ = _tmp4_;
#line 402 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp6_ = _tmp5_;
#line 402 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp7_ = _ ("Failed to clone repository");
#line 402 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp8_ = e;
#line 402 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp9_ = _tmp8_->message;
#line 402 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		gitg_ext_application_show_infobar (_tmp6_, _tmp7_, _tmp9_, GTK_MESSAGE_ERROR);
#line 402 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_tmp6_);
#line 396 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_error_free0 (e);
#line 1676 "gitg-dash-view.c"
	}
	__finally72:
#line 396 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 396 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (repository);
#line 396 "/home/nacho/checkout/gnome/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 396 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_clear_error (&_inner_error_);
#line 396 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		return;
#line 1689 "gitg-dash-view.c"
	}
#line 405 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp10_ = self->priv->d_repository_list_box;
#line 405 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp11_ = repository;
#line 405 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_repository_list_box_end_cloning (_tmp10_, _data43_->row, _tmp11_);
#line 393 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (repository);
#line 1699 "gitg-dash-view.c"
}


static void ___lambda101__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 393 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	__lambda101_ (self, source_object, res);
#line 393 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	block43_data_unref (self);
#line 1708 "gitg-dash-view.c"
}


static void gitg_dash_view_clone_repository (GitgDashView* self, const gchar* url, GFile* location, gboolean is_bare) {
	Block43Data* _data43_;
	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;
	GitgRepositoryListBoxRow* _tmp30_ = NULL;
	const gchar* _tmp31_ = NULL;
	gboolean _tmp32_ = FALSE;
#line 365 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (self != NULL);
#line 365 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (url != NULL);
#line 365 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (location != NULL);
#line 365 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data43_ = g_slice_new0 (Block43Data);
#line 365 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data43_->_ref_count_ = 1;
#line 365 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data43_->self = g_object_ref (self);
#line 368 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = url;
#line 368 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = string_last_index_of_char (_tmp0_, (gunichar) '/', 0);
#line 368 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	pos = _tmp1_;
#line 370 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = pos;
#line 370 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_tmp2_ == -1) {
#line 1760 "gitg-dash-view.c"
		const gchar* _tmp3_ = NULL;
		gint _tmp4_ = 0;
#line 372 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp3_ = url;
#line 372 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp4_ = string_last_index_of_char (_tmp3_, (gunichar) ':', 0);
#line 372 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		pos = _tmp4_;
#line 1769 "gitg-dash-view.c"
	}
#line 375 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp5_ = g_strdup (".git");
#line 375 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	dot_git_suffix = _tmp5_;
#line 376 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp6_ = url;
#line 376 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp7_ = pos;
#line 376 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp8_ = string_substring (_tmp6_, (glong) (_tmp7_ + 1), (glong) -1);
#line 376 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	subfolder_name = _tmp8_;
#line 377 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp9_ = subfolder_name;
#line 377 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp10_ = dot_git_suffix;
#line 377 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp11_ = g_str_has_suffix (_tmp9_, _tmp10_);
#line 377 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	has_dot_git = _tmp11_;
#line 379 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp13_ = has_dot_git;
#line 379 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_tmp13_) {
#line 1795 "gitg-dash-view.c"
		gboolean _tmp14_ = FALSE;
#line 379 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp14_ = is_bare;
#line 379 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp12_ = !_tmp14_;
#line 1801 "gitg-dash-view.c"
	} else {
#line 379 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp12_ = FALSE;
#line 1805 "gitg-dash-view.c"
	}
#line 379 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_tmp12_) {
#line 1809 "gitg-dash-view.c"
		const gchar* _tmp15_ = NULL;
		const gchar* _tmp16_ = NULL;
		gint _tmp17_ = 0;
		gint _tmp18_ = 0;
		gchar* _tmp19_ = NULL;
#line 381 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp15_ = subfolder_name;
#line 381 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp16_ = dot_git_suffix;
#line 381 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp17_ = strlen (_tmp16_);
#line 381 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp18_ = _tmp17_;
#line 381 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp19_ = string_slice (_tmp15_, (glong) 0, (glong) (-_tmp18_));
#line 381 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_free0 (subfolder_name);
#line 381 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		subfolder_name = _tmp19_;
#line 1829 "gitg-dash-view.c"
	} else {
		gboolean _tmp20_ = FALSE;
		gboolean _tmp21_ = FALSE;
#line 383 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp21_ = has_dot_git;
#line 383 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		if (!_tmp21_) {
#line 1837 "gitg-dash-view.c"
			gboolean _tmp22_ = FALSE;
#line 383 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp22_ = is_bare;
#line 383 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp20_ = _tmp22_;
#line 1843 "gitg-dash-view.c"
		} else {
#line 383 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp20_ = FALSE;
#line 1847 "gitg-dash-view.c"
		}
#line 383 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		if (_tmp20_) {
#line 1851 "gitg-dash-view.c"
			const gchar* _tmp23_ = NULL;
			const gchar* _tmp24_ = NULL;
			gchar* _tmp25_ = NULL;
#line 385 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp23_ = subfolder_name;
#line 385 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp24_ = dot_git_suffix;
#line 385 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp25_ = g_strconcat (_tmp23_, _tmp24_, NULL);
#line 385 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_g_free0 (subfolder_name);
#line 385 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			subfolder_name = _tmp25_;
#line 1865 "gitg-dash-view.c"
		}
	}
#line 388 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp26_ = location;
#line 388 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp27_ = subfolder_name;
#line 388 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp28_ = g_file_resolve_relative_path (_tmp26_, _tmp27_);
#line 388 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	subfolder = _tmp28_;
#line 391 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp29_ = self->priv->d_repository_list_box;
#line 391 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp30_ = gitg_repository_list_box_begin_cloning (_tmp29_, subfolder);
#line 391 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data43_->row = _tmp30_;
#line 393 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp31_ = url;
#line 393 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp32_ = is_bare;
#line 393 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_clone (self, _data43_->row, _tmp31_, subfolder, _tmp32_, ___lambda101__gasync_ready_callback, block43_data_ref (_data43_));
#line 365 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (subfolder);
#line 365 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_free0 (subfolder_name);
#line 365 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_free0 (dot_git_suffix);
#line 365 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	block43_data_unref (_data43_);
#line 365 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data43_ = NULL;
#line 1898 "gitg-dash-view.c"
}


static Block44Data* block44_data_ref (Block44Data* _data44_) {
#line 410 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_atomic_int_inc (&_data44_->_ref_count_);
#line 410 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return _data44_;
#line 1907 "gitg-dash-view.c"
}


static void block44_data_unref (void * _userdata_) {
	Block44Data* _data44_;
	_data44_ = (Block44Data*) _userdata_;
#line 410 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (g_atomic_int_dec_and_test (&_data44_->_ref_count_)) {
#line 1916 "gitg-dash-view.c"
		GitgDashView* self;
#line 410 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		self = _data44_->self;
#line 410 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_data44_->dlg);
#line 410 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (self);
#line 410 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_slice_free (Block44Data, _data44_);
#line 1926 "gitg-dash-view.c"
	}
}


static void __lambda104_ (Block44Data* _data44_, GtkDialog* d, gint id) {
	GitgDashView* self;
	gint _tmp0_ = 0;
	GtkDialog* _tmp8_ = NULL;
#line 414 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = _data44_->self;
#line 414 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (d != NULL);
#line 415 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = id;
#line 415 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_tmp0_ == ((gint) GTK_RESPONSE_OK)) {
#line 1943 "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 417 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp1_ = gitg_clone_dialog_get_url (_data44_->dlg);
#line 417 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp2_ = _tmp1_;
#line 417 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp3_ = gitg_clone_dialog_get_location (_data44_->dlg);
#line 417 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp4_ = _tmp3_;
#line 417 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp5_ = _tmp4_;
#line 417 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp6_ = gitg_clone_dialog_get_is_bare (_data44_->dlg);
#line 417 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp7_ = _tmp6_;
#line 417 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		gitg_dash_view_clone_repository (self, _tmp2_, _tmp5_, _tmp7_);
#line 417 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_tmp5_);
#line 1969 "gitg-dash-view.c"
	}
#line 420 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp8_ = d;
#line 420 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_destroy ((GtkWidget*) _tmp8_);
#line 1975 "gitg-dash-view.c"
}


static void ___lambda104__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) {
#line 414 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	__lambda104_ (self, _sender, response_id);
#line 1982 "gitg-dash-view.c"
}


static void gitg_dash_view_clone_repository_clicked (GitgDashView* self) {
	Block44Data* _data44_;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
	GtkWindow* _tmp2_ = NULL;
	GtkWindow* _tmp3_ = NULL;
	GitgCloneDialog* _tmp4_ = NULL;
	GitgCloneDialog* _tmp5_ = NULL;
#line 410 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (self != NULL);
#line 410 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data44_ = g_slice_new0 (Block44Data);
#line 410 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data44_->_ref_count_ = 1;
#line 410 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data44_->self = g_object_ref (self);
#line 412 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 412 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _tmp0_;
#line 412 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_window_get_type ()) ? ((GtkWindow*) _tmp1_) : NULL;
#line 412 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_tmp2_ == NULL) {
#line 412 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_tmp1_);
#line 2012 "gitg-dash-view.c"
	}
#line 412 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = _tmp2_;
#line 412 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp4_ = gitg_clone_dialog_new (_tmp3_);
#line 412 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_ref_sink (_tmp4_);
#line 412 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp5_ = _tmp4_;
#line 412 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_tmp3_);
#line 412 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data44_->dlg = _tmp5_;
#line 414 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_signal_connect_data ((GtkDialog*) _data44_->dlg, "response", (GCallback) ___lambda104__gtk_dialog_response, block44_data_ref (_data44_), (GClosureNotify) block44_data_unref, 0);
#line 423 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_show ((GtkWidget*) _data44_->dlg);
#line 410 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	block44_data_unref (_data44_);
#line 410 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data44_ = NULL;
#line 2034 "gitg-dash-view.c"
}


static void _gitg_dash_view_clone_repository_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_clone_repository_clicked ((GitgDashView*) self);
#line 2041 "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 426 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (self != NULL);
#line 426 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (repo != NULL);
#line 428 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = repo;
#line 428 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = gitg_dash_view_add_repository (self, _tmp0_);
#line 428 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	row = _tmp1_;
#line 430 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = row;
#line 430 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_tmp2_ != NULL) {
#line 2064 "gitg-dash-view.c"
		GitgRepositoryListBoxRow* _tmp3_ = NULL;
		GitgRepositoryListBox* _tmp4_ = NULL;
		GitgRepositoryListBoxRow* _tmp5_ = NULL;
#line 432 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp3_ = row;
#line 432 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		gtk_widget_grab_focus ((GtkWidget*) _tmp3_);
#line 433 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp4_ = self->priv->d_repository_list_box;
#line 433 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		gtk_widget_grab_focus ((GtkWidget*) _tmp4_);
#line 434 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp5_ = row;
#line 434 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		gtk_widget_grab_focus ((GtkWidget*) _tmp5_);
#line 2080 "gitg-dash-view.c"
	}
#line 426 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (row);
#line 2084 "gitg-dash-view.c"
}


static void gitg_dash_view_do_add_repository (GitgDashView* self, GFile* location, gboolean report_errors) {
	GitgRepository* repo = NULL;
	GitgRepository* _tmp11_ = NULL;
	GError * _inner_error_ = NULL;
#line 438 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (self != NULL);
#line 438 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (location != NULL);
#line 2096 "gitg-dash-view.c"
	{
		GitgRepository* _tmp0_ = NULL;
		GFile* _tmp1_ = NULL;
		GitgRepository* _tmp2_ = NULL;
		GitgRepository* _tmp3_ = NULL;
#line 444 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp1_ = location;
#line 444 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp2_ = gitg_repository_new (_tmp1_, NULL, &_inner_error_);
#line 444 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp0_ = _tmp2_;
#line 444 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2110 "gitg-dash-view.c"
			goto __catch73_g_error;
		}
#line 444 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp3_ = _tmp0_;
#line 444 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp0_ = NULL;
#line 444 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (repo);
#line 444 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		repo = _tmp3_;
#line 442 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_tmp0_);
#line 2123 "gitg-dash-view.c"
	}
	goto __finally73;
	__catch73_g_error:
	{
		GError* err = NULL;
		gboolean _tmp4_ = FALSE;
#line 442 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		err = _inner_error_;
#line 442 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_inner_error_ = NULL;
#line 448 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp4_ = report_errors;
#line 448 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		if (_tmp4_) {
#line 2138 "gitg-dash-view.c"
			GitgExtApplication* _tmp5_ = NULL;
			GitgExtApplication* _tmp6_ = NULL;
			GitgExtApplication* _tmp7_ = NULL;
			const gchar* _tmp8_ = NULL;
			GError* _tmp9_ = NULL;
			const gchar* _tmp10_ = NULL;
#line 450 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp5_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 450 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp6_ = _tmp5_;
#line 450 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp7_ = _tmp6_;
#line 450 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp8_ = _ ("Failed to add repository");
#line 450 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp9_ = err;
#line 450 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp10_ = _tmp9_->message;
#line 450 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			gitg_ext_application_show_infobar (_tmp7_, _tmp8_, _tmp10_, GTK_MESSAGE_ERROR);
#line 450 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_g_object_unref0 (_tmp7_);
#line 2161 "gitg-dash-view.c"
		}
#line 453 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_error_free0 (err);
#line 453 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (repo);
#line 453 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		return;
#line 2169 "gitg-dash-view.c"
	}
	__finally73:
#line 442 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 442 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (repo);
#line 442 "/home/nacho/checkout/gnome/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 442 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_clear_error (&_inner_error_);
#line 442 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		return;
#line 2182 "gitg-dash-view.c"
	}
#line 456 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp11_ = repo;
#line 456 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_finish_add_repository (self, _tmp11_);
#line 438 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (repo);
#line 2190 "gitg-dash-view.c"
}


static Block45Data* block45_data_ref (Block45Data* _data45_) {
#line 459 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_atomic_int_inc (&_data45_->_ref_count_);
#line 459 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return _data45_;
#line 2199 "gitg-dash-view.c"
}


static void block45_data_unref (void * _userdata_) {
	Block45Data* _data45_;
	_data45_ = (Block45Data*) _userdata_;
#line 459 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (g_atomic_int_dec_and_test (&_data45_->_ref_count_)) {
#line 2208 "gitg-dash-view.c"
		GitgDashView* self;
#line 459 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		self = _data45_->self;
#line 459 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_data45_->location);
#line 459 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (self);
#line 459 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_slice_free (Block45Data, _data45_);
#line 2218 "gitg-dash-view.c"
	}
}


static gboolean __lambda105_ (Block45Data* _data45_, GitgExtUserQuery* w, GtkResponseType r) {
	GitgDashView* self;
	gboolean result = FALSE;
	GtkResponseType _tmp0_ = 0;
	GError * _inner_error_ = NULL;
#line 480 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = _data45_->self;
#line 480 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_val_if_fail (w != NULL, FALSE);
#line 481 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = r;
#line 481 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_tmp0_ == GTK_RESPONSE_OK) {
#line 2236 "gitg-dash-view.c"
		GitgRepository* repo = NULL;
		GitgRepository* _tmp11_ = NULL;
		{
			GitgRepository* _tmp1_ = NULL;
			GFile* _tmp2_ = NULL;
			GitgRepository* _tmp3_ = NULL;
			GitgRepository* _tmp4_ = NULL;
#line 487 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp2_ = _data45_->location;
#line 487 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp3_ = gitg_repository_init_repository (_tmp2_, FALSE, &_inner_error_);
#line 487 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp1_ = _tmp3_;
#line 487 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2252 "gitg-dash-view.c"
				goto __catch74_g_error;
			}
#line 487 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp4_ = _tmp1_;
#line 487 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp1_ = NULL;
#line 487 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_g_object_unref0 (repo);
#line 487 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			repo = _tmp4_;
#line 485 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_g_object_unref0 (_tmp1_);
#line 2265 "gitg-dash-view.c"
		}
		goto __finally74;
		__catch74_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 485 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			err = _inner_error_;
#line 485 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_inner_error_ = NULL;
#line 491 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp5_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 491 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp6_ = _tmp5_;
#line 491 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp7_ = _tmp6_;
#line 491 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp8_ = _ ("Failed to create repository");
#line 491 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp9_ = err;
#line 491 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp10_ = _tmp9_->message;
#line 491 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			gitg_ext_application_show_infobar (_tmp7_, _tmp8_, _tmp10_, GTK_MESSAGE_ERROR);
#line 491 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_g_object_unref0 (_tmp7_);
#line 492 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			result = TRUE;
#line 492 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_g_error_free0 (err);
#line 492 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_g_object_unref0 (repo);
#line 492 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			return result;
#line 2305 "gitg-dash-view.c"
		}
		__finally74:
#line 485 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 485 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_g_object_unref0 (repo);
#line 485 "/home/nacho/checkout/gnome/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 485 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			g_clear_error (&_inner_error_);
#line 485 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			return FALSE;
#line 2318 "gitg-dash-view.c"
		}
#line 495 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp11_ = repo;
#line 495 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		gitg_dash_view_finish_add_repository (self, _tmp11_);
#line 481 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (repo);
#line 2326 "gitg-dash-view.c"
	}
#line 498 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	result = TRUE;
#line 498 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 2332 "gitg-dash-view.c"
}


static gboolean ___lambda105__gitg_ext_user_query_response (GitgExtUserQuery* _sender, GtkResponseType response_type, gpointer self) {
	gboolean result;
	result = __lambda105_ (self, _sender, response_type);
#line 480 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 2341 "gitg-dash-view.c"
}


static void gitg_dash_view_query_create_repository (GitgDashView* self, GFile* location) {
	Block45Data* _data45_;
	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 459 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (self != NULL);
#line 459 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (location != NULL);
#line 459 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data45_ = g_slice_new0 (Block45Data);
#line 459 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data45_->_ref_count_ = 1;
#line 459 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data45_->self = g_object_ref (self);
#line 459 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = location;
#line 459 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 459 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_data45_->location);
#line 459 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data45_->location = _tmp1_;
#line 461 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = gitg_ext_user_query_new ();
#line 461 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	q = _tmp2_;
#line 462 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = _data45_->location;
#line 462 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp4_ = gitg_utils_replace_home_dir_with_tilde (_tmp3_);
#line 462 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	name = _tmp4_;
#line 464 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp5_ = name;
#line 464 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp6_ = g_markup_escape_text (_tmp5_, (gssize) -1);
#line 464 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_free0 (name);
#line 464 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	name = _tmp6_;
#line 466 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp7_ = _ ("Create new repository");
#line 466 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_ext_user_query_set_title (q, _tmp7_);
#line 469 "/home/nacho/checkout/gnome/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 469 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp9_ = name;
#line 469 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp10_ = g_strdup_printf (_tmp8_, _tmp9_);
#line 469 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp11_ = _tmp10_;
#line 469 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_ext_user_query_set_message (q, _tmp11_);
#line 469 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_free0 (_tmp11_);
#line 470 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_ext_user_query_set_message_type (q, GTK_MESSAGE_QUESTION);
#line 471 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_ext_user_query_set_message_use_markup (q, TRUE);
#line 473 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp12_ = _ ("_Cancel");
#line 473 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp13_ = gitg_ext_user_query_response_new (_tmp12_, GTK_RESPONSE_CANCEL);
#line 473 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp14_ = _ ("Create repository");
#line 473 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp15_ = gitg_ext_user_query_response_new (_tmp14_, GTK_RESPONSE_OK);
#line 473 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp16_ = g_new0 (GitgExtUserQueryResponse*, 2 + 1);
#line 473 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp16_[0] = _tmp13_;
#line 473 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp16_[1] = _tmp15_;
#line 473 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp17_ = _tmp16_;
#line 473 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp17__length1 = 2;
#line 473 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_ext_user_query_set_responses (q, _tmp17_, 2);
#line 473 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp17_ = (_vala_array_free (_tmp17_, _tmp17__length1, (GDestroyNotify) g_object_unref), NULL);
#line 478 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_ext_user_query_set_default_response (q, GTK_RESPONSE_OK);
#line 480 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_signal_connect_data (q, "response", (GCallback) ___lambda105__gitg_ext_user_query_response, block45_data_ref (_data45_), (GClosureNotify) block45_data_unref, 0);
#line 501 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp18_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 501 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp19_ = _tmp18_;
#line 501 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp20_ = _tmp19_;
#line 501 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_ext_application_user_query (_tmp20_, q);
#line 501 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_tmp20_);
#line 459 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_free0 (name);
#line 459 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (q);
#line 459 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	block45_data_unref (_data45_);
#line 459 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data45_ = NULL;
#line 2471 "gitg-dash-view.c"
}


static gboolean gitg_dash_view_looks_like_git (GitgDashView* self, GFile* location) {
	gboolean result = FALSE;
	GFile* _tmp0_ = NULL;
	GFile* _tmp1_ = NULL;
	GFile* _tmp2_ = NULL;
	gboolean _tmp3_ = FALSE;
	gboolean _tmp4_ = FALSE;
	gboolean _tmp5_ = FALSE;
	gboolean _tmp6_ = FALSE;
	GFile* _tmp7_ = NULL;
	GFile* _tmp8_ = NULL;
	GFile* _tmp9_ = NULL;
	gboolean _tmp10_ = FALSE;
	gboolean _tmp11_ = FALSE;
#line 504 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 504 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_val_if_fail (location != NULL, FALSE);
#line 506 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = location;
#line 506 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = g_file_get_child (_tmp0_, ".git");
#line 506 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = _tmp1_;
#line 506 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = g_file_query_exists (_tmp2_, NULL);
#line 506 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp4_ = _tmp3_;
#line 506 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_tmp2_);
#line 506 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_tmp4_) {
#line 508 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		result = TRUE;
#line 508 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		return result;
#line 2511 "gitg-dash-view.c"
	}
#line 512 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp7_ = location;
#line 512 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp8_ = g_file_get_child (_tmp7_, "objects");
#line 512 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp9_ = _tmp8_;
#line 512 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp10_ = g_file_query_exists (_tmp9_, NULL);
#line 512 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp11_ = _tmp10_;
#line 512 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_tmp9_);
#line 512 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_tmp11_) {
#line 2527 "gitg-dash-view.c"
		GFile* _tmp12_ = NULL;
		GFile* _tmp13_ = NULL;
		GFile* _tmp14_ = NULL;
		gboolean _tmp15_ = FALSE;
#line 513 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp12_ = location;
#line 513 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp13_ = g_file_get_child (_tmp12_, "HEAD");
#line 513 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp14_ = _tmp13_;
#line 513 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp15_ = g_file_query_exists (_tmp14_, NULL);
#line 513 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp6_ = _tmp15_;
#line 513 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_tmp14_);
#line 2544 "gitg-dash-view.c"
	} else {
#line 512 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp6_ = FALSE;
#line 2548 "gitg-dash-view.c"
	}
#line 512 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_tmp6_) {
#line 2552 "gitg-dash-view.c"
		GFile* _tmp16_ = NULL;
		GFile* _tmp17_ = NULL;
		GFile* _tmp18_ = NULL;
		gboolean _tmp19_ = FALSE;
#line 514 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp16_ = location;
#line 514 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp17_ = g_file_get_child (_tmp16_, "refs");
#line 514 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp18_ = _tmp17_;
#line 514 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp19_ = g_file_query_exists (_tmp18_, NULL);
#line 514 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp5_ = _tmp19_;
#line 514 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_tmp18_);
#line 2569 "gitg-dash-view.c"
	} else {
#line 512 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp5_ = FALSE;
#line 2573 "gitg-dash-view.c"
	}
#line 512 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	result = _tmp5_;
#line 512 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 2579 "gitg-dash-view.c"
}


static void gitg_dash_view_file_exists_async_data_free (gpointer _data) {
	GitgDashViewFileExistsAsyncData* _data_;
	_data_ = _data;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_data_->file);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_data_->cancellable);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_data_->self);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_slice_free (GitgDashViewFileExistsAsyncData, _data_);
#line 2594 "gitg-dash-view.c"
}


static void gitg_dash_view_file_exists_async (GitgDashView* self, GFile* file, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgDashViewFileExistsAsyncData* _data_;
	GitgDashView* _tmp0_ = NULL;
	GFile* _tmp1_ = NULL;
	GFile* _tmp2_ = NULL;
	GCancellable* _tmp3_ = NULL;
	GCancellable* _tmp4_ = NULL;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_ = g_slice_new0 (GitgDashViewFileExistsAsyncData);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_dash_view_file_exists_async);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_dash_view_file_exists_async_data_free);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->self = _tmp0_;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = file;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_data_->file);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->file = _tmp2_;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = cancellable;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_data_->cancellable);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->cancellable = _tmp4_;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_file_exists_async_co (_data_);
#line 2633 "gitg-dash-view.c"
}


static gboolean gitg_dash_view_file_exists_finish (GitgDashView* self, GAsyncResult* _res_) {
	gboolean result;
	GitgDashViewFileExistsAsyncData* _data_;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	result = _data_->result;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 2646 "gitg-dash-view.c"
}


static void gitg_dash_view_file_exists_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgDashViewFileExistsAsyncData* _data_;
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_ = _user_data_;
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_source_object_ = source_object;
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_res_ = _res_;
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_file_exists_async_co (_data_);
#line 2660 "gitg-dash-view.c"
}


static gboolean gitg_dash_view_file_exists_async_co (GitgDashViewFileExistsAsyncData* _data_) {
#line 517 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	switch (_data_->_state_) {
#line 517 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case 0:
#line 2669 "gitg-dash-view.c"
		goto _state_0;
#line 517 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case 1:
#line 2673 "gitg-dash-view.c"
		goto _state_1;
		default:
#line 517 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_assert_not_reached ();
#line 2678 "gitg-dash-view.c"
	}
	_state_0:
	{
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp1_ = NULL;
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp1_ = _data_->file;
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp2_ = NULL;
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp2_ = _data_->cancellable;
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_state_ = 1;
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_file_query_info_async (_data_->_tmp1_, G_FILE_ATTRIBUTE_STANDARD_TYPE, G_FILE_QUERY_INFO_NONE, G_PRIORITY_DEFAULT, _data_->_tmp2_, gitg_dash_view_file_exists_async_ready, _data_);
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		return FALSE;
#line 2696 "gitg-dash-view.c"
		_state_1:
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp3_ = NULL;
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp3_ = g_file_query_info_finish (_data_->_tmp1_, _data_->_res_, &_data_->_inner_error_);
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp0_ = _data_->_tmp3_;
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 2706 "gitg-dash-view.c"
			goto __catch75_g_error;
		}
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp4_ = NULL;
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp4_ = _data_->_tmp0_;
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp0_ = NULL;
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp5_ = NULL;
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp5_ = _data_->_tmp4_;
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp6_ = FALSE;
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp6_ = _data_->_tmp5_ != NULL;
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_data_->_tmp5_);
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->result = _data_->_tmp6_;
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_data_->_tmp0_);
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		if (_data_->_state_ == 0) {
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2733 "gitg-dash-view.c"
		} else {
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 2737 "gitg-dash-view.c"
		}
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_object_unref (_data_->_async_result);
#line 521 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		return FALSE;
#line 2743 "gitg-dash-view.c"
	}
	goto __finally75;
	__catch75_g_error:
	{
#line 519 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_clear_error (&_data_->_inner_error_);
#line 519 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_inner_error_ = NULL;
#line 525 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->result = FALSE;
#line 525 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		if (_data_->_state_ == 0) {
#line 525 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2758 "gitg-dash-view.c"
		} else {
#line 525 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 2762 "gitg-dash-view.c"
		}
#line 525 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_object_unref (_data_->_async_result);
#line 525 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		return FALSE;
#line 2768 "gitg-dash-view.c"
	}
	__finally75:
#line 519 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 519 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_clear_error (&_data_->_inner_error_);
#line 519 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return FALSE;
#line 517 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_data_->_state_ == 0) {
#line 517 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2781 "gitg-dash-view.c"
	} else {
#line 517 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2785 "gitg-dash-view.c"
	}
#line 517 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_unref (_data_->_async_result);
#line 517 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return FALSE;
#line 2791 "gitg-dash-view.c"
}


static void gitg_dash_view_real_scan_visit_directory_data_free (gpointer _data) {
	GitgDashViewScanVisitDirectoryData* _data_;
	_data_ = _data;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_data_->file);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_data_->cancellable);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_data_->self);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_slice_free (GitgDashViewScanVisitDirectoryData, _data_);
#line 2806 "gitg-dash-view.c"
}


static void gitg_dash_view_real_scan_visit_directory (GitgRecursiveScanner* base, GFile* file, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgDashView * self;
	GitgDashViewScanVisitDirectoryData* _data_;
	GitgDashView* _tmp0_ = NULL;
	GFile* _tmp1_ = NULL;
	GFile* _tmp2_ = NULL;
	GCancellable* _tmp3_ = NULL;
	GCancellable* _tmp4_ = NULL;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_ = g_slice_new0 (GitgDashViewScanVisitDirectoryData);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_dash_view_real_scan_visit_directory);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_dash_view_real_scan_visit_directory_data_free);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->self = _tmp0_;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = file;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_data_->file);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->file = _tmp2_;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = cancellable;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_data_->cancellable);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->cancellable = _tmp4_;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_real_scan_visit_directory_co (_data_);
#line 2848 "gitg-dash-view.c"
}


static gboolean gitg_dash_view_real_scan_visit_directory_finish (GitgRecursiveScanner* base, GAsyncResult* _res_) {
	gboolean result;
	GitgDashViewScanVisitDirectoryData* _data_;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	result = _data_->result;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 2861 "gitg-dash-view.c"
}


static void gitg_dash_view_scan_visit_directory_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgDashViewScanVisitDirectoryData* _data_;
#line 537 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_ = _user_data_;
#line 537 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_source_object_ = source_object;
#line 537 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_res_ = _res_;
#line 537 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_real_scan_visit_directory_co (_data_);
#line 2875 "gitg-dash-view.c"
}


static gboolean gitg_dash_view_real_scan_visit_directory_co (GitgDashViewScanVisitDirectoryData* _data_) {
#line 529 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	switch (_data_->_state_) {
#line 529 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case 0:
#line 2884 "gitg-dash-view.c"
		goto _state_0;
#line 529 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case 1:
#line 2888 "gitg-dash-view.c"
		goto _state_1;
#line 529 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case 2:
#line 2892 "gitg-dash-view.c"
		goto _state_2;
#line 529 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case 3:
#line 2896 "gitg-dash-view.c"
		goto _state_3;
#line 529 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case 4:
#line 2900 "gitg-dash-view.c"
		goto _state_4;
		default:
#line 529 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_assert_not_reached ();
#line 2905 "gitg-dash-view.c"
	}
	_state_0:
#line 531 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp1_ = NULL;
#line 531 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp1_ = _data_->cancellable;
#line 531 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_data_->_tmp1_ != NULL) {
#line 531 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp2_ = NULL;
#line 531 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp2_ = _data_->cancellable;
#line 531 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp3_ = FALSE;
#line 531 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp3_ = g_cancellable_is_cancelled (_data_->_tmp2_);
#line 531 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp0_ = _data_->_tmp3_;
#line 2924 "gitg-dash-view.c"
	} else {
#line 531 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp0_ = FALSE;
#line 2928 "gitg-dash-view.c"
	}
#line 531 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_data_->_tmp0_) {
#line 533 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->result = FALSE;
#line 533 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		if (_data_->_state_ == 0) {
#line 533 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2938 "gitg-dash-view.c"
		} else {
#line 533 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 2942 "gitg-dash-view.c"
		}
#line 533 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_object_unref (_data_->_async_result);
#line 533 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		return FALSE;
#line 2948 "gitg-dash-view.c"
	}
#line 537 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp4_ = NULL;
#line 537 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp4_ = _data_->file;
#line 537 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp5_ = NULL;
#line 537 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp5_ = g_file_get_child (_data_->_tmp4_, ".git");
#line 537 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp6_ = NULL;
#line 537 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 537 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp7_ = NULL;
#line 537 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp7_ = _data_->cancellable;
#line 537 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_state_ = 1;
#line 537 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_file_exists_async (_data_->self, _data_->_tmp6_, _data_->_tmp7_, gitg_dash_view_scan_visit_directory_ready, _data_);
#line 537 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return FALSE;
#line 2972 "gitg-dash-view.c"
	_state_1:
#line 537 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp8_ = FALSE;
#line 537 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp8_ = gitg_dash_view_file_exists_finish (_data_->self, _data_->_res_);
#line 537 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp9_ = FALSE;
#line 537 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp9_ = _data_->_tmp8_;
#line 537 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_data_->_tmp6_);
#line 537 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_data_->_tmp9_) {
#line 539 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp10_ = NULL;
#line 539 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp10_ = _data_->file;
#line 539 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		gitg_dash_view_do_add_repository (_data_->self, _data_->_tmp10_, FALSE);
#line 540 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->result = FALSE;
#line 540 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		if (_data_->_state_ == 0) {
#line 540 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2998 "gitg-dash-view.c"
		} else {
#line 540 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 3002 "gitg-dash-view.c"
		}
#line 540 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_object_unref (_data_->_async_result);
#line 540 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		return FALSE;
#line 3008 "gitg-dash-view.c"
	}
#line 544 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp13_ = NULL;
#line 544 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp13_ = _data_->file;
#line 544 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp14_ = NULL;
#line 544 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp14_ = g_file_get_child (_data_->_tmp13_, "objects");
#line 544 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp15_ = NULL;
#line 544 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp15_ = _data_->_tmp14_;
#line 544 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp16_ = NULL;
#line 544 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp16_ = _data_->cancellable;
#line 544 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_state_ = 2;
#line 544 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_file_exists_async (_data_->self, _data_->_tmp15_, _data_->_tmp16_, gitg_dash_view_scan_visit_directory_ready, _data_);
#line 544 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return FALSE;
#line 3032 "gitg-dash-view.c"
	_state_2:
#line 544 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp17_ = FALSE;
#line 544 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp17_ = gitg_dash_view_file_exists_finish (_data_->self, _data_->_res_);
#line 544 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp18_ = FALSE;
#line 544 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp18_ = _data_->_tmp17_;
#line 544 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_data_->_tmp15_);
#line 544 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_data_->_tmp18_) {
#line 545 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp19_ = NULL;
#line 545 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp19_ = _data_->file;
#line 545 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp20_ = NULL;
#line 545 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp20_ = g_file_get_child (_data_->_tmp19_, "HEAD");
#line 545 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp21_ = NULL;
#line 545 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp21_ = _data_->_tmp20_;
#line 545 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp22_ = NULL;
#line 545 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp22_ = _data_->cancellable;
#line 545 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_state_ = 3;
#line 545 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		gitg_dash_view_file_exists_async (_data_->self, _data_->_tmp21_, _data_->_tmp22_, gitg_dash_view_scan_visit_directory_ready, _data_);
#line 545 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		return FALSE;
#line 3068 "gitg-dash-view.c"
		_state_3:
#line 545 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp23_ = FALSE;
#line 545 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp23_ = gitg_dash_view_file_exists_finish (_data_->self, _data_->_res_);
#line 545 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp12_ = _data_->_tmp23_;
#line 545 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_data_->_tmp21_);
#line 3078 "gitg-dash-view.c"
	} else {
#line 544 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp12_ = FALSE;
#line 3082 "gitg-dash-view.c"
	}
#line 544 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_data_->_tmp12_) {
#line 546 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp24_ = NULL;
#line 546 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp24_ = _data_->file;
#line 546 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp25_ = NULL;
#line 546 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp25_ = g_file_get_child (_data_->_tmp24_, "refs");
#line 546 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp26_ = NULL;
#line 546 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp26_ = _data_->_tmp25_;
#line 546 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp27_ = NULL;
#line 546 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp27_ = _data_->cancellable;
#line 546 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_state_ = 4;
#line 546 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		gitg_dash_view_file_exists_async (_data_->self, _data_->_tmp26_, _data_->_tmp27_, gitg_dash_view_scan_visit_directory_ready, _data_);
#line 546 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		return FALSE;
#line 3108 "gitg-dash-view.c"
		_state_4:
#line 546 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp28_ = FALSE;
#line 546 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp28_ = gitg_dash_view_file_exists_finish (_data_->self, _data_->_res_);
#line 546 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp11_ = _data_->_tmp28_;
#line 546 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_data_->_tmp26_);
#line 3118 "gitg-dash-view.c"
	} else {
#line 544 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp11_ = FALSE;
#line 3122 "gitg-dash-view.c"
	}
#line 544 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_data_->_tmp11_) {
#line 548 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp29_ = NULL;
#line 548 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->_tmp29_ = _data_->file;
#line 548 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		gitg_dash_view_do_add_repository (_data_->self, _data_->_tmp29_, FALSE);
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data_->result = FALSE;
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		if (_data_->_state_ == 0) {
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3138 "gitg-dash-view.c"
		} else {
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 3142 "gitg-dash-view.c"
		}
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_object_unref (_data_->_async_result);
#line 549 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		return FALSE;
#line 3148 "gitg-dash-view.c"
	}
#line 552 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp30_ = NULL;
#line 552 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp30_ = _data_->file;
#line 552 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp31_ = FALSE;
#line 552 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->_tmp31_ = gitg_recursive_scanner_scan_visit_directory_default ((GitgRecursiveScanner*) _data_->self, _data_->_tmp30_);
#line 552 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data_->result = _data_->_tmp31_;
#line 552 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_data_->_state_ == 0) {
#line 552 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3164 "gitg-dash-view.c"
	} else {
#line 552 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3168 "gitg-dash-view.c"
	}
#line 552 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_unref (_data_->_async_result);
#line 552 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return FALSE;
#line 529 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_data_->_state_ == 0) {
#line 529 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3178 "gitg-dash-view.c"
	} else {
#line 529 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3182 "gitg-dash-view.c"
	}
#line 529 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_unref (_data_->_async_result);
#line 529 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return FALSE;
#line 3188 "gitg-dash-view.c"
}


static Block46Data* block46_data_ref (Block46Data* _data46_) {
#line 555 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_atomic_int_inc (&_data46_->_ref_count_);
#line 555 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return _data46_;
#line 3197 "gitg-dash-view.c"
}


static void block46_data_unref (void * _userdata_) {
	Block46Data* _data46_;
	_data46_ = (Block46Data*) _userdata_;
#line 555 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (g_atomic_int_dec_and_test (&_data46_->_ref_count_)) {
#line 3206 "gitg-dash-view.c"
		GitgDashView* self;
#line 555 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		self = _data46_->self;
#line 555 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_data46_->cancellable);
#line 555 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_data46_->dlg);
#line 555 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (self);
#line 555 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_slice_free (Block46Data, _data46_);
#line 3218 "gitg-dash-view.c"
	}
}


static void __lambda95_ (Block46Data* _data46_) {
	GitgDashView* self;
#line 568 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = _data46_->self;
#line 569 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_cancellable_cancel (_data46_->cancellable);
#line 3229 "gitg-dash-view.c"
}


static void ___lambda95__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) {
#line 568 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	__lambda95_ (self);
#line 3236 "gitg-dash-view.c"
}


static gboolean __lambda96_ (Block46Data* _data46_) {
	GitgDashView* self;
	gboolean result = FALSE;
	guint _tmp0_ = 0U;
#line 574 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = _data46_->self;
#line 575 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = _data46_->timeout_id;
#line 575 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_tmp0_ == ((guint) 0)) {
#line 577 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		gtk_widget_destroy ((GtkWidget*) _data46_->dlg);
#line 3252 "gitg-dash-view.c"
	}
#line 580 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data46_->timeout_id = (guint) 0;
#line 581 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	result = FALSE;
#line 581 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 3260 "gitg-dash-view.c"
}


static gboolean ___lambda96__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda96_ (self);
#line 574 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 3269 "gitg-dash-view.c"
}


static void __lambda97_ (Block46Data* _data46_) {
	GitgDashView* self;
	guint _tmp0_ = 0U;
#line 584 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = _data46_->self;
#line 585 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = _data46_->timeout_id;
#line 585 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_tmp0_ != ((guint) 0)) {
#line 587 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_data46_->timeout_id = (guint) 0;
#line 3284 "gitg-dash-view.c"
	} else {
#line 591 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		gtk_widget_destroy ((GtkWidget*) _data46_->dlg);
#line 3288 "gitg-dash-view.c"
	}
}


static void ___lambda97__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 584 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	__lambda97_ (self);
#line 584 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	block46_data_unref (self);
#line 3298 "gitg-dash-view.c"
}


static void gitg_dash_view_add_repositories_scan (GitgDashView* self, GFile* location) {
	Block46Data* _data46_;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
	GtkWindow* _tmp2_ = NULL;
	GtkWindow* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	GFile* _tmp5_ = NULL;
	gchar* _tmp6_ = NULL;
	gchar* _tmp7_ = NULL;
	GtkMessageDialog* _tmp8_ = NULL;
	GtkMessageDialog* _tmp9_ = NULL;
	GCancellable* _tmp10_ = NULL;
	guint _tmp11_ = 0U;
	GFile* _tmp12_ = NULL;
	GdkWindow* _tmp13_ = NULL;
	GdkDisplay* _tmp14_ = NULL;
	GdkCursor* _tmp15_ = NULL;
	GdkCursor* _tmp16_ = NULL;
#line 555 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (self != NULL);
#line 555 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (location != NULL);
#line 555 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data46_ = g_slice_new0 (Block46Data);
#line 555 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data46_->_ref_count_ = 1;
#line 555 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data46_->self = g_object_ref (self);
#line 557 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 557 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _tmp0_;
#line 557 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_window_get_type ()) ? ((GtkWindow*) _tmp1_) : NULL;
#line 557 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_tmp2_ == NULL) {
#line 557 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_tmp1_);
#line 3341 "gitg-dash-view.c"
	}
#line 557 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = _tmp2_;
#line 557 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp4_ = _ ("Scanning for repositories in %s");
#line 557 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp5_ = location;
#line 557 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp6_ = gitg_utils_replace_home_dir_with_tilde (_tmp5_);
#line 557 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp7_ = _tmp6_;
#line 557 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp8_ = (GtkMessageDialog*) gtk_message_dialog_new (_tmp3_, GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_CANCEL, _tmp4_, _tmp7_);
#line 557 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_ref_sink (_tmp8_);
#line 557 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp9_ = _tmp8_;
#line 557 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_free0 (_tmp7_);
#line 557 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_tmp3_);
#line 557 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data46_->dlg = _tmp9_;
#line 564 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gtk_dialog_set_default_response ((GtkDialog*) _data46_->dlg, (gint) GTK_RESPONSE_CANCEL);
#line 566 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp10_ = g_cancellable_new ();
#line 566 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data46_->cancellable = _tmp10_;
#line 568 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_signal_connect_data ((GtkDialog*) _data46_->dlg, "response", (GCallback) ___lambda95__gtk_dialog_response, block46_data_ref (_data46_), (GClosureNotify) block46_data_unref, 0);
#line 572 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data46_->timeout_id = (guint) 0;
#line 574 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp11_ = g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) 1, ___lambda96__gsource_func, block46_data_ref (_data46_), block46_data_unref);
#line 574 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data46_->timeout_id = _tmp11_;
#line 584 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp12_ = location;
#line 584 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_recursive_scanner_scan ((GitgRecursiveScanner*) self, _tmp12_, _data46_->cancellable, ___lambda97__gasync_ready_callback, block46_data_ref (_data46_));
#line 595 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_show ((GtkWidget*) _data46_->dlg);
#line 596 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp13_ = gtk_widget_get_window ((GtkWidget*) _data46_->dlg);
#line 596 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp14_ = gtk_widget_get_display ((GtkWidget*) self);
#line 596 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp15_ = gdk_cursor_new_for_display (_tmp14_, GDK_WATCH);
#line 596 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp16_ = _tmp15_;
#line 596 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gdk_window_set_cursor (_tmp13_, _tmp16_);
#line 596 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_tmp16_);
#line 555 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	block46_data_unref (_data46_);
#line 555 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data46_ = NULL;
#line 3401 "gitg-dash-view.c"
}


static Block47Data* block47_data_ref (Block47Data* _data47_) {
#line 600 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_atomic_int_inc (&_data47_->_ref_count_);
#line 600 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return _data47_;
#line 3410 "gitg-dash-view.c"
}


static void block47_data_unref (void * _userdata_) {
	Block47Data* _data47_;
	_data47_ = (Block47Data*) _userdata_;
#line 600 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (g_atomic_int_dec_and_test (&_data47_->_ref_count_)) {
#line 3419 "gitg-dash-view.c"
		GitgDashView* self;
#line 600 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		self = _data47_->self;
#line 600 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_data47_->scan_all);
#line 600 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_data47_->chooser);
#line 600 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (self);
#line 600 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_slice_free (Block47Data, _data47_);
#line 3431 "gitg-dash-view.c"
	}
}


static void __lambda106_ (Block47Data* _data47_, GtkDialog* c, gint id) {
	GitgDashView* self;
	gint _tmp0_ = 0;
	GtkDialog* _tmp11_ = NULL;
#line 619 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = _data47_->self;
#line 619 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (c != NULL);
#line 620 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = id;
#line 620 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_tmp0_ == ((gint) GTK_RESPONSE_OK)) {
#line 3448 "gitg-dash-view.c"
		GFile* file = NULL;
		GFile* _tmp1_ = NULL;
		GFile* _tmp2_ = NULL;
		gboolean _tmp4_ = FALSE;
		gboolean _tmp5_ = FALSE;
#line 622 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp1_ = gtk_file_chooser_get_file ((GtkFileChooser*) _data47_->chooser);
#line 622 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		file = _tmp1_;
#line 624 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp2_ = file;
#line 624 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		if (_tmp2_ == NULL) {
#line 3462 "gitg-dash-view.c"
			GFile* _tmp3_ = NULL;
#line 626 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp3_ = gtk_file_chooser_get_current_folder_file ((GtkFileChooser*) _data47_->chooser);
#line 626 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_g_object_unref0 (file);
#line 626 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			file = _tmp3_;
#line 3470 "gitg-dash-view.c"
		}
#line 629 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp4_ = gtk_toggle_button_get_active ((GtkToggleButton*) _data47_->scan_all);
#line 629 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp5_ = _tmp4_;
#line 629 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		if (_tmp5_) {
#line 3478 "gitg-dash-view.c"
			GFile* _tmp6_ = NULL;
#line 631 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp6_ = file;
#line 631 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			gitg_dash_view_add_repositories_scan (self, _tmp6_);
#line 3484 "gitg-dash-view.c"
		} else {
			GFile* _tmp7_ = NULL;
			gboolean _tmp8_ = FALSE;
#line 633 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp7_ = file;
#line 633 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp8_ = gitg_dash_view_looks_like_git (self, _tmp7_);
#line 633 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			if (!_tmp8_) {
#line 3494 "gitg-dash-view.c"
				GFile* _tmp9_ = NULL;
#line 635 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
				_tmp9_ = file;
#line 635 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
				gitg_dash_view_query_create_repository (self, _tmp9_);
#line 3500 "gitg-dash-view.c"
			} else {
				GFile* _tmp10_ = NULL;
#line 639 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
				_tmp10_ = file;
#line 639 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
				gitg_dash_view_do_add_repository (self, _tmp10_, TRUE);
#line 3507 "gitg-dash-view.c"
			}
		}
#line 620 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (file);
#line 3512 "gitg-dash-view.c"
	}
#line 643 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp11_ = c;
#line 643 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_destroy ((GtkWidget*) _tmp11_);
#line 3518 "gitg-dash-view.c"
}


static void ___lambda106__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) {
#line 619 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	__lambda106_ (self, _sender, response_id);
#line 3525 "gitg-dash-view.c"
}


static void gitg_dash_view_add_repository_clicked (GitgDashView* self) {
	Block47Data* _data47_;
	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;
	const gchar* _tmp9_ = NULL;
	GtkCheckButton* _tmp10_ = NULL;
#line 600 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (self != NULL);
#line 600 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data47_ = g_slice_new0 (Block47Data);
#line 600 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data47_->_ref_count_ = 1;
#line 600 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data47_->self = g_object_ref (self);
#line 602 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = _ ("Add Repository");
#line 602 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 602 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = _tmp1_;
#line 602 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, gtk_window_get_type ()) ? ((GtkWindow*) _tmp2_) : NULL;
#line 602 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_tmp3_ == NULL) {
#line 602 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (_tmp2_);
#line 3562 "gitg-dash-view.c"
	}
#line 602 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp4_ = _tmp3_;
#line 602 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp5_ = _ ("_Cancel");
#line 602 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp6_ = _ ("_Add");
#line 602 "/home/nacho/checkout/gnome/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 602 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_ref_sink (_tmp7_);
#line 602 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp8_ = _tmp7_;
#line 602 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_tmp4_);
#line 602 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data47_->chooser = _tmp8_;
#line 608 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp9_ = _ ("_Scan for all git repositories from this directory");
#line 608 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp10_ = (GtkCheckButton*) gtk_check_button_new_with_mnemonic (_tmp9_);
#line 608 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_ref_sink (_tmp10_);
#line 608 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data47_->scan_all = _tmp10_;
#line 610 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_set_halign ((GtkWidget*) _data47_->scan_all, GTK_ALIGN_END);
#line 611 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_set_hexpand ((GtkWidget*) _data47_->scan_all, TRUE);
#line 612 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_show ((GtkWidget*) _data47_->scan_all);
#line 614 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gtk_file_chooser_set_extra_widget ((GtkFileChooser*) _data47_->chooser, (GtkWidget*) _data47_->scan_all);
#line 616 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gtk_window_set_modal ((GtkWindow*) _data47_->chooser, TRUE);
#line 617 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gtk_dialog_set_default_response ((GtkDialog*) _data47_->chooser, (gint) GTK_RESPONSE_OK);
#line 619 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_signal_connect_data ((GtkDialog*) _data47_->chooser, "response", (GCallback) ___lambda106__gtk_dialog_response, block47_data_ref (_data47_), (GClosureNotify) block47_data_unref, 0);
#line 646 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_show ((GtkWidget*) _data47_->chooser);
#line 600 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	block47_data_unref (_data47_);
#line 600 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data47_ = NULL;
#line 3608 "gitg-dash-view.c"
}


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


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


GitgDashView* gitg_dash_view_new (void) {
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return gitg_dash_view_construct (GITG_TYPE_DASH_VIEW);
#line 3632 "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/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 28 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->_application;
#line 28 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 28 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	result = _tmp1_;
#line 28 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 3651 "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/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 28 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = value;
#line 28 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 28 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (self->priv->_application);
#line 28 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self->priv->_application = _tmp1_;
#line 28 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_notify ((GObject *) self, "application");
#line 3671 "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 53 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 55 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->d_repository_list_box;
#line 55 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = gitg_repository_list_box_get_mode (_tmp0_);
#line 55 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = _tmp1_;
#line 55 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	switch (_tmp2_) {
#line 55 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_SELECTION_MODE_NORMAL:
#line 3693 "gitg-dash-view.c"
		{
#line 58 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			result = GITG_EXT_SELECTION_MODE_NORMAL;
#line 58 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			return result;
#line 3699 "gitg-dash-view.c"
		}
#line 55 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_SELECTION_MODE_SELECTION:
#line 3703 "gitg-dash-view.c"
		{
#line 60 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			result = GITG_EXT_SELECTION_MODE_SELECTION;
#line 60 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			return result;
#line 3709 "gitg-dash-view.c"
		}
		default:
#line 55 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 3714 "gitg-dash-view.c"
	}
#line 63 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	result = GITG_EXT_SELECTION_MODE_NORMAL;
#line 63 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 3720 "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 66 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 68 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = gitg_ext_selectable_get_selectable_mode ((GitgExtSelectable*) self);
#line 68 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _tmp0_;
#line 68 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = value;
#line 68 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_tmp1_ == _tmp2_) {
#line 70 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		return;
#line 3742 "gitg-dash-view.c"
	}
#line 73 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self->priv->d_setting_mode = TRUE;
#line 75 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = value;
#line 75 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	switch (_tmp3_) {
#line 75 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_EXT_SELECTION_MODE_NORMAL:
#line 3752 "gitg-dash-view.c"
		{
			GitgRepositoryListBox* _tmp4_ = NULL;
			GtkActionBar* _tmp5_ = NULL;
#line 78 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp4_ = self->priv->d_repository_list_box;
#line 78 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			gitg_repository_list_box_set_mode (_tmp4_, GITG_SELECTION_MODE_NORMAL);
#line 79 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp5_ = self->priv->d_action_bar;
#line 79 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			gtk_widget_set_visible ((GtkWidget*) _tmp5_, TRUE);
#line 80 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			break;
#line 3766 "gitg-dash-view.c"
		}
#line 75 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_EXT_SELECTION_MODE_SELECTION:
#line 3770 "gitg-dash-view.c"
		{
			GitgRepositoryListBox* _tmp6_ = NULL;
			GtkActionBar* _tmp7_ = NULL;
#line 82 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp6_ = self->priv->d_repository_list_box;
#line 82 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			gitg_repository_list_box_set_mode (_tmp6_, GITG_SELECTION_MODE_SELECTION);
#line 83 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp7_ = self->priv->d_action_bar;
#line 83 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			gtk_widget_set_visible ((GtkWidget*) _tmp7_, FALSE);
#line 84 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			break;
#line 3784 "gitg-dash-view.c"
		}
		default:
#line 75 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 3789 "gitg-dash-view.c"
	}
#line 87 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self->priv->d_setting_mode = FALSE;
#line 66 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_notify ((GObject *) self, "selectable-mode");
#line 3795 "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 93 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 93 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->d_repository_list_box;
#line 93 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = gtk_container_get_children ((GtkContainer*) _tmp0_);
#line 93 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = _tmp1_;
#line 93 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = g_list_length (_tmp2_);
#line 93 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp4_ = _tmp3_ != ((guint) 0);
#line 93 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_list_free0 (_tmp2_);
#line 93 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	result = _tmp4_;
#line 93 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 3824 "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 98 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 98 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = gitg_dash_view_get_has_repositories (self);
#line 98 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _tmp0_;
#line 98 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	result = _tmp1_;
#line 98 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 3843 "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 103 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 103 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = gitg_dash_view_get_has_repositories (self);
#line 103 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _tmp0_;
#line 103 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	result = _tmp1_;
#line 103 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 3862 "gitg-dash-view.c"
}


static gchar* gitg_dash_view_real_get_display_name (GitgExtUIElement* base) {
	gchar* result;
	GitgDashView* self;
	gchar* _tmp0_ = NULL;
#line 108 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 108 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = g_strdup ("Dash");
#line 108 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	result = _tmp0_;
#line 108 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 3878 "gitg-dash-view.c"
}


static gchar* gitg_dash_view_real_get_description (GitgExtUIElement* base) {
	gchar* result;
	GitgDashView* self;
	gchar* _tmp0_ = NULL;
#line 113 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 113 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = g_strdup ("Dash view");
#line 113 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	result = _tmp0_;
#line 113 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 3894 "gitg-dash-view.c"
}


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


static GtkWidget* gitg_dash_view_real_get_widget (GitgExtUIElement* base) {
	GtkWidget* result;
	GitgDashView* self;
	GtkWidget* _tmp0_ = NULL;
#line 123 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 123 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = _g_object_ref0 ((GtkWidget*) self);
#line 123 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	result = _tmp0_;
#line 123 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 3926 "gitg-dash-view.c"
}


static gchar* gitg_dash_view_real_get_icon (GitgExtUIElement* base) {
	gchar* result;
	GitgDashView* self;
#line 128 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 128 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	result = NULL;
#line 128 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 3939 "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 135 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 135 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->d_search_text;
#line 135 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 135 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	result = _tmp1_;
#line 135 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 3958 "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 137 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 139 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->d_search_text;
#line 139 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = value;
#line 139 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (g_strcmp0 (_tmp0_, _tmp1_) != 0) {
#line 3974 "gitg-dash-view.c"
		const gchar* _tmp2_ = NULL;
		gchar* _tmp3_ = NULL;
#line 141 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp2_ = value;
#line 141 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp3_ = g_strdup (_tmp2_);
#line 141 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_free0 (self->priv->d_search_text);
#line 141 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		self->priv->d_search_text = _tmp3_;
#line 142 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		gitg_dash_view_update_search_text (self);
#line 3987 "gitg-dash-view.c"
	}
#line 137 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_notify ((GObject *) self, "search-text");
#line 3991 "gitg-dash-view.c"
}


static void gitg_dash_view_real_set_search_entry (GitgExtSearchable* base, GtkEntry* value) {
	GitgDashView* self;
#line 151 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 151 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_notify ((GObject *) self, "search-entry");
#line 4001 "gitg-dash-view.c"
}


static gboolean gitg_dash_view_real_get_search_visible (GitgExtSearchable* base) {
	gboolean result;
	GitgDashView* self;
	gboolean _tmp0_ = FALSE;
#line 154 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 154 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->_search_visible;
#line 154 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	result = _tmp0_;
#line 154 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 4017 "gitg-dash-view.c"
}


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


static gboolean gitg_dash_view_real_get_search_enabled (GitgExtSearchable* base) {
	gboolean result;
	GitgDashView* self;
	gboolean _tmp0_ = FALSE;
#line 158 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 158 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->d_search_enabled;
#line 158 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	result = _tmp0_;
#line 158 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 4048 "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 159 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 161 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->d_search_enabled;
#line 161 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = value;
#line 161 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_tmp0_ != _tmp1_) {
#line 4064 "gitg-dash-view.c"
		gboolean _tmp2_ = FALSE;
#line 163 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp2_ = value;
#line 163 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		self->priv->d_search_enabled = _tmp2_;
#line 164 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		gitg_dash_view_update_search_text (self);
#line 4072 "gitg-dash-view.c"
	}
#line 159 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_notify ((GObject *) self, "search-enabled");
#line 4076 "gitg-dash-view.c"
}


static void _gitg_dash_view_action_widget___lambda107_ (GitgDashView* self) {
	GitgRepositoryListBox* _tmp0_ = NULL;
	GitgRepositoryListBoxRow** _tmp1_ = NULL;
	gint _tmp1__length1 = 0;
	GitgRepositoryListBoxRow** _tmp2_ = NULL;
	gint _tmp2__length1 = 0;
#line 197 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->d_repository_list_box;
#line 197 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = gitg_repository_list_box_get_selection (_tmp0_, &_tmp1__length1);
#line 197 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = _tmp1_;
#line 197 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp2__length1 = _tmp1__length1;
#line 4094 "gitg-dash-view.c"
	{
		GitgRepositoryListBoxRow** sel_collection = NULL;
		gint sel_collection_length1 = 0;
		gint _sel_collection_size_ = 0;
		gint sel_it = 0;
#line 197 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		sel_collection = _tmp2_;
#line 197 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		sel_collection_length1 = _tmp2__length1;
#line 197 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		for (sel_it = 0; sel_it < _tmp2__length1; sel_it = sel_it + 1) {
#line 4106 "gitg-dash-view.c"
			GitgRepositoryListBoxRow* _tmp3_ = NULL;
			GitgRepositoryListBoxRow* sel = NULL;
#line 197 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp3_ = _g_object_ref0 (sel_collection[sel_it]);
#line 197 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
			sel = _tmp3_;
#line 4113 "gitg-dash-view.c"
			{
				GitgRepositoryListBoxRow* _tmp4_ = NULL;
#line 199 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
				_tmp4_ = sel;
#line 199 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
				g_signal_emit_by_name (_tmp4_, "request-remove");
#line 197 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
				_g_object_unref0 (sel);
#line 4122 "gitg-dash-view.c"
			}
		}
#line 197 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		sel_collection = (_vala_array_free (sel_collection, sel_collection_length1, (GDestroyNotify) g_object_unref), NULL);
#line 4127 "gitg-dash-view.c"
	}
#line 202 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_ext_selectable_set_selectable_mode ((GitgExtSelectable*) self, GITG_EXT_SELECTION_MODE_NORMAL);
#line 4131 "gitg-dash-view.c"
}


static void __gitg_dash_view_action_widget___lambda107__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 196 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_gitg_dash_view_action_widget___lambda107_ ((GitgDashView*) self);
#line 4138 "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 186 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 188 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = (GtkActionBar*) gtk_action_bar_new ();
#line 188 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_ref_sink (_tmp0_);
#line 188 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	ab = _tmp0_;
#line 190 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _ ("_Delete");
#line 190 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = (GtkButton*) gtk_button_new_with_mnemonic (_tmp1_);
#line 190 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_ref_sink (_tmp2_);
#line 190 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	del = _tmp2_;
#line 191 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = gtk_widget_get_style_context ((GtkWidget*) del);
#line 191 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gtk_style_context_add_class (_tmp3_, GTK_STYLE_CLASS_DESTRUCTIVE_ACTION);
#line 193 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_set_sensitive ((GtkWidget*) del, FALSE);
#line 194 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_show ((GtkWidget*) del);
#line 196 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_signal_connect_object (del, "clicked", (GCallback) __gitg_dash_view_action_widget___lambda107__gtk_button_clicked, self, 0);
#line 205 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp4_ = self->priv->d_repository_list_box;
#line 205 "/home/nacho/checkout/gnome/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 207 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gtk_action_bar_pack_end (ab, (GtkWidget*) del);
#line 209 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	result = (GtkWidget*) ab;
#line 209 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (del);
#line 209 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 4190 "gitg-dash-view.c"
}


static Block48Data* block48_data_ref (Block48Data* _data48_) {
#line 214 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_atomic_int_inc (&_data48_->_ref_count_);
#line 214 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return _data48_;
#line 4199 "gitg-dash-view.c"
}


static void block48_data_unref (void * _userdata_) {
	Block48Data* _data48_;
	_data48_ = (Block48Data*) _userdata_;
#line 214 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (g_atomic_int_dec_and_test (&_data48_->_ref_count_)) {
#line 4208 "gitg-dash-view.c"
		GitgDashView* self;
#line 214 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		self = _data48_->self;
#line 214 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_gitg_when_mapped_unref0 (_data48_->whenMapped);
#line 214 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (self);
#line 214 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_slice_free (Block48Data, _data48_);
#line 4218 "gitg-dash-view.c"
	}
}


static void _gitg_dash_view___lambda108_ (GitgDashView* self) {
	gboolean _tmp0_ = FALSE;
#line 217 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->d_setting_mode;
#line 217 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (!_tmp0_) {
#line 4229 "gitg-dash-view.c"
		GtkActionBar* _tmp1_ = NULL;
		GitgExtSelectionMode _tmp2_ = 0;
		GitgExtSelectionMode _tmp3_ = 0;
#line 219 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp1_ = self->priv->d_action_bar;
#line 219 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp2_ = gitg_ext_selectable_get_selectable_mode ((GitgExtSelectable*) self);
#line 219 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp3_ = _tmp2_;
#line 219 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp1_, _tmp3_ == GITG_EXT_SELECTION_MODE_NORMAL);
#line 220 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_object_notify ((GObject*) self, "selectable-mode");
#line 4243 "gitg-dash-view.c"
	}
}


static void __gitg_dash_view___lambda108__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 216 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_gitg_dash_view___lambda108_ ((GitgDashView*) self);
#line 4251 "gitg-dash-view.c"
}


static void _gitg_dash_view___lambda109_ (GitgDashView* self, GitgRepository* repository) {
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
	GitgExtApplication* _tmp2_ = NULL;
	GitgRepository* _tmp3_ = NULL;
#line 224 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (repository != NULL);
#line 225 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 225 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _tmp0_;
#line 225 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = _tmp1_;
#line 225 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = repository;
#line 225 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_ext_application_set_repository (_tmp2_, _tmp3_);
#line 225 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_tmp2_);
#line 4274 "gitg-dash-view.c"
}


static void __gitg_dash_view___lambda109__gitg_repository_list_box_repository_activated (GitgRepositoryListBox* _sender, GitgRepository* repository, gpointer self) {
#line 224 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_gitg_dash_view___lambda109_ ((GitgDashView*) self, repository);
#line 4281 "gitg-dash-view.c"
}


static void _gitg_dash_view___lambda110_ (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 228 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (primary_message != NULL);
#line 228 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (secondary_message != NULL);
#line 229 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = gitg_ext_ui_element_get_application ((GitgExtUIElement*) self);
#line 229 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _tmp0_;
#line 229 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = _tmp1_;
#line 229 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = primary_message;
#line 229 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp4_ = secondary_message;
#line 229 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_ext_application_show_infobar (_tmp2_, _tmp3_, _tmp4_, GTK_MESSAGE_ERROR);
#line 229 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_tmp2_);
#line 4309 "gitg-dash-view.c"
}


static void __gitg_dash_view___lambda110__gitg_repository_list_box_show_error (GitgRepositoryListBox* _sender, const gchar* primary_message, const gchar* secondary_message, gpointer self) {
#line 228 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_gitg_dash_view___lambda110_ ((GitgDashView*) self, primary_message, secondary_message);
#line 4316 "gitg-dash-view.c"
}


static void _gitg_dash_view_update_availability_gtk_container_add (GtkContainer* _sender, GtkWidget* widget, gpointer self) {
#line 243 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_update_availability ((GitgDashView*) self);
#line 4323 "gitg-dash-view.c"
}


static void _gitg_dash_view_update_availability_gtk_container_remove (GtkContainer* _sender, GtkWidget* widget, gpointer self) {
#line 244 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_update_availability ((GitgDashView*) self);
#line 4330 "gitg-dash-view.c"
}


static void _gitg_dash_view___lambda111_ (Block48Data* _data48_) {
	GitgDashView* self;
	GitgRepositoryListBox* _tmp0_ = NULL;
#line 255 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = _data48_->self;
#line 256 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->d_repository_list_box;
#line 256 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_repository_list_box_populate_recent (_tmp0_);
#line 257 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_gitg_when_mapped_unref0 (_data48_->whenMapped);
#line 257 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data48_->whenMapped = NULL;
#line 4347 "gitg-dash-view.c"
}


static void __gitg_dash_view___lambda111__gitg_when_mapped_on_mapped (gpointer self) {
#line 255 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_gitg_dash_view___lambda111_ (self);
#line 4354 "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;
	Block48Data* _data48_;
	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;
	GtkLabel* _tmp11_ = NULL;
	const gchar* _tmp12_ = NULL;
	gchar* _tmp13_ = NULL;
	gchar* _tmp14_ = NULL;
	GitgWhenMapped* _tmp15_ = NULL;
	GitgWhenMapped* _tmp16_ = NULL;
#line 214 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	parent_class = G_OBJECT_CLASS (gitg_dash_view_parent_class);
#line 214 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 214 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_DASH_VIEW, GitgDashView);
#line 214 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data48_ = g_slice_new0 (Block48Data);
#line 214 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data48_->_ref_count_ = 1;
#line 214 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data48_->self = g_object_ref (self);
#line 216 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->d_repository_list_box;
#line 216 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_signal_connect_object ((GObject*) _tmp0_, "notify::mode", (GCallback) __gitg_dash_view___lambda108__g_object_notify, self, 0);
#line 224 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = self->priv->d_repository_list_box;
#line 224 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_signal_connect_object (_tmp1_, "repository-activated", (GCallback) __gitg_dash_view___lambda109__gitg_repository_list_box_repository_activated, self, 0);
#line 228 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = self->priv->d_repository_list_box;
#line 228 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_signal_connect_object (_tmp2_, "show-error", (GCallback) __gitg_dash_view___lambda110__gitg_repository_list_box_show_error, self, 0);
#line 232 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = self->priv->d_scrolled_window;
#line 232 "/home/nacho/checkout/gnome/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 237 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp4_ = self->priv->d_introduction;
#line 237 "/home/nacho/checkout/gnome/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 243 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp5_ = self->priv->d_repository_list_box;
#line 243 "/home/nacho/checkout/gnome/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 244 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp6_ = self->priv->d_repository_list_box;
#line 244 "/home/nacho/checkout/gnome/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 247 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp7_ = self->priv->d_label_scan;
#line 247 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp8_ = _ ("We can also %sscan your home directory%s for git repositories.");
#line 247 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp9_ = g_strdup_printf (_tmp8_, "<a href=\"scan-home\">", "</a>");
#line 247 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp10_ = _tmp9_;
#line 247 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gtk_label_set_label (_tmp7_, _tmp10_);
#line 247 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_free0 (_tmp10_);
#line 250 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp11_ = self->priv->d_label_profile;
#line 250 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp12_ = _ ("In the mean time, you may want to %sset up your git profile%s.");
#line 250 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp13_ = g_strdup_printf (_tmp12_, "<a href=\"setup-profile\">", "</a>");
#line 250 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp14_ = _tmp13_;
#line 250 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gtk_label_set_label (_tmp11_, _tmp14_);
#line 250 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_free0 (_tmp14_);
#line 251 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_update_setup_profile_visibility (self);
#line 253 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp15_ = gitg_when_mapped_new ((GtkWidget*) self);
#line 253 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data48_->whenMapped = _tmp15_;
#line 255 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp16_ = _data48_->whenMapped;
#line 255 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_when_mapped_update (_tmp16_, __gitg_dash_view___lambda111__gitg_when_mapped_on_mapped, block48_data_ref (_data48_), block48_data_unref, NULL);
#line 214 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	block48_data_unref (_data48_);
#line 214 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data48_ = NULL;
#line 214 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return obj;
#line 4460 "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 316 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_val_if_fail (application != NULL, NULL);
#line 316 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_val_if_fail (row != NULL, NULL);
#line 316 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashViewCloneCallbacks*) g_object_new (object_type, NULL);
#line 318 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = row;
#line 318 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 318 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (self->priv->d_row);
#line 318 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self->priv->d_row = _tmp1_;
#line 319 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = config;
#line 319 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = application;
#line 319 "/home/nacho/checkout/gnome/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 319 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_gitg_credentials_manager_unref0 (self->priv->d_credentials);
#line 319 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self->priv->d_credentials = _tmp4_;
#line 316 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return self;
#line 4497 "gitg-dash-view.c"
}


static GitgDashViewCloneCallbacks* gitg_dash_view_clone_callbacks_new (GitgExtApplication* application, GgitConfig* config, GitgRepositoryListBoxRow* row) {
#line 316 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return gitg_dash_view_clone_callbacks_construct (GITG_DASH_VIEW_TYPE_CLONE_CALLBACKS, application, config, row);
#line 4504 "gitg-dash-view.c"
}


static Block49Data* block49_data_ref (Block49Data* _data49_) {
#line 322 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_atomic_int_inc (&_data49_->_ref_count_);
#line 322 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return _data49_;
#line 4513 "gitg-dash-view.c"
}


static void block49_data_unref (void * _userdata_) {
	Block49Data* _data49_;
	_data49_ = (Block49Data*) _userdata_;
#line 322 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (g_atomic_int_dec_and_test (&_data49_->_ref_count_)) {
#line 4522 "gitg-dash-view.c"
		GitgDashViewCloneCallbacks* self;
#line 322 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		self = _data49_->self;
#line 322 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_object_unref0 (self);
#line 322 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_slice_free (Block49Data, _data49_);
#line 4530 "gitg-dash-view.c"
	}
}


static gboolean __lambda100_ (Block49Data* _data49_) {
	GitgDashViewCloneCallbacks* self;
	gboolean result = FALSE;
	GitgRepositoryListBoxRow* _tmp0_ = NULL;
#line 328 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = _data49_->self;
#line 329 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->d_row;
#line 329 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_repository_list_box_row_set_fraction (_tmp0_, (_data49_->recvobj + _data49_->indxobj) / ((gdouble) (2 * _data49_->totaobj)));
#line 330 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	result = FALSE;
#line 330 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 4549 "gitg-dash-view.c"
}


static gboolean ___lambda100__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda100_ (self);
#line 328 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 4558 "gitg-dash-view.c"
}


static void gitg_dash_view_clone_callbacks_real_transfer_progress (GgitRemoteCallbacks* base, GgitTransferProgress* stats) {
	GitgDashViewCloneCallbacks * self;
	Block49Data* _data49_;
	GgitTransferProgress* _tmp0_ = NULL;
	guint _tmp1_ = 0U;
	GgitTransferProgress* _tmp2_ = NULL;
	guint _tmp3_ = 0U;
	GgitTransferProgress* _tmp4_ = NULL;
	guint _tmp5_ = 0U;
#line 322 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashViewCloneCallbacks*) base;
#line 322 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_if_fail (stats != NULL);
#line 322 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data49_ = g_slice_new0 (Block49Data);
#line 322 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data49_->_ref_count_ = 1;
#line 322 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data49_->self = g_object_ref (self);
#line 324 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = stats;
#line 324 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = ggit_transfer_progress_get_received_objects (_tmp0_);
#line 324 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data49_->recvobj = _tmp1_;
#line 325 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = stats;
#line 325 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = ggit_transfer_progress_get_indexed_objects (_tmp2_);
#line 325 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data49_->indxobj = _tmp3_;
#line 326 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp4_ = stats;
#line 326 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp5_ = ggit_transfer_progress_get_total_objects (_tmp4_);
#line 326 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data49_->totaobj = _tmp5_;
#line 328 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda100__gsource_func, block49_data_ref (_data49_), block49_data_unref);
#line 322 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	block49_data_unref (_data49_);
#line 322 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_data49_ = NULL;
#line 4605 "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 334 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashViewCloneCallbacks*) base;
#line 334 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_return_val_if_fail (url != NULL, NULL);
#line 336 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = self->priv->d_credentials;
#line 336 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = url;
#line 336 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = username_from_url;
#line 336 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp4_ = allowed_types;
#line 336 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp5_ = gitg_credentials_manager_credentials (_tmp1_, _tmp2_, _tmp3_, _tmp4_, &_inner_error_);
#line 336 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = _tmp5_;
#line 336 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 336 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_propagate_error (error, _inner_error_);
#line 336 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		return NULL;
#line 4642 "gitg-dash-view.c"
	}
#line 336 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp6_ = _tmp0_;
#line 336 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = NULL;
#line 336 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	result = _tmp6_;
#line 336 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (_tmp0_);
#line 336 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 4654 "gitg-dash-view.c"
}


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


static void gitg_dash_view_clone_callbacks_instance_init (GitgDashViewCloneCallbacks * self) {
#line 311 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self->priv = GITG_DASH_VIEW_CLONE_CALLBACKS_GET_PRIVATE (self);
#line 4676 "gitg-dash-view.c"
}


static void gitg_dash_view_clone_callbacks_finalize (GObject* obj) {
	GitgDashViewCloneCallbacks * self;
#line 311 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_DASH_VIEW_TYPE_CLONE_CALLBACKS, GitgDashViewCloneCallbacks);
#line 313 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (self->priv->d_row);
#line 314 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_gitg_credentials_manager_unref0 (self->priv->d_credentials);
#line 311 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	G_OBJECT_CLASS (gitg_dash_view_clone_callbacks_parent_class)->finalize (obj);
#line 4690 "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/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_parent_class = g_type_class_peek_parent (klass);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	g_type_class_add_private (klass, sizeof (GitgDashViewPrivate));
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_dash_view_get_property;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_dash_view_set_property;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	G_OBJECT_CLASS (klass)->constructor = gitg_dash_view_constructor;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_dash_view_finalize;
#line 24 "/home/nacho/checkout/gnome/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/nacho/checkout/gnome/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/nacho/checkout/gnome/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/nacho/checkout/gnome/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/nacho/checkout/gnome/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/nacho/checkout/gnome/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/nacho/checkout/gnome/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/nacho/checkout/gnome/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/nacho/checkout/gnome/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/nacho/checkout/gnome/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/nacho/checkout/gnome/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/nacho/checkout/gnome/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/nacho/checkout/gnome/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/nacho/checkout/gnome/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/nacho/checkout/gnome/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/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	GitgDashView_private_offset = g_type_class_get_instance_private_offset (klass);
#line 24 "/home/nacho/checkout/gnome/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/nacho/checkout/gnome/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/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "label_scan", FALSE, GitgDashView_private_offset + G_STRUCT_OFFSET (GitgDashViewPrivate, d_label_scan));
#line 24 "/home/nacho/checkout/gnome/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/nacho/checkout/gnome/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/nacho/checkout/gnome/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/nacho/checkout/gnome/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/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "scan_home_activated", G_CALLBACK(_gitg_dash_view_scan_home_activated_gtk_label_activate_link));
#line 24 "/home/nacho/checkout/gnome/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/nacho/checkout/gnome/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/nacho/checkout/gnome/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 4774 "gitg-dash-view.c"
}


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


static void gitg_dash_view_gitg_ext_activity_interface_init (GitgExtActivityIface * iface) {
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_gitg_ext_activity_parent_iface = g_type_interface_peek_parent (iface);
#line 4802 "gitg-dash-view.c"
}


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


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


static void gitg_dash_view_gitg_recursive_scanner_interface_init (GitgRecursiveScannerIface * iface) {
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_gitg_recursive_scanner_parent_iface = g_type_interface_peek_parent (iface);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	iface->scan_visit_directory = (gboolean (*)(GitgRecursiveScanner*, GFile*, GCancellable*)) gitg_dash_view_real_scan_visit_directory;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	iface->scan_visit_directory_finish = gitg_dash_view_real_scan_visit_directory_finish;
#line 4851 "gitg-dash-view.c"
}


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


static void gitg_dash_view_finalize (GObject* obj) {
	GitgDashView * self;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_DASH_VIEW, GitgDashView);
#line 28 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (self->priv->_application);
#line 34 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (self->priv->d_introduction);
#line 37 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (self->priv->d_label_scan);
#line 40 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (self->priv->d_label_profile);
#line 43 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (self->priv->d_scrolled_window);
#line 46 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (self->priv->d_repository_list_box);
#line 49 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (self->priv->d_action_bar);
#line 131 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_free0 (self->priv->d_search_text);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	G_OBJECT_CLASS (gitg_dash_view_parent_class)->finalize (obj);
#line 4888 "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};
		static const GInterfaceInfo gitg_recursive_scanner_info = { (GInterfaceInitFunc) gitg_dash_view_gitg_recursive_scanner_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_type_add_interface_static (gitg_dash_view_type_id, GITG_TYPE_RECURSIVE_SCANNER, &gitg_recursive_scanner_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/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	switch (property_id) {
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_APPLICATION:
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_value_take_object (value, gitg_ext_ui_element_get_application ((GitgExtUIElement*) self));
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_SELECTABLE_MODE:
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_value_set_enum (value, gitg_ext_selectable_get_selectable_mode ((GitgExtSelectable*) self));
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_HAS_REPOSITORIES:
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_value_set_boolean (value, gitg_dash_view_get_has_repositories (self));
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_SELECTABLE_AVAILABLE:
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_value_set_boolean (value, gitg_ext_selectable_get_selectable_available ((GitgExtSelectable*) self));
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_SEARCH_AVAILABLE:
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_value_set_boolean (value, gitg_ext_searchable_get_search_available ((GitgExtSearchable*) self));
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_DISPLAY_NAME:
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_value_take_string (value, gitg_ext_ui_element_get_display_name ((GitgExtUIElement*) self));
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_DESCRIPTION:
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_value_take_string (value, gitg_ext_ui_element_get_description ((GitgExtUIElement*) self));
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_ID:
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_value_take_string (value, gitg_ext_ui_element_get_id ((GitgExtUIElement*) self));
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_WIDGET:
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_value_take_object (value, gitg_ext_ui_element_get_widget ((GitgExtUIElement*) self));
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_ICON:
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_value_take_string (value, gitg_ext_ui_element_get_icon ((GitgExtUIElement*) self));
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_SEARCH_TEXT:
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_value_take_string (value, gitg_ext_searchable_get_search_text ((GitgExtSearchable*) self));
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_SEARCH_VISIBLE:
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_value_set_boolean (value, gitg_ext_searchable_get_search_visible ((GitgExtSearchable*) self));
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_SEARCH_ENABLED:
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_value_set_boolean (value, gitg_ext_searchable_get_search_enabled ((GitgExtSearchable*) self));
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_ACTION_WIDGET:
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		g_value_take_object (value, gitg_ext_selectable_get_action_widget ((GitgExtSelectable*) self));
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 5003 "gitg-dash-view.c"
		default:
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 5009 "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/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
	switch (property_id) {
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_APPLICATION:
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		gitg_ext_ui_element_set_application ((GitgExtUIElement*) self, g_value_get_object (value));
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_SELECTABLE_MODE:
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		gitg_ext_selectable_set_selectable_mode ((GitgExtSelectable*) self, g_value_get_enum (value));
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_SEARCH_TEXT:
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		gitg_ext_searchable_set_search_text ((GitgExtSearchable*) self, g_value_get_string (value));
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_SEARCH_ENTRY:
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		gitg_ext_searchable_set_search_entry ((GitgExtSearchable*) self, g_value_get_object (value));
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_SEARCH_VISIBLE:
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		gitg_ext_searchable_set_search_visible ((GitgExtSearchable*) self, g_value_get_boolean (value));
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_SEARCH_ENABLED:
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		gitg_ext_searchable_set_search_enabled ((GitgExtSearchable*) self, g_value_get_boolean (value));
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 5055 "gitg-dash-view.c"
		default:
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 24 "/home/nacho/checkout/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 5061 "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);
}



