/* gitg-files-tree-store.c generated by valac 0.32.1, the Vala compiler
 * generated from gitg-files-tree-store.vala, do not modify */

/*
 * This file is part of gitg
 *
 * Copyright (C) 2012 - Jesse van den Kieboom
 *
 * gitg is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * gitg is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with gitg. If not, see <http://www.gnu.org/licenses/>.
 */

#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>
#include <libgit2-glib/ggit.h>
#include <stdlib.h>
#include <string.h>
#include <gio/gio.h>


#define GITG_FILES_TYPE_TREE_STORE (gitg_files_tree_store_get_type ())
#define GITG_FILES_TREE_STORE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_FILES_TYPE_TREE_STORE, GitgFilesTreeStore))
#define GITG_FILES_TREE_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_FILES_TYPE_TREE_STORE, GitgFilesTreeStoreClass))
#define GITG_FILES_IS_TREE_STORE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_FILES_TYPE_TREE_STORE))
#define GITG_FILES_IS_TREE_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_FILES_TYPE_TREE_STORE))
#define GITG_FILES_TREE_STORE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_FILES_TYPE_TREE_STORE, GitgFilesTreeStoreClass))

typedef struct _GitgFilesTreeStore GitgFilesTreeStore;
typedef struct _GitgFilesTreeStoreClass GitgFilesTreeStoreClass;
typedef struct _GitgFilesTreeStorePrivate GitgFilesTreeStorePrivate;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define __vala_GgitOId_free0(var) ((var == NULL) ? NULL : (var = (_vala_GgitOId_free (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))

#define GITG_FILES_TREE_STORE_TYPE_ITEM (gitg_files_tree_store_item_get_type ())
typedef struct _GitgFilesTreeStoreItem GitgFilesTreeStoreItem;
typedef struct _Block2Data Block2Data;
#define _g_hash_table_unref0(var) ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))
#define __g_list_free__gitg_files_tree_store_item_free0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__gitg_files_tree_store_item_free0_ (var), NULL)))
#define _ggit_tree_entry_unref0(var) ((var == NULL) ? NULL : (var = (ggit_tree_entry_unref (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))

struct _GitgFilesTreeStore {
	GtkTreeStore parent_instance;
	GitgFilesTreeStorePrivate * priv;
};

struct _GitgFilesTreeStoreClass {
	GtkTreeStoreClass parent_class;
};

struct _GitgFilesTreeStorePrivate {
	guint d_update_id;
	GgitTree* d_tree;
};

struct _GitgFilesTreeStoreItem {
	gchar* root;
	GgitTreeEntry* entry;
};

struct _Block2Data {
	int _ref_count_;
	GitgFilesTreeStore* self;
	GList* items;
	GHashTable* paths;
};


static gpointer gitg_files_tree_store_parent_class = NULL;
static GType gitg_files_tree_store_type_id = 0;

GType gitg_files_tree_store_get_type (void) G_GNUC_CONST;
GType gitg_files_tree_store_register_type (GTypeModule * module);
#define GITG_FILES_TREE_STORE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_FILES_TYPE_TREE_STORE, GitgFilesTreeStorePrivate))
enum  {
	GITG_FILES_TREE_STORE_DUMMY_PROPERTY,
	GITG_FILES_TREE_STORE_TREE
};
static void gitg_files_tree_store_real_dispose (GObject* base);
GgitOId* gitg_files_tree_store_get_id (GitgFilesTreeStore* self, GtkTreeIter* iter);
static void _vala_GgitOId_free (GgitOId* self);
gchar* gitg_files_tree_store_get_full_path (GitgFilesTreeStore* self, GtkTreeIter* iter);
gchar* gitg_files_tree_store_get_name (GitgFilesTreeStore* self, GtkTreeIter* iter);
gboolean gitg_files_tree_store_get_isdir (GitgFilesTreeStore* self, GtkTreeIter* iter);
static GIcon* gitg_files_tree_store_get_entry_icon (GitgFilesTreeStore* self, GgitTreeEntry* entry);
static void gitg_files_tree_store_update (GitgFilesTreeStore* self);
static GType gitg_files_tree_store_item_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
static GitgFilesTreeStoreItem* gitg_files_tree_store_item_dup (const GitgFilesTreeStoreItem* self);
static void gitg_files_tree_store_item_free (GitgFilesTreeStoreItem* self);
static void gitg_files_tree_store_item_copy (const GitgFilesTreeStoreItem* self, GitgFilesTreeStoreItem* dest);
static void gitg_files_tree_store_item_destroy (GitgFilesTreeStoreItem* self);
static Block2Data* block2_data_ref (Block2Data* _data2_);
static void _gitg_files_tree_store_item_free0_ (gpointer var);
static void _g_list_free__gitg_files_tree_store_item_free0_ (GList* self);
static void block2_data_unref (void * _userdata_);
static gint ___lambda4_ (Block2Data* _data2_, const gchar* root, GgitTreeEntry* entry);
static gint ____lambda4__ggit_tree_walk_callback (const gchar* root, GgitTreeEntry* entry, gpointer self);
static void _g_free0_ (gpointer var);
static void _gtk_tree_path_free0_ (gpointer var);
static gboolean __lambda5_ (Block2Data* _data2_);
static GtkTreeIter* _gtk_tree_iter_dup (GtkTreeIter* self);
static gboolean ___lambda5__gsource_func (gpointer self);
GitgFilesTreeStore* gitg_files_tree_store_new (void);
GitgFilesTreeStore* gitg_files_tree_store_construct (GType object_type);
GgitTree* gitg_files_tree_store_get_tree (GitgFilesTreeStore* self);
void gitg_files_tree_store_set_tree (GitgFilesTreeStore* self, GgitTree* value);
static GObject * gitg_files_tree_store_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
static gint _gitg_files_tree_store___lambda6_ (GitgFilesTreeStore* self, GtkTreeModel* model, GtkTreeIter* a, GtkTreeIter* b);
static gint __gitg_files_tree_store___lambda6__gtk_tree_iter_compare_func (GtkTreeModel* model, GtkTreeIter* a, GtkTreeIter* b, gpointer self);
static void gitg_files_tree_store_finalize (GObject* obj);
static void _vala_gitg_files_tree_store_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_gitg_files_tree_store_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);


static void gitg_files_tree_store_real_dispose (GObject* base) {
	GitgFilesTreeStore * self;
	guint _tmp0_ = 0U;
#line 75 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	self = (GitgFilesTreeStore*) base;
#line 77 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp0_ = self->priv->d_update_id;
#line 77 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	if (_tmp0_ != ((guint) 0)) {
#line 137 "gitg-files-tree-store.c"
		guint _tmp1_ = 0U;
#line 79 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp1_ = self->priv->d_update_id;
#line 79 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		g_source_remove (_tmp1_);
#line 80 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		self->priv->d_update_id = (guint) 0;
#line 145 "gitg-files-tree-store.c"
	}
#line 83 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	G_OBJECT_CLASS (gitg_files_tree_store_parent_class)->dispose ((GObject*) G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_store_get_type (), GtkTreeStore));
#line 149 "gitg-files-tree-store.c"
}


