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

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

#include <glib.h>
#include <glib-object.h>
#include "libgitg/libgitg.h"
#include "libgitg-ext/libgitg-ext.h"
#include <stdlib.h>
#include <string.h>
#include <config.h>
#include <gtk/gtk.h>
#include <glib/gi18n-lib.h>


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

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

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

struct _GitgDashViewClass {
	GitgRepositoryListBoxClass parent_class;
};

struct _GitgDashViewPrivate {
	GitgExtApplication* _application;
	gboolean d_search_enabled;
	gboolean d_setting_mode;
	gchar* d_search_text;
	gboolean _search_visible;
};


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

GType gitg_dash_view_get_type (void) G_GNUC_CONST;
#define GITG_DASH_VIEW_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_TYPE_DASH_VIEW, GitgDashViewPrivate))
enum  {
	GITG_DASH_VIEW_DUMMY_PROPERTY,
	GITG_DASH_VIEW_APPLICATION,
	GITG_DASH_VIEW_SELECTABLE_MODE,
	GITG_DASH_VIEW_DISPLAY_NAME,
	GITG_DASH_VIEW_DESCRIPTION,
	GITG_DASH_VIEW_ID,
	GITG_DASH_VIEW_WIDGET,
	GITG_DASH_VIEW_ICON,
	GITG_DASH_VIEW_SEARCH_TEXT,
	GITG_DASH_VIEW_SEARCH_ENTRY,
	GITG_DASH_VIEW_SEARCH_VISIBLE,
	GITG_DASH_VIEW_SEARCH_ENABLED,
	GITG_DASH_VIEW_ACTION_WIDGET
};
#define GITG_DASH_VIEW_version VERSION
GitgDashView* gitg_dash_view_new (void);
GitgDashView* gitg_dash_view_construct (GType object_type);
static void _gitg_dash_view_action_widget___lambda68_ (GitgDashView* self);
static void __gitg_dash_view_action_widget___lambda68__gtk_button_clicked (GtkButton* _sender, gpointer self);
static GObject * gitg_dash_view_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
static void _gitg_dash_view___lambda69_ (GitgDashView* self);
static void __gitg_dash_view___lambda69__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void gitg_dash_view_finalize (GObject* obj);
static void _vala_gitg_dash_view_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_gitg_dash_view_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);


GitgDashView* gitg_dash_view_construct (GType object_type) {
	GitgDashView * self = NULL;
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) gitg_repository_list_box_construct (object_type);
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	return self;
#line 110 "gitg-dash-view.c"
}


GitgDashView* gitg_dash_view_new (void) {
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	return gitg_dash_view_construct (GITG_TYPE_DASH_VIEW);
#line 117 "gitg-dash-view.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 27 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	return self ? g_object_ref (self) : NULL;
#line 124 "gitg-dash-view.c"
}


static GitgExtApplication* gitg_dash_view_real_get_application (GitgExtUIElement* base) {
	GitgExtApplication* result;
	GitgDashView* self;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
#line 27 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 27 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->_application;
#line 27 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 27 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	result = _tmp1_;
#line 27 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 143 "gitg-dash-view.c"
}


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


static GitgExtSelectionMode gitg_dash_view_real_get_selectable_mode (GitgExtSelectable* base) {
	GitgExtSelectionMode result;
	GitgDashView* self;
	GitgSelectionMode _tmp0_ = 0;
	GitgSelectionMode _tmp1_ = 0;
#line 35 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 37 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = gitg_repository_list_box_get_mode ((GitgRepositoryListBox*) self);
#line 37 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _tmp0_;
#line 37 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	switch (_tmp1_) {
#line 37 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_SELECTION_MODE_NORMAL:
#line 182 "gitg-dash-view.c"
		{
#line 40 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
			result = GITG_EXT_SELECTION_MODE_NORMAL;
#line 40 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
			return result;
#line 188 "gitg-dash-view.c"
		}
#line 37 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_SELECTION_MODE_SELECTION:
#line 192 "gitg-dash-view.c"
		{
#line 42 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
			result = GITG_EXT_SELECTION_MODE_SELECTION;
#line 42 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
			return result;
#line 198 "gitg-dash-view.c"
		}
		default:
#line 37 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 203 "gitg-dash-view.c"
	}
#line 45 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	result = GITG_EXT_SELECTION_MODE_NORMAL;
#line 45 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 209 "gitg-dash-view.c"
}


