/* gitg-history-paned.c generated by valac 0.27.1.26-9b1a5-dirty, the Vala compiler
 * generated from gitg-history-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 <libgd/gd.h>
#include "libgitg-ext/libgitg-ext.h"
#include <gio/gio.h>
#include <stdlib.h>
#include <string.h>
#include <cairo.h>
#include <gdk/gdk.h>
#include <float.h>
#include <math.h>


#define GITG_TYPE_ANIMATED_PANED (gitg_animated_paned_get_type ())
#define GITG_ANIMATED_PANED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_ANIMATED_PANED, GitgAnimatedPaned))
#define GITG_ANIMATED_PANED_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_ANIMATED_PANED, GitgAnimatedPanedClass))
#define GITG_IS_ANIMATED_PANED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_ANIMATED_PANED))
#define GITG_IS_ANIMATED_PANED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_ANIMATED_PANED))
#define GITG_ANIMATED_PANED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_ANIMATED_PANED, GitgAnimatedPanedClass))

typedef struct _GitgAnimatedPaned GitgAnimatedPaned;
typedef struct _GitgAnimatedPanedClass GitgAnimatedPanedClass;
typedef struct _GitgAnimatedPanedPrivate GitgAnimatedPanedPrivate;

#define GITG_HISTORY_TYPE_PANED (gitg_history_paned_get_type ())
#define GITG_HISTORY_PANED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_HISTORY_TYPE_PANED, GitgHistoryPaned))
#define GITG_HISTORY_PANED_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_HISTORY_TYPE_PANED, GitgHistoryPanedClass))
#define GITG_HISTORY_IS_PANED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_HISTORY_TYPE_PANED))
#define GITG_HISTORY_IS_PANED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_HISTORY_TYPE_PANED))
#define GITG_HISTORY_PANED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_HISTORY_TYPE_PANED, GitgHistoryPanedClass))

typedef struct _GitgHistoryPaned GitgHistoryPaned;
typedef struct _GitgHistoryPanedClass GitgHistoryPanedClass;
typedef struct _GitgHistoryPanedPrivate GitgHistoryPanedPrivate;

#define GITG_HISTORY_TYPE_REFS_LIST (gitg_history_refs_list_get_type ())
#define GITG_HISTORY_REFS_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_HISTORY_TYPE_REFS_LIST, GitgHistoryRefsList))
#define GITG_HISTORY_REFS_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_HISTORY_TYPE_REFS_LIST, GitgHistoryRefsListClass))
#define GITG_HISTORY_IS_REFS_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_HISTORY_TYPE_REFS_LIST))
#define GITG_HISTORY_IS_REFS_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_HISTORY_TYPE_REFS_LIST))
#define GITG_HISTORY_REFS_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_HISTORY_TYPE_REFS_LIST, GitgHistoryRefsListClass))

typedef struct _GitgHistoryRefsList GitgHistoryRefsList;
typedef struct _GitgHistoryRefsListClass GitgHistoryRefsListClass;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

#define GITG_TYPE_SLIDE_PANED_CHILD (gitg_slide_paned_child_get_type ())

#define GITG_TYPE_SLIDE_DIRECTION (gitg_slide_direction_get_type ())
typedef struct _Block40Data Block40Data;

struct _GitgAnimatedPaned {
	GtkPaned parent_instance;
	GitgAnimatedPanedPrivate * priv;
};

struct _GitgAnimatedPanedClass {
	GtkPanedClass parent_class;
};

struct _GitgHistoryPaned {
	GitgAnimatedPaned parent_instance;
	GitgHistoryPanedPrivate * priv;
};

struct _GitgHistoryPanedClass {
	GitgAnimatedPanedClass parent_class;
};

struct _GitgHistoryPanedPrivate {
	GtkBox* d_box_sidebar;
	GitgAnimatedPaned* d_paned_panels;
	GtkStackSwitcher* d_stack_switcher_panels;
	GitgHistoryRefsList* d_refs_list;
	GitgCommitListView* d_commit_list_view;
	GtkStack* d_stack_panel;
	GdStyledTextRenderer* d_renderer_commit_list_author;
	GdStyledTextRenderer* d_renderer_commit_list_author_date;
	GtkScrolledWindow* d_scrolled_window_commit_list;
	GitgExtSelectionMode d_selectable_mode;
};

typedef enum  {
	GITG_SLIDE_PANED_CHILD_FIRST,
	GITG_SLIDE_PANED_CHILD_SECOND
} GitgSlidePanedChild;

typedef enum  {
	GITG_SLIDE_DIRECTION_IN,
	GITG_SLIDE_DIRECTION_OUT
} GitgSlideDirection;

struct _Block40Data {
	int _ref_count_;
	GitgHistoryPaned* self;
	GSettings* state_settings;
};


static gpointer gitg_history_paned_parent_class = NULL;

GType gitg_animated_paned_get_type (void) G_GNUC_CONST;
GType gitg_history_paned_get_type (void) G_GNUC_CONST;
GType gitg_history_refs_list_get_type (void) G_GNUC_CONST;
#define GITG_HISTORY_PANED_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_HISTORY_TYPE_PANED, GitgHistoryPanedPrivate))
enum  {
	GITG_HISTORY_PANED_DUMMY_PROPERTY,
	GITG_HISTORY_PANED_INNER_ORIENTATION,
	GITG_HISTORY_PANED_SELECTABLE_MODE,
	GITG_HISTORY_PANED_REFS_LIST,
	GITG_HISTORY_PANED_COMMIT_LIST_VIEW,
	GITG_HISTORY_PANED_PANED_PANELS,
	GITG_HISTORY_PANED_STACK_PANEL
};
static void gitg_history_paned_slide_in (GitgHistoryPaned* self);
GType gitg_slide_paned_child_get_type (void) G_GNUC_CONST;
GType gitg_slide_direction_get_type (void) G_GNUC_CONST;
void gitg_animated_paned_slide (GitgAnimatedPaned* self, GitgSlidePanedChild child, GitgSlideDirection direction);
GtkOrientation gitg_history_paned_get_inner_orientation (GitgHistoryPaned* self);
static void gitg_history_paned_slide_out (GitgHistoryPaned* self);
static void gitg_history_paned_store_paned_position (GitgHistoryPaned* self, GitgAnimatedPaned* paned, GSettings* settings, const gchar* key);
gboolean gitg_animated_paned_get_is_animating (GitgAnimatedPaned* self);
GitgHistoryPaned* gitg_history_paned_new (void);
GitgHistoryPaned* gitg_history_paned_construct (GType object_type);
static gboolean gitg_history_paned_real_draw (GtkWidget* base, cairo_t* context);
void gitg_history_paned_set_inner_orientation (GitgHistoryPaned* self, GtkOrientation value);
GitgExtSelectionMode gitg_history_paned_get_selectable_mode (GitgHistoryPaned* self);
void gitg_history_paned_set_selectable_mode (GitgHistoryPaned* self, GitgExtSelectionMode value);
GitgHistoryRefsList* gitg_history_paned_get_refs_list (GitgHistoryPaned* self);
GitgCommitListView* gitg_history_paned_get_commit_list_view (GitgHistoryPaned* self);
GtkPaned* gitg_history_paned_get_paned_panels (GitgHistoryPaned* self);
GtkStack* gitg_history_paned_get_stack_panel (GitgHistoryPaned* self);
static GObject * gitg_history_paned_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
static Block40Data* block40_data_ref (Block40Data* _data40_);
static void block40_data_unref (void * _userdata_);
static void _gitg_history_paned___lambda85_ (Block40Data* _data40_);
static void __gitg_history_paned___lambda85__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void _gitg_history_paned___lambda86_ (Block40Data* _data40_);
static void __gitg_history_paned___lambda86__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void gitg_history_paned_finalize (GObject* obj);
static void _vala_gitg_history_paned_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_gitg_history_paned_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);


static void gitg_history_paned_slide_in (GitgHistoryPaned* self) {
	GitgSlidePanedChild child = 0;
	GtkOrientation _tmp0_ = 0;
	GtkOrientation _tmp1_ = 0;
	GitgAnimatedPaned* _tmp2_ = NULL;
	GitgSlidePanedChild _tmp3_ = 0;
#line 88 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_return_if_fail (self != NULL);
#line 90 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gitg_animated_paned_slide ((GitgAnimatedPaned*) self, GITG_SLIDE_PANED_CHILD_FIRST, GITG_SLIDE_DIRECTION_IN);
#line 94 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp0_ = gitg_history_paned_get_inner_orientation (self);
#line 94 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp1_ = _tmp0_;
#line 94 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	if (_tmp1_ == GTK_ORIENTATION_HORIZONTAL) {
#line 96 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		child = GITG_SLIDE_PANED_CHILD_FIRST;
#line 188 "gitg-history-paned.c"
	} else {
#line 100 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		child = GITG_SLIDE_PANED_CHILD_SECOND;
#line 192 "gitg-history-paned.c"
	}
#line 103 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp2_ = self->priv->d_paned_panels;
#line 103 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp3_ = child;
#line 103 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gitg_animated_paned_slide (_tmp2_, _tmp3_, GITG_SLIDE_DIRECTION_IN);
#line 200 "gitg-history-paned.c"
}


static void gitg_history_paned_slide_out (GitgHistoryPaned* self) {
	GitgSlidePanedChild child = 0;
	GtkOrientation _tmp0_ = 0;
	GtkOrientation _tmp1_ = 0;
	GitgAnimatedPaned* _tmp2_ = NULL;
	GitgSlidePanedChild _tmp3_ = 0;
#line 106 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_return_if_fail (self != NULL);
#line 108 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gitg_animated_paned_slide ((GitgAnimatedPaned*) self, GITG_SLIDE_PANED_CHILD_FIRST, GITG_SLIDE_DIRECTION_OUT);
#line 112 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp0_ = gitg_history_paned_get_inner_orientation (self);
#line 112 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp1_ = _tmp0_;
#line 112 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	if (_tmp1_ == GTK_ORIENTATION_HORIZONTAL) {
#line 114 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		child = GITG_SLIDE_PANED_CHILD_FIRST;
#line 222 "gitg-history-paned.c"
	} else {
#line 118 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		child = GITG_SLIDE_PANED_CHILD_SECOND;
#line 226 "gitg-history-paned.c"
	}
#line 121 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp2_ = self->priv->d_paned_panels;
#line 121 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp3_ = child;
#line 121 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gitg_animated_paned_slide (_tmp2_, _tmp3_, GITG_SLIDE_DIRECTION_OUT);
#line 234 "gitg-history-paned.c"
}


static void gitg_history_paned_store_paned_position (GitgHistoryPaned* self, GitgAnimatedPaned* paned, GSettings* settings, const gchar* key) {
	GitgAnimatedPaned* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
	gboolean _tmp3_ = FALSE;
	GitgAnimatedPaned* _tmp4_ = NULL;
	GtkWidget* _tmp5_ = NULL;
	gboolean _tmp6_ = FALSE;
	gboolean _tmp7_ = FALSE;
	GSettings* _tmp12_ = NULL;
	const gchar* _tmp13_ = NULL;
	GitgAnimatedPaned* _tmp14_ = NULL;
	gint _tmp15_ = 0;
#line 148 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_return_if_fail (self != NULL);
#line 148 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_return_if_fail (paned != NULL);
#line 148 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_return_if_fail (settings != NULL);
#line 148 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_return_if_fail (key != NULL);
#line 150 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp0_ = paned;
#line 150 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp1_ = gitg_animated_paned_get_is_animating (_tmp0_);
#line 150 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp2_ = _tmp1_;
#line 150 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	if (_tmp2_) {
#line 152 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		return;
#line 269 "gitg-history-paned.c"
	}
#line 155 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp4_ = paned;
#line 155 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp5_ = gtk_paned_get_child1 ((GtkPaned*) _tmp4_);
#line 155 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp6_ = gtk_widget_get_visible (_tmp5_);
#line 155 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp7_ = _tmp6_;
#line 155 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	if (!_tmp7_) {
#line 155 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		_tmp3_ = TRUE;
#line 283 "gitg-history-paned.c"
	} else {
		GitgAnimatedPaned* _tmp8_ = NULL;
		GtkWidget* _tmp9_ = NULL;
		gboolean _tmp10_ = FALSE;
		gboolean _tmp11_ = FALSE;
#line 155 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		_tmp8_ = paned;
#line 155 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		_tmp9_ = gtk_paned_get_child2 ((GtkPaned*) _tmp8_);
#line 155 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		_tmp10_ = gtk_widget_get_visible (_tmp9_);
#line 155 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		_tmp11_ = _tmp10_;
#line 155 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		_tmp3_ = !_tmp11_;
#line 299 "gitg-history-paned.c"
	}
#line 155 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	if (_tmp3_) {
#line 157 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		return;
#line 305 "gitg-history-paned.c"
	}
#line 160 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp12_ = settings;
#line 160 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp13_ = key;
#line 160 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp14_ = paned;
#line 160 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp15_ = gtk_paned_get_position ((GtkPaned*) _tmp14_);
#line 160 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_settings_set_int (_tmp12_, _tmp13_, _tmp15_);
#line 317 "gitg-history-paned.c"
}


GitgHistoryPaned* gitg_history_paned_construct (GType object_type) {
	GitgHistoryPaned * self = NULL;
#line 193 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	self = (GitgHistoryPaned*) g_object_new (object_type, "orientation", GTK_ORIENTATION_HORIZONTAL, NULL);
#line 191 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	return self;
#line 327 "gitg-history-paned.c"
}


GitgHistoryPaned* gitg_history_paned_new (void) {
#line 191 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	return gitg_history_paned_construct (GITG_HISTORY_TYPE_PANED);
#line 334 "gitg-history-paned.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 225 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	return self ? g_object_ref (self) : NULL;
#line 341 "gitg-history-paned.c"
}


static gboolean gitg_history_paned_real_draw (GtkWidget* base, cairo_t* context) {
	GitgHistoryPaned * self;
	gboolean result = FALSE;
	gboolean ret = FALSE;
	cairo_t* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
	GtkWidget* _tmp3_ = NULL;
	gboolean _tmp4_ = FALSE;
	gboolean _tmp5_ = FALSE;
	GdkWindow* window = NULL;
	GtkBox* _tmp9_ = NULL;
	GdkWindow* _tmp10_ = NULL;
	GdkWindow* _tmp11_ = NULL;
	GdkWindow* handlewin = NULL;
	GdkWindow* _tmp12_ = NULL;
	GdkWindow* _tmp13_ = NULL;
	GtkStyleContext* c = NULL;
	GtkStyleContext* _tmp14_ = NULL;
	GtkStyleContext* _tmp15_ = NULL;
	GtkStyleContext* _tmp16_ = NULL;
	GtkStyleContext* _tmp17_ = NULL;
	GtkAllocation alloc = {0};
	GtkStackSwitcher* _tmp18_ = NULL;
	GtkAllocation _tmp19_ = {0};
	gint y = 0;
	GtkAllocation _tmp20_ = {0};
	gint _tmp21_ = 0;
	GtkBox* _tmp22_ = NULL;
	gint _tmp23_ = 0;
	gint _tmp24_ = 0;
	gint hw = 0;
	gint w = 0;
	gint _tmp25_ = 0;
	gint _tmp26_ = 0;
	gint _tmp27_ = 0;
	gint h = 0;
	GtkAllocation _tmp28_ = {0};
	gint _tmp29_ = 0;
	GtkBox* _tmp30_ = NULL;
	gint _tmp31_ = 0;
	gint _tmp32_ = 0;
	GtkStackSwitcher* _tmp33_ = NULL;
	gint _tmp34_ = 0;
	gint _tmp35_ = 0;
	gint wx = 0;
	GdkWindow* _tmp36_ = NULL;
	gint _tmp37_ = 0;
	GtkStyleContext* _tmp38_ = NULL;
	cairo_t* _tmp39_ = NULL;
	gint _tmp40_ = 0;
	gint _tmp41_ = 0;
	gint _tmp42_ = 0;
	gint _tmp43_ = 0;
	gint hx = 0;
	GdkWindow* _tmp44_ = NULL;
	gint _tmp45_ = 0;
	GtkStyleContext* _tmp46_ = NULL;
	cairo_t* _tmp47_ = NULL;
	gint _tmp48_ = 0;
	gint _tmp49_ = 0;
	gint _tmp50_ = 0;
	gint _tmp51_ = 0;
	GtkStyleContext* _tmp52_ = NULL;
#line 216 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	self = (GitgHistoryPaned*) base;
#line 216 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_return_val_if_fail (context != NULL, FALSE);
#line 218 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp0_ = context;
#line 218 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp1_ = GTK_WIDGET_CLASS (gitg_history_paned_parent_class)->draw ((GtkWidget*) G_TYPE_CHECK_INSTANCE_CAST (self, GITG_TYPE_ANIMATED_PANED, GitgAnimatedPaned), _tmp0_);
#line 218 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	ret = _tmp1_;
#line 220 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp3_ = gtk_paned_get_child1 ((GtkPaned*) self);
#line 220 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp4_ = gtk_widget_get_visible (_tmp3_);
#line 220 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp5_ = _tmp4_;
#line 220 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	if (!_tmp5_) {
#line 220 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		_tmp2_ = TRUE;
#line 429 "gitg-history-paned.c"
	} else {
		GtkWidget* _tmp6_ = NULL;
		gboolean _tmp7_ = FALSE;
		gboolean _tmp8_ = FALSE;
#line 220 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		_tmp6_ = gtk_paned_get_child2 ((GtkPaned*) self);
#line 220 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		_tmp7_ = gtk_widget_get_visible (_tmp6_);
#line 220 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		_tmp8_ = _tmp7_;
#line 220 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		_tmp2_ = !_tmp8_;
#line 442 "gitg-history-paned.c"
	}
#line 220 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	if (_tmp2_) {
#line 222 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		result = ret;
#line 222 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		return result;
#line 450 "gitg-history-paned.c"
	}
#line 225 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp9_ = self->priv->d_box_sidebar;
#line 225 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp10_ = gtk_widget_get_window ((GtkWidget*) _tmp9_);
#line 225 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp11_ = _g_object_ref0 (_tmp10_);
#line 225 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	window = _tmp11_;
#line 226 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp12_ = gtk_paned_get_handle_window ((GtkPaned*) self);
#line 226 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp13_ = _g_object_ref0 (_tmp12_);
#line 226 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	handlewin = _tmp13_;
#line 228 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp14_ = gtk_widget_get_style_context ((GtkWidget*) self);
#line 228 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp15_ = _g_object_ref0 (_tmp14_);
#line 228 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	c = _tmp15_;
#line 229 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp16_ = c;
#line 229 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gtk_style_context_save (_tmp16_);
#line 231 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp17_ = c;
#line 231 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gtk_style_context_add_region (_tmp17_, "panel-switcher", 0);
#line 234 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp18_ = self->priv->d_stack_switcher_panels;
#line 234 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gtk_widget_get_allocation ((GtkWidget*) _tmp18_, &_tmp19_);
#line 234 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	alloc = _tmp19_;
#line 236 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp20_ = alloc;
#line 236 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp21_ = _tmp20_.y;
#line 236 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp22_ = self->priv->d_box_sidebar;
#line 236 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp23_ = gtk_box_get_spacing (_tmp22_);
#line 236 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp24_ = _tmp23_;
#line 236 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	y = _tmp21_ - _tmp24_;
#line 237 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	hw = 1;
#line 238 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp25_ = gtk_paned_get_position ((GtkPaned*) self);
#line 238 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp26_ = _tmp25_;
#line 238 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp27_ = hw;
#line 238 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	w = _tmp26_ + _tmp27_;
#line 239 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp28_ = alloc;
#line 239 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp29_ = _tmp28_.height;
#line 239 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp30_ = self->priv->d_box_sidebar;
#line 239 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp31_ = gtk_box_get_spacing (_tmp30_);
#line 239 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp32_ = _tmp31_;
#line 239 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp33_ = self->priv->d_stack_switcher_panels;
#line 239 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp34_ = gtk_widget_get_margin_bottom ((GtkWidget*) _tmp33_);
#line 239 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp35_ = _tmp34_;
#line 239 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	h = (_tmp29_ + _tmp32_) + _tmp35_;
#line 242 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp36_ = window;
#line 242 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gdk_window_get_position (_tmp36_, &_tmp37_, NULL);
#line 242 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	wx = _tmp37_;
#line 244 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp38_ = c;
#line 244 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp39_ = context;
#line 244 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp40_ = wx;
#line 244 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp41_ = y;
#line 244 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp42_ = w;
#line 244 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp43_ = h;
#line 244 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gtk_render_frame (_tmp38_, _tmp39_, (gdouble) _tmp40_, (gdouble) _tmp41_, (gdouble) _tmp42_, (gdouble) _tmp43_);
#line 247 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp44_ = handlewin;
#line 247 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gdk_window_get_position (_tmp44_, &_tmp45_, NULL);
#line 247 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	hx = _tmp45_;
#line 249 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp46_ = c;
#line 249 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp47_ = context;
#line 249 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp48_ = hx;
#line 249 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp49_ = y;
#line 249 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp50_ = hw;
#line 249 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp51_ = h;
#line 249 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gtk_render_background (_tmp46_, _tmp47_, (gdouble) _tmp48_, (gdouble) _tmp49_, (gdouble) _tmp50_, (gdouble) _tmp51_);
#line 251 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp52_ = c;
#line 251 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gtk_style_context_restore (_tmp52_);
#line 253 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	result = ret;
#line 253 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_g_object_unref0 (c);
#line 253 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_g_object_unref0 (handlewin);
#line 253 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_g_object_unref0 (window);
#line 253 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	return result;
#line 580 "gitg-history-paned.c"
}


GtkOrientation gitg_history_paned_get_inner_orientation (GitgHistoryPaned* self) {
	GtkOrientation result;
	GitgAnimatedPaned* _tmp0_ = NULL;
	GtkOrientation _tmp1_ = 0;
	GtkOrientation _tmp2_ = 0;
#line 56 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 56 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp0_ = self->priv->d_paned_panels;
#line 56 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp1_ = gtk_orientable_get_orientation ((GtkOrientable*) _tmp0_);
#line 56 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp2_ = _tmp1_;
#line 56 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	result = _tmp2_;
#line 56 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	return result;
#line 601 "gitg-history-paned.c"
}


void gitg_history_paned_set_inner_orientation (GitgHistoryPaned* self, GtkOrientation value) {
	GitgAnimatedPaned* _tmp0_ = NULL;
	GtkOrientation _tmp1_ = 0;
	GtkOrientation _tmp2_ = 0;
	GtkOrientation _tmp3_ = 0;
#line 58 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_return_if_fail (self != NULL);
#line 60 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp0_ = self->priv->d_paned_panels;
#line 60 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp1_ = gtk_orientable_get_orientation ((GtkOrientable*) _tmp0_);
#line 60 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp2_ = _tmp1_;
#line 60 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp3_ = value;
#line 60 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	if (_tmp2_ != _tmp3_) {
#line 622 "gitg-history-paned.c"
		GitgAnimatedPaned* _tmp4_ = NULL;
		GtkOrientation _tmp5_ = 0;
		GitgAnimatedPaned* _tmp6_ = NULL;
		GtkScrolledWindow* _tmp7_ = NULL;
		GitgAnimatedPaned* _tmp8_ = NULL;
		GtkStack* _tmp9_ = NULL;
		GtkWidget* p1 = NULL;
		GtkWidget* p2 = NULL;
		GtkOrientation _tmp10_ = 0;
		GitgAnimatedPaned* _tmp19_ = NULL;
		GtkWidget* _tmp20_ = NULL;
		GitgAnimatedPaned* _tmp21_ = NULL;
		GtkWidget* _tmp22_ = NULL;
#line 62 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		_tmp4_ = self->priv->d_paned_panels;
#line 62 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		_tmp5_ = value;
#line 62 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		gtk_orientable_set_orientation ((GtkOrientable*) _tmp4_, _tmp5_);
#line 65 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		_tmp6_ = self->priv->d_paned_panels;
#line 65 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		_tmp7_ = self->priv->d_scrolled_window_commit_list;
#line 65 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		gtk_container_remove ((GtkContainer*) _tmp6_, (GtkWidget*) _tmp7_);
#line 66 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		_tmp8_ = self->priv->d_paned_panels;
#line 66 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		_tmp9_ = self->priv->d_stack_panel;
#line 66 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		gtk_container_remove ((GtkContainer*) _tmp8_, (GtkWidget*) _tmp9_);
#line 71 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		_tmp10_ = value;
#line 71 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		if (_tmp10_ == GTK_ORIENTATION_HORIZONTAL) {
#line 658 "gitg-history-paned.c"
			GtkStack* _tmp11_ = NULL;
			GtkWidget* _tmp12_ = NULL;
			GtkScrolledWindow* _tmp13_ = NULL;
			GtkWidget* _tmp14_ = NULL;
#line 73 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
			_tmp11_ = self->priv->d_stack_panel;
#line 73 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
			_tmp12_ = _g_object_ref0 ((GtkWidget*) _tmp11_);
#line 73 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
			_g_object_unref0 (p1);
#line 73 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
			p1 = _tmp12_;
#line 74 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
			_tmp13_ = self->priv->d_scrolled_window_commit_list;
#line 74 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
			_tmp14_ = _g_object_ref0 ((GtkWidget*) _tmp13_);
#line 74 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
			_g_object_unref0 (p2);
#line 74 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
			p2 = _tmp14_;
#line 679 "gitg-history-paned.c"
		} else {
			GtkScrolledWindow* _tmp15_ = NULL;
			GtkWidget* _tmp16_ = NULL;
			GtkStack* _tmp17_ = NULL;
			GtkWidget* _tmp18_ = NULL;
#line 78 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
			_tmp15_ = self->priv->d_scrolled_window_commit_list;
#line 78 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
			_tmp16_ = _g_object_ref0 ((GtkWidget*) _tmp15_);
#line 78 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
			_g_object_unref0 (p1);
#line 78 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
			p1 = _tmp16_;
#line 79 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
			_tmp17_ = self->priv->d_stack_panel;
#line 79 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
			_tmp18_ = _g_object_ref0 ((GtkWidget*) _tmp17_);
#line 79 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
			_g_object_unref0 (p2);
#line 79 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
			p2 = _tmp18_;
#line 701 "gitg-history-paned.c"
		}
#line 82 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		_tmp19_ = self->priv->d_paned_panels;
#line 82 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		_tmp20_ = p1;
#line 82 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		gtk_paned_pack1 ((GtkPaned*) _tmp19_, _tmp20_, TRUE, TRUE);
#line 83 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		_tmp21_ = self->priv->d_paned_panels;
#line 83 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		_tmp22_ = p2;
#line 83 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		gtk_paned_pack2 ((GtkPaned*) _tmp21_, _tmp22_, FALSE, FALSE);
#line 60 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		_g_object_unref0 (p2);
#line 60 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		_g_object_unref0 (p1);
#line 719 "gitg-history-paned.c"
	}
#line 58 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_object_notify ((GObject *) self, "inner-orientation");
#line 723 "gitg-history-paned.c"
}


GitgExtSelectionMode gitg_history_paned_get_selectable_mode (GitgHistoryPaned* self) {
	GitgExtSelectionMode result;
	GitgExtSelectionMode _tmp0_ = 0;
#line 129 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 129 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp0_ = self->priv->d_selectable_mode;
#line 129 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	result = _tmp0_;
#line 129 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	return result;
#line 738 "gitg-history-paned.c"
}


void gitg_history_paned_set_selectable_mode (GitgHistoryPaned* self, GitgExtSelectionMode value) {
	GitgExtSelectionMode _tmp0_ = 0;
	GitgExtSelectionMode _tmp1_ = 0;
#line 130 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_return_if_fail (self != NULL);
#line 132 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp0_ = self->priv->d_selectable_mode;
#line 132 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp1_ = value;
#line 132 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	if (_tmp0_ != _tmp1_) {
#line 753 "gitg-history-paned.c"
		GitgExtSelectionMode _tmp2_ = 0;
		GitgExtSelectionMode _tmp3_ = 0;
#line 134 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		_tmp2_ = value;
#line 134 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		self->priv->d_selectable_mode = _tmp2_;
#line 136 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		_tmp3_ = self->priv->d_selectable_mode;
#line 136 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		if (_tmp3_ == GITG_EXT_SELECTION_MODE_NORMAL) {
#line 138 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
			gitg_history_paned_slide_in (self);
#line 766 "gitg-history-paned.c"
		} else {
#line 142 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
			gitg_history_paned_slide_out (self);
#line 770 "gitg-history-paned.c"
		}
	}
#line 130 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_object_notify ((GObject *) self, "selectable-mode");
#line 775 "gitg-history-paned.c"
}


GitgHistoryRefsList* gitg_history_paned_get_refs_list (GitgHistoryPaned* self) {
	GitgHistoryRefsList* result;
	GitgHistoryRefsList* _tmp0_ = NULL;
#line 198 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 198 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp0_ = self->priv->d_refs_list;
#line 198 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	result = _tmp0_;
#line 198 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	return result;
#line 790 "gitg-history-paned.c"
}


GitgCommitListView* gitg_history_paned_get_commit_list_view (GitgHistoryPaned* self) {
	GitgCommitListView* result;
	GitgCommitListView* _tmp0_ = NULL;
#line 203 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 203 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp0_ = self->priv->d_commit_list_view;
#line 203 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	result = _tmp0_;
#line 203 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	return result;
#line 805 "gitg-history-paned.c"
}


GtkPaned* gitg_history_paned_get_paned_panels (GitgHistoryPaned* self) {
	GtkPaned* result;
	GitgAnimatedPaned* _tmp0_ = NULL;
#line 208 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 208 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp0_ = self->priv->d_paned_panels;
#line 208 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	result = (GtkPaned*) _tmp0_;
#line 208 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	return result;
#line 820 "gitg-history-paned.c"
}


GtkStack* gitg_history_paned_get_stack_panel (GitgHistoryPaned* self) {
	GtkStack* result;
	GtkStack* _tmp0_ = NULL;
#line 213 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 213 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp0_ = self->priv->d_stack_panel;
#line 213 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	result = _tmp0_;
#line 213 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	return result;
#line 835 "gitg-history-paned.c"
}


static Block40Data* block40_data_ref (Block40Data* _data40_) {
#line 163 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_atomic_int_inc (&_data40_->_ref_count_);
#line 163 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	return _data40_;
#line 844 "gitg-history-paned.c"
}


static void block40_data_unref (void * _userdata_) {
	Block40Data* _data40_;
	_data40_ = (Block40Data*) _userdata_;
#line 163 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	if (g_atomic_int_dec_and_test (&_data40_->_ref_count_)) {
#line 853 "gitg-history-paned.c"
		GitgHistoryPaned* self;
#line 163 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		self = _data40_->self;
#line 163 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		_g_object_unref0 (_data40_->state_settings);
#line 163 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		_g_object_unref0 (self);
#line 163 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		g_slice_free (Block40Data, _data40_);
#line 863 "gitg-history-paned.c"
	}
}


static void _gitg_history_paned___lambda85_ (Block40Data* _data40_) {
	GitgHistoryPaned* self;
	GSettings* _tmp0_ = NULL;
#line 170 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	self = _data40_->self;
#line 171 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp0_ = _data40_->state_settings;
#line 171 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gitg_history_paned_store_paned_position (self, (GitgAnimatedPaned*) self, _tmp0_, "paned-sidebar-position");
#line 877 "gitg-history-paned.c"
}


static void __gitg_history_paned___lambda85__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 170 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_gitg_history_paned___lambda85_ (self);
#line 884 "gitg-history-paned.c"
}


static void _gitg_history_paned___lambda86_ (Block40Data* _data40_) {
	GitgHistoryPaned* self;
	GitgAnimatedPaned* _tmp0_ = NULL;
	GSettings* _tmp1_ = NULL;
#line 174 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	self = _data40_->self;
#line 175 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp0_ = self->priv->d_paned_panels;
#line 175 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp1_ = _data40_->state_settings;
#line 175 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gitg_history_paned_store_paned_position (self, _tmp0_, _tmp1_, "paned-panels-position");
#line 900 "gitg-history-paned.c"
}


static void __gitg_history_paned___lambda86__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 174 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_gitg_history_paned___lambda86_ (self);
#line 907 "gitg-history-paned.c"
}


static GObject * gitg_history_paned_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) {
	GObject * obj;
	GObjectClass * parent_class;
	GitgHistoryPaned * self;
	Block40Data* _data40_;
	GSettings* _tmp0_ = NULL;
	GSettings* _tmp1_ = NULL;
	gint _tmp2_ = 0;
	GitgAnimatedPaned* _tmp3_ = NULL;
	GSettings* _tmp4_ = NULL;
	gint _tmp5_ = 0;
	GitgAnimatedPaned* _tmp6_ = NULL;
	GSettings* interface_settings = NULL;
	GSettings* _tmp7_ = NULL;
	GSettings* _tmp8_ = NULL;
	GdStyledTextRenderer* _tmp9_ = NULL;
	GdStyledTextRenderer* _tmp10_ = NULL;
	GtkStackSwitcher* _tmp11_ = NULL;
	GtkStack* _tmp12_ = NULL;
#line 163 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	parent_class = G_OBJECT_CLASS (gitg_history_paned_parent_class);
#line 163 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 163 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_HISTORY_TYPE_PANED, GitgHistoryPaned);
#line 163 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_data40_ = g_slice_new0 (Block40Data);
#line 163 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_data40_->_ref_count_ = 1;
#line 163 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_data40_->self = g_object_ref (self);
#line 165 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp0_ = g_settings_new ("org.gnome.gitg.state.history");
#line 165 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_data40_->state_settings = _tmp0_;
#line 167 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp1_ = _data40_->state_settings;
#line 167 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp2_ = g_settings_get_int (_tmp1_, "paned-sidebar-position");
#line 167 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gtk_paned_set_position ((GtkPaned*) self, _tmp2_);
#line 168 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp3_ = self->priv->d_paned_panels;
#line 168 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp4_ = _data40_->state_settings;
#line 168 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp5_ = g_settings_get_int (_tmp4_, "paned-panels-position");
#line 168 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gtk_paned_set_position ((GtkPaned*) _tmp3_, _tmp5_);
#line 170 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_signal_connect_data ((GObject*) self, "notify::position", (GCallback) __gitg_history_paned___lambda85__g_object_notify, block40_data_ref (_data40_), (GClosureNotify) block40_data_unref, 0);
#line 174 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp6_ = self->priv->d_paned_panels;
#line 174 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_signal_connect_data ((GObject*) _tmp6_, "notify::position", (GCallback) __gitg_history_paned___lambda86__g_object_notify, block40_data_ref (_data40_), (GClosureNotify) block40_data_unref, 0);
#line 178 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp7_ = g_settings_new ("org.gnome.gitg.preferences.interface");
#line 178 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	interface_settings = _tmp7_;
#line 180 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp8_ = interface_settings;
#line 180 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_settings_bind (_tmp8_, "orientation", (GObject*) self, "inner_orientation", G_SETTINGS_BIND_GET);
#line 185 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp9_ = self->priv->d_renderer_commit_list_author;
#line 185 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gd_styled_text_renderer_add_class (_tmp9_, "dim-label");
#line 186 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp10_ = self->priv->d_renderer_commit_list_author_date;
#line 186 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gd_styled_text_renderer_add_class (_tmp10_, "dim-label");
#line 188 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp11_ = self->priv->d_stack_switcher_panels;
#line 188 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_tmp12_ = self->priv->d_stack_panel;
#line 188 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gtk_stack_switcher_set_stack (_tmp11_, _tmp12_);
#line 163 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_g_object_unref0 (interface_settings);
#line 163 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	block40_data_unref (_data40_);
#line 163 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_data40_ = NULL;
#line 163 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	return obj;
#line 996 "gitg-history-paned.c"
}


static void gitg_history_paned_class_init (GitgHistoryPanedClass * klass) {
	gint GitgHistoryPaned_private_offset;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gitg_history_paned_parent_class = g_type_class_peek_parent (klass);
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_type_class_add_private (klass, sizeof (GitgHistoryPanedPrivate));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	((GtkWidgetClass *) klass)->draw = gitg_history_paned_real_draw;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_history_paned_get_property;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_history_paned_set_property;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	G_OBJECT_CLASS (klass)->constructor = gitg_history_paned_constructor;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_history_paned_finalize;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_HISTORY_PANED_INNER_ORIENTATION, g_param_spec_enum ("inner-orientation", "inner-orientation", "inner-orientation", GTK_TYPE_ORIENTATION, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_HISTORY_PANED_SELECTABLE_MODE, g_param_spec_enum ("selectable-mode", "selectable-mode", "selectable-mode", GITG_EXT_TYPE_SELECTION_MODE, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_HISTORY_PANED_REFS_LIST, g_param_spec_object ("refs-list", "refs-list", "refs-list", GITG_HISTORY_TYPE_REFS_LIST, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_HISTORY_PANED_COMMIT_LIST_VIEW, g_param_spec_object ("commit-list-view", "commit-list-view", "commit-list-view", GITG_TYPE_COMMIT_LIST_VIEW, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_HISTORY_PANED_PANED_PANELS, g_param_spec_object ("paned-panels", "paned-panels", "paned-panels", gtk_paned_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_HISTORY_PANED_STACK_PANEL, g_param_spec_object ("stack-panel", "stack-panel", "stack-panel", gtk_stack_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	GitgHistoryPaned_private_offset = g_type_class_get_instance_private_offset (klass);
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/gitg/ui/gitg-history-paned.ui");
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_box_sidebar", FALSE, GitgHistoryPaned_private_offset + G_STRUCT_OFFSET (GitgHistoryPanedPrivate, d_box_sidebar));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_paned_panels", FALSE, GitgHistoryPaned_private_offset + G_STRUCT_OFFSET (GitgHistoryPanedPrivate, d_paned_panels));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_stack_switcher_panels", FALSE, GitgHistoryPaned_private_offset + G_STRUCT_OFFSET (GitgHistoryPanedPrivate, d_stack_switcher_panels));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_refs_list", FALSE, GitgHistoryPaned_private_offset + G_STRUCT_OFFSET (GitgHistoryPanedPrivate, d_refs_list));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_commit_list_view", FALSE, GitgHistoryPaned_private_offset + G_STRUCT_OFFSET (GitgHistoryPanedPrivate, d_commit_list_view));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_stack_panel", FALSE, GitgHistoryPaned_private_offset + G_STRUCT_OFFSET (GitgHistoryPanedPrivate, d_stack_panel));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_renderer_commit_list_author", FALSE, GitgHistoryPaned_private_offset + G_STRUCT_OFFSET (GitgHistoryPanedPrivate, d_renderer_commit_list_author));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_renderer_commit_list_author_date", FALSE, GitgHistoryPaned_private_offset + G_STRUCT_OFFSET (GitgHistoryPanedPrivate, d_renderer_commit_list_author_date));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_scrolled_window_commit_list", FALSE, GitgHistoryPaned_private_offset + G_STRUCT_OFFSET (GitgHistoryPanedPrivate, d_scrolled_window_commit_list));
#line 1050 "gitg-history-paned.c"
}


static void gitg_history_paned_instance_init (GitgHistoryPaned * self) {
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	self->priv = GITG_HISTORY_PANED_GET_PRIVATE (self);
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_type_ensure (GITG_HISTORY_TYPE_REFS_LIST);
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	g_type_ensure (GITG_TYPE_ANIMATED_PANED);
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	gtk_widget_init_template (GTK_WIDGET (self));
#line 1063 "gitg-history-paned.c"
}


static void gitg_history_paned_finalize (GObject* obj) {
	GitgHistoryPaned * self;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_HISTORY_TYPE_PANED, GitgHistoryPaned);
#line 27 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_g_object_unref0 (self->priv->d_box_sidebar);
#line 30 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_g_object_unref0 (self->priv->d_paned_panels);
#line 33 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_g_object_unref0 (self->priv->d_stack_switcher_panels);
#line 36 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_g_object_unref0 (self->priv->d_refs_list);
#line 39 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_g_object_unref0 (self->priv->d_commit_list_view);
#line 42 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_g_object_unref0 (self->priv->d_stack_panel);
#line 45 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_g_object_unref0 (self->priv->d_renderer_commit_list_author);
#line 48 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_g_object_unref0 (self->priv->d_renderer_commit_list_author_date);
#line 51 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	_g_object_unref0 (self->priv->d_scrolled_window_commit_list);
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	G_OBJECT_CLASS (gitg_history_paned_parent_class)->finalize (obj);
#line 1091 "gitg-history-paned.c"
}


GType gitg_history_paned_get_type (void) {
	static volatile gsize gitg_history_paned_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_history_paned_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgHistoryPanedClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_history_paned_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgHistoryPaned), 0, (GInstanceInitFunc) gitg_history_paned_instance_init, NULL };
		GType gitg_history_paned_type_id;
		gitg_history_paned_type_id = g_type_register_static (GITG_TYPE_ANIMATED_PANED, "GitgHistoryPaned", &g_define_type_info, 0);
		g_once_init_leave (&gitg_history_paned_type_id__volatile, gitg_history_paned_type_id);
	}
	return gitg_history_paned_type_id__volatile;
}


static void _vala_gitg_history_paned_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GitgHistoryPaned * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_HISTORY_TYPE_PANED, GitgHistoryPaned);
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	switch (property_id) {
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		case GITG_HISTORY_PANED_INNER_ORIENTATION:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		g_value_set_enum (value, gitg_history_paned_get_inner_orientation (self));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		case GITG_HISTORY_PANED_SELECTABLE_MODE:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		g_value_set_enum (value, gitg_history_paned_get_selectable_mode (self));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		case GITG_HISTORY_PANED_REFS_LIST:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		g_value_set_object (value, gitg_history_paned_get_refs_list (self));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		case GITG_HISTORY_PANED_COMMIT_LIST_VIEW:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		g_value_set_object (value, gitg_history_paned_get_commit_list_view (self));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		case GITG_HISTORY_PANED_PANED_PANELS:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		g_value_set_object (value, gitg_history_paned_get_paned_panels (self));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		case GITG_HISTORY_PANED_STACK_PANEL:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		g_value_set_object (value, gitg_history_paned_get_stack_panel (self));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		break;
#line 1148 "gitg-history-paned.c"
		default:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		break;
#line 1154 "gitg-history-paned.c"
	}
}


static void _vala_gitg_history_paned_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	GitgHistoryPaned * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_HISTORY_TYPE_PANED, GitgHistoryPaned);
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
	switch (property_id) {
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		case GITG_HISTORY_PANED_INNER_ORIENTATION:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		gitg_history_paned_set_inner_orientation (self, g_value_get_enum (value));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		break;
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		case GITG_HISTORY_PANED_SELECTABLE_MODE:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		gitg_history_paned_set_selectable_mode (self, g_value_get_enum (value));
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		break;
#line 1176 "gitg-history-paned.c"
		default:
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 24 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-paned.vala"
		break;
#line 1182 "gitg-history-paned.c"
	}
}