static void _vala_GgitOId_free (GgitOId* self) {
#line 86 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	g_boxed_free (ggit_oid_get_type (), self);
#line 156 "gitg-files-tree-store.c"
}


GgitOId* gitg_files_tree_store_get_id (GitgFilesTreeStore* self, GtkTreeIter* iter) {
	GgitOId* result = NULL;
	GgitOId* ret = NULL;
	GtkTreeIter _tmp0_ = {0};
#line 86 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 86 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	g_return_val_if_fail (iter != NULL, NULL);
#line 90 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp0_ = *iter;
#line 90 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	gtk_tree_model_get ((GtkTreeModel*) self, &_tmp0_, 3, &ret, -1);
#line 92 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	result = ret;
#line 92 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	return result;
#line 176 "gitg-files-tree-store.c"
}


gchar* gitg_files_tree_store_get_full_path (GitgFilesTreeStore* self, GtkTreeIter* iter) {
	gchar* result = NULL;
	gchar* ret = NULL;
	GtkTreeIter _tmp0_ = {0};
	gchar* _tmp1_ = NULL;
	GtkTreeIter parent = {0};
#line 95 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 95 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	g_return_val_if_fail (iter != NULL, NULL);
#line 97 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp0_ = *iter;
#line 97 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp1_ = gitg_files_tree_store_get_name (self, &_tmp0_);
#line 97 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	ret = _tmp1_;
#line 100 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	while (TRUE) {
#line 198 "gitg-files-tree-store.c"
		GtkTreeIter _tmp2_ = {0};
		GtkTreeIter _tmp3_ = {0};
		gboolean _tmp4_ = FALSE;
		GtkTreeIter _tmp5_ = {0};
		gchar* _tmp6_ = NULL;
		gchar* _tmp7_ = NULL;
		const gchar* _tmp8_ = NULL;
		gchar* _tmp9_ = NULL;
		GtkTreeIter _tmp10_ = {0};
#line 100 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp2_ = *iter;
#line 100 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp4_ = gtk_tree_model_iter_parent ((GtkTreeModel*) self, &_tmp3_, &_tmp2_);
#line 100 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		parent = _tmp3_;
#line 100 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		if (!_tmp4_) {
#line 100 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
			break;
#line 218 "gitg-files-tree-store.c"
		}
#line 102 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp5_ = parent;
#line 102 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp6_ = gitg_files_tree_store_get_name (self, &_tmp5_);
#line 102 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp7_ = _tmp6_;
#line 102 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp8_ = ret;
#line 102 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp9_ = g_build_filename (_tmp7_, _tmp8_, NULL);
#line 102 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_g_free0 (ret);
#line 102 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		ret = _tmp9_;
#line 102 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_g_free0 (_tmp7_);
#line 103 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp10_ = parent;
#line 103 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		*iter = _tmp10_;
#line 240 "gitg-files-tree-store.c"
	}
#line 106 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	result = ret;
#line 106 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	return result;
#line 246 "gitg-files-tree-store.c"
}


gchar* gitg_files_tree_store_get_name (GitgFilesTreeStore* self, GtkTreeIter* iter) {
	gchar* result = NULL;
	gchar* ret = NULL;
	GtkTreeIter _tmp0_ = {0};
#line 109 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 109 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	g_return_val_if_fail (iter != NULL, NULL);
#line 113 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp0_ = *iter;
#line 113 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	gtk_tree_model_get ((GtkTreeModel*) self, &_tmp0_, 1, &ret, -1);
#line 115 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	result = ret;
#line 115 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	return result;
#line 266 "gitg-files-tree-store.c"
}