static void gitg_dash_view_real_set_selectable_mode (GitgExtSelectable* base, GitgExtSelectionMode value) {
	GitgDashView* self;
	GitgExtSelectionMode _tmp0_ = 0;
	GitgExtSelectionMode _tmp1_ = 0;
	GitgExtSelectionMode _tmp2_ = 0;
	GitgExtSelectionMode _tmp3_ = 0;
#line 48 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 50 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = gitg_ext_selectable_get_selectable_mode ((GitgExtSelectable*) self);
#line 50 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _tmp0_;
#line 50 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = value;
#line 50 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_tmp1_ == _tmp2_) {
#line 52 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		return;
#line 231 "gitg-dash-view.c"
	}
#line 55 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	self->priv->d_setting_mode = TRUE;
#line 57 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp3_ = value;
#line 57 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	switch (_tmp3_) {
#line 57 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_EXT_SELECTION_MODE_NORMAL:
#line 241 "gitg-dash-view.c"
		{
#line 60 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
			gitg_repository_list_box_set_mode ((GitgRepositoryListBox*) self, GITG_SELECTION_MODE_NORMAL);
#line 61 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
			break;
#line 247 "gitg-dash-view.c"
		}
#line 57 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_EXT_SELECTION_MODE_SELECTION:
#line 251 "gitg-dash-view.c"
		{
#line 63 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
			gitg_repository_list_box_set_mode ((GitgRepositoryListBox*) self, GITG_SELECTION_MODE_SELECTION);
#line 64 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
			break;
#line 257 "gitg-dash-view.c"
		}
		default:
#line 57 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 262 "gitg-dash-view.c"
	}
#line 67 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	self->priv->d_setting_mode = FALSE;
#line 48 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_notify ((GObject *) self, "selectable-mode");
#line 268 "gitg-dash-view.c"
}


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


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


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


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


static gchar* gitg_dash_view_real_get_icon (GitgExtUIElement* base) {
	gchar* result;
	GitgDashView* self;
#line 93 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 93 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	result = NULL;
#line 93 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 345 "gitg-dash-view.c"
}


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


static void gitg_dash_view_real_set_search_text (GitgExtSearchable* base, const gchar* value) {
	GitgDashView* self;
	const gchar* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
#line 102 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 104 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->d_search_text;
#line 104 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = value;
#line 104 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	if (g_strcmp0 (_tmp0_, _tmp1_) != 0) {
#line 380 "gitg-dash-view.c"
		const gchar* _tmp2_ = NULL;
		gchar* _tmp3_ = NULL;
		const gchar* _tmp4_ = NULL;
#line 106 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp2_ = value;
#line 106 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp3_ = g_strdup (_tmp2_);
#line 106 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		_g_free0 (self->priv->d_search_text);
#line 106 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		self->priv->d_search_text = _tmp3_;
#line 107 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp4_ = self->priv->d_search_text;
#line 107 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		gitg_repository_list_box_filter_text ((GitgRepositoryListBox*) self, _tmp4_);
#line 396 "gitg-dash-view.c"
	}
#line 102 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_notify ((GObject *) self, "search-text");
#line 400 "gitg-dash-view.c"
}


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


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


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


static gboolean gitg_dash_view_real_get_search_enabled (GitgExtSearchable* base) {
	gboolean result;
	GitgDashView* self;
	gboolean _tmp0_ = FALSE;
#line 123 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 123 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->d_search_enabled;
#line 123 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	result = _tmp0_;
#line 123 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 457 "gitg-dash-view.c"
}


static void gitg_dash_view_real_set_search_enabled (GitgExtSearchable* base, gboolean value) {
	GitgDashView* self;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
#line 124 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 126 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->d_search_enabled;
#line 126 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = value;
#line 126 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	if (_tmp0_ != _tmp1_) {
#line 473 "gitg-dash-view.c"
		gboolean _tmp2_ = FALSE;
		gboolean _tmp3_ = FALSE;
#line 128 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp2_ = value;
#line 128 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		self->priv->d_search_enabled = _tmp2_;
#line 130 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		_tmp3_ = self->priv->d_search_enabled;
#line 130 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		if (_tmp3_) {
#line 484 "gitg-dash-view.c"
			const gchar* _tmp4_ = NULL;
#line 132 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp4_ = self->priv->d_search_text;
#line 132 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
			gitg_repository_list_box_filter_text ((GitgRepositoryListBox*) self, _tmp4_);
#line 490 "gitg-dash-view.c"
		} else {
#line 136 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
			gitg_repository_list_box_filter_text ((GitgRepositoryListBox*) self, NULL);
#line 494 "gitg-dash-view.c"
		}
	}
#line 124 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_notify ((GObject *) self, "search-enabled");
#line 499 "gitg-dash-view.c"
}


