/* gitg-repository-list-box.c generated by valac 0.27.1.26-9b1a5-dirty, the Vala compiler
 * generated from gitg-repository-list-box.vala, do not modify */

/*
 * This file is part of gitg
 *
 * Copyright (C) 2012 - Ignacio Casal Quinteiro
 *
 * 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 <stdlib.h>
#include <string.h>
#include <gdk/gdk.h>
#include <libgit2-glib/ggit.h>
#include <gio/gio.h>
#include <pango/pango.h>
#include <float.h>
#include <math.h>


#define GITG_TYPE_SELECTION_MODE (gitg_selection_mode_get_type ())

#define GITG_TYPE_REPOSITORY_LIST_BOX (gitg_repository_list_box_get_type ())
#define GITG_REPOSITORY_LIST_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_REPOSITORY_LIST_BOX, GitgRepositoryListBox))
#define GITG_REPOSITORY_LIST_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_REPOSITORY_LIST_BOX, GitgRepositoryListBoxClass))
#define GITG_IS_REPOSITORY_LIST_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_REPOSITORY_LIST_BOX))
#define GITG_IS_REPOSITORY_LIST_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_REPOSITORY_LIST_BOX))
#define GITG_REPOSITORY_LIST_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_REPOSITORY_LIST_BOX, GitgRepositoryListBoxClass))

typedef struct _GitgRepositoryListBox GitgRepositoryListBox;
typedef struct _GitgRepositoryListBoxClass GitgRepositoryListBoxClass;
typedef struct _GitgRepositoryListBoxPrivate GitgRepositoryListBoxPrivate;
#define _g_free0(var) (var = (g_free (var), NULL))

#define GITG_REPOSITORY_LIST_BOX_TYPE_ROW (gitg_repository_list_box_row_get_type ())
#define GITG_REPOSITORY_LIST_BOX_ROW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_REPOSITORY_LIST_BOX_TYPE_ROW, GitgRepositoryListBoxRow))
#define GITG_REPOSITORY_LIST_BOX_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_REPOSITORY_LIST_BOX_TYPE_ROW, GitgRepositoryListBoxRowClass))
#define GITG_REPOSITORY_LIST_BOX_IS_ROW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_REPOSITORY_LIST_BOX_TYPE_ROW))
#define GITG_REPOSITORY_LIST_BOX_IS_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_REPOSITORY_LIST_BOX_TYPE_ROW))
#define GITG_REPOSITORY_LIST_BOX_ROW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_REPOSITORY_LIST_BOX_TYPE_ROW, GitgRepositoryListBoxRowClass))

typedef struct _GitgRepositoryListBoxRow GitgRepositoryListBoxRow;
typedef struct _GitgRepositoryListBoxRowClass GitgRepositoryListBoxRowClass;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

#define GITG_TYPE_REPOSITORY (gitg_repository_get_type ())
#define GITG_REPOSITORY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_REPOSITORY, GitgRepository))
#define GITG_REPOSITORY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_REPOSITORY, GitgRepositoryClass))
#define GITG_IS_REPOSITORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_REPOSITORY))
#define GITG_IS_REPOSITORY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_REPOSITORY))
#define GITG_REPOSITORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_REPOSITORY, GitgRepositoryClass))

typedef struct _GitgRepository GitgRepository;
typedef struct _GitgRepositoryClass GitgRepositoryClass;
#define _gtk_recent_info_unref0(var) ((var == NULL) ? NULL : (var = (gtk_recent_info_unref (var), NULL)))
#define __g_list_free__gtk_recent_info_unref0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__gtk_recent_info_unref0_ (var), NULL)))
#define _g_list_free0(var) ((var == NULL) ? NULL : (var = (g_list_free (var), NULL)))
typedef struct _Block15Data Block15Data;

#define GITG_TYPE_REF (gitg_ref_get_type ())
#define GITG_REF(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_REF, GitgRef))
#define GITG_IS_REF(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_REF))
#define GITG_REF_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GITG_TYPE_REF, GitgRefIface))

typedef struct _GitgRef GitgRef;
typedef struct _GitgRefIface GitgRefIface;

#define GITG_TYPE_PARSED_REF_NAME (gitg_parsed_ref_name_get_type ())
#define GITG_PARSED_REF_NAME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_PARSED_REF_NAME, GitgParsedRefName))
#define GITG_PARSED_REF_NAME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_PARSED_REF_NAME, GitgParsedRefNameClass))
#define GITG_IS_PARSED_REF_NAME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_PARSED_REF_NAME))
#define GITG_IS_PARSED_REF_NAME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_PARSED_REF_NAME))
#define GITG_PARSED_REF_NAME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_PARSED_REF_NAME, GitgParsedRefNameClass))

typedef struct _GitgParsedRefName GitgParsedRefName;
typedef struct _GitgParsedRefNameClass GitgParsedRefNameClass;

#define GITG_TYPE_REF_STATE (gitg_ref_state_get_type ())
#define _g_date_time_unref0(var) ((var == NULL) ? NULL : (var = (g_date_time_unref (var), NULL)))
typedef struct _Block16Data Block16Data;

#define GITG_REPOSITORY_LIST_BOX_TYPE_CLONE_PROGRESS (gitg_repository_list_box_clone_progress_get_type ())
#define GITG_REPOSITORY_LIST_BOX_CLONE_PROGRESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_REPOSITORY_LIST_BOX_TYPE_CLONE_PROGRESS, GitgRepositoryListBoxCloneProgress))
#define GITG_REPOSITORY_LIST_BOX_CLONE_PROGRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_REPOSITORY_LIST_BOX_TYPE_CLONE_PROGRESS, GitgRepositoryListBoxCloneProgressClass))
#define GITG_REPOSITORY_LIST_BOX_IS_CLONE_PROGRESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_REPOSITORY_LIST_BOX_TYPE_CLONE_PROGRESS))
#define GITG_REPOSITORY_LIST_BOX_IS_CLONE_PROGRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_REPOSITORY_LIST_BOX_TYPE_CLONE_PROGRESS))
#define GITG_REPOSITORY_LIST_BOX_CLONE_PROGRESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_REPOSITORY_LIST_BOX_TYPE_CLONE_PROGRESS, GitgRepositoryListBoxCloneProgressClass))

typedef struct _GitgRepositoryListBoxCloneProgress GitgRepositoryListBoxCloneProgress;
typedef struct _GitgRepositoryListBoxCloneProgressClass GitgRepositoryListBoxCloneProgressClass;
#define __vala_GgitCloneOptions_free0(var) ((var == NULL) ? NULL : (var = (_vala_GgitCloneOptions_free (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
#define _g_thread_unref0(var) ((var == NULL) ? NULL : (var = (g_thread_unref (var), NULL)))
typedef struct _GitgRepositoryListBoxCloneData GitgRepositoryListBoxCloneData;
typedef struct _Block17Data Block17Data;
typedef struct _GitgRepositoryListBoxRowPrivate GitgRepositoryListBoxRowPrivate;

#define GITG_TYPE_PROGRESS_BIN (gitg_progress_bin_get_type ())
#define GITG_PROGRESS_BIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_PROGRESS_BIN, GitgProgressBin))
#define GITG_PROGRESS_BIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_PROGRESS_BIN, GitgProgressBinClass))
#define GITG_IS_PROGRESS_BIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_PROGRESS_BIN))
#define GITG_IS_PROGRESS_BIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_PROGRESS_BIN))
#define GITG_PROGRESS_BIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_PROGRESS_BIN, GitgProgressBinClass))

typedef struct _GitgProgressBin GitgProgressBin;
typedef struct _GitgProgressBinClass GitgProgressBinClass;
typedef struct _GitgRepositoryListBoxCloneProgressPrivate GitgRepositoryListBoxCloneProgressPrivate;

typedef enum  {
	GITG_SELECTION_MODE_NORMAL,
	GITG_SELECTION_MODE_SELECTION
} GitgSelectionMode;

struct _GitgRepositoryListBox {
	GtkListBox parent_instance;
	GitgRepositoryListBoxPrivate * priv;
};

struct _GitgRepositoryListBoxClass {
	GtkListBoxClass parent_class;
};

struct _GitgRepositoryListBoxPrivate {
	gchar* d_filter_text;
	GitgSelectionMode _mode;
};

struct _Block15Data {
	int _ref_count_;
	GitgRepositoryListBox* self;
	GitgRepositoryListBoxRow* row;
	GFile* f;
};

typedef enum  {
	GITG_REF_STATE_NONE,
	GITG_REF_STATE_SELECTED,
	GITG_REF_STATE_PRELIGHT
} GitgRefState;

struct _GitgRefIface {
	GTypeInterface parent_iface;
	GitgRepository* (*get_owner) (GitgRef* self);
	GitgParsedRefName* (*get_d_parsed_name) (GitgRef* self);
	void (*set_d_parsed_name) (GitgRef* self, GitgParsedRefName* value);
	GList* (*get_d_pushes) (GitgRef* self);
	void (*set_d_pushes) (GitgRef* self, GList* value);
	GitgRefState (*get_state) (GitgRef* self);
	void (*set_state) (GitgRef* self, GitgRefState value);
	gboolean (*get_working) (GitgRef* self);
	void (*set_working) (GitgRef* self, gboolean value);
};

struct _Block16Data {
	int _ref_count_;
	GitgRepositoryListBox* self;
	GSourceFunc callback;
	gpointer callback_target;
	GDestroyNotify callback_target_destroy_notify;
	GitgRepository* repository;
	GitgRepositoryListBoxRow* row;
	gchar* url;
	GFile* location;
	gboolean is_bare;
	gpointer _async_data_;
};

struct _GitgRepositoryListBoxCloneData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgRepositoryListBox* self;
	GitgRepositoryListBoxRow* row;
	gchar* url;
	GFile* location;
	gboolean is_bare;
	GitgRepository* result;
	Block16Data* _data16_;
	GitgRepositoryListBoxRow* _tmp0_;
	const gchar* _tmp1_;
	GFile* _tmp2_;
	gboolean _tmp3_;
	GThreadFunc run;
	void* run_target;
	GDestroyNotify run_target_destroy_notify;
	GThreadFunc _tmp4_;
	void* _tmp4__target;
	GDestroyNotify _tmp4__target_destroy_notify;
	GThread* _tmp5_;
	GThread* _tmp6_;
	GitgRepository* _tmp7_;
	GError * _inner_error_;
};

struct _Block17Data {
	int _ref_count_;
	GitgRepositoryListBox* self;
	GitgRepositoryListBoxRow* row;
};

struct _GitgRepositoryListBoxRow {
	GtkListBoxRow parent_instance;
	GitgRepositoryListBoxRowPrivate * priv;
};

struct _GitgRepositoryListBoxRowClass {
	GtkListBoxRowClass parent_class;
};

struct _GitgRepositoryListBoxRowPrivate {
	GitgRepository* d_repository;
	GDateTime* d_time;
	gboolean d_loading;
	gboolean d_has_remote;
	GitgProgressBin* d_progress_bin;
	GtkImage* d_image;
	GtkLabel* d_repository_label;
	GtkLabel* d_branch_label;
	GtkArrow* d_arrow;
	GtkSpinner* d_spinner;
	GtkCheckButton* d_remove_check_button;
	GtkRevealer* d_remove_revealer;
	GtkBox* d_submodule_box;
	GitgSelectionMode d_mode;
	gboolean _selected;
};

struct _GitgRepositoryListBoxCloneProgress {
	GgitRemoteCallbacks parent_instance;
	GitgRepositoryListBoxCloneProgressPrivate * priv;
};

struct _GitgRepositoryListBoxCloneProgressClass {
	GgitRemoteCallbacksClass parent_class;
};

struct _GitgRepositoryListBoxCloneProgressPrivate {
	GitgRepositoryListBoxRow* d_row;
};


static gpointer gitg_repository_list_box_parent_class = NULL;
static gpointer gitg_repository_list_box_row_parent_class = NULL;
static GtkIconSize gitg_repository_list_box_row_s_icon_size;
static GtkIconSize gitg_repository_list_box_row_s_icon_size = 0;
static gpointer gitg_repository_list_box_clone_progress_parent_class = NULL;

GType gitg_selection_mode_get_type (void) G_GNUC_CONST;
GType gitg_repository_list_box_get_type (void) G_GNUC_CONST;
#define GITG_REPOSITORY_LIST_BOX_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_TYPE_REPOSITORY_LIST_BOX, GitgRepositoryListBoxPrivate))
enum  {
	GITG_REPOSITORY_LIST_BOX_DUMMY_PROPERTY,
	GITG_REPOSITORY_LIST_BOX_MODE,
	GITG_REPOSITORY_LIST_BOX_HAS_SELECTION
};
static gboolean gitg_repository_list_box_real_button_press_event (GtkWidget* base, GdkEventButton* event);
GitgSelectionMode gitg_repository_list_box_get_mode (GitgRepositoryListBox* self);
void gitg_repository_list_box_set_mode (GitgRepositoryListBox* self, GitgSelectionMode value);
GType gitg_repository_list_box_row_get_type (void) G_GNUC_CONST;
void gitg_repository_list_box_row_set_selected (GitgRepositoryListBoxRow* self, gboolean value);
static void gitg_repository_list_box_real_row_activated (GtkListBox* base, GtkListBoxRow* row);
gboolean gitg_repository_list_box_row_get_selected (GitgRepositoryListBoxRow* self);
GType gitg_repository_get_type (void) G_GNUC_CONST;
GitgRepository* gitg_repository_list_box_row_get_repository (GitgRepositoryListBoxRow* self);
static void gitg_repository_list_box_update_header (GitgRepositoryListBox* self, GtkListBoxRow* row, GtkListBoxRow* before);
static gboolean gitg_repository_list_box_filter (GitgRepositoryListBox* self, GtkListBoxRow* row);
const gchar* gitg_repository_list_box_row_get_repository_name (GitgRepositoryListBoxRow* self);
static gint gitg_repository_list_box_compare_widgets (GitgRepositoryListBox* self, GtkListBoxRow* a, GtkListBoxRow* b);
GDateTime* gitg_repository_list_box_row_get_time (GitgRepositoryListBoxRow* self);
static void gitg_repository_list_box_add_recent_info (GitgRepositoryListBox* self);
static void _gtk_recent_info_unref0_ (gpointer var);
static void _g_list_free__gtk_recent_info_unref0_ (GList* self);
GitgRepository* gitg_repository_new (GFile* location, GFile* workdir, GError** error);
GitgRepository* gitg_repository_construct (GType object_type, GFile* location, GFile* workdir, GError** error);
void gitg_repository_list_box_add_repository (GitgRepositoryListBox* self, GitgRepository* repository);
static GitgRepositoryListBoxRow* gitg_repository_list_box_get_row_for_repository (GitgRepositoryListBox* self, GitgRepository* repository);
static void gitg_repository_list_box_add_repository_to_recent_manager (GitgRepositoryListBox* self, const gchar* uri);
static void gtk_recent_data_destroy (GtkRecentData* self);
static Block15Data* block15_data_ref (Block15Data* _data15_);
static void block15_data_unref (void * _userdata_);
GType gitg_parsed_ref_name_get_type (void) G_GNUC_CONST;
GType gitg_ref_state_get_type (void) G_GNUC_CONST;
GType gitg_ref_get_type (void) G_GNUC_CONST;
GitgRef* gitg_repository_get_head (GitgRepository* self, GError** error);
GitgParsedRefName* gitg_ref_get_parsed_name (GitgRef* self);
gchar* gitg_parsed_ref_name_get_shortname (GitgParsedRefName* self);
gchar* gitg_repository_get_name (GitgRepository* self);
GitgRepositoryListBoxRow* gitg_repository_list_box_row_new (const gchar* name, const gchar* branch_name, gboolean has_remote);
GitgRepositoryListBoxRow* gitg_repository_list_box_row_construct (GType object_type, const gchar* name, const gchar* branch_name, gboolean has_remote);
void gitg_repository_list_box_row_set_repository (GitgRepositoryListBoxRow* self, GitgRepository* value);
static gint ____lambda57_ (Block15Data* _data15_, GgitSubmodule* module);
void gitg_repository_list_box_row_add_submodule (GitgRepositoryListBoxRow* self, GgitSubmodule* module);
static gint _____lambda57__ggit_submodule_callback (GgitSubmodule* submodule, const gchar* name, gpointer self);
static void ____lambda58_ (GitgRepositoryListBox* self);
static void _____lambda58__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void ____lambda59_ (Block15Data* _data15_);
static void _____lambda59__gitg_repository_list_box_row_request_remove (GitgRepositoryListBoxRow* _sender, gpointer self);
void gitg_repository_list_box_row_set_can_remove (GitgRepositoryListBoxRow* self, gboolean value);
void gitg_repository_list_box_row_set_time (GitgRepositoryListBoxRow* self, GDateTime* value);
static void gitg_repository_list_box_clone_data_free (gpointer _data);
static void gitg_repository_list_box_clone (GitgRepositoryListBox* self, GitgRepositoryListBoxRow* row, const gchar* url, GFile* location, gboolean is_bare, GAsyncReadyCallback _callback_, gpointer _user_data_);
static GitgRepository* gitg_repository_list_box_clone_finish (GitgRepositoryListBox* self, GAsyncResult* _res_);
static gboolean gitg_repository_list_box_clone_co (GitgRepositoryListBoxCloneData* _data_);
static Block16Data* block16_data_ref (Block16Data* _data16_);
static void block16_data_unref (void * _userdata_);
static gboolean _gitg_repository_list_box_clone_co_gsource_func (gpointer self);
static void* __lambda60_ (Block16Data* _data16_);
static GitgRepositoryListBoxCloneProgress* gitg_repository_list_box_clone_progress_new (GitgRepositoryListBoxRow* row);
static GitgRepositoryListBoxCloneProgress* gitg_repository_list_box_clone_progress_construct (GType object_type, GitgRepositoryListBoxRow* row);
static GType gitg_repository_list_box_clone_progress_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
static void _vala_GgitCloneOptions_free (GgitCloneOptions* self);
static gpointer ___lambda60__gthread_func (gpointer self);
void gitg_repository_list_box_clone_repository (GitgRepositoryListBox* self, const gchar* url, GFile* location, gboolean is_bare);
static Block17Data* block17_data_ref (Block17Data* _data17_);
static void block17_data_unref (void * _userdata_);
void gitg_repository_list_box_row_set_loading (GitgRepositoryListBoxRow* self, gboolean value);
static void __lambda61_ (Block17Data* _data17_, GObject* obj, GAsyncResult* res);
static void ___lambda61__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
void gitg_repository_list_box_filter_text (GitgRepositoryListBox* self, const gchar* text);
GitgRepositoryListBox* gitg_repository_list_box_new (void);
GitgRepositoryListBox* gitg_repository_list_box_construct (GType object_type);
GitgRepositoryListBoxRow** gitg_repository_list_box_get_selection (GitgRepositoryListBox* self, int* result_length1);
static void _vala_array_add10 (GitgRepositoryListBoxRow*** array, int* length, int* size, GitgRepositoryListBoxRow* value);
gboolean gitg_repository_list_box_get_has_selection (GitgRepositoryListBox* self);
static void g_cclosure_user_marshal_VOID__STRING_STRING (GClosure * closure, GValue * return_value, guint n_param_values, const GValue * param_values, gpointer invocation_hint, gpointer marshal_data);
static GObject * gitg_repository_list_box_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
static void _gitg_repository_list_box_update_header_gtk_list_box_update_header_func (GtkListBoxRow* row, GtkListBoxRow* before, gpointer self);
static gboolean _gitg_repository_list_box_filter_gtk_list_box_filter_func (GtkListBoxRow* row, gpointer self);
static gint _gitg_repository_list_box_compare_widgets_gtk_list_box_sort_func (GtkListBoxRow* row1, GtkListBoxRow* row2, gpointer self);
GType gitg_progress_bin_get_type (void) G_GNUC_CONST;
#define GITG_REPOSITORY_LIST_BOX_ROW_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_REPOSITORY_LIST_BOX_TYPE_ROW, GitgRepositoryListBoxRowPrivate))
enum  {
	GITG_REPOSITORY_LIST_BOX_ROW_DUMMY_PROPERTY,
	GITG_REPOSITORY_LIST_BOX_ROW_MODE,
	GITG_REPOSITORY_LIST_BOX_ROW_SELECTED,
	GITG_REPOSITORY_LIST_BOX_ROW_REPOSITORY,
	GITG_REPOSITORY_LIST_BOX_ROW_CAN_REMOVE,
	GITG_REPOSITORY_LIST_BOX_ROW_TIME,
	GITG_REPOSITORY_LIST_BOX_ROW_FRACTION,
	GITG_REPOSITORY_LIST_BOX_ROW_REPOSITORY_NAME,
	GITG_REPOSITORY_LIST_BOX_ROW_BRANCH_NAME,
	GITG_REPOSITORY_LIST_BOX_ROW_LOADING,
	GITG_REPOSITORY_LIST_BOX_ROW_HAS_REMOTE
};
GitgSelectionMode gitg_repository_list_box_row_get_mode (GitgRepositoryListBoxRow* self);
void gitg_repository_list_box_row_set_mode (GitgRepositoryListBoxRow* self, GitgSelectionMode value);
void gitg_repository_list_box_row_set_branch_name (GitgRepositoryListBoxRow* self, const gchar* value);
gboolean gitg_repository_list_box_row_get_can_remove (GitgRepositoryListBoxRow* self);
void gitg_repository_list_box_row_set_fraction (GitgRepositoryListBoxRow* self, gdouble value);
void gitg_progress_bin_set_fraction (GitgProgressBin* self, gdouble value);
void gitg_repository_list_box_row_set_repository_name (GitgRepositoryListBoxRow* self, const gchar* value);
const gchar* gitg_repository_list_box_row_get_branch_name (GitgRepositoryListBoxRow* self);
gboolean gitg_repository_list_box_row_get_loading (GitgRepositoryListBoxRow* self);
gboolean gitg_repository_list_box_row_get_has_remote (GitgRepositoryListBoxRow* self);
void gitg_repository_list_box_row_set_has_remote (GitgRepositoryListBoxRow* self, gboolean value);
static GObject * gitg_repository_list_box_row_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
static void gitg_repository_list_box_row_finalize (GObject* obj);
static void _vala_gitg_repository_list_box_row_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_gitg_repository_list_box_row_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
#define GITG_REPOSITORY_LIST_BOX_CLONE_PROGRESS_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_REPOSITORY_LIST_BOX_TYPE_CLONE_PROGRESS, GitgRepositoryListBoxCloneProgressPrivate))
enum  {
	GITG_REPOSITORY_LIST_BOX_CLONE_PROGRESS_DUMMY_PROPERTY
};
static void gitg_repository_list_box_clone_progress_real_transfer_progress (GgitRemoteCallbacks* base, GgitTransferProgress* stats);
static void gitg_repository_list_box_clone_progress_finalize (GObject* obj);
static void gitg_repository_list_box_finalize (GObject* obj);
static void _vala_gitg_repository_list_box_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_gitg_repository_list_box_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);
static gint _vala_array_length (gpointer array);


GType gitg_selection_mode_get_type (void) {
	static volatile gsize gitg_selection_mode_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_selection_mode_type_id__volatile)) {
		static const GEnumValue values[] = {{GITG_SELECTION_MODE_NORMAL, "GITG_SELECTION_MODE_NORMAL", "normal"}, {GITG_SELECTION_MODE_SELECTION, "GITG_SELECTION_MODE_SELECTION", "selection"}, {0, NULL, NULL}};
		GType gitg_selection_mode_type_id;
		gitg_selection_mode_type_id = g_enum_register_static ("GitgSelectionMode", values);
		g_once_init_leave (&gitg_selection_mode_type_id__volatile, gitg_selection_mode_type_id);
	}
	return gitg_selection_mode_type_id__volatile;
}


static gpointer _g_object_ref0 (gpointer self) {
#line 244 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return self ? g_object_ref (self) : NULL;
#line 406 "gitg-repository-list-box.c"
}


static gboolean gitg_repository_list_box_real_button_press_event (GtkWidget* base, GdkEventButton* event) {
	GitgRepositoryListBox * self;
	gboolean result = FALSE;
	GdkEvent* ev = NULL;
	GdkEventButton* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	GdkEvent* _tmp2_ = NULL;
	gboolean _tmp3_ = FALSE;
	GdkEventButton* _tmp11_ = NULL;
	gboolean _tmp12_ = FALSE;
#line 236 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	self = (GitgRepositoryListBox*) base;
#line 236 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 238 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = event;
#line 238 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	ev = (GdkEvent*) _tmp0_;
#line 240 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp2_ = ev;
#line 240 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp3_ = gdk_event_triggers_context_menu (_tmp2_);
#line 240 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	if (_tmp3_) {
#line 434 "gitg-repository-list-box.c"
		GitgSelectionMode _tmp4_ = 0;
#line 240 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp4_ = self->priv->_mode;
#line 240 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp1_ = _tmp4_ == GITG_SELECTION_MODE_NORMAL;
#line 440 "gitg-repository-list-box.c"
	} else {
#line 240 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp1_ = FALSE;
#line 444 "gitg-repository-list-box.c"
	}
#line 240 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	if (_tmp1_) {
#line 448 "gitg-repository-list-box.c"
		GitgRepositoryListBoxRow* row = NULL;
		GdkEventButton* _tmp5_ = NULL;
		gdouble _tmp6_ = 0.0;
		GtkListBoxRow* _tmp7_ = NULL;
		GitgRepositoryListBoxRow* _tmp8_ = NULL;
		GitgRepositoryListBoxRow* _tmp9_ = NULL;
#line 242 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gitg_repository_list_box_set_mode (self, GITG_SELECTION_MODE_SELECTION);
#line 244 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp5_ = event;
#line 244 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp6_ = _tmp5_->y;
#line 244 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp7_ = gtk_list_box_get_row_at_y ((GtkListBox*) self, (gint) _tmp6_);
#line 244 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp8_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp7_, GITG_REPOSITORY_LIST_BOX_TYPE_ROW) ? ((GitgRepositoryListBoxRow*) _tmp7_) : NULL);
#line 244 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		row = _tmp8_;
#line 246 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp9_ = row;
#line 246 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		if (_tmp9_ != NULL) {
#line 471 "gitg-repository-list-box.c"
			GitgRepositoryListBoxRow* _tmp10_ = NULL;
#line 248 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp10_ = row;
#line 248 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			gitg_repository_list_box_row_set_selected (_tmp10_, TRUE);
#line 477 "gitg-repository-list-box.c"
		}
#line 251 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		result = TRUE;
#line 251 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_object_unref0 (row);
#line 251 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		return result;
#line 485 "gitg-repository-list-box.c"
	}
#line 254 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp11_ = event;
#line 254 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp12_ = GTK_WIDGET_CLASS (gitg_repository_list_box_parent_class)->button_press_event ((GtkWidget*) G_TYPE_CHECK_INSTANCE_CAST (self, gtk_list_box_get_type (), GtkListBox), _tmp11_);
#line 254 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	result = _tmp12_;
#line 254 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return result;
#line 495 "gitg-repository-list-box.c"
}


static void gitg_repository_list_box_real_row_activated (GtkListBox* base, GtkListBoxRow* row) {
	GitgRepositoryListBox * self;
	GitgRepositoryListBoxRow* r = NULL;
	GtkListBoxRow* _tmp0_ = NULL;
	GitgRepositoryListBoxRow* _tmp1_ = NULL;
	GitgSelectionMode _tmp2_ = 0;
	GitgRepositoryListBoxRow* _tmp7_ = NULL;
	GitgRepository* _tmp8_ = NULL;
	GitgRepository* _tmp9_ = NULL;
#line 257 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	self = (GitgRepositoryListBox*) base;
#line 257 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_if_fail (row != NULL);
#line 259 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = row;
#line 259 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GITG_REPOSITORY_LIST_BOX_TYPE_ROW, GitgRepositoryListBoxRow));
#line 259 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	r = _tmp1_;
#line 261 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp2_ = self->priv->_mode;
#line 261 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	if (_tmp2_ == GITG_SELECTION_MODE_SELECTION) {
#line 522 "gitg-repository-list-box.c"
		GitgRepositoryListBoxRow* _tmp3_ = NULL;
		GitgRepositoryListBoxRow* _tmp4_ = NULL;
		gboolean _tmp5_ = FALSE;
		gboolean _tmp6_ = FALSE;
#line 263 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp3_ = r;
#line 263 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp4_ = r;
#line 263 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp5_ = gitg_repository_list_box_row_get_selected (_tmp4_);
#line 263 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp6_ = _tmp5_;
#line 263 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gitg_repository_list_box_row_set_selected (_tmp3_, !_tmp6_);
#line 264 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_object_unref0 (r);
#line 264 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		return;
#line 541 "gitg-repository-list-box.c"
	}
#line 267 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp7_ = r;
#line 267 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp8_ = gitg_repository_list_box_row_get_repository (_tmp7_);
#line 267 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp9_ = _tmp8_;
#line 267 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	if (_tmp9_ != NULL) {
#line 551 "gitg-repository-list-box.c"
		GitgRepositoryListBoxRow* _tmp10_ = NULL;
		GitgRepository* _tmp11_ = NULL;
		GitgRepository* _tmp12_ = NULL;
#line 269 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp10_ = r;
#line 269 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp11_ = gitg_repository_list_box_row_get_repository (_tmp10_);
#line 269 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp12_ = _tmp11_;
#line 269 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_signal_emit_by_name (self, "repository-activated", _tmp12_);
#line 563 "gitg-repository-list-box.c"
	}
#line 257 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (r);
#line 567 "gitg-repository-list-box.c"
}


static void gitg_repository_list_box_update_header (GitgRepositoryListBox* self, GtkListBoxRow* row, GtkListBoxRow* before) {
	GtkSeparator* _tmp0_ = NULL;
	GtkListBoxRow* _tmp1_ = NULL;
	GtkListBoxRow* _tmp3_ = NULL;
#line 285 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_if_fail (self != NULL);
#line 285 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_if_fail (row != NULL);
#line 287 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp1_ = before;
#line 287 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	if (_tmp1_ != NULL) {
#line 583 "gitg-repository-list-box.c"
		GtkSeparator* _tmp2_ = NULL;
#line 287 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp2_ = (GtkSeparator*) gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
#line 287 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_object_ref_sink (_tmp2_);
#line 287 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_object_unref0 (_tmp0_);
#line 287 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp0_ = _tmp2_;
#line 593 "gitg-repository-list-box.c"
	} else {
#line 287 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_object_unref0 (_tmp0_);
#line 287 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp0_ = NULL;
#line 599 "gitg-repository-list-box.c"
	}
#line 287 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp3_ = row;
#line 287 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_list_box_row_set_header (_tmp3_, (GtkWidget*) _tmp0_);
#line 285 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (_tmp0_);
#line 607 "gitg-repository-list-box.c"
}


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


static gboolean gitg_repository_list_box_filter (GitgRepositoryListBox* self, GtkListBoxRow* row) {
	gboolean result = FALSE;
	gboolean _tmp0_ = FALSE;
	const gchar* _tmp1_ = NULL;
#line 290 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 290 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_val_if_fail (row != NULL, FALSE);
#line 292 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp1_ = self->priv->d_filter_text;
#line 292 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	if (_tmp1_ != NULL) {
#line 643 "gitg-repository-list-box.c"
		GtkListBoxRow* _tmp2_ = NULL;
		const gchar* _tmp3_ = NULL;
		const gchar* _tmp4_ = NULL;
		const gchar* _tmp5_ = NULL;
		gboolean _tmp6_ = FALSE;
#line 292 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp2_ = row;
#line 292 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp3_ = gitg_repository_list_box_row_get_repository_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GITG_REPOSITORY_LIST_BOX_TYPE_ROW, GitgRepositoryListBoxRow));
#line 292 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp4_ = _tmp3_;
#line 292 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp5_ = self->priv->d_filter_text;
#line 292 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp6_ = string_contains (_tmp4_, _tmp5_);
#line 292 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp0_ = _tmp6_;
#line 661 "gitg-repository-list-box.c"
	} else {
#line 292 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp0_ = TRUE;
#line 665 "gitg-repository-list-box.c"
	}
#line 292 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	result = _tmp0_;
#line 292 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return result;
#line 671 "gitg-repository-list-box.c"
}


static gint gitg_repository_list_box_compare_widgets (GitgRepositoryListBox* self, GtkListBoxRow* a, GtkListBoxRow* b) {
	gint result = 0;
	GtkListBoxRow* _tmp0_ = NULL;
	GDateTime* _tmp1_ = NULL;
	GDateTime* _tmp2_ = NULL;
	GtkListBoxRow* _tmp3_ = NULL;
	GDateTime* _tmp4_ = NULL;
	GDateTime* _tmp5_ = NULL;
	gint _tmp6_ = 0;
#line 295 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 295 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_val_if_fail (a != NULL, 0);
#line 295 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_val_if_fail (b != NULL, 0);
#line 297 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = a;
#line 297 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp1_ = gitg_repository_list_box_row_get_time (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GITG_REPOSITORY_LIST_BOX_TYPE_ROW, GitgRepositoryListBoxRow));
#line 297 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp2_ = _tmp1_;
#line 297 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp3_ = b;
#line 297 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp4_ = gitg_repository_list_box_row_get_time (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GITG_REPOSITORY_LIST_BOX_TYPE_ROW, GitgRepositoryListBoxRow));
#line 297 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp5_ = _tmp4_;
#line 297 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp6_ = g_date_time_compare (_tmp2_, _tmp5_);
#line 297 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	result = -_tmp6_;
#line 297 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return result;
#line 708 "gitg-repository-list-box.c"
}


static gpointer _gtk_recent_info_ref0 (gpointer self) {
#line 306 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return self ? gtk_recent_info_ref (self) : NULL;
#line 715 "gitg-repository-list-box.c"
}


static void _gtk_recent_info_unref0_ (gpointer var) {
#line 319 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	(var == NULL) ? NULL : (var = (gtk_recent_info_unref (var), NULL));
#line 722 "gitg-repository-list-box.c"
}


static void _g_list_free__gtk_recent_info_unref0_ (GList* self) {
#line 319 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_list_foreach (self, (GFunc) _gtk_recent_info_unref0_, NULL);
#line 319 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_list_free (self);
#line 731 "gitg-repository-list-box.c"
}


static void gitg_repository_list_box_add_recent_info (GitgRepositoryListBox* self) {
	GtkRecentManager* recent_manager = NULL;
	GtkRecentManager* _tmp0_ = NULL;
	GtkRecentManager* _tmp1_ = NULL;
	GList* reversed_items = NULL;
	GtkRecentManager* _tmp2_ = NULL;
	GList* _tmp3_ = NULL;
	GList* _tmp4_ = NULL;
	GError * _inner_error_ = NULL;
#line 300 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_if_fail (self != NULL);
#line 302 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = gtk_recent_manager_get_default ();
#line 302 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 302 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	recent_manager = _tmp1_;
#line 303 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp2_ = recent_manager;
#line 303 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp3_ = gtk_recent_manager_get_items (_tmp2_);
#line 303 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	reversed_items = _tmp3_;
#line 304 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	reversed_items = g_list_reverse (reversed_items);
#line 306 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp4_ = reversed_items;
#line 762 "gitg-repository-list-box.c"
	{
		GList* item_collection = NULL;
		GList* item_it = NULL;
#line 306 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		item_collection = _tmp4_;
#line 306 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		for (item_it = item_collection; item_it != NULL; item_it = item_it->next) {
#line 770 "gitg-repository-list-box.c"
			GtkRecentInfo* _tmp5_ = NULL;
			GtkRecentInfo* item = NULL;
#line 306 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp5_ = _gtk_recent_info_ref0 ((GtkRecentInfo*) item_it->data);
#line 306 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			item = _tmp5_;
#line 777 "gitg-repository-list-box.c"
			{
				GtkRecentInfo* _tmp6_ = NULL;
				gboolean _tmp7_ = FALSE;
#line 308 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_tmp6_ = item;
#line 308 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_tmp7_ = gtk_recent_info_has_group (_tmp6_, "gitg");
#line 308 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				if (_tmp7_) {
#line 787 "gitg-repository-list-box.c"
					GFile* info_file = NULL;
					GtkRecentInfo* _tmp8_ = NULL;
					const gchar* _tmp9_ = NULL;
					GFile* _tmp10_ = NULL;
					GFile* repo_file = NULL;
					GitgRepository* repo = NULL;
					GitgRepository* _tmp25_ = NULL;
#line 310 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
					_tmp8_ = item;
#line 310 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
					_tmp9_ = gtk_recent_info_get_uri (_tmp8_);
#line 310 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
					_tmp10_ = g_file_new_for_uri (_tmp9_);
#line 310 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
					info_file = _tmp10_;
#line 803 "gitg-repository-list-box.c"
					{
						GFile* _tmp11_ = NULL;
						GFile* _tmp12_ = NULL;
						GFile* _tmp13_ = NULL;
						GFile* _tmp14_ = NULL;
#line 315 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_tmp12_ = info_file;
#line 315 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_tmp13_ = ggit_repository_discover (_tmp12_, &_inner_error_);
#line 315 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_tmp11_ = _tmp13_;
#line 315 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 817 "gitg-repository-list-box.c"
							goto __catch57_g_error;
						}
#line 315 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_tmp14_ = _tmp11_;
#line 315 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_tmp11_ = NULL;
#line 315 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_g_object_unref0 (repo_file);
#line 315 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						repo_file = _tmp14_;
#line 313 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_g_object_unref0 (_tmp11_);
#line 830 "gitg-repository-list-box.c"
					}
					goto __finally57;
					__catch57_g_error:
					{
#line 313 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						g_clear_error (&_inner_error_);
#line 313 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_inner_error_ = NULL;
#line 839 "gitg-repository-list-box.c"
						{
							GtkRecentManager* _tmp15_ = NULL;
							GtkRecentInfo* _tmp16_ = NULL;
							const gchar* _tmp17_ = NULL;
#line 321 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							_tmp15_ = recent_manager;
#line 321 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							_tmp16_ = item;
#line 321 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							_tmp17_ = gtk_recent_info_get_uri (_tmp16_);
#line 321 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							gtk_recent_manager_remove_item (_tmp15_, _tmp17_, &_inner_error_);
#line 321 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 854 "gitg-repository-list-box.c"
								goto __catch58_g_error;
							}
						}
						goto __finally58;
						__catch58_g_error:
						{
#line 319 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							g_clear_error (&_inner_error_);
#line 319 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							_inner_error_ = NULL;
#line 865 "gitg-repository-list-box.c"
						}
						__finally58:
#line 319 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 319 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							_g_object_unref0 (repo_file);
#line 319 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							_g_object_unref0 (info_file);
#line 319 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							_gtk_recent_info_unref0 (item);
#line 319 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							__g_list_free__gtk_recent_info_unref0_0 (reversed_items);
#line 319 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							_g_object_unref0 (recent_manager);
#line 319 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 319 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							g_clear_error (&_inner_error_);
#line 319 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							return;
#line 886 "gitg-repository-list-box.c"
						}
#line 324 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_g_object_unref0 (repo_file);
#line 324 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_g_object_unref0 (info_file);
#line 324 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_gtk_recent_info_unref0 (item);
#line 324 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						__g_list_free__gtk_recent_info_unref0_0 (reversed_items);
#line 324 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_g_object_unref0 (recent_manager);
#line 324 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						return;
#line 900 "gitg-repository-list-box.c"
					}
					__finally57:
#line 313 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 313 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_g_object_unref0 (repo_file);
#line 313 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_g_object_unref0 (info_file);
#line 313 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_gtk_recent_info_unref0 (item);
#line 313 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						__g_list_free__gtk_recent_info_unref0_0 (reversed_items);
#line 313 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_g_object_unref0 (recent_manager);
#line 313 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.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 313 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						g_clear_error (&_inner_error_);
#line 313 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						return;
#line 921 "gitg-repository-list-box.c"
					}
					{
						GitgRepository* _tmp18_ = NULL;
						GFile* _tmp19_ = NULL;
						GitgRepository* _tmp20_ = NULL;
						GitgRepository* _tmp21_ = NULL;
#line 331 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_tmp19_ = repo_file;
#line 331 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_tmp20_ = gitg_repository_new (_tmp19_, NULL, &_inner_error_);
#line 331 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_tmp18_ = _tmp20_;
#line 331 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 936 "gitg-repository-list-box.c"
							goto __catch59_g_error;
						}
#line 331 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_tmp21_ = _tmp18_;
#line 331 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_tmp18_ = NULL;
#line 331 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_g_object_unref0 (repo);
#line 331 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						repo = _tmp21_;
#line 329 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_g_object_unref0 (_tmp18_);
#line 949 "gitg-repository-list-box.c"
					}
					goto __finally59;
					__catch59_g_error:
					{
#line 329 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						g_clear_error (&_inner_error_);
#line 329 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_inner_error_ = NULL;
#line 958 "gitg-repository-list-box.c"
						{
							GtkRecentManager* _tmp22_ = NULL;
							GtkRecentInfo* _tmp23_ = NULL;
							const gchar* _tmp24_ = NULL;
#line 337 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							_tmp22_ = recent_manager;
#line 337 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							_tmp23_ = item;
#line 337 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							_tmp24_ = gtk_recent_info_get_uri (_tmp23_);
#line 337 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							gtk_recent_manager_remove_item (_tmp22_, _tmp24_, &_inner_error_);
#line 337 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 973 "gitg-repository-list-box.c"
								goto __catch60_g_error;
							}
						}
						goto __finally60;
						__catch60_g_error:
						{
#line 335 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							g_clear_error (&_inner_error_);
#line 335 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							_inner_error_ = NULL;
#line 984 "gitg-repository-list-box.c"
						}
						__finally60:
#line 335 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 335 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							_g_object_unref0 (repo);
#line 335 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							_g_object_unref0 (repo_file);
#line 335 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							_g_object_unref0 (info_file);
#line 335 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							_gtk_recent_info_unref0 (item);
#line 335 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							__g_list_free__gtk_recent_info_unref0_0 (reversed_items);
#line 335 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							_g_object_unref0 (recent_manager);
#line 335 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 335 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							g_clear_error (&_inner_error_);
#line 335 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
							return;
#line 1007 "gitg-repository-list-box.c"
						}
#line 340 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_g_object_unref0 (repo);
#line 340 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_g_object_unref0 (repo_file);
#line 340 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_g_object_unref0 (info_file);
#line 340 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_gtk_recent_info_unref0 (item);
#line 340 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						__g_list_free__gtk_recent_info_unref0_0 (reversed_items);
#line 340 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_g_object_unref0 (recent_manager);
#line 340 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						return;
#line 1023 "gitg-repository-list-box.c"
					}
					__finally59:
#line 329 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 329 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_g_object_unref0 (repo);
#line 329 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_g_object_unref0 (repo_file);
#line 329 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_g_object_unref0 (info_file);
#line 329 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_gtk_recent_info_unref0 (item);
#line 329 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						__g_list_free__gtk_recent_info_unref0_0 (reversed_items);
#line 329 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						_g_object_unref0 (recent_manager);
#line 329 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.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 329 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						g_clear_error (&_inner_error_);
#line 329 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
						return;
#line 1046 "gitg-repository-list-box.c"
					}
#line 343 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
					_tmp25_ = repo;
#line 343 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
					gitg_repository_list_box_add_repository (self, _tmp25_);
#line 308 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
					_g_object_unref0 (repo);
#line 308 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
					_g_object_unref0 (repo_file);
#line 308 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
					_g_object_unref0 (info_file);
#line 1058 "gitg-repository-list-box.c"
				}
#line 306 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_gtk_recent_info_unref0 (item);
#line 1062 "gitg-repository-list-box.c"
			}
		}
	}
#line 300 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	__g_list_free__gtk_recent_info_unref0_0 (reversed_items);
#line 300 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (recent_manager);
#line 1070 "gitg-repository-list-box.c"
}


static GitgRepositoryListBoxRow* gitg_repository_list_box_get_row_for_repository (GitgRepositoryListBox* self, GitgRepository* repository) {
	GitgRepositoryListBoxRow* result = NULL;
	GitgRepositoryListBoxRow* row = NULL;
	GList* _tmp0_ = NULL;
#line 348 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 348 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_val_if_fail (repository != NULL, NULL);
#line 350 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	row = NULL;
#line 352 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = gtk_container_get_children ((GtkContainer*) self);
#line 1086 "gitg-repository-list-box.c"
	{
		GList* child_collection = NULL;
		GList* child_it = NULL;
#line 352 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		child_collection = _tmp0_;
#line 352 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		for (child_it = child_collection; child_it != NULL; child_it = child_it->next) {
#line 1094 "gitg-repository-list-box.c"
			GtkWidget* child = NULL;
#line 352 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			child = (GtkWidget*) child_it->data;
#line 1098 "gitg-repository-list-box.c"
			{
				GitgRepositoryListBoxRow* d = NULL;
				GtkWidget* _tmp1_ = NULL;
				GitgRepositoryListBoxRow* _tmp2_ = NULL;
				GitgRepositoryListBoxRow* _tmp3_ = NULL;
				GitgRepository* _tmp4_ = NULL;
				GitgRepository* _tmp5_ = NULL;
				GFile* _tmp6_ = NULL;
				GFile* _tmp7_ = NULL;
				GitgRepository* _tmp8_ = NULL;
				GFile* _tmp9_ = NULL;
				GFile* _tmp10_ = NULL;
				gboolean _tmp11_ = FALSE;
				gboolean _tmp12_ = FALSE;
#line 354 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_tmp1_ = child;
#line 354 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GITG_REPOSITORY_LIST_BOX_TYPE_ROW, GitgRepositoryListBoxRow));
#line 354 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				d = _tmp2_;
#line 356 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_tmp3_ = d;
#line 356 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_tmp4_ = gitg_repository_list_box_row_get_repository (_tmp3_);
#line 356 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_tmp5_ = _tmp4_;
#line 356 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_tmp6_ = ggit_repository_get_location ((GgitRepository*) _tmp5_);
#line 356 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_tmp7_ = _tmp6_;
#line 356 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_tmp8_ = repository;
#line 356 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_tmp9_ = ggit_repository_get_location ((GgitRepository*) _tmp8_);
#line 356 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_tmp10_ = _tmp9_;
#line 356 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_tmp11_ = g_file_equal (_tmp7_, _tmp10_);
#line 356 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_tmp12_ = _tmp11_;
#line 356 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_g_object_unref0 (_tmp10_);
#line 356 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_g_object_unref0 (_tmp7_);
#line 356 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				if (_tmp12_) {
#line 1145 "gitg-repository-list-box.c"
					GitgRepositoryListBoxRow* _tmp13_ = NULL;
					GitgRepositoryListBoxRow* _tmp14_ = NULL;
#line 358 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
					_tmp13_ = d;
#line 358 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
					_tmp14_ = _g_object_ref0 (_tmp13_);
#line 358 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
					_g_object_unref0 (row);
#line 358 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
					row = _tmp14_;
#line 359 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
					_g_object_unref0 (d);
#line 359 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
					break;
#line 1160 "gitg-repository-list-box.c"
				}
#line 352 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_g_object_unref0 (d);
#line 1164 "gitg-repository-list-box.c"
			}
		}
#line 352 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_list_free0 (child_collection);
#line 1169 "gitg-repository-list-box.c"
	}
#line 363 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	result = row;
#line 363 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return result;
#line 1175 "gitg-repository-list-box.c"
}


static void gtk_recent_data_destroy (GtkRecentData* self) {
#line 366 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_free0 ((*self).display_name);
#line 366 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_free0 ((*self).description);
#line 366 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_free0 ((*self).mime_type);
#line 366 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_free0 ((*self).app_name);
#line 366 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_free0 ((*self).app_exec);
#line 366 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	(*self).groups = (_vala_array_free ((*self).groups, _vala_array_length ((*self).groups), (GDestroyNotify) g_free), NULL);
#line 1192 "gitg-repository-list-box.c"
}


static void gitg_repository_list_box_add_repository_to_recent_manager (GitgRepositoryListBox* self, const gchar* uri) {
	GtkRecentManager* recent_manager = NULL;
	GtkRecentManager* _tmp0_ = NULL;
	GtkRecentManager* _tmp1_ = NULL;
	GtkRecentData item = {0};
	const gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	const gchar* _tmp5_ = NULL;
	gchar* _tmp6_ = NULL;
	gchar* _tmp7_ = NULL;
	gchar** _tmp8_ = NULL;
	const gchar* _tmp9_ = NULL;
	GtkRecentData _tmp10_ = {0};
#line 366 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_if_fail (self != NULL);
#line 366 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_if_fail (uri != NULL);
#line 368 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = gtk_recent_manager_get_default ();
#line 368 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 368 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	recent_manager = _tmp1_;
#line 369 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	memset (&item, 0, sizeof (GtkRecentData));
#line 370 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp2_ = g_get_application_name ();
#line 370 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp3_ = g_strdup (_tmp2_);
#line 370 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_free0 (item.app_name);
#line 370 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	item.app_name = _tmp3_;
#line 371 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp4_ = g_strdup ("inode/directory");
#line 371 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_free0 (item.mime_type);
#line 371 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	item.mime_type = _tmp4_;
#line 372 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp5_ = g_get_prgname ();
#line 372 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp6_ = g_strjoin (" ", _tmp5_, "%f", NULL);
#line 372 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_free0 (item.app_exec);
#line 372 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	item.app_exec = _tmp6_;
#line 373 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp7_ = g_strdup ("gitg");
#line 373 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp8_ = g_new0 (gchar*, 2 + 1);
#line 373 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp8_[0] = _tmp7_;
#line 373 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp8_[1] = NULL;
#line 373 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	item.groups = (_vala_array_free (item.groups, _vala_array_length (item.groups), (GDestroyNotify) g_free), NULL);
#line 373 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	item.groups = _tmp8_;
#line 374 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp9_ = uri;
#line 374 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp10_ = item;
#line 374 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_recent_manager_add_full (recent_manager, _tmp9_, &_tmp10_);
#line 366 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_recent_data_destroy (&item);
#line 366 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (recent_manager);
#line 1266 "gitg-repository-list-box.c"
}


static Block15Data* block15_data_ref (Block15Data* _data15_) {
#line 377 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_atomic_int_inc (&_data15_->_ref_count_);
#line 377 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return _data15_;
#line 1275 "gitg-repository-list-box.c"
}


static void block15_data_unref (void * _userdata_) {
	Block15Data* _data15_;
	_data15_ = (Block15Data*) _userdata_;
#line 377 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	if (g_atomic_int_dec_and_test (&_data15_->_ref_count_)) {
#line 1284 "gitg-repository-list-box.c"
		GitgRepositoryListBox* self;
#line 377 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		self = _data15_->self;
#line 377 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_object_unref0 (_data15_->f);
#line 377 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_object_unref0 (_data15_->row);
#line 377 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_object_unref0 (self);
#line 377 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_slice_free (Block15Data, _data15_);
#line 1296 "gitg-repository-list-box.c"
	}
}


static gint ____lambda57_ (Block15Data* _data15_, GgitSubmodule* module) {
	GitgRepositoryListBox* self;
	gint result = 0;
	GitgRepositoryListBoxRow* _tmp0_ = NULL;
	GgitSubmodule* _tmp1_ = NULL;
#line 406 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	self = _data15_->self;
#line 406 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_val_if_fail (module != NULL, 0);
#line 407 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = _data15_->row;
#line 407 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp1_ = module;
#line 407 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gitg_repository_list_box_row_add_submodule (_tmp0_, _tmp1_);
#line 408 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	result = 0;
#line 408 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return result;
#line 1320 "gitg-repository-list-box.c"
}


static gint _____lambda57__ggit_submodule_callback (GgitSubmodule* submodule, const gchar* name, gpointer self) {
	gint result;
	result = ____lambda57_ (self, submodule);
#line 406 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return result;
#line 1329 "gitg-repository-list-box.c"
}


static void ____lambda58_ (GitgRepositoryListBox* self) {
#line 423 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_notify ((GObject*) self, "has-selection");
#line 1336 "gitg-repository-list-box.c"
}


static void _____lambda58__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 422 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	____lambda58_ ((GitgRepositoryListBox*) self);
#line 1343 "gitg-repository-list-box.c"
}


static void ____lambda59_ (Block15Data* _data15_) {
	GitgRepositoryListBox* self;
	GitgRepositoryListBoxRow* _tmp5_ = NULL;
	GError * _inner_error_ = NULL;
#line 426 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	self = _data15_->self;
#line 1353 "gitg-repository-list-box.c"
	{
		GtkRecentManager* recent_manager = NULL;
		GtkRecentManager* _tmp0_ = NULL;
		GtkRecentManager* _tmp1_ = NULL;
		GFile* _tmp2_ = NULL;
		gchar* _tmp3_ = NULL;
		gchar* _tmp4_ = NULL;
#line 429 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp0_ = gtk_recent_manager_get_default ();
#line 429 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 429 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		recent_manager = _tmp1_;
#line 430 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp2_ = _data15_->f;
#line 430 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp3_ = g_file_get_uri (_tmp2_);
#line 430 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp4_ = _tmp3_;
#line 430 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gtk_recent_manager_remove_item (recent_manager, _tmp4_, &_inner_error_);
#line 430 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_free0 (_tmp4_);
#line 430 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 430 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_g_object_unref0 (recent_manager);
#line 1381 "gitg-repository-list-box.c"
			goto __catch63_g_error;
		}
#line 427 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_object_unref0 (recent_manager);
#line 1386 "gitg-repository-list-box.c"
	}
	goto __finally63;
	__catch63_g_error:
	{
#line 427 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_clear_error (&_inner_error_);
#line 427 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_inner_error_ = NULL;
#line 1395 "gitg-repository-list-box.c"
	}
	__finally63:
#line 427 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 427 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.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 427 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_clear_error (&_inner_error_);
#line 427 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		return;
#line 1406 "gitg-repository-list-box.c"
	}
#line 433 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp5_ = _data15_->row;
#line 433 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_container_remove ((GtkContainer*) self, (GtkWidget*) _tmp5_);
#line 1412 "gitg-repository-list-box.c"
}


static void _____lambda59__gitg_repository_list_box_row_request_remove (GitgRepositoryListBoxRow* _sender, gpointer self) {
#line 426 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	____lambda59_ (self);
#line 1419 "gitg-repository-list-box.c"
}


void gitg_repository_list_box_add_repository (GitgRepositoryListBox* self, GitgRepository* repository) {
	Block15Data* _data15_;
	GitgRepository* _tmp0_ = NULL;
	GitgRepositoryListBoxRow* _tmp1_ = NULL;
	GFile* _tmp2_ = NULL;
	GitgRepository* _tmp3_ = NULL;
	GFile* _tmp4_ = NULL;
	GFile* _tmp5_ = NULL;
	GFile* _tmp6_ = NULL;
	gboolean _tmp7_ = FALSE;
	GFile* _tmp14_ = NULL;
	GitgRepositoryListBoxRow* _tmp15_ = NULL;
	GFile* _tmp51_ = NULL;
	GError * _inner_error_ = NULL;
#line 377 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_if_fail (self != NULL);
#line 377 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_if_fail (repository != NULL);
#line 377 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data15_ = g_slice_new0 (Block15Data);
#line 377 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data15_->_ref_count_ = 1;
#line 377 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data15_->self = g_object_ref (self);
#line 379 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = repository;
#line 379 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp1_ = gitg_repository_list_box_get_row_for_repository (self, _tmp0_);
#line 379 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data15_->row = _tmp1_;
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp3_ = repository;
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_get ((GgitRepository*) _tmp3_, "workdir", &_tmp4_, NULL);
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp5_ = _tmp4_;
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp6_ = _tmp5_;
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp7_ = _tmp6_ != NULL;
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (_tmp6_);
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	if (_tmp7_) {
#line 1467 "gitg-repository-list-box.c"
		GitgRepository* _tmp8_ = NULL;
		GFile* _tmp9_ = NULL;
		GFile* _tmp10_ = NULL;
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp8_ = repository;
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_object_get ((GgitRepository*) _tmp8_, "workdir", &_tmp9_, NULL);
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp10_ = _tmp9_;
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_object_unref0 (_tmp2_);
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp2_ = _tmp10_;
#line 1481 "gitg-repository-list-box.c"
	} else {
		GitgRepository* _tmp11_ = NULL;
		GFile* _tmp12_ = NULL;
		GFile* _tmp13_ = NULL;
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp11_ = repository;
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp12_ = ggit_repository_get_location ((GgitRepository*) _tmp11_);
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp13_ = _tmp12_;
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_object_unref0 (_tmp2_);
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp2_ = _tmp13_;
#line 1496 "gitg-repository-list-box.c"
	}
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp14_ = _g_object_ref0 (_tmp2_);
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data15_->f = _tmp14_;
#line 383 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp15_ = _data15_->row;
#line 383 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	if (_tmp15_ == NULL) {
#line 1506 "gitg-repository-list-box.c"
		gchar* head_name = NULL;
		gchar* _tmp16_ = NULL;
		gboolean has_remote = FALSE;
		GitgRepository* _tmp29_ = NULL;
		gchar* _tmp30_ = NULL;
		gchar* _tmp31_ = NULL;
		gchar* _tmp32_ = NULL;
		const gchar* _tmp33_ = NULL;
		gboolean _tmp34_ = FALSE;
		GitgRepositoryListBoxRow* _tmp35_ = NULL;
		GitgRepositoryListBoxRow* _tmp36_ = NULL;
		GitgRepository* _tmp37_ = NULL;
		GitgRepositoryListBoxRow* _tmp38_ = NULL;
		GFile* _tmp40_ = NULL;
		GFile* _tmp42_ = NULL;
		GitgRepositoryListBoxRow* _tmp47_ = NULL;
#line 385 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp16_ = g_strdup ("");
#line 385 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		head_name = _tmp16_;
#line 386 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		has_remote = TRUE;
#line 1529 "gitg-repository-list-box.c"
		{
			GitgRef* head = NULL;
			GitgRepository* _tmp17_ = NULL;
			GitgRef* _tmp18_ = NULL;
			GitgRef* _tmp19_ = NULL;
			GitgParsedRefName* _tmp20_ = NULL;
			GitgParsedRefName* _tmp21_ = NULL;
			GitgParsedRefName* _tmp22_ = NULL;
			gchar* _tmp23_ = NULL;
			gchar* _tmp24_ = NULL;
			gchar** remotes = NULL;
			GitgRepository* _tmp25_ = NULL;
			gchar** _tmp26_ = NULL;
			gchar** _tmp27_ = NULL;
			gint remotes_length1 = 0;
			gint _remotes_size_ = 0;
			gchar** _tmp28_ = NULL;
			gint _tmp28__length1 = 0;
#line 390 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp17_ = repository;
#line 390 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp18_ = gitg_repository_get_head (_tmp17_, &_inner_error_);
#line 390 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			head = _tmp18_;
#line 390 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1556 "gitg-repository-list-box.c"
				goto __catch61_g_error;
			}
#line 391 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp19_ = head;
#line 391 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp20_ = gitg_ref_get_parsed_name (_tmp19_);
#line 391 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp21_ = _tmp20_;
#line 391 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp22_ = _tmp21_;
#line 391 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp23_ = gitg_parsed_ref_name_get_shortname (_tmp22_);
#line 391 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp24_ = _tmp23_;
#line 391 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_g_free0 (head_name);
#line 391 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			head_name = _tmp24_;
#line 391 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_g_object_unref0 (_tmp22_);
#line 392 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp25_ = repository;
#line 392 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp27_ = _tmp26_ = ggit_repository_list_remotes ((GgitRepository*) _tmp25_, &_inner_error_);
#line 392 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			remotes = _tmp27_;
#line 392 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			remotes_length1 = _vala_array_length (_tmp26_);
#line 392 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_remotes_size_ = remotes_length1;
#line 392 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 392 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_g_object_unref0 (head);
#line 1591 "gitg-repository-list-box.c"
				goto __catch61_g_error;
			}
#line 393 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp28_ = remotes;
#line 393 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp28__length1 = remotes_length1;
#line 393 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			if (_tmp28__length1 == 0) {
#line 395 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				has_remote = FALSE;
#line 1602 "gitg-repository-list-box.c"
			}
#line 388 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			remotes = (_vala_array_free (remotes, remotes_length1, (GDestroyNotify) g_free), NULL);
#line 388 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_g_object_unref0 (head);
#line 1608 "gitg-repository-list-box.c"
		}
		goto __finally61;
		__catch61_g_error:
		{
#line 388 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			g_clear_error (&_inner_error_);
#line 388 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_inner_error_ = NULL;
#line 1617 "gitg-repository-list-box.c"
		}
		__finally61:
#line 388 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 388 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_g_free0 (head_name);
#line 388 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_g_object_unref0 (_tmp2_);
#line 388 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			block15_data_unref (_data15_);
#line 388 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_data15_ = NULL;
#line 388 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.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 388 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			g_clear_error (&_inner_error_);
#line 388 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			return;
#line 1636 "gitg-repository-list-box.c"
		}
#line 400 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp29_ = repository;
#line 400 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp30_ = gitg_repository_get_name (_tmp29_);
#line 400 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp31_ = _tmp30_;
#line 400 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp32_ = _tmp31_;
#line 400 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp33_ = head_name;
#line 400 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp34_ = has_remote;
#line 400 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp35_ = gitg_repository_list_box_row_new (_tmp32_, _tmp33_, _tmp34_);
#line 400 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_object_ref_sink (_tmp35_);
#line 400 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_object_unref0 (_data15_->row);
#line 400 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_data15_->row = _tmp35_;
#line 400 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_free0 (_tmp32_);
#line 401 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp36_ = _data15_->row;
#line 401 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp37_ = repository;
#line 401 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gitg_repository_list_box_row_set_repository (_tmp36_, _tmp37_);
#line 402 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp38_ = _data15_->row;
#line 402 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gtk_widget_show ((GtkWidget*) _tmp38_);
#line 1670 "gitg-repository-list-box.c"
		{
			GitgRepository* _tmp39_ = NULL;
#line 406 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp39_ = repository;
#line 406 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			ggit_repository_submodule_foreach ((GgitRepository*) _tmp39_, _____lambda57__ggit_submodule_callback, _data15_, &_inner_error_);
#line 406 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1679 "gitg-repository-list-box.c"
				goto __catch62_g_error;
			}
		}
		goto __finally62;
		__catch62_g_error:
		{
#line 404 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			g_clear_error (&_inner_error_);
#line 404 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_inner_error_ = NULL;
#line 1690 "gitg-repository-list-box.c"
		}
		__finally62:
#line 404 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 404 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_g_free0 (head_name);
#line 404 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_g_object_unref0 (_tmp2_);
#line 404 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			block15_data_unref (_data15_);
#line 404 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_data15_ = NULL;
#line 404 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 404 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			g_clear_error (&_inner_error_);
#line 404 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			return;
#line 1709 "gitg-repository-list-box.c"
		}
#line 413 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp40_ = _data15_->f;
#line 413 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		if (_tmp40_ != NULL) {
#line 1715 "gitg-repository-list-box.c"
			GitgRepositoryListBoxRow* _tmp41_ = NULL;
#line 415 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp41_ = _data15_->row;
#line 415 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			g_object_bind_property_with_closures ((GObject*) self, "mode", (GObject*) _tmp41_, "mode", 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 1721 "gitg-repository-list-box.c"
		}
#line 420 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp42_ = _data15_->f;
#line 420 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		if (_tmp42_ != NULL) {
#line 1727 "gitg-repository-list-box.c"
			GitgRepositoryListBoxRow* _tmp43_ = NULL;
			GitgRepositoryListBoxRow* _tmp44_ = NULL;
			GitgRepositoryListBoxRow* _tmp45_ = NULL;
#line 422 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp43_ = _data15_->row;
#line 422 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			g_signal_connect_object ((GObject*) _tmp43_, "notify::selected", (GCallback) _____lambda58__g_object_notify, self, 0);
#line 426 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp44_ = _data15_->row;
#line 426 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			g_signal_connect_data (_tmp44_, "request-remove", (GCallback) _____lambda59__gitg_repository_list_box_row_request_remove, block15_data_ref (_data15_), (GClosureNotify) block15_data_unref, 0);
#line 436 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp45_ = _data15_->row;
#line 436 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			gitg_repository_list_box_row_set_can_remove (_tmp45_, TRUE);
#line 1743 "gitg-repository-list-box.c"
		} else {
			GitgRepositoryListBoxRow* _tmp46_ = NULL;
#line 440 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp46_ = _data15_->row;
#line 440 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			gitg_repository_list_box_row_set_can_remove (_tmp46_, FALSE);
#line 1750 "gitg-repository-list-box.c"
		}
#line 443 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp47_ = _data15_->row;
#line 443 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gtk_container_add ((GtkContainer*) self, (GtkWidget*) _tmp47_);
#line 383 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_free0 (head_name);
#line 1758 "gitg-repository-list-box.c"
	} else {
		GitgRepositoryListBoxRow* _tmp48_ = NULL;
		GDateTime* _tmp49_ = NULL;
		GDateTime* _tmp50_ = NULL;
#line 448 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp48_ = _data15_->row;
#line 448 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp49_ = g_date_time_new_now_local ();
#line 448 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp50_ = _tmp49_;
#line 448 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gitg_repository_list_box_row_set_time (_tmp48_, _tmp50_);
#line 448 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_date_time_unref0 (_tmp50_);
#line 449 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gtk_list_box_invalidate_sort ((GtkListBox*) self);
#line 1775 "gitg-repository-list-box.c"
	}
#line 452 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp51_ = _data15_->f;
#line 452 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	if (_tmp51_ != NULL) {
#line 1781 "gitg-repository-list-box.c"
		GFile* _tmp52_ = NULL;
		gchar* _tmp53_ = NULL;
		gchar* _tmp54_ = NULL;
#line 454 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp52_ = _data15_->f;
#line 454 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp53_ = g_file_get_uri (_tmp52_);
#line 454 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp54_ = _tmp53_;
#line 454 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gitg_repository_list_box_add_repository_to_recent_manager (self, _tmp54_);
#line 454 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_free0 (_tmp54_);
#line 1795 "gitg-repository-list-box.c"
	}
#line 377 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (_tmp2_);
#line 377 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	block15_data_unref (_data15_);
#line 377 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data15_ = NULL;
#line 1803 "gitg-repository-list-box.c"
}


static void gitg_repository_list_box_clone_data_free (gpointer _data) {
	GitgRepositoryListBoxCloneData* _data_;
	_data_ = _data;
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (_data_->result);
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (_data_->self);
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_slice_free (GitgRepositoryListBoxCloneData, _data_);
#line 1816 "gitg-repository-list-box.c"
}


static void gitg_repository_list_box_clone (GitgRepositoryListBox* self, GitgRepositoryListBoxRow* row, const gchar* url, GFile* location, gboolean is_bare, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgRepositoryListBoxCloneData* _data_;
	GitgRepositoryListBox* _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 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_ = g_slice_new0 (GitgRepositoryListBoxCloneData);
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_repository_list_box_clone);
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_repository_list_box_clone_data_free);
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->self = _tmp0_;
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp1_ = row;
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (_data_->row);
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->row = _tmp2_;
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp3_ = url;
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp4_ = g_strdup (_tmp3_);
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_free0 (_data_->url);
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->url = _tmp4_;
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp5_ = location;
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp6_ = _g_object_ref0 (_tmp5_);
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (_data_->location);
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->location = _tmp6_;
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp7_ = is_bare;
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->is_bare = _tmp7_;
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gitg_repository_list_box_clone_co (_data_);
#line 1870 "gitg-repository-list-box.c"
}


static GitgRepository* gitg_repository_list_box_clone_finish (GitgRepositoryListBox* self, GAsyncResult* _res_) {
	GitgRepository* result;
	GitgRepositoryListBoxCloneData* _data_;
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	result = _data_->result;
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->result = NULL;
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return result;
#line 1885 "gitg-repository-list-box.c"
}


static Block16Data* block16_data_ref (Block16Data* _data16_) {
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_atomic_int_inc (&_data16_->_ref_count_);
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return _data16_;
#line 1894 "gitg-repository-list-box.c"
}


static void block16_data_unref (void * _userdata_) {
	Block16Data* _data16_;
	_data16_ = (Block16Data*) _userdata_;
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	if (g_atomic_int_dec_and_test (&_data16_->_ref_count_)) {
#line 1903 "gitg-repository-list-box.c"
		GitgRepositoryListBox* self;
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		self = _data16_->self;
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_object_unref0 (_data16_->repository);
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		(_data16_->callback_target_destroy_notify == NULL) ? NULL : (_data16_->callback_target_destroy_notify (_data16_->callback_target), NULL);
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_data16_->callback = NULL;
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_data16_->callback_target = NULL;
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_data16_->callback_target_destroy_notify = NULL;
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_object_unref0 (_data16_->row);
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_free0 (_data16_->url);
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_object_unref0 (_data16_->location);
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_object_unref0 (self);
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_slice_free (Block16Data, _data16_);
#line 1927 "gitg-repository-list-box.c"
	}
}


static gboolean _gitg_repository_list_box_clone_co_gsource_func (gpointer self) {
	gboolean result;
	result = gitg_repository_list_box_clone_co (self);
#line 517 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return result;
#line 1937 "gitg-repository-list-box.c"
}


static void _vala_GgitCloneOptions_free (GgitCloneOptions* self) {
#line 528 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_boxed_free (ggit_clone_options_get_type (), self);
#line 1944 "gitg-repository-list-box.c"
}


static void* __lambda60_ (Block16Data* _data16_) {
	GitgRepositoryListBox* self;
	void* result = NULL;
	GSourceFunc _tmp17_ = NULL;
	void* _tmp17__target = NULL;
	GDestroyNotify _tmp17__target_destroy_notify = NULL;
	GError * _inner_error_ = NULL;
#line 520 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	self = _data16_->self;
#line 1957 "gitg-repository-list-box.c"
	{
		GgitCloneOptions* options = NULL;
		GgitCloneOptions* _tmp0_ = NULL;
		GgitCloneOptions* _tmp1_ = NULL;
		gboolean _tmp2_ = FALSE;
		GgitCloneOptions* _tmp3_ = NULL;
		GitgRepositoryListBoxRow* _tmp4_ = NULL;
		GitgRepositoryListBoxCloneProgress* _tmp5_ = NULL;
		GitgRepositoryListBoxCloneProgress* _tmp6_ = NULL;
		GgitRepository* _tmp7_ = NULL;
		const gchar* _tmp8_ = NULL;
		GFile* _tmp9_ = NULL;
		GgitCloneOptions* _tmp10_ = NULL;
		GgitRepository* _tmp11_ = NULL;
		GgitRepository* _tmp12_ = NULL;
#line 523 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp0_ = ggit_clone_options_new ();
#line 523 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		options = _tmp0_;
#line 525 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp1_ = options;
#line 525 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp2_ = _data16_->is_bare;
#line 525 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		ggit_clone_options_set_is_bare (_tmp1_, _tmp2_);
#line 526 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp3_ = options;
#line 526 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp4_ = _data16_->row;
#line 526 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp5_ = gitg_repository_list_box_clone_progress_new (_tmp4_);
#line 526 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp6_ = _tmp5_;
#line 526 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		ggit_clone_options_set_remote_callbacks (_tmp3_, (GgitRemoteCallbacks*) _tmp6_);
#line 526 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_object_unref0 (_tmp6_);
#line 528 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp8_ = _data16_->url;
#line 528 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp9_ = _data16_->location;
#line 528 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp10_ = options;
#line 528 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp11_ = ggit_repository_clone (_tmp8_, _tmp9_, _tmp10_, &_inner_error_);
#line 528 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp7_ = _tmp11_;
#line 528 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 528 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			__vala_GgitCloneOptions_free0 (options);
#line 528 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			if (_inner_error_->domain == GGIT_ERROR) {
#line 2011 "gitg-repository-list-box.c"
				goto __catch64_ggit_error;
			}
			goto __catch64_g_error;
		}
#line 528 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp12_ = _tmp7_;
#line 528 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp7_ = NULL;
#line 528 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_object_unref0 (_data16_->repository);
#line 528 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_data16_->repository = G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GITG_TYPE_REPOSITORY, GitgRepository);
#line 521 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_object_unref0 (_tmp7_);
#line 521 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		__vala_GgitCloneOptions_free0 (options);
#line 2028 "gitg-repository-list-box.c"
	}
	goto __finally64;
	__catch64_ggit_error:
	{
		GError* e = NULL;
		GError* _tmp13_ = NULL;
		const gchar* _tmp14_ = NULL;
#line 521 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		e = _inner_error_;
#line 521 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_inner_error_ = NULL;
#line 532 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp13_ = e;
#line 532 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp14_ = _tmp13_->message;
#line 532 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_signal_emit_by_name (self, "show-error", "Gitg could not clone the git repository.", _tmp14_);
#line 521 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_error_free0 (e);
#line 2048 "gitg-repository-list-box.c"
	}
	goto __finally64;
	__catch64_g_error:
	{
		GError* e = NULL;
		GError* _tmp15_ = NULL;
		const gchar* _tmp16_ = NULL;
#line 521 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		e = _inner_error_;
#line 521 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_inner_error_ = NULL;
#line 536 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp15_ = e;
#line 536 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp16_ = _tmp15_->message;
#line 536 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_signal_emit_by_name (self, "show-error", "Gitg could not clone the git repository.", _tmp16_);
#line 521 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_error_free0 (e);
#line 2068 "gitg-repository-list-box.c"
	}
	__finally64:
#line 521 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 521 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.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 521 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_clear_error (&_inner_error_);
#line 521 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		return NULL;
#line 2079 "gitg-repository-list-box.c"
	}
#line 539 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp17_ = _data16_->callback;
#line 539 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp17__target = _data16_->callback_target;
#line 539 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp17__target_destroy_notify = _data16_->callback_target_destroy_notify;
#line 539 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data16_->callback_target_destroy_notify = NULL;
#line 539 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, _tmp17_, _tmp17__target, _tmp17__target_destroy_notify);
#line 540 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	result = NULL;
#line 540 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return result;
#line 2095 "gitg-repository-list-box.c"
}


static gpointer ___lambda60__gthread_func (gpointer self) {
	gpointer result;
	result = __lambda60_ (self);
#line 520 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	block16_data_unref (self);
#line 520 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return result;
#line 2106 "gitg-repository-list-box.c"
}


static gboolean gitg_repository_list_box_clone_co (GitgRepositoryListBoxCloneData* _data_) {
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	switch (_data_->_state_) {
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		case 0:
#line 2115 "gitg-repository-list-box.c"
		goto _state_0;
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		case 1:
#line 2119 "gitg-repository-list-box.c"
		goto _state_1;
		default:
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_assert_not_reached ();
#line 2124 "gitg-repository-list-box.c"
	}
	_state_0:
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->_data16_ = g_slice_new0 (Block16Data);
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->_data16_->_ref_count_ = 1;
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->_data16_->self = g_object_ref (_data_->self);
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->_tmp0_ = NULL;
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->_tmp0_ = _data_->row;
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (_data_->_data16_->row);
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->_data16_->row = _data_->_tmp0_;
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->_tmp1_ = NULL;
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->_tmp1_ = _data_->url;
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_free0 (_data_->_data16_->url);
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->_data16_->url = _data_->_tmp1_;
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->_tmp2_ = NULL;
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->_tmp2_ = _data_->location;
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (_data_->_data16_->location);
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->_data16_->location = _data_->_tmp2_;
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->_tmp3_ = FALSE;
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->_tmp3_ = _data_->is_bare;
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->_data16_->is_bare = _data_->_tmp3_;
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->_data16_->_async_data_ = _data_;
#line 517 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->_data16_->callback = _gitg_repository_list_box_clone_co_gsource_func;
#line 517 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->_data16_->callback_target = _data_;
#line 517 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->_data16_->callback_target_destroy_notify = NULL;
#line 518 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->_data16_->repository = NULL;
#line 520 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->run_target = NULL;
#line 520 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->run_target_destroy_notify = NULL;
#line 520 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->run = ___lambda60__gthread_func;
#line 520 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->run_target = block16_data_ref (_data_->_data16_);
#line 520 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->run_target_destroy_notify = block16_data_unref;
#line 2183 "gitg-repository-list-box.c"
	{
#line 545 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_data_->_tmp4_ = NULL;
#line 545 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_data_->_tmp4__target = NULL;
#line 545 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_data_->_tmp4__target_destroy_notify = NULL;
#line 545 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_data_->_tmp4_ = _data_->run;
#line 545 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_data_->_tmp4__target = _data_->run_target;
#line 545 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_data_->_tmp4__target_destroy_notify = _data_->run_target_destroy_notify;
#line 545 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_data_->run_target_destroy_notify = NULL;
#line 545 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_data_->_tmp5_ = NULL;
#line 545 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_data_->_tmp5_ = g_thread_try_new ("gitg-clone-thread", _data_->_tmp4_, _data_->_tmp4__target, &_data_->_inner_error_);
#line 545 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_data_->_tmp6_ = NULL;
#line 545 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_data_->_tmp6_ = _data_->_tmp5_;
#line 545 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_thread_unref0 (_data_->_tmp6_);
#line 545 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 2211 "gitg-repository-list-box.c"
			goto __catch65_g_error;
		}
#line 546 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_data_->_state_ = 1;
#line 546 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		return FALSE;
#line 2218 "gitg-repository-list-box.c"
		_state_1:
		;
	}
	goto __finally65;
	__catch65_g_error:
	{
#line 543 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_clear_error (&_data_->_inner_error_);
#line 543 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_data_->_inner_error_ = NULL;
#line 2229 "gitg-repository-list-box.c"
	}
	__finally65:
#line 543 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 543 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		block16_data_unref (_data_->_data16_);
#line 543 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_data_->_data16_ = NULL;
#line 543 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.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 543 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_clear_error (&_data_->_inner_error_);
#line 543 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		return FALSE;
#line 2244 "gitg-repository-list-box.c"
	}
#line 550 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->_tmp7_ = NULL;
#line 550 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->_tmp7_ = _g_object_ref0 (_data_->_data16_->repository);
#line 550 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->result = _data_->_tmp7_;
#line 550 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	block16_data_unref (_data_->_data16_);
#line 550 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->_data16_ = NULL;
#line 550 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	if (_data_->_state_ == 0) {
#line 550 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2260 "gitg-repository-list-box.c"
	} else {
#line 550 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2264 "gitg-repository-list-box.c"
	}
#line 550 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_unref (_data_->_async_result);
#line 550 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return FALSE;
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	block16_data_unref (_data_->_data16_);
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data_->_data16_ = NULL;
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	if (_data_->_state_ == 0) {
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2278 "gitg-repository-list-box.c"
	} else {
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2282 "gitg-repository-list-box.c"
	}
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_unref (_data_->_async_result);
#line 515 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return FALSE;
#line 2288 "gitg-repository-list-box.c"
}


static Block17Data* block17_data_ref (Block17Data* _data17_) {
#line 553 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_atomic_int_inc (&_data17_->_ref_count_);
#line 553 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return _data17_;
#line 2297 "gitg-repository-list-box.c"
}


static void block17_data_unref (void * _userdata_) {
	Block17Data* _data17_;
	_data17_ = (Block17Data*) _userdata_;
#line 553 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	if (g_atomic_int_dec_and_test (&_data17_->_ref_count_)) {
#line 2306 "gitg-repository-list-box.c"
		GitgRepositoryListBox* self;
#line 553 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		self = _data17_->self;
#line 553 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_object_unref0 (_data17_->row);
#line 553 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_object_unref0 (self);
#line 553 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_slice_free (Block17Data, _data17_);
#line 2316 "gitg-repository-list-box.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.28/vapi/glib-2.0.vapi"
	_tmp0_ = str;
#line 1197 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp1_ = maxlen;
#line 1197 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
#line 1197 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	end = _tmp2_;
#line 1198 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp3_ = end;
#line 1198 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	if (_tmp3_ == NULL) {
#line 2340 "gitg-repository-list-box.c"
		glong _tmp4_ = 0L;
#line 1199 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp4_ = maxlen;
#line 1199 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		result = _tmp4_;
#line 1199 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		return result;
#line 2348 "gitg-repository-list-box.c"
	} else {
		gchar* _tmp5_ = NULL;
		gchar* _tmp6_ = NULL;
#line 1201 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp5_ = end;
#line 1201 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp6_ = str;
#line 1201 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		result = (glong) (_tmp5_ - _tmp6_);
#line 1201 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		return result;
#line 2360 "gitg-repository-list-box.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.28/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1210 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp1_ = offset;
#line 1210 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	if (_tmp1_ >= ((glong) 0)) {
#line 2384 "gitg-repository-list-box.c"
		glong _tmp2_ = 0L;
#line 1210 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp2_ = len;
#line 1210 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp0_ = _tmp2_ >= ((glong) 0);
#line 2390 "gitg-repository-list-box.c"
	} else {
#line 1210 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp0_ = FALSE;
#line 2394 "gitg-repository-list-box.c"
	}
#line 1210 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	if (_tmp0_) {
#line 2398 "gitg-repository-list-box.c"
		glong _tmp3_ = 0L;
		glong _tmp4_ = 0L;
		glong _tmp5_ = 0L;
#line 1212 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp3_ = offset;
#line 1212 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp4_ = len;
#line 1212 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
#line 1212 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		string_length = _tmp5_;
#line 2410 "gitg-repository-list-box.c"
	} else {
		gint _tmp6_ = 0;
		gint _tmp7_ = 0;
#line 1214 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp6_ = strlen (self);
#line 1214 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp7_ = _tmp6_;
#line 1214 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		string_length = (glong) _tmp7_;
#line 2420 "gitg-repository-list-box.c"
	}
#line 1217 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp8_ = offset;
#line 1217 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	if (_tmp8_ < ((glong) 0)) {
#line 2426 "gitg-repository-list-box.c"
		glong _tmp9_ = 0L;
		glong _tmp10_ = 0L;
		glong _tmp11_ = 0L;
#line 1218 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp9_ = string_length;
#line 1218 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp10_ = offset;
#line 1218 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		offset = _tmp9_ + _tmp10_;
#line 1219 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp11_ = offset;
#line 1219 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 2440 "gitg-repository-list-box.c"
	} else {
		glong _tmp12_ = 0L;
		glong _tmp13_ = 0L;
#line 1221 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp12_ = offset;
#line 1221 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp13_ = string_length;
#line 1221 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 2450 "gitg-repository-list-box.c"
	}
#line 1223 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp14_ = len;
#line 1223 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	if (_tmp14_ < ((glong) 0)) {
#line 2456 "gitg-repository-list-box.c"
		glong _tmp15_ = 0L;
		glong _tmp16_ = 0L;
#line 1224 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp15_ = string_length;
#line 1224 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp16_ = offset;
#line 1224 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		len = _tmp15_ - _tmp16_;
#line 2465 "gitg-repository-list-box.c"
	}
#line 1226 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp17_ = offset;
#line 1226 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp18_ = len;
#line 1226 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp19_ = string_length;
#line 1226 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
#line 1227 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp20_ = offset;
#line 1227 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp21_ = len;
#line 1227 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
#line 1227 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	result = _tmp22_;
#line 1227 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	return result;
#line 2485 "gitg-repository-list-box.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.28/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, 0);
#line 931 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp0_ = start_index;
#line 931 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp1_ = c;
#line 931 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp2_ = g_utf8_strrchr (((gchar*) self) + _tmp0_, (gssize) (-1), _tmp1_);
#line 931 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_result_ = _tmp2_;
#line 933 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp3_ = _result_;
#line 933 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	if (_tmp3_ != NULL) {
#line 2510 "gitg-repository-list-box.c"
		gchar* _tmp4_ = NULL;
#line 934 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp4_ = _result_;
#line 934 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		result = (gint) (_tmp4_ - ((gchar*) self));
#line 934 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		return result;
#line 2518 "gitg-repository-list-box.c"
	} else {
#line 936 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		result = -1;
#line 936 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		return result;
#line 2524 "gitg-repository-list-box.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.28/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1231 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp0_ = strlen (self);
#line 1231 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp1_ = _tmp0_;
#line 1231 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	string_length = (glong) _tmp1_;
#line 1232 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp2_ = start;
#line 1232 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	if (_tmp2_ < ((glong) 0)) {
#line 2558 "gitg-repository-list-box.c"
		glong _tmp3_ = 0L;
		glong _tmp4_ = 0L;
#line 1233 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp3_ = string_length;
#line 1233 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp4_ = start;
#line 1233 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		start = _tmp3_ + _tmp4_;
#line 2567 "gitg-repository-list-box.c"
	}
#line 1235 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp5_ = end;
#line 1235 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	if (_tmp5_ < ((glong) 0)) {
#line 2573 "gitg-repository-list-box.c"
		glong _tmp6_ = 0L;
		glong _tmp7_ = 0L;
#line 1236 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp6_ = string_length;
#line 1236 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp7_ = end;
#line 1236 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		end = _tmp6_ + _tmp7_;
#line 2582 "gitg-repository-list-box.c"
	}
#line 1238 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp9_ = start;
#line 1238 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	if (_tmp9_ >= ((glong) 0)) {
#line 2588 "gitg-repository-list-box.c"
		glong _tmp10_ = 0L;
		glong _tmp11_ = 0L;
#line 1238 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp10_ = start;
#line 1238 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp11_ = string_length;
#line 1238 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp8_ = _tmp10_ <= _tmp11_;
#line 2597 "gitg-repository-list-box.c"
	} else {
#line 1238 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp8_ = FALSE;
#line 2601 "gitg-repository-list-box.c"
	}
#line 1238 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	g_return_val_if_fail (_tmp8_, NULL);
#line 1239 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp13_ = end;
#line 1239 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	if (_tmp13_ >= ((glong) 0)) {
#line 2609 "gitg-repository-list-box.c"
		glong _tmp14_ = 0L;
		glong _tmp15_ = 0L;
#line 1239 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp14_ = end;
#line 1239 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp15_ = string_length;
#line 1239 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp12_ = _tmp14_ <= _tmp15_;
#line 2618 "gitg-repository-list-box.c"
	} else {
#line 1239 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp12_ = FALSE;
#line 2622 "gitg-repository-list-box.c"
	}
#line 1239 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	g_return_val_if_fail (_tmp12_, NULL);
#line 1240 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp16_ = start;
#line 1240 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp17_ = end;
#line 1240 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	g_return_val_if_fail (_tmp16_ <= _tmp17_, NULL);
#line 1241 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp18_ = start;
#line 1241 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp19_ = end;
#line 1241 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp20_ = start;
#line 1241 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp21_ = g_strndup (((gchar*) self) + _tmp18_, (gsize) (_tmp19_ - _tmp20_));
#line 1241 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	result = _tmp21_;
#line 1241 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	return result;
#line 2644 "gitg-repository-list-box.c"
}


static void __lambda61_ (Block17Data* _data17_, GObject* obj, GAsyncResult* res) {
	GitgRepositoryListBox* self;
	GitgRepository* repository = NULL;
	GAsyncResult* _tmp0_ = NULL;
	GitgRepository* _tmp1_ = NULL;
	GitgRepository* _tmp2_ = NULL;
	GitgRepositoryListBoxRow* _tmp15_ = NULL;
	GitgRepository* _tmp16_ = NULL;
	GitgRepositoryListBoxRow* _tmp17_ = NULL;
#line 584 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	self = _data17_->self;
#line 584 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_if_fail (res != NULL);
#line 585 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = res;
#line 585 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp1_ = gitg_repository_list_box_clone_finish (self, _tmp0_);
#line 585 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	repository = _tmp1_;
#line 588 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp2_ = repository;
#line 588 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	if (_tmp2_ != NULL) {
#line 2671 "gitg-repository-list-box.c"
		GFile* workdir = NULL;
		GitgRepository* _tmp3_ = NULL;
		GFile* _tmp4_ = NULL;
		GFile* repo_file = NULL;
		GitgRepository* _tmp5_ = NULL;
		GFile* _tmp6_ = NULL;
		gchar* _tmp7_ = NULL;
		GFile* _tmp8_ = NULL;
		gchar* uri = NULL;
		gchar* _tmp13_ = NULL;
		const gchar* _tmp14_ = NULL;
#line 590 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp3_ = repository;
#line 590 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp4_ = ggit_repository_get_workdir ((GgitRepository*) _tmp3_);
#line 590 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		workdir = _tmp4_;
#line 591 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp5_ = repository;
#line 591 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp6_ = ggit_repository_get_location ((GgitRepository*) _tmp5_);
#line 591 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		repo_file = _tmp6_;
#line 592 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp8_ = workdir;
#line 592 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		if (_tmp8_ != NULL) {
#line 2699 "gitg-repository-list-box.c"
			GFile* _tmp9_ = NULL;
			gchar* _tmp10_ = NULL;
#line 592 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp9_ = workdir;
#line 592 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp10_ = g_file_get_uri (_tmp9_);
#line 592 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_g_free0 (_tmp7_);
#line 592 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp7_ = _tmp10_;
#line 2710 "gitg-repository-list-box.c"
		} else {
			GFile* _tmp11_ = NULL;
			gchar* _tmp12_ = NULL;
#line 592 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp11_ = repo_file;
#line 592 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp12_ = g_file_get_uri (_tmp11_);
#line 592 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_g_free0 (_tmp7_);
#line 592 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp7_ = _tmp12_;
#line 2722 "gitg-repository-list-box.c"
		}
#line 592 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp13_ = g_strdup (_tmp7_);
#line 592 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		uri = _tmp13_;
#line 593 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp14_ = uri;
#line 593 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gitg_repository_list_box_add_repository_to_recent_manager (self, _tmp14_);
#line 588 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_free0 (uri);
#line 588 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_free0 (_tmp7_);
#line 588 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_object_unref0 (repo_file);
#line 588 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_object_unref0 (workdir);
#line 2740 "gitg-repository-list-box.c"
	}
#line 596 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp15_ = _data17_->row;
#line 596 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp16_ = repository;
#line 596 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gitg_repository_list_box_row_set_repository (_tmp15_, _tmp16_);
#line 597 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp17_ = _data17_->row;
#line 597 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gitg_repository_list_box_row_set_loading (_tmp17_, FALSE);
#line 584 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (repository);
#line 2754 "gitg-repository-list-box.c"
}


static void ___lambda61__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 584 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	__lambda61_ (self, source_object, res);
#line 584 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	block17_data_unref (self);
#line 2763 "gitg-repository-list-box.c"
}


void gitg_repository_list_box_clone_repository (GitgRepositoryListBox* self, const gchar* url, GFile* location, gboolean is_bare) {
	Block17Data* _data17_;
	gchar* subfolder_name = NULL;
	const gchar* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	gint _tmp2_ = 0;
	gchar* _tmp3_ = NULL;
	gboolean _tmp4_ = FALSE;
	const gchar* _tmp5_ = NULL;
	gboolean _tmp6_ = FALSE;
	GFile* subfolder = NULL;
	GFile* _tmp15_ = NULL;
	const gchar* _tmp16_ = NULL;
	GFile* _tmp17_ = NULL;
	const gchar* _tmp21_ = NULL;
	GitgRepositoryListBoxRow* _tmp22_ = NULL;
	GitgRepositoryListBoxRow* _tmp23_ = NULL;
	GitgRepositoryListBoxRow* _tmp24_ = NULL;
	GitgRepositoryListBoxRow* _tmp25_ = NULL;
	GitgRepositoryListBoxRow* _tmp26_ = NULL;
	const gchar* _tmp27_ = NULL;
	GFile* _tmp28_ = NULL;
	gboolean _tmp29_ = FALSE;
	GError * _inner_error_ = NULL;
#line 553 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_if_fail (self != NULL);
#line 553 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_if_fail (url != NULL);
#line 553 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_if_fail (location != NULL);
#line 553 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data17_ = g_slice_new0 (Block17Data);
#line 553 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data17_->_ref_count_ = 1;
#line 553 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data17_->self = g_object_ref (self);
#line 556 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = url;
#line 556 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp1_ = url;
#line 556 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp2_ = string_last_index_of_char (_tmp1_, (gunichar) '/', 0);
#line 556 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp3_ = string_substring (_tmp0_, (glong) (_tmp2_ + 1), (glong) (-1));
#line 556 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	subfolder_name = _tmp3_;
#line 557 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp5_ = subfolder_name;
#line 557 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp6_ = g_str_has_suffix (_tmp5_, ".git");
#line 557 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	if (_tmp6_) {
#line 2819 "gitg-repository-list-box.c"
		gboolean _tmp7_ = FALSE;
#line 557 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp7_ = is_bare;
#line 557 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp4_ = !_tmp7_;
#line 2825 "gitg-repository-list-box.c"
	} else {
#line 557 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp4_ = FALSE;
#line 2829 "gitg-repository-list-box.c"
	}
#line 557 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	if (_tmp4_) {
#line 2833 "gitg-repository-list-box.c"
		const gchar* _tmp8_ = NULL;
		gint _tmp9_ = 0;
		gint _tmp10_ = 0;
		gchar* _tmp11_ = NULL;
#line 559 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp8_ = subfolder_name;
#line 559 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp9_ = strlen (".git");
#line 559 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp10_ = _tmp9_;
#line 559 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp11_ = string_slice (_tmp8_, (glong) 0, (glong) (-_tmp10_));
#line 559 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_free0 (subfolder_name);
#line 559 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		subfolder_name = _tmp11_;
#line 2850 "gitg-repository-list-box.c"
	} else {
		gboolean _tmp12_ = FALSE;
#line 561 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp12_ = is_bare;
#line 561 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		if (_tmp12_) {
#line 2857 "gitg-repository-list-box.c"
			const gchar* _tmp13_ = NULL;
			gchar* _tmp14_ = NULL;
#line 563 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp13_ = subfolder_name;
#line 563 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp14_ = g_strconcat (_tmp13_, ".git", NULL);
#line 563 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_g_free0 (subfolder_name);
#line 563 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			subfolder_name = _tmp14_;
#line 2868 "gitg-repository-list-box.c"
		}
	}
#line 566 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp15_ = location;
#line 566 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp16_ = subfolder_name;
#line 566 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp17_ = g_file_resolve_relative_path (_tmp15_, _tmp16_);
#line 566 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	subfolder = _tmp17_;
#line 2879 "gitg-repository-list-box.c"
	{
		GFile* _tmp18_ = NULL;
#line 570 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp18_ = subfolder;
#line 570 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_file_make_directory_with_parents (_tmp18_, NULL, &_inner_error_);
#line 570 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2888 "gitg-repository-list-box.c"
			goto __catch66_g_error;
		}
	}
	goto __finally66;
	__catch66_g_error:
	{
		GError* e = NULL;
		GError* _tmp19_ = NULL;
		const gchar* _tmp20_ = NULL;
#line 568 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		e = _inner_error_;
#line 568 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_inner_error_ = NULL;
#line 574 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp19_ = e;
#line 574 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp20_ = _tmp19_->message;
#line 574 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_signal_emit_by_name (self, "show-error", "Gitg could not clone the git repository.", _tmp20_);
#line 575 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_error_free0 (e);
#line 575 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_object_unref0 (subfolder);
#line 575 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_free0 (subfolder_name);
#line 575 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		block17_data_unref (_data17_);
#line 575 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_data17_ = NULL;
#line 575 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		return;
#line 2920 "gitg-repository-list-box.c"
	}
	__finally66:
#line 568 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 568 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_object_unref0 (subfolder);
#line 568 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_free0 (subfolder_name);
#line 568 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		block17_data_unref (_data17_);
#line 568 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_data17_ = NULL;
#line 568 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.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 568 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_clear_error (&_inner_error_);
#line 568 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		return;
#line 2939 "gitg-repository-list-box.c"
	}
#line 579 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp21_ = subfolder_name;
#line 579 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp22_ = gitg_repository_list_box_row_new (_tmp21_, "Cloning...", TRUE);
#line 579 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_ref_sink (_tmp22_);
#line 579 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data17_->row = _tmp22_;
#line 580 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp23_ = _data17_->row;
#line 580 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gitg_repository_list_box_row_set_loading (_tmp23_, TRUE);
#line 581 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp24_ = _data17_->row;
#line 581 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_widget_show ((GtkWidget*) _tmp24_);
#line 582 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp25_ = _data17_->row;
#line 582 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_container_add ((GtkContainer*) self, (GtkWidget*) _tmp25_);
#line 584 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp26_ = _data17_->row;
#line 584 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp27_ = url;
#line 584 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp28_ = subfolder;
#line 584 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp29_ = is_bare;
#line 584 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gitg_repository_list_box_clone (self, _tmp26_, _tmp27_, _tmp28_, _tmp29_, ___lambda61__gasync_ready_callback, block17_data_ref (_data17_));
#line 553 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (subfolder);
#line 553 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_free0 (subfolder_name);
#line 553 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	block17_data_unref (_data17_);
#line 553 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_data17_ = NULL;
#line 2979 "gitg-repository-list-box.c"
}


void gitg_repository_list_box_filter_text (GitgRepositoryListBox* self, const gchar* text) {
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 601 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_if_fail (self != NULL);
#line 603 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = text;
#line 603 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 603 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_free0 (self->priv->d_filter_text);
#line 603 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	self->priv->d_filter_text = _tmp1_;
#line 605 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_list_box_invalidate_filter ((GtkListBox*) self);
#line 2998 "gitg-repository-list-box.c"
}


GitgRepositoryListBox* gitg_repository_list_box_construct (GType object_type) {
	GitgRepositoryListBox * self = NULL;
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	self = (GitgRepositoryListBox*) g_object_new (object_type, NULL);
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return self;
#line 3008 "gitg-repository-list-box.c"
}


GitgRepositoryListBox* gitg_repository_list_box_new (void) {
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return gitg_repository_list_box_construct (GITG_TYPE_REPOSITORY_LIST_BOX);
#line 3015 "gitg-repository-list-box.c"
}


GitgSelectionMode gitg_repository_list_box_get_mode (GitgRepositoryListBox* self) {
	GitgSelectionMode result;
	GitgSelectionMode _tmp0_ = 0;
#line 234 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 234 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = self->priv->_mode;
#line 234 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	result = _tmp0_;
#line 234 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return result;
#line 3030 "gitg-repository-list-box.c"
}


void gitg_repository_list_box_set_mode (GitgRepositoryListBox* self, GitgSelectionMode value) {
	GitgSelectionMode _tmp0_ = 0;
#line 234 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_if_fail (self != NULL);
#line 234 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = value;
#line 234 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	self->priv->_mode = _tmp0_;
#line 234 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_notify ((GObject *) self, "mode");
#line 3044 "gitg-repository-list-box.c"
}


static void _vala_array_add10 (GitgRepositoryListBoxRow*** array, int* length, int* size, GitgRepositoryListBoxRow* value) {
#line 470 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	if ((*length) == (*size)) {
#line 470 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 470 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		*array = g_renew (GitgRepositoryListBoxRow*, *array, (*size) + 1);
#line 3055 "gitg-repository-list-box.c"
	}
#line 470 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	(*array)[(*length)++] = value;
#line 470 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	(*array)[*length] = NULL;
#line 3061 "gitg-repository-list-box.c"
}


GitgRepositoryListBoxRow** gitg_repository_list_box_get_selection (GitgRepositoryListBox* self, int* result_length1) {
	GitgRepositoryListBoxRow** result;
	GitgRepositoryListBoxRow** ret = NULL;
	GitgRepositoryListBoxRow** _tmp0_ = NULL;
	gint ret_length1 = 0;
	gint _ret_size_ = 0;
	GList* _tmp1_ = NULL;
	GitgRepositoryListBoxRow** _tmp10_ = NULL;
	gint _tmp10__length1 = 0;
#line 460 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 462 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = g_new0 (GitgRepositoryListBoxRow*, 0 + 1);
#line 462 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	ret = _tmp0_;
#line 462 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	ret_length1 = 0;
#line 462 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_ret_size_ = ret_length1;
#line 464 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp1_ = gtk_container_get_children ((GtkContainer*) self);
#line 3086 "gitg-repository-list-box.c"
	{
		GList* row_collection = NULL;
		GList* row_it = NULL;
#line 464 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		row_collection = _tmp1_;
#line 464 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		for (row_it = row_collection; row_it != NULL; row_it = row_it->next) {
#line 3094 "gitg-repository-list-box.c"
			GtkWidget* row = NULL;
#line 464 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			row = (GtkWidget*) row_it->data;
#line 3098 "gitg-repository-list-box.c"
			{
				GitgRepositoryListBoxRow* r = NULL;
				GtkWidget* _tmp2_ = NULL;
				GitgRepositoryListBoxRow* _tmp3_ = NULL;
				GitgRepositoryListBoxRow* _tmp4_ = NULL;
				gboolean _tmp5_ = FALSE;
				gboolean _tmp6_ = FALSE;
#line 466 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_tmp2_ = row;
#line 466 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_tmp3_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GITG_REPOSITORY_LIST_BOX_TYPE_ROW, GitgRepositoryListBoxRow));
#line 466 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				r = _tmp3_;
#line 468 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_tmp4_ = r;
#line 468 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_tmp5_ = gitg_repository_list_box_row_get_selected (_tmp4_);
#line 468 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_tmp6_ = _tmp5_;
#line 468 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				if (_tmp6_) {
#line 3120 "gitg-repository-list-box.c"
					GitgRepositoryListBoxRow** _tmp7_ = NULL;
					gint _tmp7__length1 = 0;
					GitgRepositoryListBoxRow* _tmp8_ = NULL;
					GitgRepositoryListBoxRow* _tmp9_ = NULL;
#line 470 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
					_tmp7_ = ret;
#line 470 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
					_tmp7__length1 = ret_length1;
#line 470 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
					_tmp8_ = r;
#line 470 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
					_tmp9_ = _g_object_ref0 (_tmp8_);
#line 470 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
					_vala_array_add10 (&ret, &ret_length1, &_ret_size_, _tmp9_);
#line 3135 "gitg-repository-list-box.c"
				}
#line 464 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_g_object_unref0 (r);
#line 3139 "gitg-repository-list-box.c"
			}
		}
#line 464 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_list_free0 (row_collection);
#line 3144 "gitg-repository-list-box.c"
	}
#line 474 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp10_ = ret;
#line 474 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp10__length1 = ret_length1;
#line 474 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	if (result_length1) {
#line 474 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		*result_length1 = _tmp10__length1;
#line 3154 "gitg-repository-list-box.c"
	}
#line 474 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	result = _tmp10_;
#line 474 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return result;
#line 3160 "gitg-repository-list-box.c"
}


gboolean gitg_repository_list_box_get_has_selection (GitgRepositoryListBox* self) {
	gboolean result;
	GList* _tmp0_ = NULL;
#line 480 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 482 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = gtk_container_get_children ((GtkContainer*) self);
#line 3171 "gitg-repository-list-box.c"
	{
		GList* row_collection = NULL;
		GList* row_it = NULL;
#line 482 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		row_collection = _tmp0_;
#line 482 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		for (row_it = row_collection; row_it != NULL; row_it = row_it->next) {
#line 3179 "gitg-repository-list-box.c"
			GtkWidget* row = NULL;
#line 482 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			row = (GtkWidget*) row_it->data;
#line 3183 "gitg-repository-list-box.c"
			{
				GitgRepositoryListBoxRow* r = NULL;
				GtkWidget* _tmp1_ = NULL;
				GitgRepositoryListBoxRow* _tmp2_ = NULL;
				GitgRepositoryListBoxRow* _tmp3_ = NULL;
				gboolean _tmp4_ = FALSE;
				gboolean _tmp5_ = FALSE;
#line 484 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_tmp1_ = row;
#line 484 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GITG_REPOSITORY_LIST_BOX_TYPE_ROW, GitgRepositoryListBoxRow));
#line 484 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				r = _tmp2_;
#line 486 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_tmp3_ = r;
#line 486 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_tmp4_ = gitg_repository_list_box_row_get_selected (_tmp3_);
#line 486 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_tmp5_ = _tmp4_;
#line 486 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				if (_tmp5_) {
#line 488 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
					result = TRUE;
#line 488 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
					_g_object_unref0 (r);
#line 488 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
					_g_list_free0 (row_collection);
#line 488 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
					return result;
#line 3213 "gitg-repository-list-box.c"
				}
#line 482 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
				_g_object_unref0 (r);
#line 3217 "gitg-repository-list-box.c"
			}
		}
#line 482 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_list_free0 (row_collection);
#line 3222 "gitg-repository-list-box.c"
	}
#line 492 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	result = FALSE;
#line 492 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return result;
#line 3228 "gitg-repository-list-box.c"
}


static void g_cclosure_user_marshal_VOID__STRING_STRING (GClosure * closure, GValue * return_value, guint n_param_values, const GValue * param_values, gpointer invocation_hint, gpointer marshal_data) {
	typedef void (*GMarshalFunc_VOID__STRING_STRING) (gpointer data1, const char* arg_1, const char* arg_2, gpointer data2);
	register GMarshalFunc_VOID__STRING_STRING callback;
	register GCClosure * cc;
	register gpointer data1;
	register gpointer data2;
	cc = (GCClosure *) closure;
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_if_fail (n_param_values == 3);
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	if (G_CCLOSURE_SWAP_DATA (closure)) {
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		data1 = closure->data;
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		data2 = param_values->data[0].v_pointer;
#line 3247 "gitg-repository-list-box.c"
	} else {
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		data1 = param_values->data[0].v_pointer;
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		data2 = closure->data;
#line 3253 "gitg-repository-list-box.c"
	}
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	callback = (GMarshalFunc_VOID__STRING_STRING) (marshal_data ? marshal_data : cc->callback);
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	callback (data1, g_value_get_string (param_values + 1), g_value_get_string (param_values + 2), data2);
#line 3259 "gitg-repository-list-box.c"
}


static void _gitg_repository_list_box_update_header_gtk_list_box_update_header_func (GtkListBoxRow* row, GtkListBoxRow* before, gpointer self) {
#line 275 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gitg_repository_list_box_update_header ((GitgRepositoryListBox*) self, row, before);
#line 3266 "gitg-repository-list-box.c"
}


static gboolean _gitg_repository_list_box_filter_gtk_list_box_filter_func (GtkListBoxRow* row, gpointer self) {
	gboolean result;
	result = gitg_repository_list_box_filter ((GitgRepositoryListBox*) self, row);
#line 276 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return result;
#line 3275 "gitg-repository-list-box.c"
}


static gint _gitg_repository_list_box_compare_widgets_gtk_list_box_sort_func (GtkListBoxRow* row1, GtkListBoxRow* row2, gpointer self) {
	gint result;
	result = gitg_repository_list_box_compare_widgets ((GitgRepositoryListBox*) self, row1, row2);
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return result;
#line 3284 "gitg-repository-list-box.c"
}


static GObject * gitg_repository_list_box_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) {
	GObject * obj;
	GObjectClass * parent_class;
	GitgRepositoryListBox * self;
#line 273 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	parent_class = G_OBJECT_CLASS (gitg_repository_list_box_parent_class);
#line 273 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 273 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_REPOSITORY_LIST_BOX, GitgRepositoryListBox);
#line 275 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_list_box_set_header_func ((GtkListBox*) self, _gitg_repository_list_box_update_header_gtk_list_box_update_header_func, g_object_ref (self), g_object_unref);
#line 276 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_list_box_set_filter_func ((GtkListBox*) self, _gitg_repository_list_box_filter_gtk_list_box_filter_func, g_object_ref (self), g_object_unref);
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_list_box_set_sort_func ((GtkListBox*) self, _gitg_repository_list_box_compare_widgets_gtk_list_box_sort_func, g_object_ref (self), g_object_unref);
#line 278 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_widget_show ((GtkWidget*) self);
#line 280 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_list_box_set_selection_mode ((GtkListBox*) self, GTK_SELECTION_NONE);
#line 282 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gitg_repository_list_box_add_recent_info (self);
#line 273 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return obj;
#line 3312 "gitg-repository-list-box.c"
}


GitgRepositoryListBoxRow* gitg_repository_list_box_row_construct (GType object_type, const gchar* name, const gchar* branch_name, gboolean has_remote) {
	GitgRepositoryListBoxRow * self = NULL;
	const gchar* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
#line 190 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_val_if_fail (name != NULL, NULL);
#line 190 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_val_if_fail (branch_name != NULL, NULL);
#line 192 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = name;
#line 192 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp1_ = branch_name;
#line 192 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp2_ = has_remote;
#line 192 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	self = (GitgRepositoryListBoxRow*) g_object_new (object_type, "repository-name", _tmp0_, "branch-name", _tmp1_, "has-remote", _tmp2_, NULL);
#line 190 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return self;
#line 3335 "gitg-repository-list-box.c"
}


GitgRepositoryListBoxRow* gitg_repository_list_box_row_new (const gchar* name, const gchar* branch_name, gboolean has_remote) {
#line 190 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return gitg_repository_list_box_row_construct (GITG_REPOSITORY_LIST_BOX_TYPE_ROW, name, branch_name, has_remote);
#line 3342 "gitg-repository-list-box.c"
}


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


void gitg_repository_list_box_row_add_submodule (GitgRepositoryListBoxRow* self, GgitSubmodule* module) {
	GtkBox* box = NULL;
	GtkBox* _tmp0_ = NULL;
	gchar* tip = NULL;
	GgitSubmodule* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	GgitSubmodule* _tmp4_ = NULL;
	const gchar* _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
	gchar* _tmp7_ = NULL;
	GtkBox* _tmp8_ = NULL;
	const gchar* _tmp9_ = NULL;
	GtkBox* _tmp10_ = NULL;
	GtkImage* icon = NULL;
	GtkImage* _tmp11_ = NULL;
	GtkImage* _tmp12_ = NULL;
	gchar* name = NULL;
	GgitSubmodule* _tmp13_ = NULL;
	const gchar* _tmp14_ = NULL;
	gchar* _tmp15_ = NULL;
	const gchar* _tmp16_ = NULL;
	gboolean _tmp17_ = FALSE;
	GtkLabel* labelName = NULL;
	const gchar* _tmp20_ = NULL;
	GtkLabel* _tmp21_ = NULL;
	GtkArrow* arrow = NULL;
	GtkArrow* _tmp22_ = NULL;
	gchar* path = NULL;
	GgitSubmodule* _tmp23_ = NULL;
	const gchar* _tmp24_ = NULL;
	gchar* _tmp25_ = NULL;
	GtkLabel* labelPath = NULL;
	const gchar* _tmp26_ = NULL;
	gchar* _tmp27_ = NULL;
	gchar* _tmp28_ = NULL;
	GtkLabel* _tmp29_ = NULL;
	GtkLabel* _tmp30_ = NULL;
	GtkBox* _tmp31_ = NULL;
	GtkImage* _tmp32_ = NULL;
	GtkBox* _tmp33_ = NULL;
	GtkBox* _tmp34_ = NULL;
	GtkBox* _tmp35_ = NULL;
	GtkBox* _tmp36_ = NULL;
	GtkBox* _tmp37_ = NULL;
#line 195 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_if_fail (self != NULL);
#line 195 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_if_fail (module != NULL);
#line 197 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 3);
#line 197 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_ref_sink (_tmp0_);
#line 197 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	box = _tmp0_;
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp1_ = module;
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp2_ = ggit_submodule_get_path (_tmp1_);
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp3_ = string_to_string (_tmp2_);
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp4_ = module;
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp5_ = ggit_submodule_get_url (_tmp4_);
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp6_ = string_to_string (_tmp5_);
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp7_ = g_strconcat (_tmp3_, "/ (", _tmp6_, ")", NULL);
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	tip = _tmp7_;
#line 199 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp8_ = box;
#line 199 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp9_ = tip;
#line 199 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_widget_set_tooltip_text ((GtkWidget*) _tmp8_, _tmp9_);
#line 200 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp10_ = box;
#line 200 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_widget_show ((GtkWidget*) _tmp10_);
#line 202 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp11_ = (GtkImage*) gtk_image_new_from_icon_name ("folder-remote-symbolic", GTK_ICON_SIZE_MENU);
#line 202 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_ref_sink (_tmp11_);
#line 202 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	icon = _tmp11_;
#line 204 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp12_ = icon;
#line 204 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_widget_show ((GtkWidget*) _tmp12_);
#line 206 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp13_ = module;
#line 206 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp14_ = ggit_submodule_get_url (_tmp13_);
#line 206 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp15_ = g_path_get_basename (_tmp14_);
#line 206 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	name = _tmp15_;
#line 208 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp16_ = name;
#line 208 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp17_ = g_str_has_suffix (_tmp16_, ".git");
#line 208 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	if (_tmp17_) {
#line 3463 "gitg-repository-list-box.c"
		const gchar* _tmp18_ = NULL;
		gchar* _tmp19_ = NULL;
#line 210 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp18_ = name;
#line 210 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp19_ = string_slice (_tmp18_, (glong) 0, (glong) (-4));
#line 210 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_g_free0 (name);
#line 210 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		name = _tmp19_;
#line 3474 "gitg-repository-list-box.c"
	}
#line 213 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp20_ = name;
#line 213 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp21_ = (GtkLabel*) gtk_label_new (_tmp20_);
#line 213 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_ref_sink (_tmp21_);
#line 213 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	labelName = _tmp21_;
#line 214 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_widget_show ((GtkWidget*) labelName);
#line 216 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp22_ = (GtkArrow*) gtk_arrow_new (GTK_ARROW_RIGHT, GTK_SHADOW_NONE);
#line 216 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_ref_sink (_tmp22_);
#line 216 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	arrow = _tmp22_;
#line 217 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_widget_show ((GtkWidget*) arrow);
#line 219 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp23_ = module;
#line 219 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp24_ = ggit_submodule_get_path (_tmp23_);
#line 219 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp25_ = g_strdup (_tmp24_);
#line 219 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	path = _tmp25_;
#line 220 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp26_ = string_to_string (path);
#line 220 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp27_ = g_strconcat (_tmp26_, "/", NULL);
#line 220 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp28_ = _tmp27_;
#line 220 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp29_ = (GtkLabel*) gtk_label_new (_tmp28_);
#line 220 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_ref_sink (_tmp29_);
#line 220 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp30_ = _tmp29_;
#line 220 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_free0 (_tmp28_);
#line 220 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	labelPath = _tmp30_;
#line 221 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_label_set_ellipsize (labelPath, PANGO_ELLIPSIZE_MIDDLE);
#line 222 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_widget_show ((GtkWidget*) labelPath);
#line 224 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp31_ = box;
#line 224 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp32_ = icon;
#line 224 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_container_add ((GtkContainer*) _tmp31_, (GtkWidget*) _tmp32_);
#line 225 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp33_ = box;
#line 225 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_container_add ((GtkContainer*) _tmp33_, (GtkWidget*) labelName);
#line 226 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp34_ = box;
#line 226 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_container_add ((GtkContainer*) _tmp34_, (GtkWidget*) arrow);
#line 227 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp35_ = box;
#line 227 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_container_add ((GtkContainer*) _tmp35_, (GtkWidget*) labelPath);
#line 229 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp36_ = self->priv->d_submodule_box;
#line 229 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp37_ = box;
#line 229 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_container_add ((GtkContainer*) _tmp36_, (GtkWidget*) _tmp37_);
#line 195 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (labelPath);
#line 195 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_free0 (path);
#line 195 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (arrow);
#line 195 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (labelName);
#line 195 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_free0 (name);
#line 195 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (icon);
#line 195 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_free0 (tip);
#line 195 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (box);
#line 3562 "gitg-repository-list-box.c"
}


GitgSelectionMode gitg_repository_list_box_row_get_mode (GitgRepositoryListBoxRow* self) {
	GitgSelectionMode result;
	GitgSelectionMode _tmp0_ = 0;
#line 74 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 74 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = self->priv->d_mode;
#line 74 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	result = _tmp0_;
#line 74 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return result;
#line 3577 "gitg-repository-list-box.c"
}


void gitg_repository_list_box_row_set_mode (GitgRepositoryListBoxRow* self, GitgSelectionMode value) {
	GitgSelectionMode _tmp0_ = 0;
	GitgSelectionMode _tmp1_ = 0;
#line 76 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_if_fail (self != NULL);
#line 78 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = self->priv->d_mode;
#line 78 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp1_ = value;
#line 78 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	if (_tmp0_ != _tmp1_) {
#line 3592 "gitg-repository-list-box.c"
		GitgSelectionMode _tmp2_ = 0;
		GtkRevealer* _tmp3_ = NULL;
		GitgSelectionMode _tmp4_ = 0;
		GtkCheckButton* _tmp5_ = NULL;
#line 80 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp2_ = value;
#line 80 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		self->priv->d_mode = _tmp2_;
#line 82 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp3_ = self->priv->d_remove_revealer;
#line 82 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp4_ = self->priv->d_mode;
#line 82 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gtk_revealer_set_reveal_child (_tmp3_, _tmp4_ == GITG_SELECTION_MODE_SELECTION);
#line 84 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp5_ = self->priv->d_remove_check_button;
#line 84 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gtk_toggle_button_set_active ((GtkToggleButton*) _tmp5_, FALSE);
#line 3611 "gitg-repository-list-box.c"
	}
#line 76 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_notify ((GObject *) self, "mode");
#line 3615 "gitg-repository-list-box.c"
}


gboolean gitg_repository_list_box_row_get_selected (GitgRepositoryListBoxRow* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
#line 92 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 92 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = self->priv->_selected;
#line 92 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	result = _tmp0_;
#line 92 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return result;
#line 3630 "gitg-repository-list-box.c"
}


void gitg_repository_list_box_row_set_selected (GitgRepositoryListBoxRow* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
#line 92 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_if_fail (self != NULL);
#line 92 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = value;
#line 92 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	self->priv->_selected = _tmp0_;
#line 92 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_notify ((GObject *) self, "selected");
#line 3644 "gitg-repository-list-box.c"
}


GitgRepository* gitg_repository_list_box_row_get_repository (GitgRepositoryListBoxRow* self) {
	GitgRepository* result;
	GitgRepository* _tmp0_ = NULL;
#line 106 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 106 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = self->priv->d_repository;
#line 106 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	result = _tmp0_;
#line 106 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return result;
#line 3659 "gitg-repository-list-box.c"
}


void gitg_repository_list_box_row_set_repository (GitgRepositoryListBoxRow* self, GitgRepository* value) {
	GitgRepository* _tmp0_ = NULL;
	GitgRepository* _tmp1_ = NULL;
	GitgRepository* _tmp2_ = NULL;
	GError * _inner_error_ = NULL;
#line 107 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_if_fail (self != NULL);
#line 109 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = value;
#line 109 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 109 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (self->priv->d_repository);
#line 109 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	self->priv->d_repository = _tmp1_;
#line 111 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gitg_repository_list_box_row_set_branch_name (self, "");
#line 113 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp2_ = self->priv->d_repository;
#line 113 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	if (_tmp2_ != NULL) {
#line 3684 "gitg-repository-list-box.c"
		{
			GitgRef* head = NULL;
			GitgRepository* _tmp3_ = NULL;
			GitgRef* _tmp4_ = NULL;
			GitgRef* _tmp5_ = NULL;
			GitgParsedRefName* _tmp6_ = NULL;
			GitgParsedRefName* _tmp7_ = NULL;
			GitgParsedRefName* _tmp8_ = NULL;
			gchar* _tmp9_ = NULL;
			gchar* _tmp10_ = NULL;
			gchar* _tmp11_ = NULL;
#line 117 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp3_ = self->priv->d_repository;
#line 117 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp4_ = gitg_repository_get_head (_tmp3_, &_inner_error_);
#line 117 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			head = _tmp4_;
#line 117 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 3704 "gitg-repository-list-box.c"
				goto __catch67_g_error;
			}
#line 118 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp5_ = head;
#line 118 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp6_ = gitg_ref_get_parsed_name (_tmp5_);
#line 118 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp7_ = _tmp6_;
#line 118 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp8_ = _tmp7_;
#line 118 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp9_ = gitg_parsed_ref_name_get_shortname (_tmp8_);
#line 118 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp10_ = _tmp9_;
#line 118 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_tmp11_ = _tmp10_;
#line 118 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			gitg_repository_list_box_row_set_branch_name (self, _tmp11_);
#line 118 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_g_free0 (_tmp11_);
#line 118 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_g_object_unref0 (_tmp8_);
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_g_object_unref0 (head);
#line 3729 "gitg-repository-list-box.c"
		}
		goto __finally67;
		__catch67_g_error:
		{
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			g_clear_error (&_inner_error_);
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			_inner_error_ = NULL;
#line 3738 "gitg-repository-list-box.c"
		}
		__finally67:
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.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 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			g_clear_error (&_inner_error_);
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
			return;
#line 3749 "gitg-repository-list-box.c"
		}
	}
#line 107 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_notify ((GObject *) self, "repository");
#line 3754 "gitg-repository-list-box.c"
}


gboolean gitg_repository_list_box_row_get_can_remove (GitgRepositoryListBoxRow* self) {
	gboolean result;
	GtkCheckButton* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
#line 127 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 127 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = self->priv->d_remove_check_button;
#line 127 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp1_ = gtk_widget_get_sensitive ((GtkWidget*) _tmp0_);
#line 127 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp2_ = _tmp1_;
#line 127 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	result = _tmp2_;
#line 127 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return result;
#line 3775 "gitg-repository-list-box.c"
}


void gitg_repository_list_box_row_set_can_remove (GitgRepositoryListBoxRow* self, gboolean value) {
	GtkCheckButton* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
#line 128 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_if_fail (self != NULL);
#line 128 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = self->priv->d_remove_check_button;
#line 128 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp1_ = value;
#line 128 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp0_, _tmp1_);
#line 128 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_notify ((GObject *) self, "can-remove");
#line 3792 "gitg-repository-list-box.c"
}


GDateTime* gitg_repository_list_box_row_get_time (GitgRepositoryListBoxRow* self) {
	GDateTime* result;
	GDateTime* _tmp0_ = NULL;
#line 133 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 133 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = self->priv->d_time;
#line 133 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	result = _tmp0_;
#line 133 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return result;
#line 3807 "gitg-repository-list-box.c"
}


static gpointer _g_date_time_ref0 (gpointer self) {
#line 134 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return self ? g_date_time_ref (self) : NULL;
#line 3814 "gitg-repository-list-box.c"
}


void gitg_repository_list_box_row_set_time (GitgRepositoryListBoxRow* self, GDateTime* value) {
	GDateTime* _tmp0_ = NULL;
	GDateTime* _tmp1_ = NULL;
#line 134 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_if_fail (self != NULL);
#line 134 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = value;
#line 134 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp1_ = _g_date_time_ref0 (_tmp0_);
#line 134 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_date_time_unref0 (self->priv->d_time);
#line 134 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	self->priv->d_time = _tmp1_;
#line 134 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_notify ((GObject *) self, "time");
#line 3833 "gitg-repository-list-box.c"
}


void gitg_repository_list_box_row_set_fraction (GitgRepositoryListBoxRow* self, gdouble value) {
	GitgProgressBin* _tmp0_ = NULL;
	gdouble _tmp1_ = 0.0;
#line 140 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_if_fail (self != NULL);
#line 140 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = self->priv->d_progress_bin;
#line 140 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp1_ = value;
#line 140 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gitg_progress_bin_set_fraction (_tmp0_, _tmp1_);
#line 140 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_notify ((GObject *) self, "fraction");
#line 3850 "gitg-repository-list-box.c"
}


const gchar* gitg_repository_list_box_row_get_repository_name (GitgRepositoryListBoxRow* self) {
	const gchar* result;
	GtkLabel* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
#line 145 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 145 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = self->priv->d_repository_label;
#line 145 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp1_ = gtk_label_get_text (_tmp0_);
#line 145 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	result = _tmp1_;
#line 145 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return result;
#line 3868 "gitg-repository-list-box.c"
}


void gitg_repository_list_box_row_set_repository_name (GitgRepositoryListBoxRow* self, const gchar* value) {
	GtkLabel* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
#line 146 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_if_fail (self != NULL);
#line 146 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = self->priv->d_repository_label;
#line 146 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp1_ = value;
#line 146 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp2_ = g_strdup_printf ("<b>%s</b>", _tmp1_);
#line 146 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp3_ = _tmp2_;
#line 146 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_label_set_markup (_tmp0_, _tmp3_);
#line 146 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_free0 (_tmp3_);
#line 146 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_notify ((GObject *) self, "repository-name");
#line 3893 "gitg-repository-list-box.c"
}


const gchar* gitg_repository_list_box_row_get_branch_name (GitgRepositoryListBoxRow* self) {
	const gchar* result;
	GtkLabel* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
#line 151 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 151 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = self->priv->d_branch_label;
#line 151 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp1_ = gtk_label_get_text (_tmp0_);
#line 151 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	result = _tmp1_;
#line 151 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return result;
#line 3911 "gitg-repository-list-box.c"
}


void gitg_repository_list_box_row_set_branch_name (GitgRepositoryListBoxRow* self, const gchar* value) {
	GtkLabel* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
#line 152 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_if_fail (self != NULL);
#line 152 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = self->priv->d_branch_label;
#line 152 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp1_ = value;
#line 152 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp2_ = g_strdup_printf ("<small>%s</small>", _tmp1_);
#line 152 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp3_ = _tmp2_;
#line 152 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_label_set_markup (_tmp0_, _tmp3_);
#line 152 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_free0 (_tmp3_);
#line 152 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_notify ((GObject *) self, "branch-name");
#line 3936 "gitg-repository-list-box.c"
}


gboolean gitg_repository_list_box_row_get_loading (GitgRepositoryListBoxRow* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
#line 157 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 157 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = self->priv->d_loading;
#line 157 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	result = _tmp0_;
#line 157 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return result;
#line 3951 "gitg-repository-list-box.c"
}


void gitg_repository_list_box_row_set_loading (GitgRepositoryListBoxRow* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
#line 158 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_if_fail (self != NULL);
#line 160 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = value;
#line 160 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	self->priv->d_loading = _tmp0_;
#line 162 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp1_ = self->priv->d_loading;
#line 162 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	if (_tmp1_) {
#line 3968 "gitg-repository-list-box.c"
		GtkSpinner* _tmp2_ = NULL;
		GtkSpinner* _tmp3_ = NULL;
		GtkArrow* _tmp4_ = NULL;
		GitgProgressBin* _tmp5_ = NULL;
#line 164 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp2_ = self->priv->d_spinner;
#line 164 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gtk_spinner_stop (_tmp2_);
#line 165 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp3_ = self->priv->d_spinner;
#line 165 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gtk_widget_hide ((GtkWidget*) _tmp3_);
#line 166 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp4_ = self->priv->d_arrow;
#line 166 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gtk_widget_show ((GtkWidget*) _tmp4_);
#line 167 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp5_ = self->priv->d_progress_bin;
#line 167 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gitg_progress_bin_set_fraction (_tmp5_, (gdouble) 0);
#line 3989 "gitg-repository-list-box.c"
	} else {
		GtkArrow* _tmp6_ = NULL;
		GtkSpinner* _tmp7_ = NULL;
		GtkSpinner* _tmp8_ = NULL;
#line 171 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp6_ = self->priv->d_arrow;
#line 171 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gtk_widget_hide ((GtkWidget*) _tmp6_);
#line 172 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp7_ = self->priv->d_spinner;
#line 172 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gtk_widget_show ((GtkWidget*) _tmp7_);
#line 173 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp8_ = self->priv->d_spinner;
#line 173 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gtk_spinner_start (_tmp8_);
#line 4006 "gitg-repository-list-box.c"
	}
#line 158 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_notify ((GObject *) self, "loading");
#line 4010 "gitg-repository-list-box.c"
}


gboolean gitg_repository_list_box_row_get_has_remote (GitgRepositoryListBoxRow* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
#line 180 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 180 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = self->priv->d_has_remote;
#line 180 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	result = _tmp0_;
#line 180 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return result;
#line 4025 "gitg-repository-list-box.c"
}


void gitg_repository_list_box_row_set_has_remote (GitgRepositoryListBoxRow* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
	const gchar* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
	gchar* folder_icon_name = NULL;
	gchar* _tmp3_ = NULL;
	GtkImage* _tmp4_ = NULL;
	GtkIconSize _tmp5_ = 0;
#line 181 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_if_fail (self != NULL);
#line 183 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = value;
#line 183 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	self->priv->d_has_remote = _tmp0_;
#line 185 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp2_ = self->priv->d_has_remote;
#line 185 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	if (_tmp2_) {
#line 185 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp1_ = "folder-remote";
#line 4049 "gitg-repository-list-box.c"
	} else {
#line 185 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		_tmp1_ = "folder";
#line 4053 "gitg-repository-list-box.c"
	}
#line 185 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp3_ = g_strdup (_tmp1_);
#line 185 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	folder_icon_name = _tmp3_;
#line 186 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp4_ = self->priv->d_image;
#line 186 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp5_ = gitg_repository_list_box_row_s_icon_size;
#line 186 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_image_set_from_icon_name (_tmp4_, folder_icon_name, _tmp5_);
#line 181 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_free0 (folder_icon_name);
#line 181 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_notify ((GObject *) self, "has-remote");
#line 4069 "gitg-repository-list-box.c"
}


static GObject * gitg_repository_list_box_row_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) {
	GObject * obj;
	GObjectClass * parent_class;
	GitgRepositoryListBoxRow * self;
	GtkCheckButton* _tmp0_ = NULL;
#line 95 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	parent_class = G_OBJECT_CLASS (gitg_repository_list_box_row_parent_class);
#line 95 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 95 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_REPOSITORY_LIST_BOX_TYPE_ROW, GitgRepositoryListBoxRow);
#line 97 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = self->priv->d_remove_check_button;
#line 97 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp0_, "active", (GObject*) self, "selected", G_BINDING_BIDIRECTIONAL | 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 95 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return obj;
#line 4090 "gitg-repository-list-box.c"
}


static void gitg_repository_list_box_row_class_init (GitgRepositoryListBoxRowClass * klass) {
	gint GitgRepositoryListBoxRow_private_offset;
	GtkIconSize _tmp0_ = 0;
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gitg_repository_list_box_row_parent_class = g_type_class_peek_parent (klass);
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_type_class_add_private (klass, sizeof (GitgRepositoryListBoxRowPrivate));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_repository_list_box_row_get_property;
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_repository_list_box_row_set_property;
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	G_OBJECT_CLASS (klass)->constructor = gitg_repository_list_box_row_constructor;
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_repository_list_box_row_finalize;
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_REPOSITORY_LIST_BOX_ROW_MODE, g_param_spec_enum ("mode", "mode", "mode", GITG_TYPE_SELECTION_MODE, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_REPOSITORY_LIST_BOX_ROW_SELECTED, g_param_spec_boolean ("selected", "selected", "selected", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_REPOSITORY_LIST_BOX_ROW_REPOSITORY, g_param_spec_object ("repository", "repository", "repository", GITG_TYPE_REPOSITORY, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_REPOSITORY_LIST_BOX_ROW_CAN_REMOVE, g_param_spec_boolean ("can-remove", "can-remove", "can-remove", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_REPOSITORY_LIST_BOX_ROW_TIME, g_param_spec_boxed ("time", "time", "time", G_TYPE_DATE_TIME, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_REPOSITORY_LIST_BOX_ROW_FRACTION, g_param_spec_double ("fraction", "fraction", "fraction", -G_MAXDOUBLE, G_MAXDOUBLE, 0.0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_WRITABLE));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_REPOSITORY_LIST_BOX_ROW_REPOSITORY_NAME, g_param_spec_string ("repository-name", "repository-name", "repository-name", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_REPOSITORY_LIST_BOX_ROW_BRANCH_NAME, g_param_spec_string ("branch-name", "branch-name", "branch-name", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_REPOSITORY_LIST_BOX_ROW_LOADING, g_param_spec_boolean ("loading", "loading", "loading", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_REPOSITORY_LIST_BOX_ROW_HAS_REMOTE, g_param_spec_boolean ("has-remote", "has-remote", "has-remote", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	GitgRepositoryListBoxRow_private_offset = g_type_class_get_instance_private_offset (klass);
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/gitg/ui/gitg-repository-list-box-row.ui");
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_signal_new ("request_remove", GITG_REPOSITORY_LIST_BOX_TYPE_ROW, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_progress_bin", FALSE, GitgRepositoryListBoxRow_private_offset + G_STRUCT_OFFSET (GitgRepositoryListBoxRowPrivate, d_progress_bin));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_image", FALSE, GitgRepositoryListBoxRow_private_offset + G_STRUCT_OFFSET (GitgRepositoryListBoxRowPrivate, d_image));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_repository_label", FALSE, GitgRepositoryListBoxRow_private_offset + G_STRUCT_OFFSET (GitgRepositoryListBoxRowPrivate, d_repository_label));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_branch_label", FALSE, GitgRepositoryListBoxRow_private_offset + G_STRUCT_OFFSET (GitgRepositoryListBoxRowPrivate, d_branch_label));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_arrow", FALSE, GitgRepositoryListBoxRow_private_offset + G_STRUCT_OFFSET (GitgRepositoryListBoxRowPrivate, d_arrow));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_spinner", FALSE, GitgRepositoryListBoxRow_private_offset + G_STRUCT_OFFSET (GitgRepositoryListBoxRowPrivate, d_spinner));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_remove_check_button", FALSE, GitgRepositoryListBoxRow_private_offset + G_STRUCT_OFFSET (GitgRepositoryListBoxRowPrivate, d_remove_check_button));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_remove_revealer", FALSE, GitgRepositoryListBoxRow_private_offset + G_STRUCT_OFFSET (GitgRepositoryListBoxRowPrivate, d_remove_revealer));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_submodule_box", FALSE, GitgRepositoryListBoxRow_private_offset + G_STRUCT_OFFSET (GitgRepositoryListBoxRowPrivate, d_submodule_box));
#line 69 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = gtk_icon_size_register ("gitg", 64, 64);
#line 69 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gitg_repository_list_box_row_s_icon_size = _tmp0_;
#line 4157 "gitg-repository-list-box.c"
}


static void gitg_repository_list_box_row_instance_init (GitgRepositoryListBoxRow * self) {
	GDateTime* _tmp0_ = NULL;
	GDateTime* _tmp1_ = NULL;
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	self->priv = GITG_REPOSITORY_LIST_BOX_ROW_GET_PRIVATE (self);
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = g_date_time_new_now_local ();
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp1_ = _tmp0_;
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gitg_repository_list_box_row_set_time (self, _tmp1_);
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_type_ensure (GITG_TYPE_PROGRESS_BIN);
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gtk_widget_init_template (GTK_WIDGET (self));
#line 4176 "gitg-repository-list-box.c"
}


static void gitg_repository_list_box_row_finalize (GObject* obj) {
	GitgRepositoryListBoxRow * self;
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_REPOSITORY_LIST_BOX_TYPE_ROW, GitgRepositoryListBoxRow);
#line 38 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (self->priv->d_repository);
#line 39 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_date_time_unref0 (self->priv->d_time);
#line 43 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (self->priv->d_progress_bin);
#line 45 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (self->priv->d_image);
#line 47 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (self->priv->d_repository_label);
#line 49 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (self->priv->d_branch_label);
#line 51 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (self->priv->d_arrow);
#line 53 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (self->priv->d_spinner);
#line 55 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (self->priv->d_remove_check_button);
#line 57 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (self->priv->d_remove_revealer);
#line 59 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (self->priv->d_submodule_box);
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	G_OBJECT_CLASS (gitg_repository_list_box_row_parent_class)->finalize (obj);
#line 4208 "gitg-repository-list-box.c"
}


GType gitg_repository_list_box_row_get_type (void) {
	static volatile gsize gitg_repository_list_box_row_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_repository_list_box_row_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgRepositoryListBoxRowClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_repository_list_box_row_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgRepositoryListBoxRow), 0, (GInstanceInitFunc) gitg_repository_list_box_row_instance_init, NULL };
		GType gitg_repository_list_box_row_type_id;
		gitg_repository_list_box_row_type_id = g_type_register_static (gtk_list_box_row_get_type (), "GitgRepositoryListBoxRow", &g_define_type_info, 0);
		g_once_init_leave (&gitg_repository_list_box_row_type_id__volatile, gitg_repository_list_box_row_type_id);
	}
	return gitg_repository_list_box_row_type_id__volatile;
}


static void _vala_gitg_repository_list_box_row_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GitgRepositoryListBoxRow * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_REPOSITORY_LIST_BOX_TYPE_ROW, GitgRepositoryListBoxRow);
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	switch (property_id) {
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		case GITG_REPOSITORY_LIST_BOX_ROW_MODE:
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_value_set_enum (value, gitg_repository_list_box_row_get_mode (self));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		break;
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		case GITG_REPOSITORY_LIST_BOX_ROW_SELECTED:
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_value_set_boolean (value, gitg_repository_list_box_row_get_selected (self));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		break;
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		case GITG_REPOSITORY_LIST_BOX_ROW_REPOSITORY:
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_value_set_object (value, gitg_repository_list_box_row_get_repository (self));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		break;
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		case GITG_REPOSITORY_LIST_BOX_ROW_CAN_REMOVE:
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_value_set_boolean (value, gitg_repository_list_box_row_get_can_remove (self));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		break;
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		case GITG_REPOSITORY_LIST_BOX_ROW_TIME:
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_value_set_boxed (value, gitg_repository_list_box_row_get_time (self));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		break;
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		case GITG_REPOSITORY_LIST_BOX_ROW_REPOSITORY_NAME:
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_value_set_string (value, gitg_repository_list_box_row_get_repository_name (self));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		break;
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		case GITG_REPOSITORY_LIST_BOX_ROW_BRANCH_NAME:
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_value_set_string (value, gitg_repository_list_box_row_get_branch_name (self));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		break;
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		case GITG_REPOSITORY_LIST_BOX_ROW_LOADING:
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_value_set_boolean (value, gitg_repository_list_box_row_get_loading (self));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		break;
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		case GITG_REPOSITORY_LIST_BOX_ROW_HAS_REMOTE:
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_value_set_boolean (value, gitg_repository_list_box_row_get_has_remote (self));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		break;
#line 4283 "gitg-repository-list-box.c"
		default:
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		break;
#line 4289 "gitg-repository-list-box.c"
	}
}


static void _vala_gitg_repository_list_box_row_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	GitgRepositoryListBoxRow * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_REPOSITORY_LIST_BOX_TYPE_ROW, GitgRepositoryListBoxRow);
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	switch (property_id) {
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		case GITG_REPOSITORY_LIST_BOX_ROW_MODE:
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gitg_repository_list_box_row_set_mode (self, g_value_get_enum (value));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		break;
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		case GITG_REPOSITORY_LIST_BOX_ROW_SELECTED:
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gitg_repository_list_box_row_set_selected (self, g_value_get_boolean (value));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		break;
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		case GITG_REPOSITORY_LIST_BOX_ROW_REPOSITORY:
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gitg_repository_list_box_row_set_repository (self, g_value_get_object (value));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		break;
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		case GITG_REPOSITORY_LIST_BOX_ROW_CAN_REMOVE:
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gitg_repository_list_box_row_set_can_remove (self, g_value_get_boolean (value));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		break;
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		case GITG_REPOSITORY_LIST_BOX_ROW_TIME:
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gitg_repository_list_box_row_set_time (self, g_value_get_boxed (value));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		break;
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		case GITG_REPOSITORY_LIST_BOX_ROW_FRACTION:
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gitg_repository_list_box_row_set_fraction (self, g_value_get_double (value));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		break;
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		case GITG_REPOSITORY_LIST_BOX_ROW_REPOSITORY_NAME:
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gitg_repository_list_box_row_set_repository_name (self, g_value_get_string (value));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		break;
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		case GITG_REPOSITORY_LIST_BOX_ROW_BRANCH_NAME:
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gitg_repository_list_box_row_set_branch_name (self, g_value_get_string (value));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		break;
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		case GITG_REPOSITORY_LIST_BOX_ROW_LOADING:
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gitg_repository_list_box_row_set_loading (self, g_value_get_boolean (value));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		break;
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		case GITG_REPOSITORY_LIST_BOX_ROW_HAS_REMOTE:
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gitg_repository_list_box_row_set_has_remote (self, g_value_get_boolean (value));
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		break;
#line 4359 "gitg-repository-list-box.c"
		default:
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		break;
#line 4365 "gitg-repository-list-box.c"
	}
}


static GitgRepositoryListBoxCloneProgress* gitg_repository_list_box_clone_progress_construct (GType object_type, GitgRepositoryListBoxRow* row) {
	GitgRepositoryListBoxCloneProgress * self = NULL;
	GitgRepositoryListBoxRow* _tmp0_ = NULL;
	GitgRepositoryListBoxRow* _tmp1_ = NULL;
#line 500 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_val_if_fail (row != NULL, NULL);
#line 500 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	self = (GitgRepositoryListBoxCloneProgress*) g_object_new (object_type, NULL);
#line 502 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = row;
#line 502 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 502 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (self->priv->d_row);
#line 502 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	self->priv->d_row = _tmp1_;
#line 500 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return self;
#line 4388 "gitg-repository-list-box.c"
}


static GitgRepositoryListBoxCloneProgress* gitg_repository_list_box_clone_progress_new (GitgRepositoryListBoxRow* row) {
#line 500 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	return gitg_repository_list_box_clone_progress_construct (GITG_REPOSITORY_LIST_BOX_TYPE_CLONE_PROGRESS, row);
#line 4395 "gitg-repository-list-box.c"
}


static void gitg_repository_list_box_clone_progress_real_transfer_progress (GgitRemoteCallbacks* base, GgitTransferProgress* stats) {
	GitgRepositoryListBoxCloneProgress * self;
	guint recvobj = 0U;
	GgitTransferProgress* _tmp0_ = NULL;
	guint _tmp1_ = 0U;
	guint indxobj = 0U;
	GgitTransferProgress* _tmp2_ = NULL;
	guint _tmp3_ = 0U;
	guint totaobj = 0U;
	GgitTransferProgress* _tmp4_ = NULL;
	guint _tmp5_ = 0U;
	GitgRepositoryListBoxRow* _tmp6_ = NULL;
#line 505 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	self = (GitgRepositoryListBoxCloneProgress*) base;
#line 505 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_return_if_fail (stats != NULL);
#line 507 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp0_ = stats;
#line 507 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp1_ = ggit_transfer_progress_get_received_objects (_tmp0_);
#line 507 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	recvobj = _tmp1_;
#line 508 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp2_ = stats;
#line 508 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp3_ = ggit_transfer_progress_get_indexed_objects (_tmp2_);
#line 508 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	indxobj = _tmp3_;
#line 509 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp4_ = stats;
#line 509 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp5_ = ggit_transfer_progress_get_total_objects (_tmp4_);
#line 509 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	totaobj = _tmp5_;
#line 511 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_tmp6_ = self->priv->d_row;
#line 511 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gitg_repository_list_box_row_set_fraction (_tmp6_, (recvobj + indxobj) / ((gdouble) (2 * totaobj)));
#line 4437 "gitg-repository-list-box.c"
}


static void gitg_repository_list_box_clone_progress_class_init (GitgRepositoryListBoxCloneProgressClass * klass) {
#line 496 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gitg_repository_list_box_clone_progress_parent_class = g_type_class_peek_parent (klass);
#line 496 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_type_class_add_private (klass, sizeof (GitgRepositoryListBoxCloneProgressPrivate));
#line 496 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	((GgitRemoteCallbacksClass *) klass)->transfer_progress = gitg_repository_list_box_clone_progress_real_transfer_progress;
#line 496 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_repository_list_box_clone_progress_finalize;
#line 4450 "gitg-repository-list-box.c"
}


static void gitg_repository_list_box_clone_progress_instance_init (GitgRepositoryListBoxCloneProgress * self) {
#line 496 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	self->priv = GITG_REPOSITORY_LIST_BOX_CLONE_PROGRESS_GET_PRIVATE (self);
#line 4457 "gitg-repository-list-box.c"
}


static void gitg_repository_list_box_clone_progress_finalize (GObject* obj) {
	GitgRepositoryListBoxCloneProgress * self;
#line 496 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_REPOSITORY_LIST_BOX_TYPE_CLONE_PROGRESS, GitgRepositoryListBoxCloneProgress);
#line 498 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_object_unref0 (self->priv->d_row);
#line 496 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	G_OBJECT_CLASS (gitg_repository_list_box_clone_progress_parent_class)->finalize (obj);
#line 4469 "gitg-repository-list-box.c"
}


static GType gitg_repository_list_box_clone_progress_get_type (void) {
	static volatile gsize gitg_repository_list_box_clone_progress_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_repository_list_box_clone_progress_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgRepositoryListBoxCloneProgressClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_repository_list_box_clone_progress_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgRepositoryListBoxCloneProgress), 0, (GInstanceInitFunc) gitg_repository_list_box_clone_progress_instance_init, NULL };
		GType gitg_repository_list_box_clone_progress_type_id;
		gitg_repository_list_box_clone_progress_type_id = g_type_register_static (ggit_remote_callbacks_get_type (), "GitgRepositoryListBoxCloneProgress", &g_define_type_info, 0);
		g_once_init_leave (&gitg_repository_list_box_clone_progress_type_id__volatile, gitg_repository_list_box_clone_progress_type_id);
	}
	return gitg_repository_list_box_clone_progress_type_id__volatile;
}


static void gitg_repository_list_box_class_init (GitgRepositoryListBoxClass * klass) {
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	gitg_repository_list_box_parent_class = g_type_class_peek_parent (klass);
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_type_class_add_private (klass, sizeof (GitgRepositoryListBoxPrivate));
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	((GtkWidgetClass *) klass)->button_press_event = gitg_repository_list_box_real_button_press_event;
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	((GtkListBoxClass *) klass)->row_activated = gitg_repository_list_box_real_row_activated;
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_repository_list_box_get_property;
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_repository_list_box_set_property;
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	G_OBJECT_CLASS (klass)->constructor = gitg_repository_list_box_constructor;
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_repository_list_box_finalize;
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_REPOSITORY_LIST_BOX_MODE, g_param_spec_enum ("mode", "mode", "mode", GITG_TYPE_SELECTION_MODE, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_REPOSITORY_LIST_BOX_HAS_SELECTION, g_param_spec_boolean ("has-selection", "has-selection", "has-selection", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_signal_new ("repository_activated", GITG_TYPE_REPOSITORY_LIST_BOX, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, GITG_TYPE_REPOSITORY);
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	g_signal_new ("show_error", GITG_TYPE_REPOSITORY_LIST_BOX, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__STRING_STRING, G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_STRING);
#line 4510 "gitg-repository-list-box.c"
}


static void gitg_repository_list_box_instance_init (GitgRepositoryListBox * self) {
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	self->priv = GITG_REPOSITORY_LIST_BOX_GET_PRIVATE (self);
#line 4517 "gitg-repository-list-box.c"
}


static void gitg_repository_list_box_finalize (GObject* obj) {
	GitgRepositoryListBox * self;
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_REPOSITORY_LIST_BOX, GitgRepositoryListBox);
#line 30 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	_g_free0 (self->priv->d_filter_text);
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	G_OBJECT_CLASS (gitg_repository_list_box_parent_class)->finalize (obj);
#line 4529 "gitg-repository-list-box.c"
}


GType gitg_repository_list_box_get_type (void) {
	static volatile gsize gitg_repository_list_box_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_repository_list_box_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgRepositoryListBoxClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_repository_list_box_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgRepositoryListBox), 0, (GInstanceInitFunc) gitg_repository_list_box_instance_init, NULL };
		GType gitg_repository_list_box_type_id;
		gitg_repository_list_box_type_id = g_type_register_static (gtk_list_box_get_type (), "GitgRepositoryListBox", &g_define_type_info, 0);
		g_once_init_leave (&gitg_repository_list_box_type_id__volatile, gitg_repository_list_box_type_id);
	}
	return gitg_repository_list_box_type_id__volatile;
}


static void _vala_gitg_repository_list_box_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GitgRepositoryListBox * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_REPOSITORY_LIST_BOX, GitgRepositoryListBox);
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	switch (property_id) {
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		case GITG_REPOSITORY_LIST_BOX_MODE:
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_value_set_enum (value, gitg_repository_list_box_get_mode (self));
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		break;
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		case GITG_REPOSITORY_LIST_BOX_HAS_SELECTION:
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		g_value_set_boolean (value, gitg_repository_list_box_get_has_selection (self));
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		break;
#line 4562 "gitg-repository-list-box.c"
		default:
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		break;
#line 4568 "gitg-repository-list-box.c"
	}
}


static void _vala_gitg_repository_list_box_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	GitgRepositoryListBox * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_REPOSITORY_LIST_BOX, GitgRepositoryListBox);
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
	switch (property_id) {
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		case GITG_REPOSITORY_LIST_BOX_MODE:
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		gitg_repository_list_box_set_mode (self, g_value_get_enum (value));
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		break;
#line 4584 "gitg-repository-list-box.c"
		default:
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-repository-list-box.vala"
		break;
#line 4590 "gitg-repository-list-box.c"
	}
}


static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) {
	if ((array != NULL) && (destroy_func != NULL)) {
		int i;
		for (i = 0; i < array_length; i = i + 1) {
			if (((gpointer*) array)[i] != NULL) {
				destroy_func (((gpointer*) array)[i]);
			}
		}
	}
}


static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) {
	_vala_array_destroy (array, array_length, destroy_func);
	g_free (array);
}


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