gboolean gitg_files_tree_store_get_isdir (GitgFilesTreeStore* self, GtkTreeIter* iter) {
	gboolean result = FALSE;
	gboolean ret = FALSE;
	GtkTreeIter _tmp0_ = {0};
#line 118 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 118 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	g_return_val_if_fail (iter != NULL, FALSE);
#line 122 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp0_ = *iter;
#line 122 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	gtk_tree_model_get ((GtkTreeModel*) self, &_tmp0_, 2, &ret, -1);
#line 124 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	result = ret;
#line 124 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	return result;
#line 286 "gitg-files-tree-store.c"
}


static GIcon* gitg_files_tree_store_get_entry_icon (GitgFilesTreeStore* self, GgitTreeEntry* entry) {
	GIcon* result = NULL;
	GIcon* icon = NULL;
	gboolean isdir = FALSE;
	GgitTreeEntry* _tmp0_ = NULL;
	GgitFileMode _tmp1_ = 0;
	gboolean _tmp2_ = FALSE;
#line 127 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 127 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	g_return_val_if_fail (entry != NULL, NULL);
#line 130 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp0_ = entry;
#line 130 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp1_ = ggit_tree_entry_get_file_mode (_tmp0_);
#line 130 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	isdir = _tmp1_ == GGIT_FILE_MODE_TREE;
#line 132 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp2_ = isdir;
#line 132 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	if (_tmp2_) {
#line 311 "gitg-files-tree-store.c"
		GThemedIcon* _tmp3_ = NULL;
#line 134 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp3_ = (GThemedIcon*) g_themed_icon_new ("folder");
#line 134 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_g_object_unref0 (icon);
#line 134 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		icon = (GIcon*) _tmp3_;
#line 319 "gitg-files-tree-store.c"
	} else {
		gchar* ct = NULL;
		GgitTreeEntry* _tmp4_ = NULL;
		const gchar* _tmp5_ = NULL;
		gchar* _tmp6_ = NULL;
		const gchar* _tmp7_ = NULL;
		gboolean _tmp8_ = FALSE;
#line 138 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp4_ = entry;
#line 138 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp5_ = ggit_tree_entry_get_name (_tmp4_);
#line 138 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp6_ = g_content_type_guess (_tmp5_, NULL, (gsize) 0, NULL);
#line 138 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		ct = _tmp6_;
#line 140 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp7_ = ct;
#line 140 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp8_ = g_content_type_is_unknown (_tmp7_);
#line 140 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		if (_tmp8_) {
#line 341 "gitg-files-tree-store.c"
			GThemedIcon* _tmp9_ = NULL;
#line 142 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
			_tmp9_ = (GThemedIcon*) g_themed_icon_new ("text-x-generic");
#line 142 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
			_g_object_unref0 (icon);
#line 142 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
			icon = (GIcon*) _tmp9_;
#line 349 "gitg-files-tree-store.c"
		} else {
			const gchar* _tmp10_ = NULL;
			GIcon* _tmp11_ = NULL;
#line 146 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
			_tmp10_ = ct;
#line 146 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
			_tmp11_ = g_content_type_get_icon (_tmp10_);
#line 146 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
			_g_object_unref0 (icon);
#line 146 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
			icon = _tmp11_;
#line 361 "gitg-files-tree-store.c"
		}
#line 132 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_g_free0 (ct);
#line 365 "gitg-files-tree-store.c"
	}
#line 150 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	result = icon;
#line 150 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	return result;
#line 371 "gitg-files-tree-store.c"
}


static Block2Data* block2_data_ref (Block2Data* _data2_) {
#line 153 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	g_atomic_int_inc (&_data2_->_ref_count_);
#line 153 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	return _data2_;
#line 380 "gitg-files-tree-store.c"
}


static void _gitg_files_tree_store_item_free0_ (gpointer var) {
#line 153 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	(var == NULL) ? NULL : (var = (gitg_files_tree_store_item_free (var), NULL));
#line 387 "gitg-files-tree-store.c"
}


static void _g_list_free__gitg_files_tree_store_item_free0_ (GList* self) {
#line 153 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	g_list_foreach (self, (GFunc) _gitg_files_tree_store_item_free0_, NULL);
#line 153 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	g_list_free (self);
#line 396 "gitg-files-tree-store.c"
}


static void block2_data_unref (void * _userdata_) {
	Block2Data* _data2_;
	_data2_ = (Block2Data*) _userdata_;
#line 153 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	if (g_atomic_int_dec_and_test (&_data2_->_ref_count_)) {
#line 405 "gitg-files-tree-store.c"
		GitgFilesTreeStore* self;
#line 153 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		self = _data2_->self;
#line 153 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_g_hash_table_unref0 (_data2_->paths);
#line 153 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		__g_list_free__gitg_files_tree_store_item_free0_0 (_data2_->items);
#line 153 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_g_object_unref0 (self);
#line 153 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		g_slice_free (Block2Data, _data2_);
#line 417 "gitg-files-tree-store.c"
	}
}


static gpointer _ggit_tree_entry_ref0 (gpointer self) {
#line 175 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	return self ? ggit_tree_entry_ref (self) : NULL;
#line 425 "gitg-files-tree-store.c"
}


static gpointer _gitg_files_tree_store_item_dup0 (gpointer self) {
#line 176 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	return self ? gitg_files_tree_store_item_dup (self) : NULL;
#line 432 "gitg-files-tree-store.c"
}