static void _gitg_dash_view_action_widget___lambda68_ (GitgDashView* self) {
	GitgRepositoryListBoxRow** _tmp0_ = NULL;
	gint _tmp0__length1 = 0;
	GitgRepositoryListBoxRow** _tmp1_ = NULL;
	gint _tmp1__length1 = 0;
#line 154 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = gitg_repository_list_box_get_selection ((GitgRepositoryListBox*) self, &_tmp0__length1);
#line 154 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _tmp0_;
#line 154 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1__length1 = _tmp0__length1;
#line 514 "gitg-dash-view.c"
	{
		GitgRepositoryListBoxRow** sel_collection = NULL;
		gint sel_collection_length1 = 0;
		gint _sel_collection_size_ = 0;
		gint sel_it = 0;
#line 154 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		sel_collection = _tmp1_;
#line 154 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		sel_collection_length1 = _tmp1__length1;
#line 154 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		for (sel_it = 0; sel_it < _tmp1__length1; sel_it = sel_it + 1) {
#line 526 "gitg-dash-view.c"
			GitgRepositoryListBoxRow* _tmp2_ = NULL;
			GitgRepositoryListBoxRow* sel = NULL;
#line 154 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
			_tmp2_ = _g_object_ref0 (sel_collection[sel_it]);
#line 154 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
			sel = _tmp2_;
#line 533 "gitg-dash-view.c"
			{
				GitgRepositoryListBoxRow* _tmp3_ = NULL;
#line 156 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
				_tmp3_ = sel;
#line 156 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
				g_signal_emit_by_name (_tmp3_, "request-remove");
#line 154 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
				_g_object_unref0 (sel);
#line 542 "gitg-dash-view.c"
			}
		}
#line 154 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		sel_collection = (_vala_array_free (sel_collection, sel_collection_length1, (GDestroyNotify) g_object_unref), NULL);
#line 547 "gitg-dash-view.c"
	}
#line 159 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_ext_selectable_set_selectable_mode ((GitgExtSelectable*) self, GITG_EXT_SELECTION_MODE_NORMAL);
#line 551 "gitg-dash-view.c"
}


static void __gitg_dash_view_action_widget___lambda68__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 153 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	_gitg_dash_view_action_widget___lambda68_ ((GitgDashView*) self);
#line 558 "gitg-dash-view.c"
}


static GtkWidget* gitg_dash_view_real_get_action_widget (GitgExtSelectable* base) {
	GtkWidget* result;
	GitgDashView* self;
	GtkActionBar* ab = NULL;
	GtkActionBar* _tmp0_ = NULL;
	GtkButton* del = NULL;
	const gchar* _tmp1_ = NULL;
	GtkButton* _tmp2_ = NULL;
#line 144 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	self = (GitgDashView*) base;
#line 146 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = (GtkActionBar*) gtk_action_bar_new ();
#line 146 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_ref_sink (_tmp0_);
#line 146 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	ab = _tmp0_;
#line 148 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp1_ = _ ("_Delete");
#line 148 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp2_ = (GtkButton*) gtk_button_new_with_mnemonic (_tmp1_);
#line 148 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_ref_sink (_tmp2_);
#line 148 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	del = _tmp2_;
#line 150 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_set_sensitive ((GtkWidget*) del, FALSE);
#line 151 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	gtk_widget_show ((GtkWidget*) del);
#line 153 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	g_signal_connect_object (del, "clicked", (GCallback) __gitg_dash_view_action_widget___lambda68__gtk_button_clicked, self, 0);
#line 162 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_bind_property_with_closures ((GObject*) self, "has-selection", (GObject*) del, "sensitive", G_BINDING_DEFAULT, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 164 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	gtk_action_bar_pack_end (ab, (GtkWidget*) del);
#line 166 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	result = (GtkWidget*) ab;
#line 166 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (del);
#line 166 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	return result;
#line 602 "gitg-dash-view.c"
}


static void _gitg_dash_view___lambda69_ (GitgDashView* self) {
	gboolean _tmp0_ = FALSE;
#line 174 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	_tmp0_ = self->priv->d_setting_mode;
#line 174 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	if (!_tmp0_) {
#line 176 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		g_object_notify ((GObject*) self, "selectable-mode");
#line 614 "gitg-dash-view.c"
	}
}


static void __gitg_dash_view___lambda69__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 173 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	_gitg_dash_view___lambda69_ ((GitgDashView*) self);
#line 622 "gitg-dash-view.c"
}


static GObject * gitg_dash_view_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) {
	GObject * obj;
	GObjectClass * parent_class;
	GitgDashView * self;
#line 171 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	parent_class = G_OBJECT_CLASS (gitg_dash_view_parent_class);
#line 171 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 171 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_DASH_VIEW, GitgDashView);
#line 173 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	g_signal_connect_object ((GObject*) self, "notify::mode", (GCallback) __gitg_dash_view___lambda69__g_object_notify, self, 0);
#line 171 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	return obj;
#line 640 "gitg-dash-view.c"
}


