/* gitg-commit-paned.c generated by valac 0.34.7, the Vala compiler
 * generated from gitg-commit-paned.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 "libgitg/libgitg.h"
#include <gio/gio.h>


#define GITG_COMMIT_TYPE_PANED (gitg_commit_paned_get_type ())
#define GITG_COMMIT_PANED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_COMMIT_TYPE_PANED, GitgCommitPaned))
#define GITG_COMMIT_PANED_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_COMMIT_TYPE_PANED, GitgCommitPanedClass))
#define GITG_COMMIT_IS_PANED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_COMMIT_TYPE_PANED))
#define GITG_COMMIT_IS_PANED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_COMMIT_TYPE_PANED))
#define GITG_COMMIT_PANED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_COMMIT_TYPE_PANED, GitgCommitPanedClass))

typedef struct _GitgCommitPaned GitgCommitPaned;
typedef struct _GitgCommitPanedClass GitgCommitPanedClass;
typedef struct _GitgCommitPanedPrivate GitgCommitPanedPrivate;

#define GITG_COMMIT_TYPE_SIDEBAR (gitg_commit_sidebar_get_type ())
#define GITG_COMMIT_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_COMMIT_TYPE_SIDEBAR, GitgCommitSidebar))
#define GITG_COMMIT_SIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_COMMIT_TYPE_SIDEBAR, GitgCommitSidebarClass))
#define GITG_COMMIT_IS_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_COMMIT_TYPE_SIDEBAR))
#define GITG_COMMIT_IS_SIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_COMMIT_TYPE_SIDEBAR))
#define GITG_COMMIT_SIDEBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_COMMIT_TYPE_SIDEBAR, GitgCommitSidebarClass))

typedef struct _GitgCommitSidebar GitgCommitSidebar;
typedef struct _GitgCommitSidebarClass GitgCommitSidebarClass;

#define GITG_COMMIT_TYPE_SUBMODULE_HISTORY_VIEW (gitg_commit_submodule_history_view_get_type ())
#define GITG_COMMIT_SUBMODULE_HISTORY_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_COMMIT_TYPE_SUBMODULE_HISTORY_VIEW, GitgCommitSubmoduleHistoryView))
#define GITG_COMMIT_SUBMODULE_HISTORY_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_COMMIT_TYPE_SUBMODULE_HISTORY_VIEW, GitgCommitSubmoduleHistoryViewClass))
#define GITG_COMMIT_IS_SUBMODULE_HISTORY_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_COMMIT_TYPE_SUBMODULE_HISTORY_VIEW))
#define GITG_COMMIT_IS_SUBMODULE_HISTORY_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_COMMIT_TYPE_SUBMODULE_HISTORY_VIEW))
#define GITG_COMMIT_SUBMODULE_HISTORY_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_COMMIT_TYPE_SUBMODULE_HISTORY_VIEW, GitgCommitSubmoduleHistoryViewClass))

typedef struct _GitgCommitSubmoduleHistoryView GitgCommitSubmoduleHistoryView;
typedef struct _GitgCommitSubmoduleHistoryViewClass GitgCommitSubmoduleHistoryViewClass;

#define GITG_COMMIT_TYPE_SUBMODULE_DIFF_VIEW (gitg_commit_submodule_diff_view_get_type ())
#define GITG_COMMIT_SUBMODULE_DIFF_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_COMMIT_TYPE_SUBMODULE_DIFF_VIEW, GitgCommitSubmoduleDiffView))
#define GITG_COMMIT_SUBMODULE_DIFF_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_COMMIT_TYPE_SUBMODULE_DIFF_VIEW, GitgCommitSubmoduleDiffViewClass))
#define GITG_COMMIT_IS_SUBMODULE_DIFF_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_COMMIT_TYPE_SUBMODULE_DIFF_VIEW))
#define GITG_COMMIT_IS_SUBMODULE_DIFF_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_COMMIT_TYPE_SUBMODULE_DIFF_VIEW))
#define GITG_COMMIT_SUBMODULE_DIFF_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_COMMIT_TYPE_SUBMODULE_DIFF_VIEW, GitgCommitSubmoduleDiffViewClass))

typedef struct _GitgCommitSubmoduleDiffView GitgCommitSubmoduleDiffView;
typedef struct _GitgCommitSubmoduleDiffViewClass GitgCommitSubmoduleDiffViewClass;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

struct _GitgCommitPaned {
	GtkPaned parent_instance;
	GitgCommitPanedPrivate * priv;
};

struct _GitgCommitPanedClass {
	GtkPanedClass parent_class;
};

struct _GitgCommitPanedPrivate {
	GitgCommitSidebar* d_tree_view_files;
	GitgDiffView* d_diff_view;
	GitgCommitSubmoduleHistoryView* d_submodule_history_view;
	GitgCommitSubmoduleDiffView* d_submodule_diff_view;
	GtkCheckButton* d_check_button_skip_hooks;
	GtkButton* d_button_commit;
	GtkButton* d_button_stage;
	GtkButton* d_button_discard;
};


static gpointer gitg_commit_paned_parent_class = NULL;

GType gitg_commit_paned_get_type (void) G_GNUC_CONST;
GType gitg_commit_sidebar_get_type (void) G_GNUC_CONST;
GType gitg_commit_submodule_history_view_get_type (void) G_GNUC_CONST;
GType gitg_commit_submodule_diff_view_get_type (void) G_GNUC_CONST;
#define GITG_COMMIT_PANED_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_COMMIT_TYPE_PANED, GitgCommitPanedPrivate))
enum  {
	GITG_COMMIT_PANED_DUMMY_PROPERTY,
	GITG_COMMIT_PANED_SIDEBAR,
	GITG_COMMIT_PANED_DIFF_VIEW,
	GITG_COMMIT_PANED_SUBMODULE_HISTORY_VIEW,
	GITG_COMMIT_PANED_SUBMODULE_DIFF_VIEW,
	GITG_COMMIT_PANED_SKIP_HOOKS,
	GITG_COMMIT_PANED_BUTTON_COMMIT,
	GITG_COMMIT_PANED_BUTTON_STAGE,
	GITG_COMMIT_PANED_BUTTON_DISCARD
};
GitgCommitPaned* gitg_commit_paned_new (void);
GitgCommitPaned* gitg_commit_paned_construct (GType object_type);
GitgCommitSidebar* gitg_commit_paned_get_sidebar (GitgCommitPaned* self);
GitgDiffView* gitg_commit_paned_get_diff_view (GitgCommitPaned* self);
GitgCommitSubmoduleHistoryView* gitg_commit_paned_get_submodule_history_view (GitgCommitPaned* self);
GitgCommitSubmoduleDiffView* gitg_commit_paned_get_submodule_diff_view (GitgCommitPaned* self);
gboolean gitg_commit_paned_get_skip_hooks (GitgCommitPaned* self);
GtkButton* gitg_commit_paned_get_button_commit (GitgCommitPaned* self);
GtkButton* gitg_commit_paned_get_button_stage (GitgCommitPaned* self);
GtkButton* gitg_commit_paned_get_button_discard (GitgCommitPaned* self);
static GObject * gitg_commit_paned_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
static void gitg_commit_paned_finalize (GObject* obj);
static void _vala_gitg_commit_paned_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);


GitgCommitPaned* gitg_commit_paned_construct (GType object_type) {
	GitgCommitPaned * self = NULL;
#line 102 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	self = (GitgCommitPaned*) g_object_new (object_type, "orientation", GTK_ORIENTATION_HORIZONTAL, NULL);
#line 100 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	return self;
#line 133 "gitg-commit-paned.c"
}


GitgCommitPaned* gitg_commit_paned_new (void) {
#line 100 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	return gitg_commit_paned_construct (GITG_COMMIT_TYPE_PANED);
#line 140 "gitg-commit-paned.c"
}


GitgCommitSidebar* gitg_commit_paned_get_sidebar (GitgCommitPaned* self) {
	GitgCommitSidebar* result;
	GitgCommitSidebar* _tmp0_ = NULL;
#line 52 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 52 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	_tmp0_ = self->priv->d_tree_view_files;
#line 52 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	result = _tmp0_;
#line 52 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	return result;
#line 155 "gitg-commit-paned.c"
}


GitgDiffView* gitg_commit_paned_get_diff_view (GitgCommitPaned* self) {
	GitgDiffView* result;
	GitgDiffView* _tmp0_ = NULL;
#line 57 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 57 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	_tmp0_ = self->priv->d_diff_view;
#line 57 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	result = _tmp0_;
#line 57 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	return result;
#line 170 "gitg-commit-paned.c"
}


GitgCommitSubmoduleHistoryView* gitg_commit_paned_get_submodule_history_view (GitgCommitPaned* self) {
	GitgCommitSubmoduleHistoryView* result;
	GitgCommitSubmoduleHistoryView* _tmp0_ = NULL;
#line 62 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 62 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	_tmp0_ = self->priv->d_submodule_history_view;
#line 62 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	result = _tmp0_;
#line 62 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	return result;
#line 185 "gitg-commit-paned.c"
}


GitgCommitSubmoduleDiffView* gitg_commit_paned_get_submodule_diff_view (GitgCommitPaned* self) {
	GitgCommitSubmoduleDiffView* result;
	GitgCommitSubmoduleDiffView* _tmp0_ = NULL;
#line 67 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 67 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	_tmp0_ = self->priv->d_submodule_diff_view;
#line 67 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	result = _tmp0_;
#line 67 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	return result;
#line 200 "gitg-commit-paned.c"
}


gboolean gitg_commit_paned_get_skip_hooks (GitgCommitPaned* self) {
	gboolean result;
	GtkCheckButton* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
#line 72 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 72 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	_tmp0_ = self->priv->d_check_button_skip_hooks;
#line 72 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	_tmp1_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp0_);
#line 72 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	_tmp2_ = _tmp1_;
#line 72 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	result = _tmp2_;
#line 72 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	return result;
#line 221 "gitg-commit-paned.c"
}


GtkButton* gitg_commit_paned_get_button_commit (GitgCommitPaned* self) {
	GtkButton* result;
	GtkButton* _tmp0_ = NULL;
#line 77 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 77 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	_tmp0_ = self->priv->d_button_commit;
#line 77 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	result = _tmp0_;
#line 77 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	return result;
#line 236 "gitg-commit-paned.c"
}


GtkButton* gitg_commit_paned_get_button_stage (GitgCommitPaned* self) {
	GtkButton* result;
	GtkButton* _tmp0_ = NULL;
#line 82 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 82 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	_tmp0_ = self->priv->d_button_stage;
#line 82 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	result = _tmp0_;
#line 82 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	return result;
#line 251 "gitg-commit-paned.c"
}


GtkButton* gitg_commit_paned_get_button_discard (GitgCommitPaned* self) {
	GtkButton* result;
	GtkButton* _tmp0_ = NULL;
#line 87 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 87 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	_tmp0_ = self->priv->d_button_discard;
#line 87 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	result = _tmp0_;
#line 87 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	return result;
#line 266 "gitg-commit-paned.c"
}


static GObject * gitg_commit_paned_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) {
	GObject * obj;
	GObjectClass * parent_class;
	GitgCommitPaned * self;
	GSettings* state_settings = NULL;
	GSettings* _tmp0_ = NULL;
	GSettings* _tmp1_ = NULL;
#line 90 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	parent_class = G_OBJECT_CLASS (gitg_commit_paned_parent_class);
#line 90 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 90 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_COMMIT_TYPE_PANED, GitgCommitPaned);
#line 92 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	_tmp0_ = g_settings_new ("org.gnome.gitg.state.commit");
#line 92 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	state_settings = _tmp0_;
#line 94 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	_tmp1_ = state_settings;
#line 94 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	g_settings_bind (_tmp1_, "paned-sidebar-position", (GObject*) self, "position", G_SETTINGS_BIND_GET | G_SETTINGS_BIND_SET);
#line 90 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	_g_object_unref0 (state_settings);
#line 90 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	return obj;
#line 295 "gitg-commit-paned.c"
}


static void gitg_commit_paned_class_init (GitgCommitPanedClass * klass) {
	gint GitgCommitPaned_private_offset;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	gitg_commit_paned_parent_class = g_type_class_peek_parent (klass);
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	g_type_class_add_private (klass, sizeof (GitgCommitPanedPrivate));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_commit_paned_get_property;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	G_OBJECT_CLASS (klass)->constructor = gitg_commit_paned_constructor;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_commit_paned_finalize;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_PANED_SIDEBAR, g_param_spec_object ("sidebar", "sidebar", "sidebar", GITG_COMMIT_TYPE_SIDEBAR, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_PANED_DIFF_VIEW, g_param_spec_object ("diff-view", "diff-view", "diff-view", GITG_TYPE_DIFF_VIEW, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_PANED_SUBMODULE_HISTORY_VIEW, g_param_spec_object ("submodule-history-view", "submodule-history-view", "submodule-history-view", GITG_COMMIT_TYPE_SUBMODULE_HISTORY_VIEW, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_PANED_SUBMODULE_DIFF_VIEW, g_param_spec_object ("submodule-diff-view", "submodule-diff-view", "submodule-diff-view", GITG_COMMIT_TYPE_SUBMODULE_DIFF_VIEW, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_PANED_SKIP_HOOKS, g_param_spec_boolean ("skip-hooks", "skip-hooks", "skip-hooks", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_PANED_BUTTON_COMMIT, g_param_spec_object ("button-commit", "button-commit", "button-commit", gtk_button_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_PANED_BUTTON_STAGE, g_param_spec_object ("button-stage", "button-stage", "button-stage", gtk_button_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_PANED_BUTTON_DISCARD, g_param_spec_object ("button-discard", "button-discard", "button-discard", gtk_button_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	GitgCommitPaned_private_offset = g_type_class_get_instance_private_offset (klass);
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/gitg/ui/gitg-commit-paned.ui");
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "tree_view_files", FALSE, GitgCommitPaned_private_offset + G_STRUCT_OFFSET (GitgCommitPanedPrivate, d_tree_view_files));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "diff_view", FALSE, GitgCommitPaned_private_offset + G_STRUCT_OFFSET (GitgCommitPanedPrivate, d_diff_view));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "submodule_history_view", FALSE, GitgCommitPaned_private_offset + G_STRUCT_OFFSET (GitgCommitPanedPrivate, d_submodule_history_view));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "submodule_diff_view", FALSE, GitgCommitPaned_private_offset + G_STRUCT_OFFSET (GitgCommitPanedPrivate, d_submodule_diff_view));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "check_button_skip_hooks", FALSE, GitgCommitPaned_private_offset + G_STRUCT_OFFSET (GitgCommitPanedPrivate, d_check_button_skip_hooks));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "button_commit", FALSE, GitgCommitPaned_private_offset + G_STRUCT_OFFSET (GitgCommitPanedPrivate, d_button_commit));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "button_stage", FALSE, GitgCommitPaned_private_offset + G_STRUCT_OFFSET (GitgCommitPanedPrivate, d_button_stage));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "button_discard", FALSE, GitgCommitPaned_private_offset + G_STRUCT_OFFSET (GitgCommitPanedPrivate, d_button_discard));
#line 347 "gitg-commit-paned.c"
}


static void gitg_commit_paned_instance_init (GitgCommitPaned * self) {
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	self->priv = GITG_COMMIT_PANED_GET_PRIVATE (self);
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	g_type_ensure (GITG_COMMIT_TYPE_SIDEBAR);
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	g_type_ensure (GITG_COMMIT_TYPE_SUBMODULE_HISTORY_VIEW);
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	g_type_ensure (GITG_COMMIT_TYPE_SUBMODULE_DIFF_VIEW);
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	gtk_widget_init_template (GTK_WIDGET (self));
#line 362 "gitg-commit-paned.c"
}


static void gitg_commit_paned_finalize (GObject* obj) {
	GitgCommitPaned * self;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_COMMIT_TYPE_PANED, GitgCommitPaned);
#line 27 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	_g_object_unref0 (self->priv->d_tree_view_files);
#line 30 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	_g_object_unref0 (self->priv->d_diff_view);
#line 33 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	_g_object_unref0 (self->priv->d_submodule_history_view);
#line 36 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	_g_object_unref0 (self->priv->d_submodule_diff_view);
#line 39 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	_g_object_unref0 (self->priv->d_check_button_skip_hooks);
#line 42 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	_g_object_unref0 (self->priv->d_button_commit);
#line 45 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	_g_object_unref0 (self->priv->d_button_stage);
#line 48 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	_g_object_unref0 (self->priv->d_button_discard);
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	G_OBJECT_CLASS (gitg_commit_paned_parent_class)->finalize (obj);
#line 388 "gitg-commit-paned.c"
}


GType gitg_commit_paned_get_type (void) {
	static volatile gsize gitg_commit_paned_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_commit_paned_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgCommitPanedClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_commit_paned_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgCommitPaned), 0, (GInstanceInitFunc) gitg_commit_paned_instance_init, NULL };
		GType gitg_commit_paned_type_id;
		gitg_commit_paned_type_id = g_type_register_static (gtk_paned_get_type (), "GitgCommitPaned", &g_define_type_info, 0);
		g_once_init_leave (&gitg_commit_paned_type_id__volatile, gitg_commit_paned_type_id);
	}
	return gitg_commit_paned_type_id__volatile;
}


static void _vala_gitg_commit_paned_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GitgCommitPaned * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_COMMIT_TYPE_PANED, GitgCommitPaned);
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
	switch (property_id) {
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
		case GITG_COMMIT_PANED_SIDEBAR:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
		g_value_set_object (value, gitg_commit_paned_get_sidebar (self));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
		case GITG_COMMIT_PANED_DIFF_VIEW:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
		g_value_set_object (value, gitg_commit_paned_get_diff_view (self));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
		case GITG_COMMIT_PANED_SUBMODULE_HISTORY_VIEW:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
		g_value_set_object (value, gitg_commit_paned_get_submodule_history_view (self));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
		case GITG_COMMIT_PANED_SUBMODULE_DIFF_VIEW:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
		g_value_set_object (value, gitg_commit_paned_get_submodule_diff_view (self));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
		case GITG_COMMIT_PANED_SKIP_HOOKS:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
		g_value_set_boolean (value, gitg_commit_paned_get_skip_hooks (self));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
		case GITG_COMMIT_PANED_BUTTON_COMMIT:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
		g_value_set_object (value, gitg_commit_paned_get_button_commit (self));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
		case GITG_COMMIT_PANED_BUTTON_STAGE:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
		g_value_set_object (value, gitg_commit_paned_get_button_stage (self));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
		case GITG_COMMIT_PANED_BUTTON_DISCARD:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
		g_value_set_object (value, gitg_commit_paned_get_button_discard (self));
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
		break;
#line 457 "gitg-commit-paned.c"
		default:
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 24 "/home/jesse/dev/gitg/gitg/commit/gitg-commit-paned.vala"
		break;
#line 463 "gitg-commit-paned.c"
	}
}