static gint ___lambda4_ (Block2Data* _data2_, const gchar* root, GgitTreeEntry* entry) {
	GitgFilesTreeStore* self;
	gint result = 0;
	GitgFilesTreeStoreItem item = {0};
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	GgitTreeEntry* _tmp2_ = NULL;
	GgitTreeEntry* _tmp3_ = NULL;
	GitgFilesTreeStoreItem _tmp4_ = {0};
	GitgFilesTreeStoreItem _tmp5_ = {0};
	GitgFilesTreeStoreItem* _tmp6_ = NULL;
#line 172 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	self = _data2_->self;
#line 172 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	g_return_val_if_fail (root != NULL, 0);
#line 172 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	g_return_val_if_fail (entry != NULL, 0);
#line 173 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	memset (&item, 0, sizeof (GitgFilesTreeStoreItem));
#line 174 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp0_ = root;
#line 174 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 174 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_g_free0 (item.root);
#line 174 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	item.root = _tmp1_;
#line 175 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp2_ = entry;
#line 175 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp3_ = _ggit_tree_entry_ref0 (_tmp2_);
#line 175 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_ggit_tree_entry_unref0 (item.entry);
#line 175 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	item.entry = _tmp3_;
#line 176 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp4_ = item;
#line 176 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp5_ = _tmp4_;
#line 176 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp6_ = _gitg_files_tree_store_item_dup0 (&_tmp5_);
#line 176 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_data2_->items = g_list_prepend (_data2_->items, _tmp6_);
#line 177 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	result = 0;
#line 177 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	gitg_files_tree_store_item_destroy (&item);
#line 177 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	return result;
#line 485 "gitg-files-tree-store.c"
}


static gint ____lambda4__ggit_tree_walk_callback (const gchar* root, GgitTreeEntry* entry, gpointer self) {
	gint result;
	result = ___lambda4_ (self, root, entry);
#line 172 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	return result;
#line 494 "gitg-files-tree-store.c"
}


static void _g_free0_ (gpointer var) {
#line 188 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	var = (g_free (var), NULL);
#line 501 "gitg-files-tree-store.c"
}


static void _gtk_tree_path_free0_ (gpointer var) {
#line 188 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	(var == NULL) ? NULL : (var = (gtk_tree_path_free (var), NULL));
#line 508 "gitg-files-tree-store.c"
}


static GtkTreeIter* _gtk_tree_iter_dup (GtkTreeIter* self) {
	GtkTreeIter* dup;
#line 207 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	dup = g_new0 (GtkTreeIter, 1);
#line 207 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	memcpy (dup, self, sizeof (GtkTreeIter));
#line 207 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	return dup;
#line 520 "gitg-files-tree-store.c"
}


static gpointer __gtk_tree_iter_dup0 (gpointer self) {
#line 207 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	return self ? _gtk_tree_iter_dup (self) : NULL;
#line 527 "gitg-files-tree-store.c"
}


static gboolean __lambda5_ (Block2Data* _data2_) {
	GitgFilesTreeStore* self;
	gboolean result = FALSE;
	GList* _tmp0_ = NULL;
	GitgFilesTreeStoreItem item = {0};
	GList* _tmp1_ = NULL;
	gconstpointer _tmp2_ = NULL;
	GitgFilesTreeStoreItem _tmp3_ = {0};
	GList* _tmp4_ = NULL;
	gchar* root = NULL;
	GitgFilesTreeStoreItem _tmp5_ = {0};
	const gchar* _tmp6_ = NULL;
	gchar* _tmp7_ = NULL;
	GgitTreeEntry* entry = NULL;
	GitgFilesTreeStoreItem _tmp8_ = {0};
	GgitTreeEntry* _tmp9_ = NULL;
	GgitTreeEntry* _tmp10_ = NULL;
	gboolean isdir = FALSE;
	GgitTreeEntry* _tmp11_ = NULL;
	GgitFileMode _tmp12_ = 0;
	GtkTreeIter* parent = NULL;
	const gchar* _tmp13_ = NULL;
	GIcon* icon = NULL;
	GgitTreeEntry* _tmp20_ = NULL;
	GIcon* _tmp21_ = NULL;
	GtkTreeIter iter = {0};
	GtkTreeIter* _tmp22_ = NULL;
	GtkTreeIter _tmp23_ = {0};
	GtkTreeIter _tmp24_ = {0};
	GIcon* _tmp25_ = NULL;
	GgitTreeEntry* _tmp26_ = NULL;
	const gchar* _tmp27_ = NULL;
	gboolean _tmp28_ = FALSE;
	GgitTreeEntry* _tmp29_ = NULL;
	GgitOId* _tmp30_ = NULL;
	GgitOId* _tmp31_ = NULL;
	gboolean _tmp32_ = FALSE;
#line 189 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	self = _data2_->self;
#line 190 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp0_ = _data2_->items;
#line 190 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	if (_tmp0_ == NULL) {
#line 192 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		self->priv->d_update_id = (guint) 0;
#line 193 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		result = FALSE;
#line 193 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		return result;
#line 580 "gitg-files-tree-store.c"
	}