static void gitg_dash_view_class_init (GitgDashViewClass * klass) {
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_parent_class = g_type_class_peek_parent (klass);
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	g_type_class_add_private (klass, sizeof (GitgDashViewPrivate));
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_dash_view_get_property;
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_dash_view_set_property;
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	G_OBJECT_CLASS (klass)->constructor = gitg_dash_view_constructor;
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_dash_view_finalize;
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DASH_VIEW_APPLICATION, g_param_spec_object ("application", "application", "application", GITG_EXT_TYPE_APPLICATION, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DASH_VIEW_SELECTABLE_MODE, g_param_spec_enum ("selectable-mode", "selectable-mode", "selectable-mode", GITG_EXT_TYPE_SELECTION_MODE, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DASH_VIEW_DISPLAY_NAME, g_param_spec_string ("display-name", "display-name", "display-name", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DASH_VIEW_DESCRIPTION, g_param_spec_string ("description", "description", "description", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DASH_VIEW_ID, g_param_spec_string ("id", "id", "id", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DASH_VIEW_WIDGET, g_param_spec_object ("widget", "widget", "widget", gtk_widget_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DASH_VIEW_ICON, g_param_spec_string ("icon", "icon", "icon", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DASH_VIEW_SEARCH_TEXT, g_param_spec_string ("search-text", "search-text", "search-text", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DASH_VIEW_SEARCH_ENTRY, g_param_spec_object ("search-entry", "search-entry", "search-entry", gtk_entry_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_WRITABLE));
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DASH_VIEW_SEARCH_VISIBLE, g_param_spec_boolean ("search-visible", "search-visible", "search-visible", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DASH_VIEW_SEARCH_ENABLED, g_param_spec_boolean ("search-enabled", "search-enabled", "search-enabled", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DASH_VIEW_ACTION_WIDGET, g_param_spec_object ("action-widget", "action-widget", "action-widget", gtk_widget_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 681 "gitg-dash-view.c"
}


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


static void gitg_dash_view_gitg_ext_activity_interface_init (GitgExtActivityIface * iface) {
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_gitg_ext_activity_parent_iface = g_type_interface_peek_parent (iface);
#line 709 "gitg-dash-view.c"
}


static void gitg_dash_view_gitg_ext_selectable_interface_init (GitgExtSelectableIface * iface) {
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_dash_view_gitg_ext_selectable_parent_iface = g_type_interface_peek_parent (iface);
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	iface->get_selectable_mode = gitg_dash_view_real_get_selectable_mode;
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	iface->set_selectable_mode = gitg_dash_view_real_set_selectable_mode;
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	iface->get_action_widget = gitg_dash_view_real_get_action_widget;
#line 722 "gitg-dash-view.c"
}


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


static void gitg_dash_view_instance_init (GitgDashView * self) {
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	self->priv = GITG_DASH_VIEW_GET_PRIVATE (self);
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	gitg_ext_searchable_set_search_text (self, "");
#line 752 "gitg-dash-view.c"
}


static void gitg_dash_view_finalize (GObject* obj) {
	GitgDashView * self;
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_DASH_VIEW, GitgDashView);
#line 27 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_object_unref0 (self->priv->_application);
#line 96 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	_g_free0 (self->priv->d_search_text);
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	G_OBJECT_CLASS (gitg_dash_view_parent_class)->finalize (obj);
#line 766 "gitg-dash-view.c"
}


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


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


static void _vala_gitg_dash_view_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	GitgDashView * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_DASH_VIEW, GitgDashView);
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
	switch (property_id) {
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_APPLICATION:
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		gitg_ext_ui_element_set_application ((GitgExtUIElement*) self, g_value_get_object (value));
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_SELECTABLE_MODE:
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		gitg_ext_selectable_set_selectable_mode ((GitgExtSelectable*) self, g_value_get_enum (value));
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_SEARCH_TEXT:
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		gitg_ext_searchable_set_search_text ((GitgExtSearchable*) self, g_value_get_string (value));
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_SEARCH_ENTRY:
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		gitg_ext_searchable_set_search_entry ((GitgExtSearchable*) self, g_value_get_object (value));
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_SEARCH_VISIBLE:
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		gitg_ext_searchable_set_search_visible ((GitgExtSearchable*) self, g_value_get_boolean (value));
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		case GITG_DASH_VIEW_SEARCH_ENABLED:
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		gitg_ext_searchable_set_search_enabled ((GitgExtSearchable*) self, g_value_get_boolean (value));
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 913 "gitg-dash-view.c"
		default:
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/gitg-dash-view.vala"
		break;
#line 919 "gitg-dash-view.c"
	}
}


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


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



