/* gitg-diff-view-options.c generated by valac 0.32.1, the Vala compiler
 * generated from gitg-diff-view-options.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 <gtk/gtk.h>
#include <gee.h>
#include <libgit2-glib/ggit.h>
#include <float.h>
#include <math.h>
#include <gobject/gvaluecollector.h>


#define GITG_TYPE_DIFF_VIEW_OPTIONS (gitg_diff_view_options_get_type ())
#define GITG_DIFF_VIEW_OPTIONS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_DIFF_VIEW_OPTIONS, GitgDiffViewOptions))
#define GITG_DIFF_VIEW_OPTIONS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_DIFF_VIEW_OPTIONS, GitgDiffViewOptionsClass))
#define GITG_IS_DIFF_VIEW_OPTIONS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_DIFF_VIEW_OPTIONS))
#define GITG_IS_DIFF_VIEW_OPTIONS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_DIFF_VIEW_OPTIONS))
#define GITG_DIFF_VIEW_OPTIONS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_DIFF_VIEW_OPTIONS, GitgDiffViewOptionsClass))

typedef struct _GitgDiffViewOptions GitgDiffViewOptions;
typedef struct _GitgDiffViewOptionsClass GitgDiffViewOptionsClass;
typedef struct _GitgDiffViewOptionsPrivate GitgDiffViewOptionsPrivate;

#define GITG_TYPE_DIFF_VIEW (gitg_diff_view_get_type ())
#define GITG_DIFF_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_DIFF_VIEW, GitgDiffView))
#define GITG_DIFF_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_DIFF_VIEW, GitgDiffViewClass))
#define GITG_IS_DIFF_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_DIFF_VIEW))
#define GITG_IS_DIFF_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_DIFF_VIEW))
#define GITG_DIFF_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_DIFF_VIEW, GitgDiffViewClass))

typedef struct _GitgDiffView GitgDiffView;
typedef struct _GitgDiffViewClass GitgDiffViewClass;

#define GITG_TYPE_DIFF_VIEW_OPTIONS_SPACING (gitg_diff_view_options_spacing_get_type ())
#define GITG_DIFF_VIEW_OPTIONS_SPACING(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_DIFF_VIEW_OPTIONS_SPACING, GitgDiffViewOptionsSpacing))
#define GITG_DIFF_VIEW_OPTIONS_SPACING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_DIFF_VIEW_OPTIONS_SPACING, GitgDiffViewOptionsSpacingClass))
#define GITG_IS_DIFF_VIEW_OPTIONS_SPACING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_DIFF_VIEW_OPTIONS_SPACING))
#define GITG_IS_DIFF_VIEW_OPTIONS_SPACING_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_DIFF_VIEW_OPTIONS_SPACING))
#define GITG_DIFF_VIEW_OPTIONS_SPACING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_DIFF_VIEW_OPTIONS_SPACING, GitgDiffViewOptionsSpacingClass))

typedef struct _GitgDiffViewOptionsSpacing GitgDiffViewOptionsSpacing;
typedef struct _GitgDiffViewOptionsSpacingClass GitgDiffViewOptionsSpacingClass;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

#define GITG_TYPE_COMMIT (gitg_commit_get_type ())
#define GITG_COMMIT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_COMMIT, GitgCommit))
#define GITG_COMMIT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_COMMIT, GitgCommitClass))
#define GITG_IS_COMMIT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_COMMIT))
#define GITG_IS_COMMIT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_COMMIT))
#define GITG_COMMIT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_COMMIT, GitgCommitClass))

typedef struct _GitgCommit GitgCommit;
typedef struct _GitgCommitClass GitgCommitClass;
typedef struct _GitgDiffViewOptionsSpacingPrivate GitgDiffViewOptionsSpacingPrivate;

#define GITG_TYPE_TRANSFORMS (gitg_transforms_get_type ())
#define GITG_TRANSFORMS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_TRANSFORMS, GitgTransforms))
#define GITG_TRANSFORMS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_TRANSFORMS, GitgTransformsClass))
#define GITG_IS_TRANSFORMS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_TRANSFORMS))
#define GITG_IS_TRANSFORMS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_TRANSFORMS))
#define GITG_TRANSFORMS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_TRANSFORMS, GitgTransformsClass))

typedef struct _GitgTransforms GitgTransforms;
typedef struct _GitgTransformsClass GitgTransformsClass;
typedef struct _GitgTransformsPrivate GitgTransformsPrivate;
typedef struct _GitgParamSpecTransforms GitgParamSpecTransforms;

struct _GitgDiffViewOptions {
	GtkToolbar parent_instance;
	GitgDiffViewOptionsPrivate * priv;
};

struct _GitgDiffViewOptionsClass {
	GtkToolbarClass parent_class;
};

struct _GitgDiffViewOptionsPrivate {
	GtkAdjustment* d_adjustment_context;
	GtkToolButton* d_tool_button_spacing;
	gint _context_lines;
	GeeList* d_bindings;
	GitgDiffView* d_view;
	gulong d_notify_commit_id;
	GitgDiffViewOptionsSpacing* d_popover_spacing;
};

struct _GitgDiffViewOptionsSpacing {
	GtkPopover parent_instance;
	GitgDiffViewOptionsSpacingPrivate * priv;
};

struct _GitgDiffViewOptionsSpacingClass {
	GtkPopoverClass parent_class;
};

struct _GitgDiffViewOptionsSpacingPrivate {
	GtkSwitch* d_switch_ignore_whitespace;
	GtkLabel* d_label_ignore_whitespace;
	GtkSwitch* d_switch_wrap_lines;
	GtkAdjustment* d_adjustment_tab_width;
	gboolean _ignore_whitespace;
	gboolean _wrap_lines;
	gint _tab_width;
	gboolean _ignore_whitespace_visible;
};

struct _GitgTransforms {
	GTypeInstance parent_instance;
	volatile int ref_count;
	GitgTransformsPrivate * priv;
};

struct _GitgTransformsClass {
	GTypeClass parent_class;
	void (*finalize) (GitgTransforms *self);
};

struct _GitgParamSpecTransforms {
	GParamSpec parent_instance;
};


static gpointer gitg_diff_view_options_parent_class = NULL;
static gpointer gitg_diff_view_options_spacing_parent_class = NULL;
static gpointer gitg_transforms_parent_class = NULL;

GType gitg_diff_view_options_get_type (void) G_GNUC_CONST;
GType gitg_diff_view_get_type (void) G_GNUC_CONST;
GType gitg_diff_view_options_spacing_get_type (void) G_GNUC_CONST;
#define GITG_DIFF_VIEW_OPTIONS_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_TYPE_DIFF_VIEW_OPTIONS, GitgDiffViewOptionsPrivate))
enum  {
	GITG_DIFF_VIEW_OPTIONS_DUMMY_PROPERTY,
	GITG_DIFF_VIEW_OPTIONS_CONTEXT_LINES,
	GITG_DIFF_VIEW_OPTIONS_VIEW
};
GitgDiffViewOptions* gitg_diff_view_options_new (GitgDiffView* view);
GitgDiffViewOptions* gitg_diff_view_options_construct (GType object_type, GitgDiffView* view);
static void gitg_diff_view_options_real_dispose (GObject* base);
void gitg_diff_view_options_set_view (GitgDiffViewOptions* self, GitgDiffView* value);
static void gitg_diff_view_options_view_changed (GitgDiffViewOptions* self, GitgDiffView* old_view);
static void gitg_diff_view_options_update_commit (GitgDiffViewOptions* self);
static void _gitg_diff_view_options_update_commit_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
GType gitg_commit_get_type (void) G_GNUC_CONST;
GitgCommit* gitg_diff_view_get_commit (GitgDiffView* self);
void gitg_diff_view_options_spacing_set_ignore_whitespace_visible (GitgDiffViewOptionsSpacing* self, gboolean value);
static void gitg_diff_view_options_real_constructed (GObject* base);
gboolean gitg_transforms_int_to_double (GBinding* binding, GValue* source_value, GValue* target_value);
static gboolean _gitg_transforms_int_to_double_gbinding_transform_func (GBinding* binding, GValue* source_value, GValue* target_value, gpointer self);
gboolean gitg_transforms_double_to_int (GBinding* binding, GValue* source_value, GValue* target_value);
static gboolean _gitg_transforms_double_to_int_gbinding_transform_func (GBinding* binding, GValue* source_value, GValue* target_value, gpointer self);
static void gitg_diff_view_options_clicked_on_tool_button_spacing (GitgDiffViewOptions* self, GtkWidget* widget);
static void _gitg_diff_view_options_clicked_on_tool_button_spacing_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self);
gint gitg_diff_view_options_get_context_lines (GitgDiffViewOptions* self);
void gitg_diff_view_options_set_context_lines (GitgDiffViewOptions* self, gint value);
GitgDiffView* gitg_diff_view_options_get_view (GitgDiffViewOptions* self);
static GObject * gitg_diff_view_options_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
GitgDiffViewOptionsSpacing* gitg_diff_view_options_spacing_new (void);
GitgDiffViewOptionsSpacing* gitg_diff_view_options_spacing_construct (GType object_type);
static void gitg_diff_view_options_finalize (GObject* obj);
static void _vala_gitg_diff_view_options_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_gitg_diff_view_options_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
#define GITG_DIFF_VIEW_OPTIONS_SPACING_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_TYPE_DIFF_VIEW_OPTIONS_SPACING, GitgDiffViewOptionsSpacingPrivate))
enum  {
	GITG_DIFF_VIEW_OPTIONS_SPACING_DUMMY_PROPERTY,
	GITG_DIFF_VIEW_OPTIONS_SPACING_IGNORE_WHITESPACE,
	GITG_DIFF_VIEW_OPTIONS_SPACING_WRAP_LINES,
	GITG_DIFF_VIEW_OPTIONS_SPACING_TAB_WIDTH,
	GITG_DIFF_VIEW_OPTIONS_SPACING_IGNORE_WHITESPACE_VISIBLE
};
static void gitg_diff_view_options_spacing_real_constructed (GObject* base);
gboolean gitg_diff_view_options_spacing_get_ignore_whitespace (GitgDiffViewOptionsSpacing* self);
void gitg_diff_view_options_spacing_set_ignore_whitespace (GitgDiffViewOptionsSpacing* self, gboolean value);
gboolean gitg_diff_view_options_spacing_get_wrap_lines (GitgDiffViewOptionsSpacing* self);
void gitg_diff_view_options_spacing_set_wrap_lines (GitgDiffViewOptionsSpacing* self, gboolean value);
gint gitg_diff_view_options_spacing_get_tab_width (GitgDiffViewOptionsSpacing* self);
void gitg_diff_view_options_spacing_set_tab_width (GitgDiffViewOptionsSpacing* self, gint value);
gboolean gitg_diff_view_options_spacing_get_ignore_whitespace_visible (GitgDiffViewOptionsSpacing* self);
static void gitg_diff_view_options_spacing_finalize (GObject* obj);
static void _vala_gitg_diff_view_options_spacing_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_gitg_diff_view_options_spacing_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
gpointer gitg_transforms_ref (gpointer instance);
void gitg_transforms_unref (gpointer instance);
GParamSpec* gitg_param_spec_transforms (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void gitg_value_set_transforms (GValue* value, gpointer v_object);
void gitg_value_take_transforms (GValue* value, gpointer v_object);
gpointer gitg_value_get_transforms (const GValue* value);
GType gitg_transforms_get_type (void) G_GNUC_CONST;
enum  {
	GITG_TRANSFORMS_DUMMY_PROPERTY
};
GitgTransforms* gitg_transforms_new (void);
GitgTransforms* gitg_transforms_construct (GType object_type);
static void gitg_transforms_finalize (GitgTransforms* obj);


GitgDiffViewOptions* gitg_diff_view_options_construct (GType object_type, GitgDiffView* view) {
	GitgDiffViewOptions * self = NULL;
	GitgDiffView* _tmp0_ = NULL;
#line 57 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp0_ = view;
#line 57 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	self = (GitgDiffViewOptions*) g_object_new (object_type, "view", _tmp0_, NULL);
#line 55 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	return self;
#line 226 "gitg-diff-view-options.c"
}


GitgDiffViewOptions* gitg_diff_view_options_new (GitgDiffView* view) {
#line 55 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	return gitg_diff_view_options_construct (GITG_TYPE_DIFF_VIEW_OPTIONS, view);
#line 233 "gitg-diff-view-options.c"
}


static void gitg_diff_view_options_real_dispose (GObject* base) {
	GitgDiffViewOptions * self;
#line 68 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	self = (GitgDiffViewOptions*) base;
#line 70 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	gitg_diff_view_options_set_view (self, NULL);
#line 71 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	G_OBJECT_CLASS (gitg_diff_view_options_parent_class)->dispose ((GObject*) G_TYPE_CHECK_INSTANCE_CAST (self, gtk_toolbar_get_type (), GtkToolbar));
#line 245 "gitg-diff-view-options.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 76 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	return self ? g_object_ref (self) : NULL;
#line 252 "gitg-diff-view-options.c"
}


static void _gitg_diff_view_options_update_commit_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 123 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	gitg_diff_view_options_update_commit ((GitgDiffViewOptions*) self);
#line 259 "gitg-diff-view-options.c"
}


static void gitg_diff_view_options_view_changed (GitgDiffViewOptions* self, GitgDiffView* old_view) {
	GeeList* _tmp13_ = NULL;
	gulong _tmp14_ = 0UL;
	GitgDiffView* _tmp17_ = NULL;
	GeeList* _tmp18_ = NULL;
	GitgDiffView* _tmp19_ = NULL;
	GitgDiffViewOptionsSpacing* _tmp20_ = NULL;
	GBinding* _tmp21_ = NULL;
	GeeList* _tmp22_ = NULL;
	GitgDiffView* _tmp23_ = NULL;
	GitgDiffViewOptionsSpacing* _tmp24_ = NULL;
	GBinding* _tmp25_ = NULL;
	GeeList* _tmp26_ = NULL;
	GitgDiffView* _tmp27_ = NULL;
	GitgDiffViewOptionsSpacing* _tmp28_ = NULL;
	GBinding* _tmp29_ = NULL;
	GeeList* _tmp30_ = NULL;
	GitgDiffView* _tmp31_ = NULL;
	GBinding* _tmp32_ = NULL;
	GitgDiffView* _tmp33_ = NULL;
	gulong _tmp34_ = 0UL;
#line 74 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_return_if_fail (self != NULL);
#line 286 "gitg-diff-view-options.c"
	{
		GeeList* _binding_list = NULL;
		GeeList* _tmp0_ = NULL;
		GeeList* _tmp1_ = NULL;
		gint _binding_size = 0;
		GeeList* _tmp2_ = NULL;
		gint _tmp3_ = 0;
		gint _tmp4_ = 0;
		gint _binding_index = 0;
#line 76 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		_tmp0_ = self->priv->d_bindings;
#line 76 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 76 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		_binding_list = _tmp1_;
#line 76 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		_tmp2_ = _binding_list;
#line 76 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		_tmp3_ = gee_collection_get_size ((GeeCollection*) _tmp2_);
#line 76 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		_tmp4_ = _tmp3_;
#line 76 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		_binding_size = _tmp4_;
#line 76 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		_binding_index = -1;
#line 76 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		while (TRUE) {
#line 314 "gitg-diff-view-options.c"
			gint _tmp5_ = 0;
			gint _tmp6_ = 0;
			gint _tmp7_ = 0;
			GBinding* binding = NULL;
			GeeList* _tmp8_ = NULL;
			gint _tmp9_ = 0;
			gpointer _tmp10_ = NULL;
			GBinding* _tmp11_ = NULL;
			GBinding* _tmp12_ = NULL;
#line 76 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
			_tmp5_ = _binding_index;
#line 76 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
			_binding_index = _tmp5_ + 1;
#line 76 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
			_tmp6_ = _binding_index;
#line 76 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
			_tmp7_ = _binding_size;
#line 76 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
			if (!(_tmp6_ < _tmp7_)) {
#line 76 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
				break;
#line 336 "gitg-diff-view-options.c"
			}
#line 76 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
			_tmp8_ = _binding_list;
#line 76 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
			_tmp9_ = _binding_index;
#line 76 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
			_tmp10_ = gee_list_get (_tmp8_, _tmp9_);
#line 76 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
			binding = (GBinding*) _tmp10_;
#line 78 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
			_tmp11_ = binding;
#line 78 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
			_tmp12_ = _g_object_ref0 (_tmp11_);
#line 78 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
			g_binding_unbind (_tmp12_);
#line 76 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
			_g_object_unref0 (binding);
#line 354 "gitg-diff-view-options.c"
		}
#line 76 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		_g_object_unref0 (_binding_list);
#line 358 "gitg-diff-view-options.c"
	}
#line 81 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp13_ = self->priv->d_bindings;
#line 81 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	gee_collection_clear ((GeeCollection*) _tmp13_);
#line 83 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp14_ = self->priv->d_notify_commit_id;
#line 83 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	if (_tmp14_ != ((gulong) 0)) {
#line 368 "gitg-diff-view-options.c"
		GitgDiffView* _tmp15_ = NULL;
		gulong _tmp16_ = 0UL;
#line 85 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		_tmp15_ = old_view;
#line 85 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		_tmp16_ = self->priv->d_notify_commit_id;
#line 85 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		g_signal_handler_disconnect ((GObject*) _tmp15_, _tmp16_);
#line 86 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		self->priv->d_notify_commit_id = (gulong) 0;
#line 379 "gitg-diff-view-options.c"
	}
#line 89 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp17_ = self->priv->d_view;
#line 89 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	if (_tmp17_ == NULL) {
#line 91 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		gitg_diff_view_options_update_commit (self);
#line 92 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		return;
#line 389 "gitg-diff-view-options.c"
	}
#line 95 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp18_ = self->priv->d_bindings;
#line 95 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp19_ = self->priv->d_view;
#line 95 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp20_ = self->priv->d_popover_spacing;
#line 95 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp21_ = g_object_bind_property_with_closures ((GObject*) _tmp19_, "ignore-whitespace", (GObject*) _tmp20_, "ignore-whitespace", G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 95 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	gee_collection_add ((GeeCollection*) _tmp18_, _tmp21_);
#line 102 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp22_ = self->priv->d_bindings;
#line 102 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp23_ = self->priv->d_view;
#line 102 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp24_ = self->priv->d_popover_spacing;
#line 102 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp25_ = g_object_bind_property_with_closures ((GObject*) _tmp23_, "wrap-lines", (GObject*) _tmp24_, "wrap-lines", G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 102 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	gee_collection_add ((GeeCollection*) _tmp22_, _tmp25_);
#line 109 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp26_ = self->priv->d_bindings;
#line 109 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp27_ = self->priv->d_view;
#line 109 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp28_ = self->priv->d_popover_spacing;
#line 109 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp29_ = g_object_bind_property_with_closures ((GObject*) _tmp27_, "tab-width", (GObject*) _tmp28_, "tab-width", G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 109 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	gee_collection_add ((GeeCollection*) _tmp26_, _tmp29_);
#line 116 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp30_ = self->priv->d_bindings;
#line 116 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp31_ = self->priv->d_view;
#line 116 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp32_ = g_object_bind_property_with_closures ((GObject*) _tmp31_, "context-lines", (GObject*) self, "context-lines", G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 116 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	gee_collection_add ((GeeCollection*) _tmp30_, _tmp32_);
#line 123 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp33_ = self->priv->d_view;
#line 123 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp34_ = g_signal_connect_object ((GObject*) _tmp33_, "notify::commit", (GCallback) _gitg_diff_view_options_update_commit_g_object_notify, self, 0);
#line 123 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	self->priv->d_notify_commit_id = _tmp34_;
#line 125 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	gitg_diff_view_options_update_commit (self);
#line 437 "gitg-diff-view-options.c"
}


static void gitg_diff_view_options_update_commit (GitgDiffViewOptions* self) {
	gboolean _tmp0_ = FALSE;
	GitgDiffView* _tmp1_ = NULL;
	gboolean iscommit = FALSE;
	GitgDiffViewOptionsSpacing* _tmp5_ = NULL;
#line 128 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_return_if_fail (self != NULL);
#line 130 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp1_ = self->priv->d_view;
#line 130 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	if (_tmp1_ != NULL) {
#line 452 "gitg-diff-view-options.c"
		GitgDiffView* _tmp2_ = NULL;
		GitgCommit* _tmp3_ = NULL;
		GitgCommit* _tmp4_ = NULL;
#line 130 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		_tmp2_ = self->priv->d_view;
#line 130 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		_tmp3_ = gitg_diff_view_get_commit (_tmp2_);
#line 130 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		_tmp4_ = _tmp3_;
#line 130 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		_tmp0_ = _tmp4_ != NULL;
#line 464 "gitg-diff-view-options.c"
	} else {
#line 130 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		_tmp0_ = FALSE;
#line 468 "gitg-diff-view-options.c"
	}
#line 130 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	iscommit = _tmp0_;
#line 131 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp5_ = self->priv->d_popover_spacing;
#line 131 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	gitg_diff_view_options_spacing_set_ignore_whitespace_visible (_tmp5_, iscommit);
#line 476 "gitg-diff-view-options.c"
}


static gboolean _gitg_transforms_int_to_double_gbinding_transform_func (GBinding* binding, GValue* source_value, GValue* target_value, gpointer self) {
	gboolean result;
	result = gitg_transforms_int_to_double (binding, source_value, target_value);
#line 136 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	return result;
#line 485 "gitg-diff-view-options.c"
}


static gboolean _gitg_transforms_double_to_int_gbinding_transform_func (GBinding* binding, GValue* source_value, GValue* target_value, gpointer self) {
	gboolean result;
	result = gitg_transforms_double_to_int (binding, source_value, target_value);
#line 136 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	return result;
#line 494 "gitg-diff-view-options.c"
}


static void gitg_diff_view_options_real_constructed (GObject* base) {
	GitgDiffViewOptions * self;
	GtkAdjustment* _tmp0_ = NULL;
#line 134 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	self = (GitgDiffViewOptions*) base;
#line 136 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp0_ = self->priv->d_adjustment_context;
#line 136 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_object_bind_property_with_closures ((GObject*) self, "context-lines", (GObject*) _tmp0_, "value", G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE, (GClosure*) ((_gitg_transforms_int_to_double_gbinding_transform_func == NULL) ? NULL : g_cclosure_new ((GCallback) _gitg_transforms_int_to_double_gbinding_transform_func, NULL, NULL)), (GClosure*) ((_gitg_transforms_double_to_int_gbinding_transform_func == NULL) ? NULL : g_cclosure_new ((GCallback) _gitg_transforms_double_to_int_gbinding_transform_func, NULL, NULL)));
#line 507 "gitg-diff-view-options.c"
}


static void gitg_diff_view_options_clicked_on_tool_button_spacing (GitgDiffViewOptions* self, GtkWidget* widget) {
	GitgDiffViewOptionsSpacing* _tmp0_ = NULL;
#line 146 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_return_if_fail (self != NULL);
#line 146 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_return_if_fail (widget != NULL);
#line 148 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp0_ = self->priv->d_popover_spacing;
#line 148 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	gtk_widget_show ((GtkWidget*) _tmp0_);
#line 521 "gitg-diff-view-options.c"
}


static void _gitg_diff_view_options_clicked_on_tool_button_spacing_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self) {
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	gitg_diff_view_options_clicked_on_tool_button_spacing ((GitgDiffViewOptions*) self, _sender);
#line 528 "gitg-diff-view-options.c"
}


gint gitg_diff_view_options_get_context_lines (GitgDiffViewOptions* self) {
	gint result;
	gint _tmp0_ = 0;
#line 29 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 29 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp0_ = self->priv->_context_lines;
#line 29 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	result = _tmp0_;
#line 29 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	return result;
#line 543 "gitg-diff-view-options.c"
}


void gitg_diff_view_options_set_context_lines (GitgDiffViewOptions* self, gint value) {
	gint _tmp0_ = 0;
#line 29 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_return_if_fail (self != NULL);
#line 29 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp0_ = value;
#line 29 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	self->priv->_context_lines = _tmp0_;
#line 29 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_object_notify ((GObject *) self, "context-lines");
#line 557 "gitg-diff-view-options.c"
}


GitgDiffView* gitg_diff_view_options_get_view (GitgDiffViewOptions* self) {
	GitgDiffView* result;
	GitgDiffView* _tmp0_ = NULL;
#line 39 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 39 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp0_ = self->priv->d_view;
#line 39 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	result = _tmp0_;
#line 39 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	return result;
#line 572 "gitg-diff-view-options.c"
}


void gitg_diff_view_options_set_view (GitgDiffViewOptions* self, GitgDiffView* value) {
	GitgDiffView* _tmp0_ = NULL;
	GitgDiffView* _tmp1_ = NULL;
	GitgDiffView* old_view = NULL;
	GitgDiffView* _tmp2_ = NULL;
	GitgDiffView* _tmp3_ = NULL;
	GitgDiffView* _tmp4_ = NULL;
	GitgDiffView* _tmp5_ = NULL;
	GitgDiffView* _tmp6_ = NULL;
#line 41 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_return_if_fail (self != NULL);
#line 43 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp0_ = self->priv->d_view;
#line 43 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp1_ = value;
#line 43 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	if (_tmp0_ == _tmp1_) {
#line 45 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		return;
#line 595 "gitg-diff-view-options.c"
	}
#line 48 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp2_ = self->priv->d_view;
#line 48 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 48 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	old_view = _tmp3_;
#line 49 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp4_ = value;
#line 49 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp5_ = _g_object_ref0 (_tmp4_);
#line 49 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_g_object_unref0 (self->priv->d_view);
#line 49 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	self->priv->d_view = _tmp5_;
#line 51 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp6_ = old_view;
#line 51 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	gitg_diff_view_options_view_changed (self, _tmp6_);
#line 41 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_g_object_unref0 (old_view);
#line 41 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_object_notify ((GObject *) self, "view");
#line 619 "gitg-diff-view-options.c"
}


static GObject * gitg_diff_view_options_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) {
	GObject * obj;
	GObjectClass * parent_class;
	GitgDiffViewOptions * self;
	GeeLinkedList* _tmp0_ = NULL;
	GitgDiffViewOptionsSpacing* _tmp1_ = NULL;
	GitgDiffViewOptionsSpacing* _tmp2_ = NULL;
	GtkToolButton* _tmp3_ = NULL;
#line 60 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	parent_class = G_OBJECT_CLASS (gitg_diff_view_options_parent_class);
#line 60 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 60 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_DIFF_VIEW_OPTIONS, GitgDiffViewOptions);
#line 62 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp0_ = gee_linked_list_new (G_TYPE_BINDING, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
#line 62 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_g_object_unref0 (self->priv->d_bindings);
#line 62 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	self->priv->d_bindings = (GeeList*) _tmp0_;
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp1_ = gitg_diff_view_options_spacing_new ();
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_object_ref_sink (_tmp1_);
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_g_object_unref0 (self->priv->d_popover_spacing);
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	self->priv->d_popover_spacing = _tmp1_;
#line 65 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp2_ = self->priv->d_popover_spacing;
#line 65 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp3_ = self->priv->d_tool_button_spacing;
#line 65 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	gtk_popover_set_relative_to ((GtkPopover*) _tmp2_, (GtkWidget*) _tmp3_);
#line 60 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	return obj;
#line 659 "gitg-diff-view-options.c"
}


static void gitg_diff_view_options_class_init (GitgDiffViewOptionsClass * klass) {
	gint GitgDiffViewOptions_private_offset;
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	gitg_diff_view_options_parent_class = g_type_class_peek_parent (klass);
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_type_class_add_private (klass, sizeof (GitgDiffViewOptionsPrivate));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	((GObjectClass *) klass)->dispose = gitg_diff_view_options_real_dispose;
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	((GObjectClass *) klass)->constructed = gitg_diff_view_options_real_constructed;
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_diff_view_options_get_property;
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_diff_view_options_set_property;
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	G_OBJECT_CLASS (klass)->constructor = gitg_diff_view_options_constructor;
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_diff_view_options_finalize;
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_OPTIONS_CONTEXT_LINES, g_param_spec_int ("context-lines", "context-lines", "context-lines", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_OPTIONS_VIEW, g_param_spec_object ("view", "view", "view", GITG_TYPE_DIFF_VIEW, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	GitgDiffViewOptions_private_offset = g_type_class_get_instance_private_offset (klass);
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/gitg/ui/gitg-diff-view-options.ui");
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "adjustment_context", FALSE, GitgDiffViewOptions_private_offset + G_STRUCT_OFFSET (GitgDiffViewOptionsPrivate, d_adjustment_context));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "tool_button_spacing", FALSE, GitgDiffViewOptions_private_offset + G_STRUCT_OFFSET (GitgDiffViewOptionsPrivate, d_tool_button_spacing));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "clicked_on_tool_button_spacing", G_CALLBACK(_gitg_diff_view_options_clicked_on_tool_button_spacing_gtk_tool_button_clicked));
#line 695 "gitg-diff-view-options.c"
}


static void gitg_diff_view_options_instance_init (GitgDiffViewOptions * self) {
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	self->priv = GITG_DIFF_VIEW_OPTIONS_GET_PRIVATE (self);
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	gtk_widget_init_template (GTK_WIDGET (self));
#line 704 "gitg-diff-view-options.c"
}


static void gitg_diff_view_options_finalize (GObject* obj) {
	GitgDiffViewOptions * self;
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_DIFF_VIEW_OPTIONS, GitgDiffViewOptions);
#line 24 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_g_object_unref0 (self->priv->d_adjustment_context);
#line 27 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_g_object_unref0 (self->priv->d_tool_button_spacing);
#line 31 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_g_object_unref0 (self->priv->d_bindings);
#line 32 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_g_object_unref0 (self->priv->d_view);
#line 35 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_g_object_unref0 (self->priv->d_popover_spacing);
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	G_OBJECT_CLASS (gitg_diff_view_options_parent_class)->finalize (obj);
#line 724 "gitg-diff-view-options.c"
}


GType gitg_diff_view_options_get_type (void) {
	static volatile gsize gitg_diff_view_options_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_diff_view_options_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgDiffViewOptionsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_diff_view_options_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgDiffViewOptions), 0, (GInstanceInitFunc) gitg_diff_view_options_instance_init, NULL };
		GType gitg_diff_view_options_type_id;
		gitg_diff_view_options_type_id = g_type_register_static (gtk_toolbar_get_type (), "GitgDiffViewOptions", &g_define_type_info, 0);
		g_once_init_leave (&gitg_diff_view_options_type_id__volatile, gitg_diff_view_options_type_id);
	}
	return gitg_diff_view_options_type_id__volatile;
}


static void _vala_gitg_diff_view_options_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GitgDiffViewOptions * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_DIFF_VIEW_OPTIONS, GitgDiffViewOptions);
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	switch (property_id) {
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		case GITG_DIFF_VIEW_OPTIONS_CONTEXT_LINES:
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		g_value_set_int (value, gitg_diff_view_options_get_context_lines (self));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		break;
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		case GITG_DIFF_VIEW_OPTIONS_VIEW:
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		g_value_set_object (value, gitg_diff_view_options_get_view (self));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		break;
#line 757 "gitg-diff-view-options.c"
		default:
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		break;
#line 763 "gitg-diff-view-options.c"
	}
}


static void _vala_gitg_diff_view_options_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	GitgDiffViewOptions * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_DIFF_VIEW_OPTIONS, GitgDiffViewOptions);
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	switch (property_id) {
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		case GITG_DIFF_VIEW_OPTIONS_CONTEXT_LINES:
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		gitg_diff_view_options_set_context_lines (self, g_value_get_int (value));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		break;
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		case GITG_DIFF_VIEW_OPTIONS_VIEW:
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		gitg_diff_view_options_set_view (self, g_value_get_object (value));
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		break;
#line 785 "gitg-diff-view-options.c"
		default:
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 21 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		break;
#line 791 "gitg-diff-view-options.c"
	}
}


static void gitg_diff_view_options_spacing_real_constructed (GObject* base) {
	GitgDiffViewOptionsSpacing * self;
	GtkSwitch* _tmp0_ = NULL;
	GtkSwitch* _tmp1_ = NULL;
	GtkAdjustment* _tmp2_ = NULL;
	GtkSwitch* _tmp3_ = NULL;
	GtkLabel* _tmp4_ = NULL;
#line 173 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	self = (GitgDiffViewOptionsSpacing*) base;
#line 175 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp0_ = self->priv->d_switch_ignore_whitespace;
#line 175 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_object_bind_property_with_closures ((GObject*) self, "ignore-whitespace", (GObject*) _tmp0_, "active", G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 180 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp1_ = self->priv->d_switch_wrap_lines;
#line 180 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_object_bind_property_with_closures ((GObject*) self, "wrap-lines", (GObject*) _tmp1_, "active", G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 185 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp2_ = self->priv->d_adjustment_tab_width;
#line 185 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_object_bind_property_with_closures ((GObject*) self, "tab-width", (GObject*) _tmp2_, "value", G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE, (GClosure*) ((_gitg_transforms_int_to_double_gbinding_transform_func == NULL) ? NULL : g_cclosure_new ((GCallback) _gitg_transforms_int_to_double_gbinding_transform_func, NULL, NULL)), (GClosure*) ((_gitg_transforms_double_to_int_gbinding_transform_func == NULL) ? NULL : g_cclosure_new ((GCallback) _gitg_transforms_double_to_int_gbinding_transform_func, NULL, NULL)));
#line 192 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp3_ = self->priv->d_switch_ignore_whitespace;
#line 192 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_object_bind_property_with_closures ((GObject*) self, "ignore-whitespace-visible", (GObject*) _tmp3_, "visible", G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 197 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp4_ = self->priv->d_label_ignore_whitespace;
#line 197 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_object_bind_property_with_closures ((GObject*) self, "ignore-whitespace-visible", (GObject*) _tmp4_, "visible", G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 825 "gitg-diff-view-options.c"
}


GitgDiffViewOptionsSpacing* gitg_diff_view_options_spacing_construct (GType object_type) {
	GitgDiffViewOptionsSpacing * self = NULL;
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	self = (GitgDiffViewOptionsSpacing*) g_object_new (object_type, NULL);
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	return self;
#line 835 "gitg-diff-view-options.c"
}


GitgDiffViewOptionsSpacing* gitg_diff_view_options_spacing_new (void) {
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	return gitg_diff_view_options_spacing_construct (GITG_TYPE_DIFF_VIEW_OPTIONS_SPACING);
#line 842 "gitg-diff-view-options.c"
}


gboolean gitg_diff_view_options_spacing_get_ignore_whitespace (GitgDiffViewOptionsSpacing* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
#line 167 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 167 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp0_ = self->priv->_ignore_whitespace;
#line 167 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	result = _tmp0_;
#line 167 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	return result;
#line 857 "gitg-diff-view-options.c"
}


void gitg_diff_view_options_spacing_set_ignore_whitespace (GitgDiffViewOptionsSpacing* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
#line 167 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_return_if_fail (self != NULL);
#line 167 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp0_ = value;
#line 167 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	self->priv->_ignore_whitespace = _tmp0_;
#line 167 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_object_notify ((GObject *) self, "ignore-whitespace");
#line 871 "gitg-diff-view-options.c"
}


gboolean gitg_diff_view_options_spacing_get_wrap_lines (GitgDiffViewOptionsSpacing* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
#line 168 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 168 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp0_ = self->priv->_wrap_lines;
#line 168 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	result = _tmp0_;
#line 168 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	return result;
#line 886 "gitg-diff-view-options.c"
}


void gitg_diff_view_options_spacing_set_wrap_lines (GitgDiffViewOptionsSpacing* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
#line 168 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_return_if_fail (self != NULL);
#line 168 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp0_ = value;
#line 168 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	self->priv->_wrap_lines = _tmp0_;
#line 168 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_object_notify ((GObject *) self, "wrap-lines");
#line 900 "gitg-diff-view-options.c"
}


gint gitg_diff_view_options_spacing_get_tab_width (GitgDiffViewOptionsSpacing* self) {
	gint result;
	gint _tmp0_ = 0;
#line 169 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 169 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp0_ = self->priv->_tab_width;
#line 169 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	result = _tmp0_;
#line 169 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	return result;
#line 915 "gitg-diff-view-options.c"
}


void gitg_diff_view_options_spacing_set_tab_width (GitgDiffViewOptionsSpacing* self, gint value) {
	gint _tmp0_ = 0;
#line 169 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_return_if_fail (self != NULL);
#line 169 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp0_ = value;
#line 169 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	self->priv->_tab_width = _tmp0_;
#line 169 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_object_notify ((GObject *) self, "tab-width");
#line 929 "gitg-diff-view-options.c"
}


gboolean gitg_diff_view_options_spacing_get_ignore_whitespace_visible (GitgDiffViewOptionsSpacing* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
#line 171 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 171 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp0_ = self->priv->_ignore_whitespace_visible;
#line 171 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	result = _tmp0_;
#line 171 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	return result;
#line 944 "gitg-diff-view-options.c"
}


void gitg_diff_view_options_spacing_set_ignore_whitespace_visible (GitgDiffViewOptionsSpacing* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
#line 171 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_return_if_fail (self != NULL);
#line 171 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp0_ = value;
#line 171 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	self->priv->_ignore_whitespace_visible = _tmp0_;
#line 171 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_object_notify ((GObject *) self, "ignore-whitespace-visible");
#line 958 "gitg-diff-view-options.c"
}


static void gitg_diff_view_options_spacing_class_init (GitgDiffViewOptionsSpacingClass * klass) {
	gint GitgDiffViewOptionsSpacing_private_offset;
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	gitg_diff_view_options_spacing_parent_class = g_type_class_peek_parent (klass);
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_type_class_add_private (klass, sizeof (GitgDiffViewOptionsSpacingPrivate));
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	((GObjectClass *) klass)->constructed = gitg_diff_view_options_spacing_real_constructed;
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_diff_view_options_spacing_get_property;
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_diff_view_options_spacing_set_property;
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_diff_view_options_spacing_finalize;
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_OPTIONS_SPACING_IGNORE_WHITESPACE, g_param_spec_boolean ("ignore-whitespace", "ignore-whitespace", "ignore-whitespace", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_OPTIONS_SPACING_WRAP_LINES, g_param_spec_boolean ("wrap-lines", "wrap-lines", "wrap-lines", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_OPTIONS_SPACING_TAB_WIDTH, g_param_spec_int ("tab-width", "tab-width", "tab-width", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_VIEW_OPTIONS_SPACING_IGNORE_WHITESPACE_VISIBLE, g_param_spec_boolean ("ignore-whitespace-visible", "ignore-whitespace-visible", "ignore-whitespace-visible", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	GitgDiffViewOptionsSpacing_private_offset = g_type_class_get_instance_private_offset (klass);
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/gitg/ui/gitg-diff-view-options-spacing.ui");
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "switch_ignore_whitespace", FALSE, GitgDiffViewOptionsSpacing_private_offset + G_STRUCT_OFFSET (GitgDiffViewOptionsSpacingPrivate, d_switch_ignore_whitespace));
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "label_ignore_whitespace", FALSE, GitgDiffViewOptionsSpacing_private_offset + G_STRUCT_OFFSET (GitgDiffViewOptionsSpacingPrivate, d_label_ignore_whitespace));
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "switch_wrap_lines", FALSE, GitgDiffViewOptionsSpacing_private_offset + G_STRUCT_OFFSET (GitgDiffViewOptionsSpacingPrivate, d_switch_wrap_lines));
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "adjustment_tab_width", FALSE, GitgDiffViewOptionsSpacing_private_offset + G_STRUCT_OFFSET (GitgDiffViewOptionsSpacingPrivate, d_adjustment_tab_width));
#line 996 "gitg-diff-view-options.c"
}


static void gitg_diff_view_options_spacing_instance_init (GitgDiffViewOptionsSpacing * self) {
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	self->priv = GITG_DIFF_VIEW_OPTIONS_SPACING_GET_PRIVATE (self);
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	gtk_widget_init_template (GTK_WIDGET (self));
#line 1005 "gitg-diff-view-options.c"
}


static void gitg_diff_view_options_spacing_finalize (GObject* obj) {
	GitgDiffViewOptionsSpacing * self;
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_DIFF_VIEW_OPTIONS_SPACING, GitgDiffViewOptionsSpacing);
#line 156 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_g_object_unref0 (self->priv->d_switch_ignore_whitespace);
#line 159 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_g_object_unref0 (self->priv->d_label_ignore_whitespace);
#line 162 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_g_object_unref0 (self->priv->d_switch_wrap_lines);
#line 165 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_g_object_unref0 (self->priv->d_adjustment_tab_width);
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	G_OBJECT_CLASS (gitg_diff_view_options_spacing_parent_class)->finalize (obj);
#line 1023 "gitg-diff-view-options.c"
}


GType gitg_diff_view_options_spacing_get_type (void) {
	static volatile gsize gitg_diff_view_options_spacing_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_diff_view_options_spacing_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgDiffViewOptionsSpacingClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_diff_view_options_spacing_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgDiffViewOptionsSpacing), 0, (GInstanceInitFunc) gitg_diff_view_options_spacing_instance_init, NULL };
		GType gitg_diff_view_options_spacing_type_id;
		gitg_diff_view_options_spacing_type_id = g_type_register_static (gtk_popover_get_type (), "GitgDiffViewOptionsSpacing", &g_define_type_info, 0);
		g_once_init_leave (&gitg_diff_view_options_spacing_type_id__volatile, gitg_diff_view_options_spacing_type_id);
	}
	return gitg_diff_view_options_spacing_type_id__volatile;
}


static void _vala_gitg_diff_view_options_spacing_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GitgDiffViewOptionsSpacing * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_DIFF_VIEW_OPTIONS_SPACING, GitgDiffViewOptionsSpacing);
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	switch (property_id) {
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		case GITG_DIFF_VIEW_OPTIONS_SPACING_IGNORE_WHITESPACE:
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		g_value_set_boolean (value, gitg_diff_view_options_spacing_get_ignore_whitespace (self));
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		break;
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		case GITG_DIFF_VIEW_OPTIONS_SPACING_WRAP_LINES:
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		g_value_set_boolean (value, gitg_diff_view_options_spacing_get_wrap_lines (self));
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		break;
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		case GITG_DIFF_VIEW_OPTIONS_SPACING_TAB_WIDTH:
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		g_value_set_int (value, gitg_diff_view_options_spacing_get_tab_width (self));
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		break;
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		case GITG_DIFF_VIEW_OPTIONS_SPACING_IGNORE_WHITESPACE_VISIBLE:
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		g_value_set_boolean (value, gitg_diff_view_options_spacing_get_ignore_whitespace_visible (self));
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		break;
#line 1068 "gitg-diff-view-options.c"
		default:
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		break;
#line 1074 "gitg-diff-view-options.c"
	}
}


static void _vala_gitg_diff_view_options_spacing_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	GitgDiffViewOptionsSpacing * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_DIFF_VIEW_OPTIONS_SPACING, GitgDiffViewOptionsSpacing);
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	switch (property_id) {
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		case GITG_DIFF_VIEW_OPTIONS_SPACING_IGNORE_WHITESPACE:
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		gitg_diff_view_options_spacing_set_ignore_whitespace (self, g_value_get_boolean (value));
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		break;
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		case GITG_DIFF_VIEW_OPTIONS_SPACING_WRAP_LINES:
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		gitg_diff_view_options_spacing_set_wrap_lines (self, g_value_get_boolean (value));
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		break;
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		case GITG_DIFF_VIEW_OPTIONS_SPACING_TAB_WIDTH:
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		gitg_diff_view_options_spacing_set_tab_width (self, g_value_get_int (value));
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		break;
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		case GITG_DIFF_VIEW_OPTIONS_SPACING_IGNORE_WHITESPACE_VISIBLE:
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		gitg_diff_view_options_spacing_set_ignore_whitespace_visible (self, g_value_get_boolean (value));
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		break;
#line 1108 "gitg-diff-view-options.c"
		default:
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 153 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		break;
#line 1114 "gitg-diff-view-options.c"
	}
}


gboolean gitg_transforms_double_to_int (GBinding* binding, GValue* source_value, GValue* target_value) {
	gboolean result = FALSE;
	gdouble _tmp0_ = 0.0;
#line 206 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_return_val_if_fail (binding != NULL, FALSE);
#line 206 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_return_val_if_fail (source_value != NULL, FALSE);
#line 206 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_return_val_if_fail (target_value != NULL, FALSE);
#line 210 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp0_ = g_value_get_double (source_value);
#line 210 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_value_set_int (target_value, (gint) _tmp0_);
#line 211 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	result = TRUE;
#line 211 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	return result;
#line 1136 "gitg-diff-view-options.c"
}


gboolean gitg_transforms_int_to_double (GBinding* binding, GValue* source_value, GValue* target_value) {
	gboolean result = FALSE;
	gint _tmp0_ = 0;
#line 214 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_return_val_if_fail (binding != NULL, FALSE);
#line 214 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_return_val_if_fail (source_value != NULL, FALSE);
#line 214 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_return_val_if_fail (target_value != NULL, FALSE);
#line 218 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	_tmp0_ = g_value_get_int (source_value);
#line 218 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_value_set_double (target_value, (gdouble) _tmp0_);
#line 219 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	result = TRUE;
#line 219 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	return result;
#line 1157 "gitg-diff-view-options.c"
}


GitgTransforms* gitg_transforms_construct (GType object_type) {
	GitgTransforms* self = NULL;
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	self = (GitgTransforms*) g_type_create_instance (object_type);
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	return self;
#line 1167 "gitg-diff-view-options.c"
}


GitgTransforms* gitg_transforms_new (void) {
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	return gitg_transforms_construct (GITG_TYPE_TRANSFORMS);
#line 1174 "gitg-diff-view-options.c"
}


static void gitg_value_transforms_init (GValue* value) {
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	value->data[0].v_pointer = NULL;
#line 1181 "gitg-diff-view-options.c"
}


static void gitg_value_transforms_free_value (GValue* value) {
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	if (value->data[0].v_pointer) {
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		gitg_transforms_unref (value->data[0].v_pointer);
#line 1190 "gitg-diff-view-options.c"
	}
}


static void gitg_value_transforms_copy_value (const GValue* src_value, GValue* dest_value) {
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	if (src_value->data[0].v_pointer) {
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		dest_value->data[0].v_pointer = gitg_transforms_ref (src_value->data[0].v_pointer);
#line 1200 "gitg-diff-view-options.c"
	} else {
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		dest_value->data[0].v_pointer = NULL;
#line 1204 "gitg-diff-view-options.c"
	}
}


static gpointer gitg_value_transforms_peek_pointer (const GValue* value) {
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	return value->data[0].v_pointer;
#line 1212 "gitg-diff-view-options.c"
}


static gchar* gitg_value_transforms_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	if (collect_values[0].v_pointer) {
#line 1219 "gitg-diff-view-options.c"
		GitgTransforms* object;
		object = collect_values[0].v_pointer;
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		if (object->parent_instance.g_class == NULL) {
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
			return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 1226 "gitg-diff-view-options.c"
		} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
			return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 1230 "gitg-diff-view-options.c"
		}
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		value->data[0].v_pointer = gitg_transforms_ref (object);
#line 1234 "gitg-diff-view-options.c"
	} else {
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		value->data[0].v_pointer = NULL;
#line 1238 "gitg-diff-view-options.c"
	}
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	return NULL;
#line 1242 "gitg-diff-view-options.c"
}


static gchar* gitg_value_transforms_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
	GitgTransforms** object_p;
	object_p = collect_values[0].v_pointer;
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	if (!object_p) {
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
#line 1253 "gitg-diff-view-options.c"
	}
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	if (!value->data[0].v_pointer) {
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		*object_p = NULL;
#line 1259 "gitg-diff-view-options.c"
	} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		*object_p = value->data[0].v_pointer;
#line 1263 "gitg-diff-view-options.c"
	} else {
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		*object_p = gitg_transforms_ref (value->data[0].v_pointer);
#line 1267 "gitg-diff-view-options.c"
	}
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	return NULL;
#line 1271 "gitg-diff-view-options.c"
}


GParamSpec* gitg_param_spec_transforms (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	GitgParamSpecTransforms* spec;
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_return_val_if_fail (g_type_is_a (object_type, GITG_TYPE_TRANSFORMS), NULL);
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	G_PARAM_SPEC (spec)->value_type = object_type;
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	return G_PARAM_SPEC (spec);
#line 1285 "gitg-diff-view-options.c"
}


gpointer gitg_value_get_transforms (const GValue* value) {
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, GITG_TYPE_TRANSFORMS), NULL);
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	return value->data[0].v_pointer;
#line 1294 "gitg-diff-view-options.c"
}


void gitg_value_set_transforms (GValue* value, gpointer v_object) {
	GitgTransforms* old;
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, GITG_TYPE_TRANSFORMS));
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	old = value->data[0].v_pointer;
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	if (v_object) {
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, GITG_TYPE_TRANSFORMS));
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		value->data[0].v_pointer = v_object;
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		gitg_transforms_ref (value->data[0].v_pointer);
#line 1314 "gitg-diff-view-options.c"
	} else {
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		value->data[0].v_pointer = NULL;
#line 1318 "gitg-diff-view-options.c"
	}
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	if (old) {
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		gitg_transforms_unref (old);
#line 1324 "gitg-diff-view-options.c"
	}
}


void gitg_value_take_transforms (GValue* value, gpointer v_object) {
	GitgTransforms* old;
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, GITG_TYPE_TRANSFORMS));
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	old = value->data[0].v_pointer;
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	if (v_object) {
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, GITG_TYPE_TRANSFORMS));
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		value->data[0].v_pointer = v_object;
#line 1343 "gitg-diff-view-options.c"
	} else {
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		value->data[0].v_pointer = NULL;
#line 1347 "gitg-diff-view-options.c"
	}
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	if (old) {
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		gitg_transforms_unref (old);
#line 1353 "gitg-diff-view-options.c"
	}
}


static void gitg_transforms_class_init (GitgTransformsClass * klass) {
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	gitg_transforms_parent_class = g_type_class_peek_parent (klass);
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	((GitgTransformsClass *) klass)->finalize = gitg_transforms_finalize;
#line 1363 "gitg-diff-view-options.c"
}


static void gitg_transforms_instance_init (GitgTransforms * self) {
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	self->ref_count = 1;
#line 1370 "gitg-diff-view-options.c"
}


static void gitg_transforms_finalize (GitgTransforms* obj) {
	GitgTransforms * self;
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_TRANSFORMS, GitgTransforms);
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_signal_handlers_destroy (self);
#line 1380 "gitg-diff-view-options.c"
}


GType gitg_transforms_get_type (void) {
	static volatile gsize gitg_transforms_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_transforms_type_id__volatile)) {
		static const GTypeValueTable g_define_type_value_table = { gitg_value_transforms_init, gitg_value_transforms_free_value, gitg_value_transforms_copy_value, gitg_value_transforms_peek_pointer, "p", gitg_value_transforms_collect_value, "p", gitg_value_transforms_lcopy_value };
		static const GTypeInfo g_define_type_info = { sizeof (GitgTransformsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_transforms_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgTransforms), 0, (GInstanceInitFunc) gitg_transforms_instance_init, &g_define_type_value_table };
		static const GTypeFundamentalInfo g_define_type_fundamental_info = { (G_TYPE_FLAG_CLASSED | G_TYPE_FLAG_INSTANTIATABLE | G_TYPE_FLAG_DERIVABLE | G_TYPE_FLAG_DEEP_DERIVABLE) };
		GType gitg_transforms_type_id;
		gitg_transforms_type_id = g_type_register_fundamental (g_type_fundamental_next (), "GitgTransforms", &g_define_type_info, &g_define_type_fundamental_info, 0);
		g_once_init_leave (&gitg_transforms_type_id__volatile, gitg_transforms_type_id);
	}
	return gitg_transforms_type_id__volatile;
}


gpointer gitg_transforms_ref (gpointer instance) {
	GitgTransforms* self;
	self = instance;
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	g_atomic_int_inc (&self->ref_count);
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	return instance;
#line 1405 "gitg-diff-view-options.c"
}


void gitg_transforms_unref (gpointer instance) {
	GitgTransforms* self;
	self = instance;
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
	if (g_atomic_int_dec_and_test (&self->ref_count)) {
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		GITG_TRANSFORMS_GET_CLASS (self)->finalize (self);
#line 204 "/home/jesse/dev/gitg/libgitg/gitg-diff-view-options.vala"
		g_type_free_instance ((GTypeInstance *) self);
#line 1418 "gitg-diff-view-options.c"
	}
}