#line 196 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp1_ = _data2_->items;
#line 196 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp2_ = _tmp1_->data;
#line 196 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	gitg_files_tree_store_item_copy ((GitgFilesTreeStoreItem*) _tmp2_, &_tmp3_);
#line 196 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	item = _tmp3_;
#line 197 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp4_ = _data2_->items;
#line 197 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_data2_->items = g_list_remove_link (_data2_->items, _tmp4_);
#line 199 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp5_ = item;
#line 199 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp6_ = _tmp5_.root;
#line 199 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp7_ = g_strdup (_tmp6_);
#line 199 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	root = _tmp7_;
#line 200 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp8_ = item;
#line 200 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp9_ = _tmp8_.entry;
#line 200 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp10_ = _ggit_tree_entry_ref0 (_tmp9_);
#line 200 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	entry = _tmp10_;
#line 201 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp11_ = entry;
#line 201 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp12_ = ggit_tree_entry_get_file_mode (_tmp11_);
#line 201 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	isdir = _tmp12_ == GGIT_FILE_MODE_TREE;
#line 203 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	parent = NULL;
#line 205 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp13_ = root;
#line 205 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	if (g_strcmp0 (_tmp13_, "") != 0) {
#line 622 "gitg-files-tree-store.c"
		GHashTable* _tmp14_ = NULL;
		const gchar* _tmp15_ = NULL;
		gconstpointer _tmp16_ = NULL;
		GtkTreeIter _tmp17_ = {0};
		GtkTreeIter _tmp18_ = {0};
		GtkTreeIter* _tmp19_ = NULL;
#line 207 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp14_ = _data2_->paths;
#line 207 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp15_ = root;
#line 207 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp16_ = g_hash_table_lookup (_tmp14_, _tmp15_);
#line 207 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		gtk_tree_model_get_iter ((GtkTreeModel*) self, &_tmp17_, (GtkTreePath*) _tmp16_);
#line 207 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_g_free0 (parent);
#line 207 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp18_ = _tmp17_;
#line 207 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp19_ = __gtk_tree_iter_dup0 (&_tmp18_);
#line 207 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		parent = _tmp19_;
#line 645 "gitg-files-tree-store.c"
	}
#line 210 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp20_ = entry;
#line 210 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp21_ = gitg_files_tree_store_get_entry_icon (self, _tmp20_);
#line 210 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	icon = _tmp21_;
#line 213 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp22_ = parent;
#line 213 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	gtk_tree_store_append ((GtkTreeStore*) self, &_tmp23_, _tmp22_);
#line 213 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	iter = _tmp23_;
#line 214 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp24_ = iter;
#line 214 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp25_ = icon;
#line 214 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp26_ = entry;
#line 214 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp27_ = ggit_tree_entry_get_name (_tmp26_);
#line 214 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp28_ = isdir;
#line 214 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp29_ = entry;
#line 214 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp30_ = ggit_tree_entry_get_id (_tmp29_);
#line 214 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp31_ = _tmp30_;
#line 214 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	gtk_tree_store_set ((GtkTreeStore*) self, &_tmp24_, 0, _tmp25_, 1, _tmp27_, 2, _tmp28_, 3, _tmp31_, -1);
#line 214 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	__vala_GgitOId_free0 (_tmp31_);
#line 220 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp32_ = isdir;
#line 220 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	if (_tmp32_) {
#line 683 "gitg-files-tree-store.c"
		gchar* path = NULL;
		const gchar* _tmp33_ = NULL;
		GgitTreeEntry* _tmp34_ = NULL;
		const gchar* _tmp35_ = NULL;
		gchar* _tmp36_ = NULL;
		gchar* _tmp37_ = NULL;
		gchar* _tmp38_ = NULL;
		gchar* _tmp39_ = NULL;
		GHashTable* _tmp40_ = NULL;
		const gchar* _tmp41_ = NULL;
		gchar* _tmp42_ = NULL;
		GtkTreeIter _tmp43_ = {0};
		GtkTreePath* _tmp44_ = NULL;
#line 222 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp33_ = root;
#line 222 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp34_ = entry;
#line 222 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp35_ = ggit_tree_entry_get_name (_tmp34_);
#line 222 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp36_ = g_strconcat (_tmp33_, _tmp35_, NULL);
#line 222 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp37_ = _tmp36_;
#line 222 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp38_ = g_strconcat (_tmp37_, G_DIR_SEPARATOR_S, NULL);
#line 222 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp39_ = _tmp38_;
#line 222 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_g_free0 (_tmp37_);
#line 222 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		path = _tmp39_;
#line 224 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp40_ = _data2_->paths;
#line 224 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp41_ = path;
#line 224 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp42_ = g_strdup (_tmp41_);
#line 224 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp43_ = iter;
#line 224 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp44_ = gtk_tree_model_get_path ((GtkTreeModel*) self, &_tmp43_);
#line 224 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		g_hash_table_insert (_tmp40_, _tmp42_, _tmp44_);
#line 220 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_g_free0 (path);
#line 729 "gitg-files-tree-store.c"
	}
#line 227 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	result = TRUE;
#line 227 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_g_object_unref0 (icon);
#line 227 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_g_free0 (parent);
#line 227 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_ggit_tree_entry_unref0 (entry);
#line 227 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_g_free0 (root);
#line 227 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	gitg_files_tree_store_item_destroy (&item);
#line 227 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	return result;
#line 745 "gitg-files-tree-store.c"
}


static gboolean ___lambda5__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda5_ (self);
#line 189 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	return result;
#line 754 "gitg-files-tree-store.c"
}


static void gitg_files_tree_store_update (GitgFilesTreeStore* self) {
	Block2Data* _data2_;
	guint _tmp0_ = 0U;
	GgitTree* _tmp2_ = NULL;
	GList* _tmp4_ = NULL;
	GHashFunc _tmp5_ = NULL;
	GEqualFunc _tmp6_ = NULL;
	GHashTable* _tmp7_ = NULL;
	guint _tmp8_ = 0U;
	GError * _inner_error_ = NULL;
#line 153 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	g_return_if_fail (self != NULL);
#line 153 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_data2_ = g_slice_new0 (Block2Data);
#line 153 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_data2_->_ref_count_ = 1;
#line 153 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_data2_->self = g_object_ref (self);
#line 155 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp0_ = self->priv->d_update_id;
#line 155 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	if (_tmp0_ != ((guint) 0)) {
#line 780 "gitg-files-tree-store.c"
		guint _tmp1_ = 0U;
#line 157 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp1_ = self->priv->d_update_id;
#line 157 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		g_source_remove (_tmp1_);
#line 158 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		self->priv->d_update_id = (guint) 0;
#line 788 "gitg-files-tree-store.c"
	}
#line 161 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	gtk_tree_store_clear ((GtkTreeStore*) self);
#line 163 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp2_ = self->priv->d_tree;
#line 163 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	if (_tmp2_ == NULL) {
#line 165 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		block2_data_unref (_data2_);
#line 165 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_data2_ = NULL;
#line 165 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		return;
#line 802 "gitg-files-tree-store.c"
	}
#line 168 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_data2_->items = NULL;
#line 806 "gitg-files-tree-store.c"
	{
		GgitTree* _tmp3_ = NULL;
#line 172 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp3_ = self->priv->d_tree;
#line 172 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		ggit_tree_walk (_tmp3_, GGIT_TREE_WALK_MODE_PRE, ____lambda4__ggit_tree_walk_callback, _data2_, &_inner_error_);
#line 172 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 815 "gitg-files-tree-store.c"
			goto __catch2_g_error;
		}
	}
	goto __finally2;
	__catch2_g_error:
	{
		GError* e = NULL;
#line 170 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		e = _inner_error_;
#line 170 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_inner_error_ = NULL;
#line 170 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_g_error_free0 (e);
#line 829 "gitg-files-tree-store.c"
	}
	__finally2:
#line 170 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 170 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		block2_data_unref (_data2_);
#line 170 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_data2_ = NULL;
#line 170 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.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 170 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		g_clear_error (&_inner_error_);
#line 170 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		return;
#line 844 "gitg-files-tree-store.c"
	}
#line 181 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp4_ = _data2_->items;
#line 181 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	if (_tmp4_ == NULL) {
#line 183 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		block2_data_unref (_data2_);
#line 183 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_data2_ = NULL;
#line 183 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		return;
#line 856 "gitg-files-tree-store.c"
	}
#line 186 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_data2_->items = g_list_reverse (_data2_->items);
#line 188 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp5_ = g_str_hash;
#line 188 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp6_ = g_str_equal;
#line 188 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp7_ = g_hash_table_new_full (_tmp5_, _tmp6_, _g_free0_, _gtk_tree_path_free0_);
#line 188 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_data2_->paths = _tmp7_;
#line 189 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp8_ = g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda5__gsource_func, block2_data_ref (_data2_), block2_data_unref);
#line 189 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	self->priv->d_update_id = _tmp8_;
#line 153 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	block2_data_unref (_data2_);
#line 153 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_data2_ = NULL;
#line 876 "gitg-files-tree-store.c"
}


GitgFilesTreeStore* gitg_files_tree_store_construct (GType object_type) {
	GitgFilesTreeStore * self = NULL;
#line 23 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	self = (GitgFilesTreeStore*) g_object_new (object_type, NULL);
#line 23 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	return self;
#line 886 "gitg-files-tree-store.c"
}


GitgFilesTreeStore* gitg_files_tree_store_new (void) {
#line 23 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	return gitg_files_tree_store_construct (GITG_FILES_TYPE_TREE_STORE);
#line 893 "gitg-files-tree-store.c"
}


GgitTree* gitg_files_tree_store_get_tree (GitgFilesTreeStore* self) {
	GgitTree* result;
	GgitTree* _tmp0_ = NULL;
#line 36 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 36 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp0_ = self->priv->d_tree;
#line 36 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	result = _tmp0_;
#line 36 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	return result;
#line 908 "gitg-files-tree-store.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 39 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	return self ? g_object_ref (self) : NULL;
#line 915 "gitg-files-tree-store.c"
}


void gitg_files_tree_store_set_tree (GitgFilesTreeStore* self, GgitTree* value) {
	GgitTree* _tmp0_ = NULL;
	GgitTree* _tmp1_ = NULL;
#line 37 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	g_return_if_fail (self != NULL);
#line 39 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp0_ = value;
#line 39 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 39 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_g_object_unref0 (self->priv->d_tree);
#line 39 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	self->priv->d_tree = _tmp1_;
#line 40 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	gitg_files_tree_store_update (self);
#line 37 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	g_object_notify ((GObject *) self, "tree");
#line 936 "gitg-files-tree-store.c"
}


static gint _gitg_files_tree_store___lambda6_ (GitgFilesTreeStore* self, GtkTreeModel* model, GtkTreeIter* a, GtkTreeIter* b) {
	gint result = 0;
	gchar* aname = NULL;
	gchar* bname = NULL;
	gboolean aisdir = FALSE;
	gboolean bisdir = FALSE;
	GtkTreeModel* _tmp0_ = NULL;
	GtkTreeIter _tmp1_ = {0};
	GtkTreeModel* _tmp2_ = NULL;
	GtkTreeIter _tmp3_ = {0};
	gboolean _tmp4_ = FALSE;
	gboolean _tmp5_ = FALSE;
#line 48 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	g_return_val_if_fail (model != NULL, 0);
#line 48 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	g_return_val_if_fail (a != NULL, 0);
#line 48 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	g_return_val_if_fail (b != NULL, 0);
#line 54 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp0_ = model;
#line 54 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp1_ = *a;
#line 54 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	gtk_tree_model_get (_tmp0_, &_tmp1_, 1, &aname, 2, &aisdir, -1);
#line 55 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp2_ = model;
#line 55 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp3_ = *b;
#line 55 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	gtk_tree_model_get (_tmp2_, &_tmp3_, 1, &bname, 2, &bisdir, -1);
#line 57 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp4_ = aisdir;
#line 57 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp5_ = bisdir;
#line 57 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	if (_tmp4_ == _tmp5_) {
#line 976 "gitg-files-tree-store.c"
		GCompareFunc _tmp6_ = NULL;
		const gchar* _tmp7_ = NULL;
		gchar* _tmp8_ = NULL;
		gchar* _tmp9_ = NULL;
		const gchar* _tmp10_ = NULL;
		gchar* _tmp11_ = NULL;
		gchar* _tmp12_ = NULL;
		gint _tmp13_ = 0;
		gint _tmp14_ = 0;
#line 59 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp6_ = g_strcmp0;
#line 59 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp7_ = aname;
#line 59 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp8_ = g_utf8_collate_key_for_filename (_tmp7_, (gssize) -1);
#line 59 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp9_ = _tmp8_;
#line 59 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp10_ = bname;
#line 59 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp11_ = g_utf8_collate_key_for_filename (_tmp10_, (gssize) -1);
#line 59 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp12_ = _tmp11_;
#line 59 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp13_ = _tmp6_ (_tmp9_, _tmp12_);
#line 59 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp14_ = _tmp13_;
#line 59 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_g_free0 (_tmp12_);
#line 59 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_g_free0 (_tmp9_);
#line 59 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		result = _tmp14_;
#line 59 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_g_free0 (bname);
#line 59 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_g_free0 (aname);
#line 59 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		return result;
#line 1016 "gitg-files-tree-store.c"
	} else {
		gboolean _tmp15_ = FALSE;
#line 62 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		_tmp15_ = aisdir;
#line 62 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		if (_tmp15_) {
#line 64 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
			result = -1;
#line 64 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
			_g_free0 (bname);
#line 64 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
			_g_free0 (aname);
#line 64 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
			return result;
#line 1031 "gitg-files-tree-store.c"
		} else {
#line 68 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
			result = 1;
#line 68 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
			_g_free0 (bname);
#line 68 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
			_g_free0 (aname);
#line 68 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
			return result;
#line 1041 "gitg-files-tree-store.c"
		}
	}
#line 48 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_g_free0 (bname);
#line 48 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_g_free0 (aname);
#line 1048 "gitg-files-tree-store.c"
}


static gint __gitg_files_tree_store___lambda6__gtk_tree_iter_compare_func (GtkTreeModel* model, GtkTreeIter* a, GtkTreeIter* b, gpointer self) {
	gint result;
	result = _gitg_files_tree_store___lambda6_ ((GitgFilesTreeStore*) self, model, a, b);
#line 48 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	return result;
#line 1057 "gitg-files-tree-store.c"
}


static GObject * gitg_files_tree_store_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) {
	GObject * obj;
	GObjectClass * parent_class;
	GitgFilesTreeStore * self;
	GType* _tmp0_ = NULL;
	GType* _tmp1_ = NULL;
	gint _tmp1__length1 = 0;
#line 44 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	parent_class = G_OBJECT_CLASS (gitg_files_tree_store_parent_class);
#line 44 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 44 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_FILES_TYPE_TREE_STORE, GitgFilesTreeStore);
#line 46 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp0_ = g_new0 (GType, 4);
#line 46 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp0_[0] = G_TYPE_ICON;
#line 46 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp0_[1] = G_TYPE_STRING;
#line 46 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp0_[2] = G_TYPE_BOOLEAN;
#line 46 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp0_[3] = ggit_oid_get_type ();
#line 46 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp1_ = _tmp0_;
#line 46 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp1__length1 = 4;
#line 46 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	gtk_tree_store_set_column_types ((GtkTreeStore*) self, 4, _tmp1_);
#line 46 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp1_ = (g_free (_tmp1_), NULL);
#line 48 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	gtk_tree_sortable_set_sort_func ((GtkTreeSortable*) self, 0, __gitg_files_tree_store___lambda6__gtk_tree_iter_compare_func, g_object_ref (self), g_object_unref);
#line 72 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	gtk_tree_sortable_set_sort_column_id ((GtkTreeSortable*) self, 0, GTK_SORT_ASCENDING);
#line 44 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	return obj;
#line 1098 "gitg-files-tree-store.c"
}


static void gitg_files_tree_store_item_copy (const GitgFilesTreeStoreItem* self, GitgFilesTreeStoreItem* dest) {
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	GgitTreeEntry* _tmp2_ = NULL;
	GgitTreeEntry* _tmp3_ = NULL;
#line 25 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp0_ = (*self).root;
#line 25 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 25 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_g_free0 ((*dest).root);
#line 25 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	(*dest).root = _tmp1_;
#line 25 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp2_ = (*self).entry;
#line 25 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_tmp3_ = _ggit_tree_entry_ref0 (_tmp2_);
#line 25 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_ggit_tree_entry_unref0 ((*dest).entry);
#line 25 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	(*dest).entry = _tmp3_;
#line 1123 "gitg-files-tree-store.c"
}


static void gitg_files_tree_store_item_destroy (GitgFilesTreeStoreItem* self) {
#line 27 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_g_free0 ((*self).root);
#line 28 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_ggit_tree_entry_unref0 ((*self).entry);
#line 1132 "gitg-files-tree-store.c"
}


static GitgFilesTreeStoreItem* gitg_files_tree_store_item_dup (const GitgFilesTreeStoreItem* self) {
	GitgFilesTreeStoreItem* dup;
#line 25 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	dup = g_new0 (GitgFilesTreeStoreItem, 1);
#line 25 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	gitg_files_tree_store_item_copy (self, dup);
#line 25 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	return dup;
#line 1144 "gitg-files-tree-store.c"
}


static void gitg_files_tree_store_item_free (GitgFilesTreeStoreItem* self) {
#line 25 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	gitg_files_tree_store_item_destroy (self);
#line 25 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	g_free (self);
#line 1153 "gitg-files-tree-store.c"
}


static GType gitg_files_tree_store_item_get_type (void) {
	static volatile gsize gitg_files_tree_store_item_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_files_tree_store_item_type_id__volatile)) {
		GType gitg_files_tree_store_item_type_id;
		gitg_files_tree_store_item_type_id = g_boxed_type_register_static ("GitgFilesTreeStoreItem", (GBoxedCopyFunc) gitg_files_tree_store_item_dup, (GBoxedFreeFunc) gitg_files_tree_store_item_free);
		g_once_init_leave (&gitg_files_tree_store_item_type_id__volatile, gitg_files_tree_store_item_type_id);
	}
	return gitg_files_tree_store_item_type_id__volatile;
}


static void gitg_files_tree_store_class_init (GitgFilesTreeStoreClass * klass) {
#line 23 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	gitg_files_tree_store_parent_class = g_type_class_peek_parent (klass);
#line 23 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	g_type_class_add_private (klass, sizeof (GitgFilesTreeStorePrivate));
#line 23 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	((GObjectClass *) klass)->dispose = gitg_files_tree_store_real_dispose;
#line 23 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_files_tree_store_get_property;
#line 23 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_files_tree_store_set_property;
#line 23 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	G_OBJECT_CLASS (klass)->constructor = gitg_files_tree_store_constructor;
#line 23 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_files_tree_store_finalize;
#line 23 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_FILES_TREE_STORE_TREE, g_param_spec_object ("tree", "tree", "tree", ggit_tree_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 1185 "gitg-files-tree-store.c"
}


static void gitg_files_tree_store_instance_init (GitgFilesTreeStore * self) {
#line 23 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	self->priv = GITG_FILES_TREE_STORE_GET_PRIVATE (self);
#line 1192 "gitg-files-tree-store.c"
}


static void gitg_files_tree_store_finalize (GObject* obj) {
	GitgFilesTreeStore * self;
#line 23 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_FILES_TYPE_TREE_STORE, GitgFilesTreeStore);
#line 32 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	_g_object_unref0 (self->priv->d_tree);
#line 23 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	G_OBJECT_CLASS (gitg_files_tree_store_parent_class)->finalize (obj);
#line 1204 "gitg-files-tree-store.c"
}


GType gitg_files_tree_store_get_type (void) {
	return gitg_files_tree_store_type_id;
}


GType gitg_files_tree_store_register_type (GTypeModule * module) {
	static const GTypeInfo g_define_type_info = { sizeof (GitgFilesTreeStoreClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_files_tree_store_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgFilesTreeStore), 0, (GInstanceInitFunc) gitg_files_tree_store_instance_init, NULL };
	gitg_files_tree_store_type_id = g_type_module_register_type (module, gtk_tree_store_get_type (), "GitgFilesTreeStore", &g_define_type_info, 0);
	return gitg_files_tree_store_type_id;
}


static void _vala_gitg_files_tree_store_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GitgFilesTreeStore * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_FILES_TYPE_TREE_STORE, GitgFilesTreeStore);
#line 23 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	switch (property_id) {
#line 23 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		case GITG_FILES_TREE_STORE_TREE:
#line 23 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		g_value_set_object (value, gitg_files_tree_store_get_tree (self));
#line 23 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		break;
#line 1231 "gitg-files-tree-store.c"
		default:
#line 23 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 23 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		break;
#line 1237 "gitg-files-tree-store.c"
	}
}


static void _vala_gitg_files_tree_store_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	GitgFilesTreeStore * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_FILES_TYPE_TREE_STORE, GitgFilesTreeStore);
#line 23 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
	switch (property_id) {
#line 23 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		case GITG_FILES_TREE_STORE_TREE:
#line 23 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		gitg_files_tree_store_set_tree (self, g_value_get_object (value));
#line 23 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		break;
#line 1253 "gitg-files-tree-store.c"
		default:
#line 23 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 23 "/home/jesse/dev/gitg/plugins/files/gitg-files-tree-store.vala"
		break;
#line 1259 "gitg-files-tree-store.c"
	}
}



